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

Contents of /net-misc/sslh/sslh-1.10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Mon Nov 28 08:39:50 2011 UTC (8 years, 2 months ago) by radhermit
Branch: MAIN
Version bump and remove old.

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

1 radhermit 1.1 # Copyright 1999-2011 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
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}.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     DEPEND="${RDEPEND}
20     dev-lang/perl"
21    
22     RESTRICT="test"
23    
24     src_prepare() {
25     sed -i \
26     -e '/strip sslh/d' \
27     -e '/^LIBS=/s:$: $(LDFLAGS):' \
28     -e '/^CFLAGS=/d' \
29     Makefile || die
30     }
31    
32     src_compile() {
33     emake \
34     CC="$(tc-getCC)" \
35     USELIBWRAP=$(usev tcpd)
36     }
37    
38     src_install() {
39     dobin sslh-{fork,select}
40     dosym sslh-fork /usr/bin/sslh
41     doman sslh.8.gz
42     dodoc ChangeLog README
43    
44     newinitd "${FILESDIR}"/sslh.init.d sslh
45     newconfd "${FILESDIR}"/sslh.conf.d sslh
46     }

  ViewVC Help
Powered by ViewVC 1.1.20