openvpn: Update to 2.3.7

This commit is contained in:
Eelco Dolstra 2015-08-31 17:53:30 +02:00
parent a88b9bf19e
commit 9000ddce90

View File

@ -3,11 +3,11 @@
with stdenv.lib;
stdenv.mkDerivation rec {
name = "openvpn-2.3.6";
name = "openvpn-2.3.7";
src = fetchurl {
url = "http://swupdate.openvpn.net/community/releases/${name}.tar.gz";
sha256 = "09jvxr4wcsmk55gqv3cblm60kzs9ripv9h4y50d1lbn177zx5bkv";
sha256 = "0vhl0ddpxqfibc0ah0ci7ix9bs0cn5shhmhijg550qpbdb6s80hz";
};
patches = optional stdenv.isLinux ./systemd-notify.patch;
@ -21,11 +21,6 @@ stdenv.mkDerivation rec {
IPROUTE=${iproute}/sbin/ip
'';
preConfigure = ''
substituteInPlace ./src/openvpn/console.c \
--replace /bin/systemd-ask-password /run/current-system/sw/bin/systemd-ask-password
'';
postInstall = ''
mkdir -p $out/share/doc/openvpn/examples
cp -r sample/sample-config-files/ $out/share/doc/openvpn/examples