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

Contents of /net-misc/sslh/sslh-1.7a.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Nov 28 08:39:50 2011 UTC (8 years ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version bump and remove old.

(Portage version: 2.2.0_alpha77/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.7a.ebuild,v 1.2 2011/05/01 21:59:28 vapier Exp $
4
5 EAPI="2"
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=/{s:=:+=:;s:$: $(CPPFLAGS):}' \
28 Makefile || die
29 }
30
31 src_compile() {
32 emake \
33 CC="$(tc-getCC)" \
34 USELIBWRAP=$(usev tcpd) \
35 || die
36 }
37
38 src_install() {
39 dobin sslh || die
40 doman sslh.8.gz || die
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