summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-08-11 02:10:45 +0000
committerTim Harder <radhermit@gentoo.org>2011-08-11 02:10:45 +0000
commitd36396f0e132ffdcc49e521292e0e0c9ae43ba34 (patch)
tree17c5eb1d323fca6c25288af690fba7fdfb9723c6 /net-misc/sslh
parentVersion 10.3.183.5 released for security bug #378637, and a new beta of 11 j... (diff)
downloadgentoo-2-d36396f0e132ffdcc49e521292e0e0c9ae43ba34.tar.gz
gentoo-2-d36396f0e132ffdcc49e521292e0e0c9ae43ba34.tar.bz2
gentoo-2-d36396f0e132ffdcc49e521292e0e0c9ae43ba34.zip
Version bump
(Portage version: 2.2.0_alpha50/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/sslh')
-rw-r--r--net-misc/sslh/ChangeLog7
-rw-r--r--net-misc/sslh/sslh-1.9.ebuild45
2 files changed, 51 insertions, 1 deletions
diff --git a/net-misc/sslh/ChangeLog b/net-misc/sslh/ChangeLog
index 4a10e2a74fb9..001f21493d03 100644
--- a/net-misc/sslh/ChangeLog
+++ b/net-misc/sslh/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/sslh
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/sslh/ChangeLog,v 1.2 2011/05/01 21:59:28 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/sslh/ChangeLog,v 1.3 2011/08/11 02:10:45 radhermit Exp $
+
+*sslh-1.9 (11 Aug 2011)
+
+ 11 Aug 2011; Tim Harder <radhermit@gentoo.org> +sslh-1.9.ebuild:
+ Version bump
01 May 2011; Mike Frysinger <vapier@gentoo.org> sslh-1.7a.ebuild:
Tweak USE=-tcpd build flag #365575 by El Goretto.
diff --git a/net-misc/sslh/sslh-1.9.ebuild b/net-misc/sslh/sslh-1.9.ebuild
new file mode 100644
index 000000000000..d86c7bbeed01
--- /dev/null
+++ b/net-misc/sslh/sslh-1.9.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/sslh/sslh-1.9.ebuild,v 1.1 2011/08/11 02:10:45 radhermit Exp $
+
+EAPI="4"
+
+inherit toolchain-funcs
+
+DESCRIPTION="SSLH lets one 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/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="tcpd"
+
+RDEPEND="net-libs/libnet
+ tcpd? ( sys-apps/tcp-wrappers )"
+DEPEND="${RDEPEND}
+ dev-lang/perl"
+
+src_prepare() {
+ sed -i \
+ -e '/strip sslh/d' \
+ -e '/^LIBS=/s:$: $(LDFLAGS):' \
+ -e '/^CFLAGS=/d' \
+ Makefile || die
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ USELIBWRAP=$(usev tcpd)
+}
+
+src_install() {
+ dobin sslh-{fork,select}
+ dosym sslh-fork /usr/bin/sslh
+ doman sslh.8.gz
+ dodoc ChangeLog README
+
+ newinitd "${FILESDIR}"/sslh.init.d sslh
+ newconfd "${FILESDIR}"/sslh.conf.d sslh
+}