/[gentoo-x86]/net-nds/portmap/portmap-6.0.ebuild
Gentoo

Contents of /net-nds/portmap/portmap-6.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.18 - (show annotations) (download)
Sun Nov 2 09:25:14 2014 UTC (5 years, 9 months ago) by swift
Branch: MAIN
CVS Tags: HEAD
Changes since 1.17: +9 -4 lines
Remove sec-policy/selinux-* dependency from DEPEND but keep in RDEPEND (bug #527698)

(Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0x2EDD52403B68AF47)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-nds/portmap/portmap-6.0.ebuild,v 1.17 2012/12/09 12:34:07 ulm Exp $
4
5 inherit eutils toolchain-funcs user
6
7 DESCRIPTION="daemon for implementing remote procedure calls between computer programs"
8 HOMEPAGE="http://neil.brown.name/portmap/"
9 SRC_URI="http://neil.brown.name/portmap/${P}.tgz"
10
11 LICENSE="BSD GPL-2" # GPL-2 only for init script
12 SLOT="0"
13 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
14 IUSE="selinux tcpd"
15
16 DEPEND="
17 tcpd? ( >=sys-apps/tcp-wrappers-7.6-r7 )
18 "
19
20 RDEPEND="
21 selinux? ( sec-policy/selinux-portmap )
22 "
23
24 S=${WORKDIR}/${PN}_${PV}
25
26 pkg_setup() {
27 enewgroup rpc 111
28 enewuser rpc 111 -1 /dev/null rpc
29 }
30
31 src_unpack() {
32 unpack ${A}
33 cd "${S}"
34 epatch "${FILESDIR}"/${P}-tcpd.patch #178242
35
36 # Once HPPA gets PIE's fixed, this can go away
37 use hppa && sed -e '/LDFLAGS/s/^/#/' -i "${S}/Makefile" #190458
38 }
39
40 src_compile() {
41 tc-export CC
42 emake NO_TCP_WRAPPER="$(use tcpd || echo NO)" || die
43 }
44
45 src_install() {
46 into /
47 dosbin portmap || die "portmap"
48 into /usr
49 dosbin pmap_dump pmap_set || die "pmap"
50
51 doman *.8
52 dodoc BLURBv5 CHANGES README*
53
54 newinitd "${FILESDIR}"/portmap.rc6 portmap
55 newconfd "${FILESDIR}"/portmap.confd portmap
56 }

  ViewVC Help
Powered by ViewVC 1.1.20