mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 21:18:28 +03:00
openvpn: Update to 2.3.7
This commit is contained in:
parent
a88b9bf19e
commit
9000ddce90
@ -3,11 +3,11 @@
|
|||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "openvpn-2.3.6";
|
name = "openvpn-2.3.7";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://swupdate.openvpn.net/community/releases/${name}.tar.gz";
|
url = "http://swupdate.openvpn.net/community/releases/${name}.tar.gz";
|
||||||
sha256 = "09jvxr4wcsmk55gqv3cblm60kzs9ripv9h4y50d1lbn177zx5bkv";
|
sha256 = "0vhl0ddpxqfibc0ah0ci7ix9bs0cn5shhmhijg550qpbdb6s80hz";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = optional stdenv.isLinux ./systemd-notify.patch;
|
patches = optional stdenv.isLinux ./systemd-notify.patch;
|
||||||
@ -21,11 +21,6 @@ stdenv.mkDerivation rec {
|
|||||||
IPROUTE=${iproute}/sbin/ip
|
IPROUTE=${iproute}/sbin/ip
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preConfigure = ''
|
|
||||||
substituteInPlace ./src/openvpn/console.c \
|
|
||||||
--replace /bin/systemd-ask-password /run/current-system/sw/bin/systemd-ask-password
|
|
||||||
'';
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/share/doc/openvpn/examples
|
mkdir -p $out/share/doc/openvpn/examples
|
||||||
cp -r sample/sample-config-files/ $out/share/doc/openvpn/examples
|
cp -r sample/sample-config-files/ $out/share/doc/openvpn/examples
|
||||||
|
Loading…
Reference in New Issue
Block a user