diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2023-07-27 23:41:08 +0200 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2023-10-29 18:13:37 +0100 |
commit | 7ecac99da7567f4f0e60c1c97678e85b997ffd89 (patch) | |
tree | bd19c046d3c5c0303ce98cbb10bf5fc8ef8f63b6 /pkgs/servers/sslh | |
parent | 3728338d4039a925c1c131a4f305d32c04cc3657 (diff) |
sslh: 1.22c -> 2.0.0
Diffstat (limited to 'pkgs/servers/sslh')
-rw-r--r-- | pkgs/servers/sslh/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/servers/sslh/default.nix b/pkgs/servers/sslh/default.nix index 25e40294747cc..97ec06306fc4a 100644 --- a/pkgs/servers/sslh/default.nix +++ b/pkgs/servers/sslh/default.nix @@ -1,19 +1,19 @@ -{ lib, stdenv, fetchFromGitHub, libcap, libconfig, perl, tcp_wrappers, pcre2, nixosTests }: +{ lib, stdenv, fetchFromGitHub, fetchpatch, libcap, libev, libconfig, perl, tcp_wrappers, pcre2, nixosTests }: stdenv.mkDerivation rec { pname = "sslh"; - version = "1.22c"; + version = "2.0.0"; src = fetchFromGitHub { owner = "yrutschle"; repo = pname; rev = "v${version}"; - sha256 = "sha256-A+nUWiOPoz/T5afZUzt5In01e049TgHisTF8P5Vj180="; + hash = "sha256-KfNQWSmAf86AFoInKlNZoiSuSwVLaJVnfo7SjZVY/VU="; }; postPatch = "patchShebangs *.sh"; - buildInputs = [ libcap libconfig perl tcp_wrappers pcre2 ]; + buildInputs = [ libcap libev libconfig perl tcp_wrappers pcre2 ]; makeFlags = [ "USELIBCAP=1" "USELIBWRAP=1" ]; @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { # install all flavours install -p sslh-fork "$out/sbin/sslh-fork" install -p sslh-select "$out/sbin/sslh-select" + install -p sslh-ev "$out/sbin/sslh-ev" ln -sf sslh-fork "$out/sbin/sslh" ''; |