/[gentoo-x86]/net-misc/stunnel/stunnel-3.26.ebuild
Gentoo

Contents of /net-misc/stunnel/stunnel-3.26.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (hide annotations) (download)
Fri Feb 2 17:02:53 2007 UTC (7 years, 8 months ago) by agriffis
Branch: MAIN
Changes since 1.12: +3 -5 lines
Add sys-apps/tcp-wrappers to DEPEND #154205
(Portage version: 2.1.2_pre3-r1)

1 agriffis 1.13 # Copyright 1999-2007 Gentoo Foundation
2 vapier 1.1 # Distributed under the terms of the GNU General Public License v2
3 agriffis 1.13 # $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/stunnel-3.26.ebuild,v 1.12 2005/06/25 00:45:38 ramereth Exp $
4 vapier 1.1
5     inherit eutils
6    
7     DESCRIPTION="TLS/SSL - Port Wrapper"
8 vapier 1.2 HOMEPAGE="http://www.stunnel.org/"
9 vapier 1.1 SRC_URI="http://www.stunnel.org/download/stunnel/src/${P}.tar.gz"
10 vapier 1.2
11 vapier 1.1 LICENSE="GPL-2"
12     SLOT="0"
13 usata 1.9 KEYWORDS="x86 sparc alpha ppc ~amd64 ~ppc-macos"
14 kaiowas 1.10 IUSE="selinux"
15 vapier 1.2
16 agriffis 1.13 DEPEND=">=dev-libs/openssl-0.9.6j
17 kaiowas 1.10 selinux? ( sec-policy/selinux-stunnel )"
18 vapier 1.1
19     src_unpack() {
20 vapier 1.2 unpack ${A}
21     cd ${S}
22 vapier 1.1 epatch ${FILESDIR}/${P}-gentoo.diff
23 usata 1.9 if use ppc-macos ; then
24     sed -i -e "s,-shared,-dynamic -flat_namespace -bundle -undefined suppress,g" \
25     -e "s,stunnel.so,stunnel.dylib,g" \
26     Makefile.in || die "sed failed"
27     fi
28 vapier 1.1 }
29    
30     src_compile() {
31     econf || die
32     emake || die
33     }
34    
35     src_install() {
36     dosbin stunnel
37     dodoc FAQ README HISTORY COPYING BUGS PORTS TODO transproxy.txt
38     doman stunnel.8
39 usata 1.9 if use ppc-macos ; then
40     dolib.so stunnel.dylib
41     else
42     dolib.so stunnel.so
43     fi
44 vapier 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20