treewide: Make explicit that 'dev' output of openssl is used

This commit is contained in:
Tuomas Tynkkynen 2016-04-16 20:44:32 +03:00 committed by Vladimír Čunát
parent 5eb01cd0ad
commit 2a73de6e6c
54 changed files with 60 additions and 60 deletions

View File

@ -438,7 +438,7 @@ in
copy_bin_and_libs ${pkgs.ykpers}/bin/ykinfo copy_bin_and_libs ${pkgs.ykpers}/bin/ykinfo
copy_bin_and_libs ${pkgs.openssl.bin}/bin/openssl copy_bin_and_libs ${pkgs.openssl.bin}/bin/openssl
cc -O3 -I${pkgs.openssl}/include -L${pkgs.openssl.out}/lib ${./pbkdf2-sha512.c} -o pbkdf2-sha512 -lcrypto cc -O3 -I${pkgs.openssl.dev}/include -L${pkgs.openssl.out}/lib ${./pbkdf2-sha512.c} -o pbkdf2-sha512 -lcrypto
strip -s pbkdf2-sha512 strip -s pbkdf2-sha512
copy_bin_and_libs pbkdf2-sha512 copy_bin_and_libs pbkdf2-sha512

View File

@ -13,7 +13,7 @@ stdenv.mkDerivation {
buildInputs = [ openssl ]; buildInputs = [ openssl ];
configureFlags = "--with-ssl=${openssl}"; configureFlags = "--with-ssl=${openssl.dev}";
meta = { meta = {
homepage = "http://www.fetchmail.info/"; homepage = "http://www.fetchmail.info/";

View File

@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
--enable-finger --enable-html-highlight --enable-finger --enable-html-highlight
--with-perl --enable-gopher --enable-cgi --enable-bittorrent --with-perl --enable-gopher --enable-cgi --enable-bittorrent
--with-spidermonkey=${spidermonkey} --with-spidermonkey=${spidermonkey}
--enable-nntp --with-openssl=${openssl} --enable-nntp --with-openssl=${openssl.dev}
'' + stdenv.lib.optionalString enableGuile " --with-guile" '' + stdenv.lib.optionalString enableGuile " --with-guile"
+ stdenv.lib.optionalString enablePython " --with-python"; + stdenv.lib.optionalString enablePython " --with-python";

View File

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
}; };
configureFlags = [] configureFlags = []
++ stdenv.lib.optionals sslSupport [ "--with-ssl=${openssl}" ]; ++ stdenv.lib.optionals sslSupport [ "--with-ssl=${openssl.dev}" ];
buildInputs = [ ncurses gzip ]; buildInputs = [ ncurses gzip ];
nativeBuildInputs = [ ncurses ]; nativeBuildInputs = [ ncurses ];

View File

@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
ln -s $out/libexec/w3m/w3mimgdisplay $out/bin ln -s $out/libexec/w3m/w3mimgdisplay $out/bin
''; '';
configureFlags = "--with-ssl=${openssl} --with-gc=${boehmgc.dev}" configureFlags = "--with-ssl=${openssl.dev} --with-gc=${boehmgc.dev}"
+ optionalString graphicsSupport " --enable-image=${optionalString x11Support "x11,"}fb"; + optionalString graphicsSupport " --enable-image=${optionalString x11Support "x11,"}fb";
preConfigure = '' preConfigure = ''

View File

@ -102,7 +102,7 @@ in stdenv.mkDerivation rec {
"--enable-optimize" "--enable-optimize"
"--disable-python-dependency-install" "--disable-python-dependency-install"
"--enable-ssl" "--enable-ssl"
"--with-ssl=${openssl}" "--with-ssl=${openssl.dev}"
"--enable-libevent" "--enable-libevent"
"--with-libevent=${libevent.dev}" "--with-libevent=${libevent.dev}"
] ++ lib.optionals stdenv.isLinux [ ] ++ lib.optionals stdenv.isLinux [

View File

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
buildInputs = [ openssl curl ncurses libjpeg ] buildInputs = [ openssl curl ncurses libjpeg ]
++ stdenv.lib.optional withGpg gpgme; ++ stdenv.lib.optional withGpg gpgme;
configureFlags = [ "--with-openssl=${openssl}" ]; configureFlags = [ "--with-openssl=${openssl.dev}" ];
meta = { meta = {
homepage = http://www.centerim.org/; homepage = http://www.centerim.org/;

View File

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
buildInputs = [ openssl ncurses pkgconfig glib loudmouth libotr gpgme ]; buildInputs = [ openssl ncurses pkgconfig glib loudmouth libotr gpgme ];
configureFlags = "--with-openssl=${openssl} --enable-modules --enable-otr"; configureFlags = "--with-openssl=${openssl.dev} --enable-modules --enable-otr";
doCheck = true; doCheck = true;

View File

@ -16,7 +16,7 @@ mkDerivation rec {
substituteInPlace src/libssl.cc --subst-var-by openssl ${openssl} substituteInPlace src/libssl.cc --subst-var-by openssl ${openssl}
substituteInPlace src/libcrypto.cc --subst-var-by openssl ${openssl} substituteInPlace src/libcrypto.cc --subst-var-by openssl ${openssl}
''; '';
configureFlags = "--with-openssl=${openssl}"; configureFlags = "--with-openssl=${openssl.dev}";
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin
cp -a wraith $out/bin/wraith cp -a wraith $out/bin/wraith

View File

@ -21,7 +21,7 @@ stdenv.mkDerivation {
inherit (s) url sha256; inherit (s) url sha256;
}; };
configureFlags = [ configureFlags = [
"--with-ssl-include-dir=${openssl}/include/openssl" "--with-ssl-include-dir=${openssl.dev}/include/openssl"
"--with-tcl-lib=${tcl.libPrefix}" "--with-tcl-lib=${tcl.libPrefix}"
]; ];
preConfigure = '' preConfigure = ''

View File

@ -21,7 +21,7 @@ stdenv.mkDerivation {
inherit (s) url sha256; inherit (s) url sha256;
}; };
configureFlags = [ configureFlags = [
"--with-ssl-include-dir=${openssl}/include/openssl" "--with-ssl-include-dir=${openssl.dev}/include/openssl"
"--with-tcl-lib=${tcl.libPrefix}" "--with-tcl-lib=${tcl.libPrefix}"
]; ];
preConfigure = '' preConfigure = ''

View File

@ -18,7 +18,7 @@ stdenv.mkDerivation {
-e "s|/bin/rm|rm|" -e "s|/bin/rm|rm|"
''; '';
configureFlags = "--with-slang=${slang} --with-ssl=${openssl}"; configureFlags = "--with-slang=${slang} --with-ssl=${openssl.dev}";
buildInputs = [ slang ncurses openssl ]; buildInputs = [ slang ncurses openssl ];

View File

@ -13,7 +13,7 @@ stdenv.mkDerivation (rec {
buildInputs = [openssl libX11]; buildInputs = [openssl libX11];
configureFlags = [ configureFlags = [
"--with-openssl=${openssl}" "--with-openssl=${openssl.dev}"
"--disable-credssp" "--disable-credssp"
"--disable-smartcard" "--disable-smartcard"
]; ];

View File

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
sed -e 's@/usr/bin/file@${file}/bin/file@g' -i configure sed -e 's@/usr/bin/file@${file}/bin/file@g' -i configure
''; '';
configureFlags = "--with-openssl=${openssl}"; configureFlags = "--with-openssl=${openssl.dev}";
preConfigure = '' preConfigure = ''
export PGHEADER="${postgresql}/include/libpq-fe.h"; export PGHEADER="${postgresql}/include/libpq-fe.h";

View File

@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
sed -e s@/bin/pwd@pwd@g -i otp_build sed -e s@/bin/pwd@pwd@g -i otp_build
''; '';
configureFlags= "--with-ssl=${openssl} ${optionalString odbcSupport "--with-odbc=${unixODBC}"} ${optionalString stdenv.isDarwin "--enable-darwin-64bit"}"; configureFlags= "--with-ssl=${openssl.dev} ${optionalString odbcSupport "--with-odbc=${unixODBC}"} ${optionalString stdenv.isDarwin "--enable-darwin-64bit"}";
postInstall = let postInstall = let
manpages = fetchurl { manpages = fetchurl {

View File

@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
''; '';
configureFlags= [ configureFlags= [
"--with-ssl=${openssl}" "--with-ssl=${openssl.dev}"
] ++ optional enableHipe "--enable-hipe" ] ++ optional enableHipe "--enable-hipe"
++ optional wxSupport "--enable-wx" ++ optional wxSupport "--enable-wx"
++ optional odbcSupport "--with-odbc=${unixODBC}" ++ optional odbcSupport "--with-odbc=${unixODBC}"

View File

@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
''; '';
configureFlags= [ configureFlags= [
"--with-ssl=${openssl}" "--with-ssl=${openssl.dev}"
] ++ optional enableHipe "--enable-hipe" ] ++ optional enableHipe "--enable-hipe"
++ optional wxSupport "--enable-wx" ++ optional wxSupport "--enable-wx"
++ optional odbcSupport "--with-odbc=${unixODBC}" ++ optional odbcSupport "--with-odbc=${unixODBC}"

View File

@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
configureFlags = [ "--with-apr=${apr.dev}" "--with-expat=${expat.dev}" ] configureFlags = [ "--with-apr=${apr.dev}" "--with-expat=${expat.dev}" ]
++ optional (!stdenv.isCygwin) "--with-crypto" ++ optional (!stdenv.isCygwin) "--with-crypto"
++ optional sslSupport "--with-openssl=${openssl}" ++ optional sslSupport "--with-openssl=${openssl.dev}"
++ optional bdbSupport "--with-berkeley-db=${db}" ++ optional bdbSupport "--with-berkeley-db=${db}"
++ optional ldapSupport "--with-ldap=ldap" ++ optional ldapSupport "--with-ldap=ldap"
++ optionals stdenv.isCygwin ++ optionals stdenv.isCygwin

View File

@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
); );
configureFlags = [ configureFlags = [
"--with-openssl=${openssl}" "--with-openssl=${openssl.dev}"
]; ];
# Set this variable at build-time to make sure $out can be evaluated. # Set this variable at build-time to make sure $out can be evaluated.

View File

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
buildInputs = [ intltool openssl expat libgcrypt ]; buildInputs = [ intltool openssl expat libgcrypt ];
configureFlags = [ configureFlags = [
"--with-ssl-dir=${openssl}/" "--with-ssl-dir=${openssl.dev}/"
"--with-tls" "--with-tls"
]; ];

View File

@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
"--enable-hdb-openldap-module" "--enable-hdb-openldap-module"
"--with-sqlite3=${sqlite}" "--with-sqlite3=${sqlite}"
"--with-libedit=${libedit}" "--with-libedit=${libedit}"
"--with-openssl=${openssl}" "--with-openssl=${openssl.dev}"
"--without-x" "--without-x"
"--with-berkeley-db=${db}" "--with-berkeley-db=${db}"
] ++ optionals (!libOnly) [ ] ++ optionals (!libOnly) [

View File

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ perl ]; nativeBuildInputs = [ perl ];
buildInputs = [ openssl ]; buildInputs = [ openssl ];
configureFlags = [ "--with-ssl=${openssl}" "--with-drill" ]; configureFlags = [ "--with-ssl=${openssl.dev}" "--with-drill" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Library with the aim of simplifying DNS programming in C"; description = "Library with the aim of simplifying DNS programming in C";

View File

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
buildInputs = [ openssl curl ]; buildInputs = [ openssl curl ];
configureFlags = [ configureFlags = [
"--with-openssl=${openssl}" "--with-openssl=${openssl.dev}"
"--with-cafile=/etc/ssl/certs/ca-certificates.crt" "--with-cafile=/etc/ssl/certs/ca-certificates.crt"
]; ];

View File

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
''; '';
buildPhase = '' buildPhase = ''
scons PREFIX="$out" OPENSSL="${openssl}" ZLIB="${zlib}" APR="$(echo "${apr.dev}"/bin/*-config)" \ scons PREFIX="$out" OPENSSL="${openssl.dev}" ZLIB="${zlib}" APR="$(echo "${apr.dev}"/bin/*-config)" \
APU="$(echo "${aprutil.dev}"/bin/*-config)" CC="${ APU="$(echo "${aprutil.dev}"/bin/*-config)" CC="${
if stdenv.cc.isClang then "clang" else "${stdenv.cc}/bin/gcc" if stdenv.cc.isClang then "clang" else "${stdenv.cc}/bin/gcc"
}" ${ }" ${

View File

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
buildPhase = '' buildPhase = ''
patchShebangs ./scons patchShebangs ./scons
./scons openssl=${openssl} \ ./scons openssl=${openssl.dev} \
boost_includedir=${boost.dev}/include \ boost_includedir=${boost.dev}/include \
boost_libdir=${boost.out}/lib \ boost_libdir=${boost.out}/lib \
boost_bundled_enable=false \ boost_bundled_enable=false \

View File

@ -1922,7 +1922,7 @@ let
}); });
openssl = old.openssl.overrideDerivation (attrs: { openssl = old.openssl.overrideDerivation (attrs: {
OPENSSL_INCLUDES = "${pkgs.openssl}/include"; OPENSSL_INCLUDES = "${pkgs.openssl.dev}/include";
}); });
Rserve = old.Rserve.overrideDerivation (attrs: { Rserve = old.Rserve.overrideDerivation (attrs: {

View File

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
configureFlags = configureFlags =
[ "--with-munge=${munge}" [ "--with-munge=${munge}"
"--with-ssl=${openssl}" "--with-ssl=${openssl.dev}"
] ++ stdenv.lib.optional (gtk == null) "--disable-gtktest"; ] ++ stdenv.lib.optional (gtk == null) "--disable-gtktest";
preConfigure = '' preConfigure = ''

View File

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
"--localstatedir=/var" "--localstatedir=/var"
"--with-libtool" "--with-libtool"
"--with-libxml2=${libxml2}" "--with-libxml2=${libxml2}"
"--with-openssl=${openssl}" "--with-openssl=${openssl.dev}"
"--without-atf" "--without-atf"
"--without-dlopen" "--without-dlopen"
"--without-docbook-xsl" "--without-docbook-xsl"

View File

@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
--enable-mods-shared=all --enable-mods-shared=all
--enable-authn-alias --enable-authn-alias
${if proxySupport then "--enable-proxy" else ""} ${if proxySupport then "--enable-proxy" else ""}
${if sslSupport then "--enable-ssl --with-ssl=${openssl}" else ""} ${if sslSupport then "--enable-ssl --with-ssl=${openssl.dev}" else ""}
${if ldapSupport then "--enable-ldap --enable-authnz-ldap" else ""} ${if ldapSupport then "--enable-ldap --enable-authnz-ldap" else ""}
--with-mpm=${mpm} --with-mpm=${mpm}
--enable-cache --enable-cache

View File

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
configureFlags = [ configureFlags = [
"--enable-epoll" "--enable-epoll"
"--enable-ipv6" "--enable-ipv6"
"--enable-openssl=${openssl}" "--enable-openssl=${openssl.dev}"
"--with-program-prefix=charybdis-" "--with-program-prefix=charybdis-"
]; ];

View File

@ -11,7 +11,7 @@ stdenv.mkDerivation {
buildInputs = [ openssl zlib ]; buildInputs = [ openssl zlib ];
configureFlags = configureFlags =
"--with-nicklen=100 --with-topiclen=360 --enable-openssl=${openssl}"; "--with-nicklen=100 --with-topiclen=360 --enable-openssl=${openssl.dev}";
postInstall = "echo postinstall; mkdir -p \${out}/ ; rm -rf \${out}/logs ; ln -s /home/ircd \${out}/logs;"; postInstall = "echo postinstall; mkdir -p \${out}/ ; rm -rf \${out}/logs ; ln -s /home/ircd \${out}/logs;";

View File

@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
"--with-sys-contact=root@unknown" "--with-sys-contact=root@unknown"
"--with-logfile=/var/log/net-snmpd.log" "--with-logfile=/var/log/net-snmpd.log"
"--with-persistent-directory=/var/lib/net-snmp" "--with-persistent-directory=/var/lib/net-snmp"
"--with-openssl=${openssl}" "--with-openssl=${openssl.dev}"
] ++ stdenv.lib.optional stdenv.isLinux "--with-mnttab=/proc/mounts"; ] ++ stdenv.lib.optional stdenv.isLinux "--with-mnttab=/proc/mounts";
buildInputs = [ autoreconfHook file perl unzip openssl ]; buildInputs = [ autoreconfHook file perl unzip openssl ];

View File

@ -51,7 +51,7 @@ buildPerlPackage {
preConfigure = '' preConfigure = ''
substituteInPlace core/server/Makefile.PL \ substituteInPlace core/server/Makefile.PL \
--replace "my \$openssl_inc_dir = ''';" "my \$openssl_inc_dir = '${openssl}/include';" \ --replace "my \$openssl_inc_dir = ''';" "my \$openssl_inc_dir = '${openssl.dev}/include';" \
--replace "my \$openssl_lib_dir = ''';" "my \$openssl_lib_dir = '${openssl.out}/lib';" \ --replace "my \$openssl_lib_dir = ''';" "my \$openssl_lib_dir = '${openssl.out}/lib';" \
--replace "my \$openssl_binary = ''';" "my \$openssl_binary = '${openssl.bin}/bin/openssl';" --replace "my \$openssl_binary = ''';" "my \$openssl_binary = '${openssl.bin}/bin/openssl';"
substituteInPlace tools/vergen --replace "#!/usr/bin/perl" "#!${perl}/bin/perl" substituteInPlace tools/vergen --replace "#!/usr/bin/perl" "#!${perl}/bin/perl"

View File

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
configureFlags = [ configureFlags = [
"--enable-thread-safe-client" "--enable-thread-safe-client"
"--with-ssl=${openssl}" "--with-ssl=${openssl.dev}"
"--with-embedded-server" "--with-embedded-server"
"--with-plugins=max-no-ndb" "--with-plugins=max-no-ndb"
"--with-unix-socket-path=/run/mysqld/mysqld.sock" "--with-unix-socket-path=/run/mysqld/mysqld.sock"

View File

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
configureFlags = " configureFlags = "
--enable-shared --disable-all-vads --with-readline=${readline} --enable-shared --disable-all-vads --with-readline=${readline}
--disable-hslookup --disable-wbxml2 --without-iodbc --disable-hslookup --disable-wbxml2 --without-iodbc
--enable-openssl=${openssl} --enable-openssl=${openssl.dev}
"; ";
postInstall='' postInstall=''

View File

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
configureFlags = " configureFlags = "
--enable-shared --disable-all-vads --with-readline=${readline} --enable-shared --disable-all-vads --with-readline=${readline}
--disable-hslookup --disable-wbxml2 --without-iodbc --disable-hslookup --disable-wbxml2 --without-iodbc
--enable-openssl=${openssl} --enable-openssl=${openssl.dev}
"; ";
postInstall='' postInstall=''

View File

@ -15,7 +15,7 @@ python3Packages.buildPythonApplication rec {
[ cython msgpack openssl acl llfuse ]; [ cython msgpack openssl acl llfuse ];
preConfigure = '' preConfigure = ''
export ATTIC_OPENSSL_PREFIX="${openssl}" export ATTIC_OPENSSL_PREFIX="${openssl.dev}"
substituteInPlace setup.py --replace "version=versioneer.get_version()" "version='${version}'" substituteInPlace setup.py --replace "version=versioneer.get_version()" "version='${version}'"
''; '';

View File

@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
"--enable-scsi-crypto" "--enable-scsi-crypto"
] ++ optionals (readline != null) [ "--disable-conio" "--enable-readline" "--with-readline=${readline}" ] ] ++ optionals (readline != null) [ "--disable-conio" "--enable-readline" "--with-readline=${readline}" ]
++ optional (python != null) "--with-python=${python}" ++ optional (python != null) "--with-python=${python}"
++ optional (openssl != null) "--with-openssl=${openssl}" ++ optional (openssl != null) "--with-openssl=${openssl.dev}"
++ optional (sqlite != null) "--with-sqlite3=${sqlite}" ++ optional (sqlite != null) "--with-sqlite3=${sqlite}"
++ optional (postgresql != null) "--with-postgresql=${postgresql}" ++ optional (postgresql != null) "--with-postgresql=${postgresql}"
++ optional (libmysql != null) "--with-mysql=${libmysql}" ++ optional (libmysql != null) "--with-mysql=${libmysql}"

View File

@ -21,7 +21,7 @@ python3Packages.buildPythonApplication rec {
]); ]);
preConfigure = '' preConfigure = ''
export BORG_OPENSSL_PREFIX="${openssl}" export BORG_OPENSSL_PREFIX="${openssl.dev}"
export BORG_LZ4_PREFIX="${lz4}" export BORG_LZ4_PREFIX="${lz4}"
''; '';

View File

@ -9,7 +9,7 @@ stdenv.mkDerivation {
url = mirror://sourceforge/partimage/partimage-0.6.9.tar.bz2; url = mirror://sourceforge/partimage/partimage-0.6.9.tar.bz2;
sha256 = "0db6xiphk6xnlpbxraiy31c5xzj0ql6k4rfkmqzh665yyj0nqfkm"; sha256 = "0db6xiphk6xnlpbxraiy31c5xzj0ql6k4rfkmqzh665yyj0nqfkm";
}; };
configureFlags = "--with-ssl-headers=${openssl}/include/openssl"; configureFlags = "--with-ssl-headers=${openssl.dev}/include/openssl";
buildInputs = [bzip2 zlib newt newt openssl pkgconfig slang buildInputs = [bzip2 zlib newt newt openssl pkgconfig slang
# automake autoconf libtool gettext # automake autoconf libtool gettext

View File

@ -14,7 +14,7 @@ stdenv.mkDerivation rec{
configureFlags = [ configureFlags = [
"--with-bdb=${db}" "--with-bdb=${db}"
"--with-openssl=${openssl}" "--with-openssl=${openssl.dev}"
"--with-lockfile=/run/lock/netatalk" "--with-lockfile=/run/lock/netatalk"
"--localstatedir=/var/lib" "--localstatedir=/var/lib"
]; ];

View File

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
export BOOST_INCLUDEDIR=${boost.dev}/include export BOOST_INCLUDEDIR=${boost.dev}/include
export BOOST_LIBRARYDIR=${boost.out}/lib export BOOST_LIBRARYDIR=${boost.out}/lib
export OPENSSL_ROOT_DIR=${openssl} export OPENSSL_ROOT_DIR=${openssl.dev}
substituteInPlace cpp/cmake/FindValgrind.cmake \ substituteInPlace cpp/cmake/FindValgrind.cmake \
--replace "/usr/local" "${valgrind}" --replace "/usr/local" "${valgrind}"

View File

@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
configureFlags = [ configureFlags = [
"--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt" "--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt"
( if sslSupport then "--with-ssl=${openssl}" else "--without-ssl" ) ( if sslSupport then "--with-ssl=${openssl.dev}" else "--without-ssl" )
( if scpSupport then "--with-libssh2=${libssh2.dev}" else "--without-libssh2" ) ( if scpSupport then "--with-libssh2=${libssh2.dev}" else "--without-libssh2" )
] ]
++ stdenv.lib.optional c-aresSupport "--enable-ares=${c-ares}" ++ stdenv.lib.optional c-aresSupport "--enable-ares=${c-ares}"

View File

@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
configureFlags = [ configureFlags = [
"--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt" "--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt"
"--disable-manual" "--disable-manual"
( if sslSupport then "--with-ssl=${openssl}" else "--without-ssl" ) ( if sslSupport then "--with-ssl=${openssl.dev}" else "--without-ssl" )
( if scpSupport then "--with-libssh2=${libssh2.dev}" else "--without-libssh2" ) ( if scpSupport then "--with-libssh2=${libssh2.dev}" else "--without-libssh2" )
( if ldapSupport then "--enable-ldap" else "--disable-ldap" ) ( if ldapSupport then "--enable-ldap" else "--disable-ldap" )
( if ldapSupport then "--enable-ldaps" else "--disable-ldaps" ) ( if ldapSupport then "--enable-ldaps" else "--disable-ldaps" )

View File

@ -20,7 +20,7 @@ stdenv.mkDerivation {
inherit (s) url sha256; inherit (s) url sha256;
}; };
configureFlags = [ configureFlags = [
"--with-openssl=${openssl}" "--with-openssl=${openssl.dev}"
]; ];
meta = { meta = {
inherit (s) version; inherit (s) version;

View File

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
''; '';
configureFlags = [ configureFlags = [
"--with-openssl=${openssl}" "--with-openssl=${openssl.dev}"
"--with-runtime-dir=/run/sstpc" "--with-runtime-dir=/run/sstpc"
"--with-pppd-plugin-dir=$(out)/lib/pppd" "--with-pppd-plugin-dir=$(out)/lib/pppd"
]; ];

View File

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
buildInputs = [ openssl ]; buildInputs = [ openssl ];
configureFlags = [ configureFlags = [
"--with-ssl=${openssl}" "--with-ssl=${openssl.dev}"
"--sysconfdir=/etc" "--sysconfdir=/etc"
"--localstatedir=/var" "--localstatedir=/var"
]; ];

View File

@ -18,13 +18,13 @@ stdenv.mkDerivation {
++ stdenv.lib.optional (!stdenv.isDarwin) pam; ++ stdenv.lib.optional (!stdenv.isDarwin) pam;
patchPhase = '' patchPhase = ''
sed -i src/osdep/unix/Makefile -e 's,/usr/local/ssl,${openssl},' sed -i src/osdep/unix/Makefile -e 's,/usr/local/ssl,${openssl.dev},'
sed -i src/osdep/unix/Makefile -e 's,^SSLCERTS=.*,SSLCERTS=/etc/ssl/certs,' sed -i src/osdep/unix/Makefile -e 's,^SSLCERTS=.*,SSLCERTS=/etc/ssl/certs,'
sed -i src/osdep/unix/Makefile -e 's,^SSLLIB=.*,SSLLIB=${openssl.out}/lib,' sed -i src/osdep/unix/Makefile -e 's,^SSLLIB=.*,SSLLIB=${openssl.out}/lib,'
''; '';
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin
"-I${openssl}/include/openssl"; "-I${openssl.dev}/include/openssl";
installPhase = '' installPhase = ''
mkdir -p $out/bin $out/lib $out/include mkdir -p $out/bin $out/lib $out/include

View File

@ -16,8 +16,8 @@ stdenv.mkDerivation rec {
configureFlags = '' configureFlags = ''
--with-lzo-headers=${lzo}/include/lzo --with-lzo-headers=${lzo}/include/lzo
--with-ssl-headers=${openssl}/include/openssl --with-ssl-headers=${openssl.dev}/include/openssl
--with-blowfish-headers=${openssl}/include/openssl''; --with-blowfish-headers=${openssl.dev}/include/openssl'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Virtual Tunnels over TCP/IP with traffic shaping, compression and encryption"; description = "Virtual Tunnels over TCP/IP with traffic shaping, compression and encryption";

View File

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
"--with-libbz2-prefix=${bzip2.dev}" "--with-libbz2-prefix=${bzip2.dev}"
"--with-iconv-dir=${libiconv}" "--with-iconv-dir=${libiconv}"
"--with-xml=${libxml2}" "--with-xml=${libxml2}"
"--with-openssl=${openssl}" "--with-openssl=${openssl.dev}"
"--with-libncurses-prefix=${ncurses.dev}" "--with-libncurses-prefix=${ncurses.dev}"
"--with-libcurl=${curl.dev}" "--with-libcurl=${curl.dev}"
"--with-pcre=${pcre}" "--with-pcre=${pcre}"

View File

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
[ "--with-pam=$(out)/lib/security" [ "--with-pam=$(out)/lib/security"
"--prefix=$(out)" "--prefix=$(out)"
"--sysconfdir=$(out)/etc/duo" "--sysconfdir=$(out)/etc/duo"
"--with-openssl=${openssl}" "--with-openssl=${openssl.dev}"
"--enable-lib64=no" "--enable-lib64=no"
]; ];

View File

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
buildInputs = [ openssl ] ++ stdenv.lib.optionals usePAM [ pam ]; buildInputs = [ openssl ] ++ stdenv.lib.optionals usePAM [ pam ];
configureFlags = [ configureFlags = [
"--with-ssl-incl-dir=${openssl}/include" "--with-ssl-incl-dir=${openssl.dev}/include"
"--with-ssl-lib-dir=${openssl.out}/lib" "--with-ssl-lib-dir=${openssl.out}/lib"
] ++ stdenv.lib.optionals (! usePAM) [ "--without-pam" ]; ] ++ stdenv.lib.optionals (! usePAM) [ "--without-pam" ];

View File

@ -2569,7 +2569,7 @@ let self = _self // overrides; _self = with self; {
url = "mirror://cpan/authors/id/T/TT/TTAR/${name}.tar.gz"; url = "mirror://cpan/authors/id/T/TT/TTAR/${name}.tar.gz";
sha256 = "b66fab514edf97fc32f58da257582704a210c2b35e297d5c31b7fa2ffd08e908"; sha256 = "b66fab514edf97fc32f58da257582704a210c2b35e297d5c31b7fa2ffd08e908";
}; };
NIX_CFLAGS_COMPILE = "-I${pkgs.openssl}/include"; NIX_CFLAGS_COMPILE = "-I${pkgs.openssl.dev}/include";
NIX_CFLAGS_LINK = "-L${pkgs.openssl.out}/lib -lcrypto"; NIX_CFLAGS_LINK = "-L${pkgs.openssl.out}/lib -lcrypto";
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://metacpan.org/release/Crypt-OpenSSL-AES; homepage = https://metacpan.org/release/Crypt-OpenSSL-AES;
@ -2586,7 +2586,7 @@ let self = _self // overrides; _self = with self; {
url = "mirror://cpan/authors/id/I/IR/IROBERTS/${name}.tar.gz"; url = "mirror://cpan/authors/id/I/IR/IROBERTS/${name}.tar.gz";
sha256 = "18vg2bqyhc0ahfdh5dkbgph5nh92qcz5vi99jq8aam4h86if78bk"; sha256 = "18vg2bqyhc0ahfdh5dkbgph5nh92qcz5vi99jq8aam4h86if78bk";
}; };
NIX_CFLAGS_COMPILE = "-I${pkgs.openssl}/include"; NIX_CFLAGS_COMPILE = "-I${pkgs.openssl.dev}/include";
NIX_CFLAGS_LINK = "-L${pkgs.openssl.out}/lib -lcrypto"; NIX_CFLAGS_LINK = "-L${pkgs.openssl.out}/lib -lcrypto";
}; };
@ -2596,7 +2596,7 @@ let self = _self // overrides; _self = with self; {
url = "mirror://cpan/authors/id/R/RU/RURBAN/${name}.tar.gz"; url = "mirror://cpan/authors/id/R/RU/RURBAN/${name}.tar.gz";
sha256 = "12pirh1pj8lpvzcwj2if9i6dbr6a7s9g1zc7gzbd3v87d6mx0rdf"; sha256 = "12pirh1pj8lpvzcwj2if9i6dbr6a7s9g1zc7gzbd3v87d6mx0rdf";
}; };
NIX_CFLAGS_COMPILE = "-I${pkgs.openssl}/include"; NIX_CFLAGS_COMPILE = "-I${pkgs.openssl.dev}/include";
NIX_CFLAGS_LINK = "-L${pkgs.openssl.out}/lib -lcrypto"; NIX_CFLAGS_LINK = "-L${pkgs.openssl.out}/lib -lcrypto";
}; };
@ -2607,7 +2607,7 @@ let self = _self // overrides; _self = with self; {
sha256 = "5357f977464bb3a8184cf2d3341851a10d5515b4b2b0dfb88bf78995c0ded7be"; sha256 = "5357f977464bb3a8184cf2d3341851a10d5515b4b2b0dfb88bf78995c0ded7be";
}; };
propagatedBuildInputs = [ CryptOpenSSLRandom ]; propagatedBuildInputs = [ CryptOpenSSLRandom ];
NIX_CFLAGS_COMPILE = "-I${pkgs.openssl}/include"; NIX_CFLAGS_COMPILE = "-I${pkgs.openssl.dev}/include";
NIX_CFLAGS_LINK = "-L${pkgs.openssl.out}/lib -lcrypto"; NIX_CFLAGS_LINK = "-L${pkgs.openssl.out}/lib -lcrypto";
}; };
@ -2617,7 +2617,7 @@ let self = _self // overrides; _self = with self; {
url = "mirror://cpan/authors/id/N/NA/NANIS/${name}.tar.gz"; url = "mirror://cpan/authors/id/N/NA/NANIS/${name}.tar.gz";
sha256 = "1s7zm6ph37kg8jzaxnhi4ff4snxl7mi5h14arxbri0kp6s0lzlzm"; sha256 = "1s7zm6ph37kg8jzaxnhi4ff4snxl7mi5h14arxbri0kp6s0lzlzm";
}; };
makeMakerFlags = "--libpath=${pkgs.openssl.out}/lib --incpath=${pkgs.openssl}/include"; makeMakerFlags = "--libpath=${pkgs.openssl.out}/lib --incpath=${pkgs.openssl.dev}/include";
buildInputs = [ PathClass TryTiny ]; buildInputs = [ PathClass TryTiny ];
}; };

View File

@ -12031,7 +12031,7 @@ in modules // {
buildInputs = with self; [ pkgs.swig2 pkgs.openssl ]; buildInputs = with self; [ pkgs.swig2 pkgs.openssl ];
preConfigure = '' preConfigure = ''
substituteInPlace setup.py --replace "self.openssl = '/usr'" "self.openssl = '${pkgs.openssl}'" substituteInPlace setup.py --replace "self.openssl = '/usr'" "self.openssl = '${pkgs.openssl.dev}'"
''; '';
doCheck = false; # another test that depends on the network. doCheck = false; # another test that depends on the network.