sslh: install sslh-select binary

This commit is contained in:
rnhmjoj 2023-07-24 21:51:14 +02:00
parent 71ef7ea8fe
commit edb4422d73
No known key found for this signature in database
GPG Key ID: BFBAF4C975F76450

View File

@ -17,6 +17,13 @@ stdenv.mkDerivation rec {
makeFlags = [ "USELIBCAP=1" "USELIBWRAP=1" ];
postInstall = ''
# install all flavours
install -p sslh-fork "$out/sbin/sslh-fork"
install -p sslh-select "$out/sbin/sslh-select"
ln -sf sslh-fork "$out/sbin/sslh"
'';
installFlags = [ "PREFIX=$(out)" ];
hardeningDisable = [ "format" ];