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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Aug 16 12:39:38 2012 UTC (7 years, 6 months ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.1.11.10/cvs/Linux x86_64)

1 # Copyright 1999-2011 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.9.ebuild,v 1.2 2011/11/05 23:02:21 vapier 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}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 IUSE="tcpd"
17
18 RDEPEND="net-libs/libnet
19 tcpd? ( sys-apps/tcp-wrappers )"
20 DEPEND="${RDEPEND}
21 dev-lang/perl"
22
23 src_prepare() {
24 sed -i \
25 -e '/strip sslh/d' \
26 -e '/^LIBS=/s:$: $(LDFLAGS):' \
27 -e '/^CFLAGS=/d' \
28 Makefile || die
29 }
30
31 src_compile() {
32 emake \
33 CC="$(tc-getCC)" \
34 USELIBWRAP=$(usev tcpd)
35 }
36
37 src_install() {
38 dobin sslh-{fork,select}
39 dosym sslh-fork /usr/bin/sslh
40 doman sslh.8.gz
41 dodoc ChangeLog README
42
43 newinitd "${FILESDIR}"/sslh.init.d sslh
44 newconfd "${FILESDIR}"/sslh.conf.d sslh
45 }

  ViewVC Help
Powered by ViewVC 1.1.20