@@ -3,11 +3,11 @@
33with stdenv.lib;
44
55stdenv.mkDerivation rec {
6− name = "openvpn-2.3.6";
6+ name = "openvpn-2.3.7";
77
88 src = fetchurl {
99 url = "http://swupdate.openvpn.net/community/releases/${name}.tar.gz";
10− sha256 = "09jvxr4wcsmk55gqv3cblm60kzs9ripv9h4y50d1lbn177zx5bkv";
10+ sha256 = "0vhl0ddpxqfibc0ah0ci7ix9bs0cn5shhmhijg550qpbdb6s80hz";
1111 };
1212
1313 patches = optional stdenv.isLinux ./systemd-notify.patch;
@@ -21,11 +21,6 @@ stdenv.mkDerivation rec {
2121 IPROUTE=${iproute}/sbin/ip
2222 '';
2323
24− preConfigure = ''
25− substituteInPlace ./src/openvpn/console.c \
26− --replace /bin/systemd-ask-password /run/current-system/sw/bin/systemd-ask-password
27− '';
28−
2924 postInstall = ''
3025 mkdir -p $out/share/doc/openvpn/examples
3126 cp -r sample/sample-config-files/ $out/share/doc/openvpn/examples