Merge remote-tracking branch 'upstream/master' into hardened-stdenv
This commit is contained in:
@@ -13,14 +13,14 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ zlib bzip2 libxml2 openssl ncurses curl libiconv libmilter pcre ];
|
||||
|
||||
configureFlags = [
|
||||
"--with-zlib=${zlib}"
|
||||
"--with-libbz2-prefix=${bzip2}"
|
||||
"--with-zlib=${zlib.dev}"
|
||||
"--with-libbz2-prefix=${bzip2.dev}"
|
||||
"--with-iconv-dir=${libiconv}"
|
||||
"--with-xml=${libxml2}"
|
||||
"--with-openssl=${openssl}"
|
||||
"--with-libncurses-prefix=${ncurses}"
|
||||
"--with-libcurl=${curl}"
|
||||
"--with-pcre=${pcre}"
|
||||
"--with-openssl=${openssl.dev}"
|
||||
"--with-libncurses-prefix=${ncurses.dev}"
|
||||
"--with-libcurl=${curl.dev}"
|
||||
"--with-pcre=${pcre.dev}"
|
||||
"--enable-milter"
|
||||
"--disable-clamav"
|
||||
];
|
||||
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
[ "--with-pam=$(out)/lib/security"
|
||||
"--prefix=$(out)"
|
||||
"--sysconfdir=$(out)/etc/duo"
|
||||
"--with-openssl=${openssl}"
|
||||
"--with-openssl=${openssl.dev}"
|
||||
"--enable-lib64=no"
|
||||
];
|
||||
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ecryptfs-${version}";
|
||||
version = "110";
|
||||
version = "111";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://launchpad.net/ecryptfs/trunk/${version}/+download/ecryptfs-utils_${version}.orig.tar.gz";
|
||||
sha256 = "1x03m9s409fmzjcnsa9f9ghzkpxcnj9irj05rx7jlwm5cach0lqs";
|
||||
sha256 = "0zwq19siiwf09h7lwa7n7mgmrr8cxifp45lmwgcfr8c1gviv6b0i";
|
||||
};
|
||||
|
||||
# TODO: replace wrapperDir below with from <nixos> config.security.wrapperDir;
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "eid-mw-${version}";
|
||||
version = "4.1.17";
|
||||
version = "4.1.18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
sha256 = "11d4wafcbhamkqvcfqkpz1sq66jq7bxz07m777cqsnyibccns7q6";
|
||||
sha256 = "049rxrlcwcb9yir8q2inmqlslp49alpgm4pccl138xl34cg1hyhl";
|
||||
rev = "v${version}";
|
||||
repo = "eid-mw";
|
||||
owner = "Fedict";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, openssl, nss, nspr, kerberos, gmp, zlib, libpcap, re2
|
||||
, writeText
|
||||
, writeText, gcc
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
preConfigure = "cd src";
|
||||
configureFlags = [ "--disable-native-macro" ];
|
||||
|
||||
buildInputs = [ openssl nss nspr kerberos gmp zlib libpcap re2 ];
|
||||
buildInputs = [ openssl nss nspr kerberos gmp zlib libpcap re2 gcc ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-DJOHN_SYSTEMWIDE=1" ];
|
||||
|
||||
@@ -17,11 +17,11 @@ stdenv.mkDerivation rec {
|
||||
configureFlags = [
|
||||
"--enable-standalone-module"
|
||||
"--enable-static"
|
||||
"--with-curl=${curl}"
|
||||
"--with-apxs=${apacheHttpd}/bin/apxs"
|
||||
"--with-pcre=${pcre}"
|
||||
"--with-apr=${apr}"
|
||||
"--with-apu=${aprutil}/bin/apu-1-config"
|
||||
"--with-curl=${curl.dev}"
|
||||
"--with-apxs=${apacheHttpd.dev}/bin/apxs"
|
||||
"--with-pcre=${pcre.dev}"
|
||||
"--with-apr=${apr.dev}"
|
||||
"--with-apu=${aprutil.dev}/bin/apu-1-config"
|
||||
"--with-libxml=${libxml2}"
|
||||
];
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ in stdenv.mkDerivation rec {
|
||||
cp -R . $out
|
||||
cp -R ${modulesSrc}/* $out/modules/
|
||||
wrapProgram "$out/prey.sh" \
|
||||
--prefix PATH ":" "${xawtv}/bin:${imagemagick}/bin:${curl.bin}/bin:${scrot}/bin:${inetutils}/bin:${coreutils}/bin" \
|
||||
--prefix PATH ":" "${xawtv}/bin:${imagemagick.out}/bin:${curl.bin}/bin:${scrot}/bin:${inetutils}/bin:${coreutils}/bin" \
|
||||
--set CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user