/[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.1 Revision 1.1.1.1
1# Copyright 1999-2003 Gentoo Technologies, Inc. 1# Copyright 1999-2005 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/stunnel-3.26.ebuild,v 1.1 2003/09/12 02:55:42 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/stunnel-3.26.ebuild,v 1.1.1.1 2005/11/30 09:54:49 chriswhite Exp $
4 4
5inherit eutils 5inherit eutils
6 6
7S=${WORKDIR}/${P}
8DESCRIPTION="TLS/SSL - Port Wrapper" 7DESCRIPTION="TLS/SSL - Port Wrapper"
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"
10HOMEPAGE="http://www.stunnel.org/" 10
11DEPEND="virtual/glibc >=dev-libs/openssl-0.9.6c"
12RDEPEND=">=dev-libs/openssl-0.9.6c"
13KEYWORDS="~x86 ~sparc ~alpha ~ppc"
14LICENSE="GPL-2" 11LICENSE="GPL-2"
15SLOT="0" 12SLOT="0"
13KEYWORDS="x86 sparc alpha ppc ~amd64 ~ppc-macos"
14IUSE="selinux"
15
16RDEPEND=">=dev-libs/openssl-0.9.6j
17 selinux? ( sec-policy/selinux-stunnel )"
18DEPEND="${RDEPEND}
19 virtual/libc"
16 20
17src_unpack() { 21src_unpack() {
18 unpack ${A}; cd ${S} 22 unpack ${A}
23 cd ${S}
19 epatch ${FILESDIR}/${P}-gentoo.diff 24 epatch ${FILESDIR}/${P}-gentoo.diff
25 if use ppc-macos ; then
26 sed -i -e "s,-shared,-dynamic -flat_namespace -bundle -undefined suppress,g" \
27 -e "s,stunnel.so,stunnel.dylib,g" \
28 Makefile.in || die "sed failed"
29 fi
20} 30}
21 31
22src_compile() { 32src_compile() {
23 econf || die 33 econf || die
24 emake || die 34 emake || die
25} 35}
26 36
27src_install() { 37src_install() {
28 into /usr
29 dosbin stunnel 38 dosbin stunnel
30 dodoc FAQ README HISTORY COPYING BUGS PORTS TODO transproxy.txt 39 dodoc FAQ README HISTORY COPYING BUGS PORTS TODO transproxy.txt
31 doman stunnel.8 40 doman stunnel.8
41 if use ppc-macos ; then
42 dolib.so stunnel.dylib
43 else
32 dolib.so stunnel.so 44 dolib.so stunnel.so
45 fi
33} 46}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.1.1

  ViewVC Help
Powered by ViewVC 1.1.20