about summary refs log tree commit diff
path: root/pkgs/tools/networking/openfortivpn
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2016-02-12 13:46:50 +0000
committerRobin Gloster <mail@glob.in>2016-02-12 13:46:50 +0000
commit7e01cafa4bf98eedb025917f502ff85c86400b95 (patch)
treef650a96984b1ac03bb455a0aabf9b3feb480ef8d /pkgs/tools/networking/openfortivpn
parent200dedf2cd88a38acab08c37b819c65d582fa469 (diff)
openfortivpn: turn off format hardening and use autoreconfHook
Diffstat (limited to 'pkgs/tools/networking/openfortivpn')
-rw-r--r--pkgs/tools/networking/openfortivpn/default.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/tools/networking/openfortivpn/default.nix b/pkgs/tools/networking/openfortivpn/default.nix
index 50fde6a779442..25af3e11cafbf 100644
--- a/pkgs/tools/networking/openfortivpn/default.nix
+++ b/pkgs/tools/networking/openfortivpn/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, automake, autoconf, openssl, ppp }:
+{ stdenv, fetchFromGitHub, autoreconfHook, openssl, ppp }:
 
 with stdenv.lib;
 
@@ -15,13 +15,11 @@ in stdenv.mkDerivation {
     sha256 = "0kwl8hv3nydd34xp1489jpjdj4bmknfl9xrgynij0vf5qx29xv7m";
   };
 
-  buildInputs = [ openssl automake autoconf ppp ];
+  buildInputs = [ openssl ppp autoreconfHook ];
 
-  preConfigure = ''
-    aclocal
-    autoconf
-    automake --add-missing
+  hardening_format = false;
 
+  preConfigure = ''
     substituteInPlace src/tunnel.c --replace "/usr/sbin/pppd" "${ppp}/bin/pppd"
   '';