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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Fri Sep 12 02:56:28 2003 UTC (11 years ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +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.02.ebuild,v 1.8 2003/09/05 22:01:49 msterret Exp $
4
5 S=${WORKDIR}/${P}
6 DESCRIPTION="TLS/SSL - Port Wrapper"
7 SRC_URI="http://www.stunnel.org/download/stunnel/src/${P}.tar.gz"
8 HOMEPAGE="http://stunnel.mirt.net"
9 DEPEND="virtual/glibc >=dev-libs/openssl-0.9.6c"
10 RDEPEND=">=dev-libs/openssl-0.9.6c"
11 KEYWORDS="x86 ~sparc"
12 LICENSE="GPL-2"
13 SLOT="0"
14
15 src_unpack() {
16 unpack ${A}; cd ${S}
17 patch -p0 < ${FILESDIR}/${PF}-gentoo.diff
18 }
19
20 #src_compile() {
21 # econf || die
22 # emake || die
23 #}
24
25 src_install() {
26 into /usr
27 dosbin src/stunnel
28 dodoc AUTHORS BUGS COPYING COPYRIGHT.GPL CREDITS INSTALL NEWS PORTS README TODO
29 dodoc doc/en/transproxy.txt
30 dohtml doc/stunnel.html doc/en/VNC_StunnelHOWTO.html tools/ca.html tools/importCA.html
31 doman doc/stunnel.8
32
33 insinto /usr/share/doc/${PF}
34 doins tools/ca.pl tools/importCA.sh
35
36 exeinto /etc/init.d
37 newexe ${FILESDIR}/stunnel.rc6 stunnel
38
39 dolib src/.libs/libstunnel.la
40 dolib.so src/.libs/libstunnel.so
41
42 insinto /etc/stunnel
43 doins ${FILESDIR}/stunnel.conf
44
45 dosed "s:/usr/etc/stunnel:/etc/stunnel:" /etc/stunnel/stunnel.conf
46
47 dodir /etc/stunnel
48 }
49
50 pkg_postinst() {
51 einfo "Starting from version 4 stunnel now uses a configuration file for setting up stunnels."
52 einfo "Stunnel can now also be run as a daemon"
53 }

  ViewVC Help
Powered by ViewVC 1.1.20