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