bind: enable seccomp on linux
This commit is contained in:
parent
33ccf3abed
commit
96b1d15e0c
@ -1,4 +1,5 @@
|
|||||||
{ stdenv, fetchurl, openssl, libtool, perl, libxml2 }:
|
{ stdenv, fetchurl, openssl, libtool, perl, libxml2
|
||||||
|
, libseccomp ? null }:
|
||||||
|
|
||||||
let version = "9.10.4-P3"; in
|
let version = "9.10.4-P3"; in
|
||||||
|
|
||||||
@ -15,7 +16,8 @@ stdenv.mkDerivation rec {
|
|||||||
patches = [ ./dont-keep-configure-flags.patch ./remove-mkdir-var.patch ] ++
|
patches = [ ./dont-keep-configure-flags.patch ./remove-mkdir-var.patch ] ++
|
||||||
stdenv.lib.optional stdenv.isDarwin ./darwin-openssl-linking-fix.patch;
|
stdenv.lib.optional stdenv.isDarwin ./darwin-openssl-linking-fix.patch;
|
||||||
|
|
||||||
buildInputs = [ openssl libtool perl libxml2 ];
|
buildInputs = [ openssl libtool perl libxml2 ] ++
|
||||||
|
stdenv.lib.optional stdenv.isLinux libseccomp;
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--localstatedir=/var"
|
"--localstatedir=/var"
|
||||||
@ -31,6 +33,7 @@ stdenv.mkDerivation rec {
|
|||||||
"--without-pkcs11"
|
"--without-pkcs11"
|
||||||
"--without-purify"
|
"--without-purify"
|
||||||
"--without-python"
|
"--without-python"
|
||||||
|
"--enable-seccomp"
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user