1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

strongswan: enable more plugins

This commit is contained in:
Thomas Strobel 2015-09-06 21:05:11 +02:00
parent ffc12580a6
commit a9dab9df61

View file

@ -1,5 +1,6 @@
{ stdenv, fetchurl, gmp, pkgconfig, python, autoreconfHook
, curl, trousers, sqlite, iptables, libxml2, openresolv
, ldns, unbound, pcsclite, openssl
, enableTNC ? false }:
stdenv.mkDerivation rec {
@ -13,7 +14,7 @@ stdenv.mkDerivation rec {
dontPatchELF = true;
buildInputs =
[ gmp pkgconfig python autoreconfHook iptables ]
[ gmp pkgconfig python autoreconfHook iptables ldns unbound openssl pcsclite ]
++ stdenv.lib.optionals enableTNC [ curl trousers sqlite libxml2 ];
patches = [
@ -34,6 +35,7 @@ stdenv.mkDerivation rec {
"--enable-eap-gtc" "--enable-eap-aka" "--enable-eap-aka-3gpp2"
"--enable-eap-mschapv2" "--enable-xauth-eap" "--enable-ext-auth"
"--enable-forecast" "--enable-connmark" "--enable-acert"
"--enable-pkcs11" "--enable-eap-sim-pcsc" "--enable-dnscert" "--enable-unbound"
"--enable-aesni" "--enable-af-alg" "--enable-rdrand" ]
++ stdenv.lib.optional (stdenv.system == "i686-linux") "--enable-padlock"
++ stdenv.lib.optionals enableTNC [