/[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.2 - (show annotations) (download)
Thu Aug 16 12:39:38 2012 UTC (7 years, 3 months ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +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.10.ebuild,v 1.1 2011/11/28 08:39:50 radhermit 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="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