/[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.3 - (hide annotations) (download)
Sat Feb 21 20:37:31 2004 UTC (15 years, 11 months ago) by seemant
Branch: MAIN
Changes since 1.2: +3 -3 lines
add mips, for irssi repoman violation

1 seemant 1.3 # Copyright 1999-2004 Gentoo Technologies, Inc.
2 agriffis 1.1 # Distributed under the terms of the GNU General Public License v2
3 seemant 1.3 # $Header: /home/cvsroot/gentoo-x86/net-misc/dante/dante-1.1.14-r1.ebuild,v 1.2 2003/12/23 10:48:10 robbat2 Exp $
4 agriffis 1.1
5 robbat2 1.2 inherit gcc fixheadtails
6 agriffis 1.1
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 seemant 1.3 KEYWORDS="~x86 ~ppc ~sparc alpha ~hppa ~mips ia64"
14 agriffis 1.1 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 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