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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Feb 14 17:54:46 2014 UTC (6 years ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Version bump.

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x06B1F38DCA45A1EC!)

1 # Copyright 1999-2014 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.15.ebuild,v 1.3 2014/01/14 13:53:46 ago Exp $
4
5 EAPI=5
6
7 MY_P="${PN}-v${PV}"
8 inherit toolchain-funcs
9
10 DESCRIPTION="Port multiplexer - accept both HTTPS and SSH connections on the same port"
11 HOMEPAGE="http://www.rutschle.net/tech/sslh.shtml"
12 SRC_URI="http://www.rutschle.net/tech/${MY_P}.tar.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE="caps tcpd"
18
19 RDEPEND="caps? ( sys-libs/libcap )
20 tcpd? ( sys-apps/tcp-wrappers )
21 dev-libs/libconfig"
22 DEPEND="${RDEPEND}
23 dev-lang/perl"
24
25 RESTRICT="test"
26
27 S=${WORKDIR}/${MY_P}
28
29 src_compile() {
30 emake \
31 CC="$(tc-getCC)" \
32 USELIBCAP=$(usev caps) \
33 USELIBWRAP=$(usev tcpd)
34 }
35
36 src_install() {
37 dosbin sslh-{fork,select}
38 dosym sslh-fork /usr/sbin/sslh
39 doman sslh.8.gz
40 dodoc ChangeLog README.md
41
42 newinitd "${FILESDIR}"/sslh.init.d-2 sslh
43 newconfd "${FILESDIR}"/sslh.conf.d-2 sslh
44 }

  ViewVC Help
Powered by ViewVC 1.1.20