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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Tue Mar 4 07:02:11 2003 UTC (16 years, 9 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +0 -0 lines
FILE REMOVED
fix for #10589

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header:
4
5 IUSE="tcpd"
6
7 S=${WORKDIR}/${P}
8 DESCRIPTION="A free socks4,5 and msproxy implemetation"
9 SRC_URI="ftp://ftp.inet.no/pub/socks/${P}.tar.gz"
10 HOMEPAGE="http://www.inet.no/dante/"
11 RDEPEND="virtual/glibc sys-libs/pam tcpd? ( sys-apps/tcp-wrappers )"
12 DEPEND="${RDEPEND} sys-devel/perl"
13 LICENSE="BSD"
14 KEYWORDS="x86 sparc "
15 SLOT="0"
16
17 src_unpack() {
18 unpack ${A} ; cd ${S}
19 patch -p1 <${FILESDIR}/${P}-exit-code.patch || die
20 patch -p1 <${FILESDIR}/${P}-pre1-pam-syslog.patch || die
21 patch -p0 <${FILESDIR}/${P}-percent-in-log.patch || die
22 patch -p1 <${FILESDIR}/${P}-gcc-3.1.patch || die
23 }
24
25 src_compile() {
26 local myconf
27 use tcpd || myconf="--disable-libwrap"
28 [ -n "$DEBUGBUILD" ] || myconf="${myconf} --disable-debug"
29 einfo "myconf is $myconf"
30 ./configure \
31 --prefix=/usr \
32 --mandir=/usr/share/man \
33 --with-socks-conf=/etc/socks/socks.conf \
34 --with-sockd-conf=/etc/socks/sockd.conf \
35 --host=${CHOST} ${myconf} || die "bad ./configure"
36 emake || die "compile problem"
37 }
38
39 src_install() {
40 make DESTDIR=${D} install || die
41 # bor: comment libdl.so out it seems to work just fine without it
42 perl -pe 's/(libdl\.so)//' -i ${D}/usr/bin/socksify
43 dodir /etc/socks
44 dodoc BUGS CREDITS LICENSE NEWS README SUPPORT TODO VERSION
45 docinto txt
46 cd doc
47 dodoc README* *.txt SOCKS4.*
48 docinto example
49 cd ../example
50 dodoc *.conf
51 exeinto /etc/init.d
52 newexe ${FILESDIR}/dante-sockd-init dante-sockd
53 }

  ViewVC Help
Powered by ViewVC 1.1.20