about summary refs log tree commit diff
path: root/pkgs/tools/networking
diff options
context:
space:
mode:
authorNikola Knezevic <nikola@knezevic.ch>2019-03-08 14:16:15 +0100
committerNikola Knezevic <nikola@knezevic.ch>2019-03-08 16:11:38 +0100
commit81042e810ffb4bf03dce3af532c1bd9eb47de069 (patch)
treecf3e30a0491d0d604b2bbaa189b64d66f896b612 /pkgs/tools/networking
parent9fa52ae9a22091c978857ef5440372c06da4c99e (diff)
downloadnixlib-81042e810ffb4bf03dce3af532c1bd9eb47de069.tar
nixlib-81042e810ffb4bf03dce3af532c1bd9eb47de069.tar.gz
nixlib-81042e810ffb4bf03dce3af532c1bd9eb47de069.tar.bz2
nixlib-81042e810ffb4bf03dce3af532c1bd9eb47de069.tar.lz
nixlib-81042e810ffb4bf03dce3af532c1bd9eb47de069.tar.xz
nixlib-81042e810ffb4bf03dce3af532c1bd9eb47de069.tar.zst
nixlib-81042e810ffb4bf03dce3af532c1bd9eb47de069.zip
strongswan: 5.7.1 -> 5.7.2
Diffstat (limited to 'pkgs/tools/networking')
-rw-r--r--pkgs/tools/networking/strongswan/default.nix13
1 files changed, 3 insertions, 10 deletions
diff --git a/pkgs/tools/networking/strongswan/default.nix b/pkgs/tools/networking/strongswan/default.nix
index d5b3a00c733e..ff276c0d18a1 100644
--- a/pkgs/tools/networking/strongswan/default.nix
+++ b/pkgs/tools/networking/strongswan/default.nix
@@ -19,11 +19,11 @@ with stdenv.lib;
 
 stdenv.mkDerivation rec {
   name = "strongswan-${version}";
-  version = "5.7.1";
+  version = "5.7.2";
 
   src = fetchurl {
     url = "https://download.strongswan.org/${name}.tar.bz2";
-    sha256 = "1v2b8lnqrkbc9hx3p2rw36xvphdy5ayy3dblm3kz98p24s8rqvq0";
+    sha256 = "0w6cks42lvvyj5ivyhqyqxya48x93yzfpz281q3xmqicdskkp3ih";
   };
 
   dontPatchELF = true;
@@ -49,14 +49,7 @@ stdenv.mkDerivation rec {
     }))
   ];
 
-  postPatch = ''
-    # swanctl can be configured by files in SWANCTLDIR which defaults to
-    # $out/etc/swanctl. Since that directory is in the nix store users can't
-    # modify it. Ideally swanctl accepts a command line option for specifying
-    # the configuration files. In the absence of that we patch swanctl to look
-    # for configuration files in /etc/swanctl.
-    substituteInPlace src/swanctl/swanctl.h --replace "SWANCTLDIR" "\"/etc/swanctl\""
-    '' + optionalString stdenv.isLinux ''
+  postPatch = optionalString stdenv.isLinux ''
     # glibc-2.26 reorganized internal includes
     sed '1i#include <stdint.h>' -i src/libstrongswan/utils/utils/memory.h