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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Sep 12 02:56:28 2003 UTC (11 years, 3 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
old

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/net-misc/stunnel/stunnel-4.04.ebuild,v 1.4 2003/09/05 22:01:49 msterret Exp $
4
5 inherit eutils
6
7 IUSE="static"
8 S=${WORKDIR}/${P}
9 DESCRIPTION="TLS/SSL - Port Wrapper"
10 SRC_URI="http://www.stunnel.org/download/stunnel/src/${P}.tar.gz"
11 HOMEPAGE="http://stunnel.mirt.net"
12 DEPEND="virtual/glibc >=dev-libs/openssl-0.9.6c"
13 RDEPEND=">=dev-libs/openssl-0.9.6c"
14 KEYWORDS="~x86 ~sparc "
15 LICENSE="GPL-2"
16 SLOT="0"
17
18 src_unpack() {
19 unpack ${A}; cd ${S}
20 epatch ${FILESDIR}/${PF}-gentoo.diff
21 epatch ${FILESDIR}/${P}-blinding.patch
22 }
23
24 src_compile() {
25 use static && EXTRA_ECONF="${EXTRA_ECONF} --disable-shared --enable-static"
26 use static && LDADD="${LDADD} -all-static" && export LDADD
27 econf || die
28 emake || die
29 }
30
31 src_install() {
32 into /usr
33 dosbin src/stunnel
34 dodoc AUTHORS BUGS COPYING COPYRIGHT.GPL CREDITS INSTALL NEWS PORTS README TODO
35 dodoc doc/en/transproxy.txt
36 dohtml doc/stunnel.html doc/en/VNC_StunnelHOWTO.html tools/ca.html tools/importCA.html
37 doman doc/stunnel.8
38
39 insinto /usr/share/doc/${PF}
40 doins tools/ca.pl tools/importCA.sh
41
42 exeinto /etc/init.d
43 newexe ${FILESDIR}/stunnel.rc6 stunnel
44
45 dolib src/.libs/libstunnel.la
46 use static && dolib.so src/.libs/libstunnel.so
47
48 insinto /etc/stunnel
49 doins ${FILESDIR}/stunnel.conf
50
51 dosed "s:/usr/etc/stunnel:/etc/stunnel:" /etc/stunnel/stunnel.conf
52
53 dodir /etc/stunnel
54 }
55
56 pkg_postinst() {
57 einfo "Starting from version 4 stunnel now uses a configuration file for setting up stunnels."
58 einfo "Stunnel can now also be run as a daemon"
59 }

  ViewVC Help
Powered by ViewVC 1.1.20