/[gentoo-x86]/net-misc/dante/dante-1.1.14-r1.ebuild
Gentoo

Contents of /net-misc/dante/dante-1.1.14-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Dec 23 10:48:10 2003 UTC (16 years, 1 month ago) by robbat2
Branch: MAIN
Changes since 1.1: +3 -2 lines
take bug #19988, improve on it, and make some things better in general

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/dante/dante-1.1.14-r1.ebuild,v 1.1 2003/12/08 22:00:43 agriffis Exp $
4
5 inherit gcc fixheadtails
6
7 DESCRIPTION="A free socks4,5 and msproxy implemetation"
8 HOMEPAGE="http://www.inet.no/dante/"
9 SRC_URI="ftp://ftp.inet.no/pub/socks/${P}.tar.gz"
10
11 LICENSE="BSD"
12 SLOT="0"
13 KEYWORDS="~x86 ~ppc ~sparc alpha ~hppa ia64"
14 IUSE="tcpd debug"
15
16 DEPEND="virtual/glibc
17 sys-libs/pam
18 tcpd? ( sys-apps/tcp-wrappers )
19 >=sys-apps/sed-4"
20
21 src_unpack() {
22 unpack ${A} || die "unpack failed"
23 cd ${S} || die "cd failed"
24 epatch ${FILESDIR}/dante-1.1.14-socksify.patch || die "epatch failed"
25 epatch ${FILESDIR}/dante-1.1.14-bindresvport.patch || die "epatch failed"
26 ht_fix_file `find ${S} -name 'configure'`
27 }
28
29 src_compile() {
30 econf \
31 `use_enable debug` \
32 `use_enable tcpd libwrap` \
33 --with-socks-conf=/etc/socks/socks.conf \
34 --with-sockd-conf=/etc/socks/sockd.conf \
35 ${myconf} \
36 || die "bad ./configure"
37 emake || die "compile problem"
38 }
39
40 src_install() {
41 make DESTDIR=${D} install || die
42
43 # bor: comment libdl.so out it seems to work just fine without it
44 sed -i -e 's:libdl\.so::' ${D}/usr/bin/socksify || die 'sed failed'
45
46 # no configuration file by default
47 dodir /etc/socks
48
49 # our init script
50 exeinto /etc/init.d
51 newexe ${FILESDIR}/dante-sockd-init dante-sockd
52
53 # install documentation
54 dodoc BUGS CREDITS LICENSE NEWS README SUPPORT TODO VERSION
55 docinto txt
56 cd doc
57 dodoc README* *.txt SOCKS4.*
58 docinto example
59 cd ../example
60 dodoc *.conf
61 }

  ViewVC Help
Powered by ViewVC 1.1.20