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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Jul 9 07:26:53 2015 UTC (4 years, 4 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
Add arm/m68k/mips/s390/sh love.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

1 # Copyright 1999-2015 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.17.ebuild,v 1.1 2015/03/10 13:44:52 kensington 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 ~arm ~m68k ~mips ~s390 ~sh ~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
24 RESTRICT="test"
25
26 S=${WORKDIR}/${MY_P}
27
28 src_compile() {
29 emake \
30 CC="$(tc-getCC)" \
31 USELIBCAP=$(usev caps) \
32 USELIBWRAP=$(usev tcpd)
33 }
34
35 src_install() {
36 dosbin sslh-{fork,select}
37 dosym sslh-fork /usr/sbin/sslh
38 doman sslh.8.gz
39 dodoc ChangeLog README.md
40
41 newinitd "${FILESDIR}"/sslh.init.d-2 sslh
42 newconfd "${FILESDIR}"/sslh.conf.d-2 sslh
43 }

  ViewVC Help
Powered by ViewVC 1.1.20