2018-01-27 17:19:26 -07:00
|
|
|
{ stdenv, fetchurl, libcap, libconfig, perl, tcp_wrappers, pcre }:
|
2015-02-04 16:36:27 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "sslh-${version}";
|
2018-03-05 07:55:39 -07:00
|
|
|
version = "1.19c";
|
2015-02-04 16:36:27 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-05-12 16:01:57 -06:00
|
|
|
url = "http://www.rutschle.net/tech/sslh/sslh-v${version}.tar.gz";
|
2018-03-05 07:55:39 -07:00
|
|
|
sha256 = "1wvvqj9r293skgqi28q4ixz7zwf301h1bf514p41xbi7ifldy4dv";
|
2015-02-04 16:36:27 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = "patchShebangs *.sh";
|
|
|
|
|
2018-01-27 17:19:26 -07:00
|
|
|
buildInputs = [ libcap libconfig perl tcp_wrappers pcre ];
|
2015-02-04 16:36:27 -07:00
|
|
|
|
2015-02-12 05:21:36 -07:00
|
|
|
makeFlags = "USELIBCAP=1 USELIBWRAP=1";
|
2015-02-04 16:36:27 -07:00
|
|
|
|
|
|
|
installFlags = "PREFIX=$(out)";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Applicative Protocol Multiplexer (e.g. share SSH and HTTPS on the same port)";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
homepage = http://www.rutschle.net/tech/sslh.shtml;
|
2016-05-12 16:01:57 -06:00
|
|
|
maintainers = with maintainers; [ koral fpletz ];
|
2015-02-04 16:36:27 -07:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|