diff options
author | Michael Palimaka <kensington@gentoo.org> | 2016-03-31 04:43:33 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2016-03-31 04:47:12 +1100 |
commit | ad0079d24aebf8242c3627e72c22ee33cd41df2d (patch) | |
tree | 243f0c16f181eb43f2e42d6b097e452fed222273 /net-misc/sslh/sslh-1.18.ebuild | |
parent | media-sound/clementine: update the 9999 to be the same as latest rc (diff) | |
download | gentoo-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/sslh-1.18.ebuild')
-rw-r--r-- | net-misc/sslh/sslh-1.18.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
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 +} |