/[gentoo-x86]/net-nds/portmap/portmap-5b-r7.ebuild
Gentoo

Contents of /net-nds/portmap/portmap-5b-r7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.17 - (show annotations) (download)
Mon Sep 20 18:20:26 2004 UTC (9 years, 11 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.16: +1 -1 lines
FILE REMOVED
fix start() in init script

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-nds/portmap/portmap-5b-r7.ebuild,v 1.16 2004/07/01 22:37:51 eradicator Exp $
4
5 inherit eutils
6
7 IUSE="selinux"
8 MY_P=${PN}_${PV}eta
9 S=${WORKDIR}/${MY_P}
10 DESCRIPTION="Netkit - portmapper"
11 SRC_URI="ftp://ftp.porcupine.org/pub/security/${MY_P}.tar.gz"
12 HOMEPAGE="ftp://ftp.porcupine.org/pub/security/index.html"
13
14 SLOT="0"
15 LICENSE="as-is"
16 KEYWORDS="x86 ppc sparc mips alpha hppa amd64 ia64 ppc64"
17
18 DEPEND="virtual/libc
19 sys-apps/tcp-wrappers"
20
21 RDEPEND="selinux? ( sec-policy/selinux-portmap )"
22
23 src_unpack() {
24 unpack ${A}
25
26 cd ${S}
27 epatch ${FILESDIR}/${PN}_5beta.dif
28
29 # Should include errno.h, and not define as external. Fix
30 # relocation error and build problem with glibc-2.3.2 cvs ...
31 # <azarah@gentoo.org> (31 Dec 2002).
32 epatch ${FILESDIR}/${P}-include-errno_h.patch
33
34 # Get portmap to use our CFLAGS ...
35 mv Makefile Makefile.orig
36 sed -e "s:-O2:${CFLAGS}:" Makefile.orig > Makefile || die
37 }
38
39 src_compile() {
40 make || die
41 }
42
43 src_install() {
44 into / ; dosbin portmap
45 into /usr ; dosbin pmap_dump pmap_set
46 doman portmap.8 pmap_dump.8 pmap_set.8
47
48 exeinto /etc/init.d
49 newexe ${FILESDIR}/portmap.rc6 portmap
50
51 # Is this really the sort of thing we wanna be doing? :)
52 # ln -s ../../init.d/portmap ${D}/etc/runlevels/default/portmap
53
54 dodoc BLURB CHANGES README
55 }

  ViewVC Help
Powered by ViewVC 1.1.20