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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (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.5: +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-9999.ebuild,v 1.5 2012/12/09 12:34:07 ulm Exp $
4
5 EGIT_REPO_URI="git://neil.brown.name/portmap"
6 inherit toolchain-funcs user git-2
7
8 DESCRIPTION="Netkit - portmapper"
9 HOMEPAGE="ftp://ftp.porcupine.org/pub/security/index.html"
10 SRC_URI=""
11
12 LICENSE="BSD GPL-2" # GPL-2 only for init script
13 SLOT="0"
14 KEYWORDS=""
15 IUSE="selinux tcpd"
16
17 DEPEND="
18 tcpd? ( >=sys-apps/tcp-wrappers-7.6-r7 )
19 "
20
21 RDEPEND="
22 selinux? ( sec-policy/selinux-portmap )
23 "
24
25 pkg_setup() {
26 enewgroup rpc 111
27 enewuser rpc 111 -1 /dev/null rpc
28 }
29
30 src_compile() {
31 tc-export CC
32 emake NO_TCP_WRAPPER="$(use tcpd || echo NO)" || die
33 }
34
35 src_install() {
36 into /
37 dosbin portmap || die "portmap"
38 into /usr
39 dosbin pmap_dump pmap_set || die "pmap"
40
41 doman *.8
42 dodoc BLURBv5 CHANGES README*
43
44 newinitd "${FILESDIR}"/portmap.rc6 portmap
45 newconfd "${FILESDIR}"/portmap.confd portmap
46 }

  ViewVC Help
Powered by ViewVC 1.1.20