/[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.7 - (hide annotations) (download)
Sun Aug 8 00:20:40 2004 UTC (15 years, 5 months ago) by slarti
Branch: MAIN
Changes since 1.6: +2 -2 lines
Typo in DESCRIPTION, #59717

1 agriffis 1.5 # Copyright 1999-2004 Gentoo Foundation
2 agriffis 1.1 # Distributed under the terms of the GNU General Public License v2
3 slarti 1.7 # $Header: /var/cvsroot/gentoo-x86/net-misc/dante/dante-1.1.14-r1.ebuild,v 1.6 2004/07/01 20:55:06 squinky86 Exp $
4 agriffis 1.1
5 agriffis 1.4 inherit gcc fixheadtails eutils
6 agriffis 1.1
7 slarti 1.7 DESCRIPTION="A free socks4,5 and msproxy implementation"
8 agriffis 1.1 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 seemant 1.3 KEYWORDS="~x86 ~ppc ~sparc alpha ~hppa ~mips ia64"
14 agriffis 1.1 IUSE="tcpd debug"
15    
16 squinky86 1.6 DEPEND="virtual/libc
17 agriffis 1.1 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 robbat2 1.2 ht_fix_file `find ${S} -name 'configure'`
27 agriffis 1.1 }
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