strongswan: add patch for CVE-2017-11185

(cherry picked from commit ad7439fbd1)
This commit is contained in:
Jörg Thalheim
2017-08-25 22:00:29 +01:00
parent fca2ff1a8b
commit f064a2da32

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, gmp, pkgconfig, python, autoreconfHook
{ stdenv, fetchurl, fetchpatch, gmp, pkgconfig, python, autoreconfHook
, curl, trousers, sqlite, iptables, libxml2, openresolv
, ldns, unbound, pcsclite, openssl, systemd
, enableTNC ? false }:
@@ -19,6 +19,10 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optionals enableTNC [ curl trousers sqlite libxml2 ];
patches = [
(fetchpatch {
url = "https://download.strongswan.org/security/CVE-2017-11185/strongswan-4.4.0-5.5.3_gmp_mpz_export.patch";
sha256 = "1vqf077dq71wai7ma3bpzv55i76b48gp2cf6507chgy4wj04gi73";
})
./ext_auth-path.patch
./firewall_defaults.patch
./updown-path.patch