openfortivpn: 1.1.4 -> 1.2.0

This commit is contained in:
Robin Gloster 2017-02-02 04:06:34 +01:00
parent 7977cc4451
commit 900cc90fbe
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882

View File

@ -3,7 +3,7 @@
with stdenv.lib; with stdenv.lib;
let repo = "openfortivpn"; let repo = "openfortivpn";
version = "1.1.4"; version = "1.2.0";
in stdenv.mkDerivation { in stdenv.mkDerivation {
name = "${repo}-${version}"; name = "${repo}-${version}";
@ -12,12 +12,12 @@ in stdenv.mkDerivation {
owner = "adrienverge"; owner = "adrienverge";
inherit repo; inherit repo;
rev = "v${version}"; rev = "v${version}";
sha256 = "08ycz053wa29ckgr93132hr3vrd84r3bks9q807qanri0n35y256"; sha256 = "1a1l9f6zivfyxg9g2x7kzkvcyh84s7l6v0kimihhrd19zl0m41jn";
}; };
buildInputs = [ openssl ppp autoreconfHook ]; buildInputs = [ openssl ppp autoreconfHook ];
hardeningDisable = [ "format" ]; NIX_CFLAGS_COMPILE = "-Wno-error=unused-function";
preConfigure = '' preConfigure = ''
substituteInPlace src/tunnel.c --replace "/usr/sbin/pppd" "${ppp}/bin/pppd" substituteInPlace src/tunnel.c --replace "/usr/sbin/pppd" "${ppp}/bin/pppd"