summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-03-31 04:43:33 +1100
committerMichael Palimaka <kensington@gentoo.org>2016-03-31 04:47:12 +1100
commitad0079d24aebf8242c3627e72c22ee33cd41df2d (patch)
tree243f0c16f181eb43f2e42d6b097e452fed222273 /net-misc/sslh
parentmedia-sound/clementine: update the 9999 to be the same as latest rc (diff)
downloadgentoo-ad0079d24aebf8242c3627e72c22ee33cd41df2d.tar.gz
gentoo-ad0079d24aebf8242c3627e72c22ee33cd41df2d.tar.bz2
gentoo-ad0079d24aebf8242c3627e72c22ee33cd41df2d.zip
net-misc/sslh: version bump
Package-Manager: portage-2.2.28
Diffstat (limited to 'net-misc/sslh')
-rw-r--r--net-misc/sslh/Manifest1
-rw-r--r--net-misc/sslh/sslh-1.18.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/net-misc/sslh/Manifest b/net-misc/sslh/Manifest
index 55492349493a..12ff10911d25 100644
--- a/net-misc/sslh/Manifest
+++ b/net-misc/sslh/Manifest
@@ -1 +1,2 @@
DIST sslh-v1.17.tar.gz 45447 SHA256 4f3589ed36d8a21581268d53055240eee5e5adf02894a2ca7a6c9022f24b582a SHA512 13e9980f4af4111d1b7c695cc61f6a99dca0dbe6be6391a735ebcd15944094526761dbee1ee52d0a94bff689bd9eeefabe930fc0a515f2389bf0f44e0823a431 WHIRLPOOL ec535e0932ba9debe2a19d6bef81b7a1498c658720bbf2a4a472b7858b7db3062299de605c264bf7dcaad3e912028491f5380c64b8c379ff693243a0a1f9a39a
+DIST sslh-v1.18.tar.gz 53170 SHA256 1601a5b377dcafc6b47d2fbb8d4d25cceb83053a4adcc5874d501a2d5a7745ad SHA512 3f0f61c340b689fb30015d5c73d6c29398b5c6a115ae9089d0b3c0230e99c90049df03133e4b0c3668fbfe995ed40cd3543c5764171c57e632e75bd5c3548fea WHIRLPOOL 31ab991527072c6304770b40ad07ce62ad8642e4697ac1cbeadd9f6226522f40b858d0dc6657578df3adba0f92d8f85fd38ece199f347eec352f3a831c131b35
diff --git a/net-misc/sslh/sslh-1.18.ebuild b/net-misc/sslh/sslh-1.18.ebuild
new file mode 100644
index 000000000000..7819c8fd413f
--- /dev/null
+++ b/net-misc/sslh/sslh-1.18.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+MY_P="${PN}-v${PV}"
+inherit toolchain-funcs
+
+DESCRIPTION="Port multiplexer - accept both HTTPS and SSH connections on the same port"
+HOMEPAGE="http://www.rutschle.net/tech/sslh.shtml"
+SRC_URI="http://www.rutschle.net/tech/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~m68k ~mips ~s390 ~sh ~x86"
+IUSE="caps tcpd"
+
+RDEPEND="caps? ( sys-libs/libcap )
+ tcpd? ( sys-apps/tcp-wrappers )
+ dev-libs/libconfig"
+DEPEND="${RDEPEND}
+ dev-lang/perl"
+
+RESTRICT="test"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=( "${FILESDIR}/${PN}-1.17-version-deps.patch" )
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ USELIBCAP=$(usev caps) \
+ USELIBWRAP=$(usev tcpd)
+}
+
+src_install() {
+ dosbin sslh-{fork,select}
+ dosym sslh-fork /usr/sbin/sslh
+ doman sslh.8.gz
+ dodoc ChangeLog README.md
+
+ newinitd "${FILESDIR}"/sslh.init.d-2 sslh
+ newconfd "${FILESDIR}"/sslh.conf.d-2 sslh
+}