mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-30 23:34:12 +03:00
softether: 4.29 -> 4.38
This commit is contained in:
parent
55f827a0db
commit
cbb34c531c
@ -4,28 +4,28 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "softether";
|
||||
version = "4.29";
|
||||
build = "9680";
|
||||
version = "4.38";
|
||||
build = "9760";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/releases/download/v${version}-${build}-rtm/softether-src-v${version}-${build}-rtm.tar.gz";
|
||||
sha256 = "1r169s5dr31060r2mxkmm08riy6zrxgapmrc6kdrpxdav6kmy0z6";
|
||||
sha256 = "0d8zahi9lkv72jh8yj66pwrsi4451vk113d3khzrzgbic6s2i0g6";
|
||||
};
|
||||
|
||||
buildInputs = [ openssl readline ncurses zlib ];
|
||||
|
||||
preConfigure = ''
|
||||
./configure
|
||||
./configure
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
mkdir -p $out/bin
|
||||
sed -i \
|
||||
-e "/INSTALL_BINDIR=/s|/usr/bin|/bin|g" \
|
||||
-e "/_DIR=/s|/usr|${dataDir}|g" \
|
||||
-e "s|\$(INSTALL|$out/\$(INSTALL|g" \
|
||||
-e "/echo/s|echo $out/|echo |g" \
|
||||
Makefile
|
||||
mkdir -p $out/bin
|
||||
sed -i \
|
||||
-e "/INSTALL_BINDIR=/s|/usr/bin|/bin|g" \
|
||||
-e "/_DIR=/s|/usr|${dataDir}|g" \
|
||||
-e "s|\$(INSTALL|$out/\$(INSTALL|g" \
|
||||
-e "/echo/s|echo $out/|echo |g" \
|
||||
Makefile
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
@ -21797,8 +21797,7 @@ with pkgs;
|
||||
|
||||
openfire = callPackage ../servers/xmpp/openfire { };
|
||||
|
||||
softether_4_29 = callPackage ../servers/softether/4.29.nix { };
|
||||
softether = softether_4_29;
|
||||
softether = callPackage ../servers/softether { };
|
||||
|
||||
qboot = pkgsi686Linux.callPackage ../applications/virtualization/qboot { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user