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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Wed Jul 11 15:47:57 2012 UTC (7 years, 6 months ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Revision bump to fix issue with init script where the daemon is successfully started, but is reported as failed. Thanks to Jamie Furtner <jamie@furtner.ca> for the patch.

(Portage version: 2.1.11.5/cvs/Linux x86_64)

1 kensington 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 kensington 1.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/sslh/sslh-1.13.ebuild,v 1.1 2012/07/06 18:16:19 kensington Exp $
4 kensington 1.1
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}b.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     dev-libs/libconfig"
20     DEPEND="${RDEPEND}
21     dev-lang/perl"
22    
23     RESTRICT="test"
24    
25     src_prepare() {
26     sed -i \
27     -e '/strip sslh/d' \
28     -e '/^LIBS=/s:$: $(LDFLAGS):' \
29     -e '/^CFLAGS=/d' \
30     Makefile || die
31     }
32    
33     src_compile() {
34     emake \
35     CC="$(tc-getCC)" \
36     USELIBWRAP=$(usev tcpd)
37     }
38    
39     src_install() {
40     dobin sslh-{fork,select}
41     dosym sslh-fork /usr/bin/sslh
42     doman sslh.8.gz
43     dodoc ChangeLog README
44    
45     newinitd "${FILESDIR}"/sslh.init.d-2 sslh
46     newconfd "${FILESDIR}"/sslh.conf.d-2 sslh
47     }

  ViewVC Help
Powered by ViewVC 1.1.20