/[gentoo-x86]/net-misc/sslh/sslh-1.13-r2.ebuild
Gentoo

Contents of /net-misc/sslh/sslh-1.13-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Feb 1 13:21:18 2013 UTC (17 months, 3 weeks ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key 675D0D2C)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/sslh/sslh-1.13-r2.ebuild,v 1.3 2012/08/15 21:03:54 johu Exp $
4
5 EAPI=4
6
7 inherit toolchain-funcs
8
9 DESCRIPTION="SSLH lets one accept both HTTPS and SSH connections on the same port"
10 HOMEPAGE="http://www.rutschle.net/tech/sslh.shtml"
11 SRC_URI="http://www.rutschle.net/tech/${P}b.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 IUSE="tcpd"
17
18 RDEPEND="tcpd? ( sys-apps/tcp-wrappers )
19 dev-libs/libconfig"
20 DEPEND="${RDEPEND}
21 dev-lang/perl"
22
23 RESTRICT="test"
24
25 src_prepare() {
26 sed -i \
27 -e '/strip sslh/d' \
28 -e '/^LIBS=/s:$: $(LDFLAGS):' \
29 -e '/^CFLAGS=/d' \
30 Makefile || die
31 }
32
33 src_compile() {
34 emake \
35 CC="$(tc-getCC)" \
36 USELIBWRAP=$(usev tcpd)
37 }
38
39 src_install() {
40 dosbin sslh-{fork,select}
41 dosym sslh-fork /usr/sbin/sslh
42 doman sslh.8.gz
43 dodoc ChangeLog README
44
45 newinitd "${FILESDIR}"/sslh.init.d-2 sslh
46 newconfd "${FILESDIR}"/sslh.conf.d-2 sslh
47 }

  ViewVC Help
Powered by ViewVC 1.1.20