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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.13 Revision 1.20
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/Attic/stunnel-3.26.ebuild,v 1.13 2007/02/02 17:02:53 agriffis Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/Attic/stunnel-3.26.ebuild,v 1.20 2009/08/09 09:20:52 ulm Exp $
4 4
5inherit eutils 5inherit eutils
6 6
7DESCRIPTION="TLS/SSL - Port Wrapper" 7DESCRIPTION="TLS/SSL - Port Wrapper"
8HOMEPAGE="http://www.stunnel.org/" 8HOMEPAGE="http://www.stunnel.org"
9SRC_URI="http://www.stunnel.org/download/stunnel/src/${P}.tar.gz" 9SRC_URI="http://www.stunnel.org/download/stunnel/src/${P}.tar.gz"
10 10
11LICENSE="GPL-2" 11LICENSE="GPL-2"
12SLOT="0" 12SLOT="0"
13KEYWORDS="x86 sparc alpha ppc ~amd64 ~ppc-macos" 13KEYWORDS="~amd64 alpha ppc sparc x86"
14IUSE="selinux" 14IUSE="selinux"
15 15
16DEPEND=">=dev-libs/openssl-0.9.6j 16DEPEND=">=dev-libs/openssl-0.9.6j"
17RDEPEND="${DEPEND}
17 selinux? ( sec-policy/selinux-stunnel )" 18 selinux? ( sec-policy/selinux-stunnel )"
18 19
19src_unpack() { 20src_unpack() {
20 unpack ${A} 21 unpack ${A}
21 cd ${S} 22 cd "${S}"
22 epatch ${FILESDIR}/${P}-gentoo.diff 23 epatch "${FILESDIR}"/${P}-gentoo.diff
23 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}
29
30src_compile() {
31 econf || die
32 emake || die
33} 24}
34 25
35src_install() { 26src_install() {
36 dosbin stunnel 27 dosbin stunnel
28 dolib.so stunnel.so
37 dodoc FAQ README HISTORY COPYING BUGS PORTS TODO transproxy.txt 29 dodoc FAQ README HISTORY BUGS PORTS TODO
38 doman stunnel.8 30 doman stunnel.8
39 if use ppc-macos ; then
40 dolib.so stunnel.dylib
41 else
42 dolib.so stunnel.so
43 fi
44} 31}

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.20

  ViewVC Help
Powered by ViewVC 1.1.20