/[gentoo-x86]/net-nds/rpcbind/rpcbind-0.2.1-r1.ebuild
Gentoo

Contents of /net-nds/rpcbind/rpcbind-0.2.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Nov 2 09:27:00 2014 UTC (5 years, 8 months ago) by swift
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +6 -5 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/rpcbind/rpcbind-0.2.1-r1.ebuild,v 1.1 2014/01/30 21:04:39 radhermit Exp $
4
5 EAPI="4"
6
7 inherit eutils systemd
8
9 if [[ ${PV} == "9999" ]] ; then
10 EGIT_REPO_URI="git://git.infradead.org/~steved/rpcbind.git"
11 inherit autotools git-r3
12 else
13 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
14 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
15 fi
16
17 DESCRIPTION="portmap replacement which supports RPC over various protocols"
18 HOMEPAGE="http://sourceforge.net/projects/rpcbind/"
19
20 LICENSE="BSD"
21 SLOT="0"
22 IUSE="debug selinux tcpd warmstarts"
23
24 CDEPEND=">=net-libs/libtirpc-0.2.3
25 tcpd? ( sys-apps/tcp-wrappers )"
26 DEPEND="${CDEPEND}
27 virtual/pkgconfig"
28 RDEPEND="${CDEPEND}
29 selinux? ( sec-policy/selinux-rpcbind )
30 "
31 src_prepare() {
32 [[ ${PV} == "9999" ]] && eautoreconf
33 epatch_user
34 }
35
36 src_configure() {
37 econf \
38 --bindir="${EPREFIX}"/sbin \
39 --with-statedir="${EPREFIX}"/run/${PN} \
40 --with-rpcuser=root \
41 $(use_enable tcpd libwrap) \
42 $(use_enable debug) \
43 $(use_enable warmstarts)
44 }
45
46 src_install() {
47 default
48
49 newinitd "${FILESDIR}"/${PN}.initd ${PN}
50 newconfd "${FILESDIR}"/${PN}.confd ${PN}
51
52 systemd_dounit "${FILESDIR}"/${PN}.service
53 }

  ViewVC Help
Powered by ViewVC 1.1.20