openfortivpn: 1.1.4 -> 1.2.0
This commit is contained in:
parent
7977cc4451
commit
900cc90fbe
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user