/[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.3 - (hide annotations) (download)
Wed Aug 15 21:03:54 2012 UTC (22 months, 4 weeks ago) by johu
Branch: MAIN
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #430300

(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)

1 kensington 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 johu 1.3 # $Header: /var/cvsroot/gentoo-x86/net-misc/sslh/sslh-1.13-r2.ebuild,v 1.2 2012/08/07 18:11:42 ago Exp $
4 kensington 1.1
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 johu 1.3 KEYWORDS="amd64 x86"
16 kensington 1.1 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