/[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.4 - (show annotations) (download)
Fri Jun 1 04:05:38 2012 UTC (2 years, 1 month ago) by zmedico
Branch: MAIN
Changes since 1.3: +3 -3 lines
inherit user for enewgroup and enewuser

(Portage version: 2.2.0_alpha108_p12/cvs/Linux i686)

1 # Copyright 1999-2012 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.3 2011/09/21 08:19:45 mgorny 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="as-is"
13 SLOT="0"
14 KEYWORDS=""
15 IUSE="selinux tcpd"
16
17 DEPEND="selinux? ( sec-policy/selinux-portmap )
18 tcpd? ( >=sys-apps/tcp-wrappers-7.6-r7 )"
19
20 pkg_setup() {
21 enewgroup rpc 111
22 enewuser rpc 111 -1 /dev/null rpc
23 }
24
25 src_compile() {
26 tc-export CC
27 emake NO_TCP_WRAPPER="$(use tcpd || echo NO)" || die
28 }
29
30 src_install() {
31 into /
32 dosbin portmap || die "portmap"
33 into /usr
34 dosbin pmap_dump pmap_set || die "pmap"
35
36 doman *.8
37 dodoc BLURBv5 CHANGES README*
38
39 newinitd "${FILESDIR}"/portmap.rc6 portmap
40 newconfd "${FILESDIR}"/portmap.confd portmap
41 }

  ViewVC Help
Powered by ViewVC 1.1.20