Skip to content

Instantly share code, notes, and snippets.

@yannick
Created May 29, 2015 14:05
Show Gist options
  • Select an option

  • Save yannick/09810c800b71c1a22cc5 to your computer and use it in GitHub Desktop.

Select an option

Save yannick/09810c800b71c1a22cc5 to your computer and use it in GitHub Desktop.
[yannick@tony d]$ cat yadmp/dub.json
{
"name": "yadmp",
"description": "A simple vibe.d server application.",
"copyright": "Copyright © 2015, yannick",
"authors": [
"yannick"
],
"dependencies": {
"vibe-aws": {
"version": "~master",
"path": "../vibe-aws"
}
} ,
"versions": [
"VibeCustomMain"
]
}
[yannick@tony d]$ cat vibe-aws/dub.json
{
"name": "vibe-aws",
"version": "0.0.2",
"description": "AWS client library for D",
"copyright": "Copyright © 2015, Rico Huijbers, Yannick Koechlin",
"license": "MIT",
"authors": ["rix0rrr", "yawniek"],
"targetType": "library",
"dependencies": {
"vibe-d": {"version": "~master", "path": "../vibe"}
}
}
[yannick@tony d]$ cat vibe/dub.json
{
"name": "vibe-d",
"description": "Asynchronous I/O framework",
"license": "MIT",
"copyright": "Copyright © 2012-2014 rejectedsoftware e.K.",
"homepage": "http://vibed.org/",
"authors": [
"Sönke Ludwig",
"Jan Krüger",
"Matthias Dondorff",
"see github for more"
],
"dependencies": {
"libhttp2": { "version": "~>0.2.4", "path": "../libhttp2" },
},
"targetType": "library",
"mainSourceFile": "source/vibe/appmain.d",
"buildRequirements": ["requireBoundsCheck"],
"configurations": [
{
"name": "libasync_botan",
"dependencies": {
"botan": {"version": "~>1.11.12", "path": "../botan" },
"libasync": {"version": "~>0.7.4", "path": "../libasync" }
},
"versions": ["Botan", "VibeUseNativeDriverType", "VibeLibasyncDriver"]
},
{
"name": "libasync_notls",
"dependencies": {
"libasync": {"version": "~>0.7.4", "path": "../libasync" }
},
"versions": ["VibeNoTLS", "VibeUseNativeDriverType", "VibeLibasyncDriver"],
},
{
"name": "libasync_botan_win32",
"dependencies": {
"botan": {"version": "~>1.11.12", "path": "../botan" },
"libasync": {"version": "~>0.7.4", "path": "../libasync" }
},
"dflags-windows-x86": ["-m32mscoff"],
"versions": ["Botan", "VibeUseNativeDriverType", "VibeLibasyncDriver"],
"subConfigurations": { "libasync": "32mscoff", "botan": "32mscoff", "libhttp2": "32mscoff", "memutils": "32mscoff" }
},
{
"name": "libevent",
"systemDependencies": "libevent 2.0.x, OpenSSL 1.0.x",
"dependencies": {"libevent": "~>2.0.1+2.0.16","openssl": ">=1.0.0+1.0.0e"},
"platforms": ["windows-x86", "posix"],
"versions": ["OpenSSL", "VibeLibeventDriver"],
"sourceFiles-windows-x86": ["lib/win-i386/event2.lib","lib/win-i386/eay.lib", "lib/win-i386/ssl.lib"],
"copyFiles-windows-x86": ["lib/win-i386/libevent.dll","lib/win-i386/libeay32.dll", "lib/win-i386/ssleay32.dll"],
"sourceFiles-windows-x86_64": ["lib/win-amd64/event2.lib","lib/win-amd64/libeay32.lib", "lib/win-amd64/ssleay32.lib"],
"copyFiles-windows-x86_64": ["lib/win-amd64/libevent.dll","lib/win-amd64/libeay32.dll", "lib/win-amd64/ssleay32.dll"],
"libs-windows": ["wsock32", "ws2_32", "advapi32"]
},
{
"systemDependencies": "OpenSSL 1.0.x",
"name": "libasync_openssl",
"dependencies": {
"libasync": {"version": "~>0.7.4", "path": "../libasync" },
"openssl": ">=1.0.0+1.0.0e"
},
"versions": ["OpenSSL", "VibeUseNativeDriverType", "VibeLibasyncDriver"],
"copyFiles-windows-x86": ["lib/win-i386/libeay32.dll", "lib/win-i386/ssleay32.dll"],
"sourceFiles-windows-x86" : ["lib/win-i386/eay.lib", "lib/win-i386/ssl.lib"],
"copyFiles-windows-x86_64": ["lib/win-amd64/libeay32.dll", "lib/win-amd64/ssleay32.dll"],
"sourceFiles-windows-x86_64" : ["lib/win-amd64/libeay32.lib", "lib/win-amd64/ssleay32.lib"]
},
{
"name": "libev",
"systemDependencies": "libev, OpenSSL 1.0.x",
"dependencies": {"libev": "~>5.0.0+4.04","openssl": ">=1.0.0+1.0.0e"},
"platforms": ["posix"],
"versions": ["OpenSSL", "VibeLibevDriver", "LIBEV4"],
"copyFiles-windows-x86": ["lib/win-i386/libeay32.dll", "lib/win-i386/ssleay32.dll"],
"sourceFiles-windows-x86" : ["lib/win-i386/eay.lib", "lib/win-i386/ssl.lib"],
"copyFiles-windows-x86_64": ["lib/win-amd64/libeay32.dll", "lib/win-amd64/ssleay32.dll"],
"sourceFiles-windows-x86_64" : ["lib/win-amd64/libeay32.lib", "lib/win-amd64/ssleay32.lib"]
},
{
"name": "libev-travis",
"systemDependencies": "libev, OpenSSL 1.0.x",
"dependencies": {"libev": "~>5.0.0+4.04","openssl": ">=1.0.0+1.0.0e"},
"platforms": ["posix"],
"versions": ["OpenSSL", "VibeLibevDriver", "LIBEV4"],
"lflags": ["-Llibev-4.19/.libs/", "-rpath=libev-4.19/.libs/"],
"copyFiles-windows-x86": ["lib/win-i386/libeay32.dll", "lib/win-i386/ssleay32.dll"],
"sourceFiles-windows-x86" : ["lib/win-i386/eay.lib", "lib/win-i386/ssl.lib"],
"copyFiles-windows-x86_64": ["lib/win-amd64/libeay32.dll", "lib/win-amd64/ssleay32.dll"],
"sourceFiles-windows-x86_64" : ["lib/win-amd64/libeay32.lib", "lib/win-amd64/ssleay32.lib"]
},
{
"name": "win32",
"systemDependencies": "OpenSSL 1.0.x",
"dependencies": {"openssl": ">=1.0.0+1.0.0e"},
"platforms": ["windows"],
"versions": ["OpenSSL", "VibeWin32Driver"],
"libs-windows": ["wsock32", "ws2_32", "advapi32", "user32"],
"copyFiles-windows-x86": ["lib/win-i386/libeay32.dll", "lib/win-i386/ssleay32.dll"],
"sourceFiles-windows-x86" : ["lib/win-i386/eay.lib", "lib/win-i386/ssl.lib"],
"copyFiles-windows-x86_64": ["lib/win-amd64/libeay32.dll", "lib/win-amd64/ssleay32.dll"],
"sourceFiles-windows-x86_64" : ["lib/win-amd64/libeay32.lib", "lib/win-amd64/ssleay32.lib"]
},
{
"name": "winrt",
"dependencies": {"openssl": ">=1.0.0+1.0.0e"},
"platforms": ["windows"],
"versions": ["OpenSSL", "VibeWinrtDriver"],
"sourceFiles-windows-x86": ["lib/win-i386/runtimeobject.lib","lib/win-i386/eay.lib","lib/win-i386/ssl.lib"],
"copyFiles-windows-x86": ["lib/win-i386/libeay32.dll", "lib/win-i386/ssleay32.dll"],
"copyFiles-windows-x86_64": ["lib/win-amd64/libeay32.dll", "lib/win-amd64/ssleay32.dll"],
"sourceFiles-windows-x86_64" : ["lib/win-amd64/libeay32.lib", "lib/win-amd64/ssleay32.lib"]
}
],
"-ddoxFilterArgs": ["--unittest-examples", "--min-protection=Protected", "--ex", "vibe.core.drivers.", "--ex", "vibe.internal."]
}
[yannick@tony d]$ cat botan/dub.json
{
"name": "botan",
"description": "A D library for crypto and TLS",
"license": "2-BSD",
"authors": ["Jack Lloyd", "Etienne Cimon", "See CREDITS.md for more."],
"targetName": "botan",
"targetType": "staticLibrary",
"targetPath": "build",
"sourceFolders": ["tests"],
"workingDirectory": "build",
"configurations": [
{
"name": "full",
"versions-x86_64": ["CanTest", "SHA2_32", "SHA2_64", "MD4", "MD5", "SHA1", "CRC24", "PBKDF1", "PBKDF2", "CTR_BE", "HMAC",
"EMSA1", "EMSA1_BSI", "EMSA_X931", "EMSA_PKCS1", "EMSA_PSSR", "EMSA_RAW", "EME_OAEP", "EME_PKCS1v15", "PBE_PKCSv20",
"Self_Tests", "ECB", "CBC", "XTS", "OFB", "CFB",
"AEAD_FILTER", "AEAD_CCM", "AEAD_EAX", "AEAD_OCB", "AEAD_GCM", "GCM_CLMUL", "AEAD_SIV", "RFC6979", "RSA", "RW", "DLIES", "DSA", "ECDSA", "ElGamal", "GOST_3410",
"Nyberg_Rueppel", "Diffie_Hellman", "ECDH", "AES", "Blowfish", "Camellia", "CAST", "Cascade", "DES", "GOST_28147", "IDEA",
"KASUMI", "LION", "MARS", "MISTY1", "NOEKEON", "RC2", "RC5", "RC6", "SAFER", "SEED", "Serpent", "TEA", "Twofish", "Threefish",
"XTEA", "Adler32", "CRC32", "GOST_3411", "HAS_160", "Keccak", "MD2", "RIPEMD_128", "RIPEMD_160", "SHA1_x86_64",
"SHA2_64", "Skein_512", "Tiger", "Whirlpool", "ParallelHash", "Comb4P", "CBC_MAC", "CMAC", "SSL3_MAC",
"ANSI_X919_MAC", "RC4", "ChaCha", "Salsa20", "AES_NI", "AES_SSSE3", "Serpent_SIMD", "SIMD_Scalar", "SIMD_SSE2",
"Noekeon_SIMD", "XTEA_SIMD", "IDEA_SSE2", "SHA1_SSE2", "Engine_ASM", "Engine_AES_ISA", "Engine_SIMD",
"Entropy_HRTimer", "Entropy_Rdrand", "Entropy_DevRand", "Entropy_EGD", "Entropy_UnixProc",
"Entropy_Win32", "Entropy_ProcWalk", "X931_RNG", "HMAC_DRBG", "KDF1", "KDF2", "SSL_V3_PRF", "TLS_V10_PRF", "TLS_V12_PRF", "X942_PRF",
"TLS", "X509", "PUBKEY", "FPE_FE1", "RFC3394", "PassHash9", "BCrypt", "SRP6", "TSS", "CryptoBox",
"CryptoBox_PSK", "ZLib"],
"versions-x86": ["CanTest", "Serpent_x86_32", "MD4_x86_32", "MD5_x86_32", "SHA1_x86_32",
"SHA2_32", "SHA2_64", "MD4", "MD5", "SHA1", "CRC24", "PBKDF1", "PBKDF2", "CTR_BE", "HMAC",
"EMSA1", "EMSA1_BSI", "EMSA_X931", "EMSA_PKCS1", "EMSA_PSSR", "EMSA_RAW", "EME_OAEP", "EME_PKCS1v15", "PBE_PKCSv20",
"Self_Tests", "ECB", "CBC", "XTS", "OFB", "CFB",
"AEAD_FILTER", "AEAD_CCM", "AEAD_EAX", "AEAD_OCB", "AEAD_GCM", "AEAD_SIV", "RFC6979", "RSA", "RW", "DLIES", "DSA", "ECDSA", "ElGamal", "GOST_3410",
"Nyberg_Rueppel", "Diffie_Hellman", "ECDH", "AES", "Blowfish", "Camellia", "CAST", "Cascade", "DES", "GOST_28147", "IDEA",
"KASUMI", "LION", "MARS", "MISTY1", "NOEKEON", "RC2", "RC5", "RC6", "SAFER", "SEED", "Serpent", "TEA", "Twofish", "Threefish",
"XTEA", "Adler32", "CRC32", "GOST_3411", "HAS_160", "Keccak", "MD2", "RIPEMD_128", "RIPEMD_160",
"SHA2_64", "Skein_512", "Tiger", "Whirlpool", "ParallelHash", "Comb4P", "CBC_MAC", "CMAC", "SSL3_MAC",
"ANSI_X919_MAC", "RC4", "ChaCha", "Salsa20", "Serpent_SIMD", "SIMD_Scalar",
"Noekeon_SIMD", "XTEA_SIMD", "Engine_ASM", "Engine_AES_ISA",
"Entropy_HRTimer", "Entropy_Rdrand", "Entropy_DevRand", "Entropy_EGD", "Entropy_UnixProc",
"Entropy_Win32", "Entropy_ProcWalk", "X931_RNG", "HMAC_DRBG", "KDF1", "KDF2", "SSL_V3_PRF", "TLS_V10_PRF", "TLS_V12_PRF", "X942_PRF",
"TLS", "X509", "PUBKEY", "FPE_FE1", "RFC3394", "PassHash9", "BCrypt", "SRP6", "TSS", "CryptoBox", "CryptoBox_PSK"],
"versions-windows-x86": ["FailureOMF"]
},
{
"name": "32mscoff",
"versions": ["CanTest", "Serpent_x86_32", "MD4_x86_32", "MD5_x86_32", "SHA1_x86_32",
"SHA2_32", "SHA2_64", "MD4", "MD5", "SHA1", "CRC24", "PBKDF1", "PBKDF2", "CTR_BE", "HMAC",
"EMSA1", "EMSA1_BSI", "EMSA_X931", "EMSA_PKCS1", "EMSA_PSSR", "EMSA_RAW", "EME_OAEP", "EME_PKCS1v15", "PBE_PKCSv20",
"Self_Tests", "ECB", "CBC", "XTS", "OFB", "CFB",
"AEAD_FILTER", "AEAD_CCM", "AEAD_EAX", "AEAD_OCB", "AEAD_GCM", "AEAD_SIV", "RFC6979", "RSA", "RW", "DLIES", "DSA", "ECDSA", "ElGamal", "GOST_3410",
"Nyberg_Rueppel", "Diffie_Hellman", "ECDH", "AES", "Blowfish", "Camellia", "CAST", "Cascade", "DES", "GOST_28147", "IDEA",
"KASUMI", "LION", "MARS", "MISTY1", "NOEKEON", "RC2", "RC5", "RC6", "SAFER", "SEED", "Serpent", "TEA", "Twofish", "Threefish",
"XTEA", "Adler32", "CRC32", "GOST_3411", "HAS_160", "Keccak", "MD2", "RIPEMD_128", "RIPEMD_160",
"SHA2_64", "Skein_512", "Tiger", "Whirlpool", "ParallelHash", "Comb4P", "CBC_MAC", "CMAC", "SSL3_MAC",
"ANSI_X919_MAC", "RC4", "ChaCha", "Salsa20", "Serpent_SIMD", "SIMD_Scalar",
"Noekeon_SIMD", "XTEA_SIMD", "Engine_ASM", "Engine_AES_ISA",
"Entropy_HRTimer", "Entropy_Rdrand", "Entropy_DevRand", "Entropy_EGD", "Entropy_UnixProc", "Entropy_CAPI",
"Entropy_Win32", "Entropy_ProcWalk", "X931_RNG", "HMAC_DRBG", "KDF1", "KDF2", "SSL_V3_PRF", "TLS_V10_PRF", "TLS_V12_PRF", "X942_PRF",
"TLS", "X509", "PUBKEY", "FPE_FE1", "RFC3394", "PassHash9", "BCrypt", "SRP6", "TSS", "CryptoBox", "CryptoBox_PSK"],
"dflags-windows-x86": ["-m32mscoff"],
"subConfigurations": { "memutils": "32mscoff" }
},
{
"name": "lite",
"versions": ["Locking_Allocator", "SHA2_32", "SHA2_64", "MD4", "MD5", "SHA1", "CRC24", "PBKDF1", "PBKDF2", "CTR_BE", "HMAC",
"Entropy_HRTimer", "Entropy_Rdrand", "Entropy_DevRand", "Entropy_EGD", "Entropy_UnixProc", "Entropy_CAPI",
"Entropy_Win32", "Entropy_ProcWalk", "X931_RNG", "HMAC_DRBG", "KDF1", "KDF2", "SSL_V3_PRF", "TLS_V10_PRF", "TLS_V12_PRF", "X942_PRF"]
},
{
"name": "pubkey",
"versions": ["Locking_Allocator", "SHA2_32", "SHA2_64", "MD4", "MD5", "SHA1", "CRC24", "Nyberg_Rueppel", "Diffie_Hellman", "ECDH", "PUBKEY", "X509",
"RSA", "RW", "DLIES", "DSA", "ECDSA", "ElGamal", "GOST_3410", "HMAC", "Entropy_HRTimer", "Entropy_Rdrand",
"Entropy_DevRand", "Entropy_EGD", "Entropy_UnixProc", "Entropy_CAPI", "Entropy_Win32", "Entropy_ProcWalk",
"KDF1", "KDF2", "SSL_V3_PRF", "TLS_V10_PRF", "TLS_V12_PRF", "X942_PRF" ]
},
{
"name": "hash",
"versions": ["Locking_Allocator", "HMAC", "Entropy_Win32", "Entropy_Rdrand", "SHA2_32", "SHA2_64", "MD4", "MD5", "SHA1", "CRC24"]
}
],
"dependencies": {
"memutils": { "version": "~>0.3.6" }
},
"libs-posix": ["dl"],
"libs-windows": ["advapi32", "user32"],
"versions": ["Have_botan"],
"preGenerateCommands-posix": ["ld -v | grep 'gold' > /dev/null || echo 'Notice: Botan uses many symbols. Look into switching from ld (bfd) to ld (Gold) linker to reduce link times from >15s to <2s'"],
"preGenerateCommands-windows-x86_64": ["dmd -v | findstr /R /C:\"DMD64\" >nul || (type $PACKAGE_DIR\\dmd64_build_instructions.txt && (exit 1))"]
}
[yannick@tony d]$ cat libasync/dub.json
{
"name": "libasync",
"description": "A cross-platform event loop library of asynchroneous objects.",
"license": "MIT",
"authors": ["Etienne Cimon", "Sönke Ludwig"],
"targetName": "async",
"targetType": "staticLibrary",
"targetPath": "build",
"workingDirectory": "build",
"libs-windows": ["ws2_32", "advapi32", "user32"],
"libs-linux": ["rt"],
"dependencies": {
"memutils": { "version": "~>0.3.5" }
},
"configurations": [
{
"name": "regular",
"sourceFiles-windows-x86": ["ws2_32_ex.lib"]
},
{
"name": "32mscoff",
"dflags-windows-x86": ["-m32mscoff"],
"subConfigurations": { "memutils": "32mscoff" }
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment