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

Diff of /net-misc/dante/dante-1.1.15.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.8 Revision 1.9
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-misc/dante/Attic/dante-1.1.15.ebuild,v 1.8 2005/02/06 10:46:08 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/dante/Attic/dante-1.1.15.ebuild,v 1.9 2005/02/15 10:34:24 dragonheart Exp $
4 4
5inherit gcc fixheadtails eutils 5inherit gcc fixheadtails eutils
6 6
7MY_PV=${PV/_/-} 7MY_PV=${PV/_/-}
8 8
14SLOT="0" 14SLOT="0"
15KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sparc x86" 15KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sparc x86"
16IUSE="tcpd debug selinux" 16IUSE="tcpd debug selinux"
17 17
18RDEPEND="virtual/libc 18RDEPEND="virtual/libc
19 sys-libs/pam 19 pam? ( sys-libs/pam )
20 tcpd? ( sys-apps/tcp-wrappers ) 20 tcpd? ( sys-apps/tcp-wrappers )
21 selinux? ( sec-policy/selinux-dante )" 21 selinux? ( sec-policy/selinux-dante )"
22DEPEND="${RDEPEND} 22DEPEND="${RDEPEND}
23 >=sys-apps/sed-4" 23 >=sys-apps/sed-4"
24 24
27src_unpack() { 27src_unpack() {
28 unpack ${A} 28 unpack ${A}
29 cd ${S} 29 cd ${S}
30 epatch ${FILESDIR}/dante-1.1.15_pre1-socksify.patch 30 epatch ${FILESDIR}/dante-1.1.15_pre1-socksify.patch
31 epatch ${FILESDIR}/dante-1.1.14-bindresvport.patch 31 epatch ${FILESDIR}/dante-1.1.14-bindresvport.patch
32 ht_fix_file `find ${S} -name 'configure'` 32 epatch ${FILESDIR}/${P}-optionalpam.patch
33
34 ht_fix_file configure configure.ac
33 sed -i \ 35 sed -i \
34 -e 's:/etc/socks\.conf:/etc/socks/socks.conf:' \ 36 -e 's:/etc/socks\.conf:/etc/socks/socks.conf:' \
35 -e 's:/etc/sockd\.conf:/etc/socks/sockd.conf:' \ 37 -e 's:/etc/sockd\.conf:/etc/socks/sockd.conf:' \
36 doc/{faq.ps,faq.tex,sockd.8,sockd.conf.5,socks.conf.5} 38 doc/{faq.ps,faq.tex,sockd.8,sockd.conf.5,socks.conf.5}
37} 39}
38 40
39src_compile() { 41src_compile() {
40 econf \ 42 econf \
41 `use_enable debug` \ 43 `use_enable debug` \
42 `use_enable tcpd libwrap` \ 44 `use_enable tcpd libwrap` \
45 `use_with pam` \
43 --with-socks-conf=/etc/socks/socks.conf \ 46 --with-socks-conf=/etc/socks/socks.conf \
44 --with-sockd-conf=/etc/socks/sockd.conf \ 47 --with-sockd-conf=/etc/socks/sockd.conf \
45 ${myconf} \ 48 ${myconf} \
46 || die "bad ./configure" 49 || die "bad ./configure"
47 # the comments in the source say this is only useful for 2.0 kernels ... 50 # the comments in the source say this is only useful for 2.0 kernels ...

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20