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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Dec 29 19:06:25 2003 UTC (15 years, 11 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +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/dante/dante-1.1.14.ebuild,v 1.3 2003/09/18 23:14:19 avenj Exp $
4
5 inherit gcc
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
20 src_compile() {
21 econf \
22 `use_enable debug` \
23 `use_enable tcpd libwrap` \
24 --with-socks-conf=/etc/socks/socks.conf \
25 --with-sockd-conf=/etc/socks/sockd.conf \
26 ${myconf} \
27 || die "bad ./configure"
28 emake || die "compile problem"
29 }
30
31 src_install() {
32 make DESTDIR=${D} install || die
33 # Line 99 in socks.h conflicts with stuff in line 333 of
34 # /usr/include/netinet/in.h this is a not-too-cool way of fix0ring that
35 dosed "s:^int Rbindresvport://int Rbindresvport:" /usr/include/socks.h
36 # bor: comment libdl.so out it seems to work just fine without it
37 dosed 's:libdl\.so::' /usr/bin/socksify
38 dodir /etc/socks
39 dodoc BUGS CREDITS LICENSE NEWS README SUPPORT TODO VERSION
40 docinto txt
41 cd doc
42 dodoc README* *.txt SOCKS4.*
43 docinto example
44 cd ../example
45 dodoc *.conf
46 exeinto /etc/init.d
47 newexe ${FILESDIR}/dante-sockd-init dante-sockd
48 }

  ViewVC Help
Powered by ViewVC 1.1.20