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

Contents of /net-nds/rpcbind/rpcbind-0.2.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Apr 28 01:50:51 2015 UTC (5 years, 2 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Version bump.

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-nds/rpcbind/rpcbind-9999.ebuild,v 1.13 2014/12/23 02:14:39 radhermit Exp $
4
5 EAPI="5"
6
7 inherit eutils systemd
8
9 if [[ ${PV} == "9999" ]] ; then
10 EGIT_REPO_URI="git://linux-nfs.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 systemd tcpd warmstarts"
23
24 CDEPEND=">=net-libs/libtirpc-0.2.3
25 systemd? ( sys-apps/systemd:= )
26 tcpd? ( sys-apps/tcp-wrappers )"
27 DEPEND="${CDEPEND}
28 virtual/pkgconfig"
29 RDEPEND="${CDEPEND}
30 selinux? ( sec-policy/selinux-rpcbind )
31 "
32 src_prepare() {
33 [[ ${PV} == "9999" ]] && eautoreconf
34 epatch_user
35 }
36
37 src_configure() {
38 econf \
39 --bindir="${EPREFIX}"/sbin \
40 --with-statedir="${EPREFIX}"/run/${PN} \
41 --with-rpcuser=root \
42 --with-systemdsystemunitdir=$(usex systemd "$(systemd_get_unitdir)" "no") \
43 $(use_enable tcpd libwrap) \
44 $(use_enable debug) \
45 $(use_enable warmstarts)
46 }
47
48 src_install() {
49 default
50
51 newinitd "${FILESDIR}"/${PN}.initd ${PN}
52 newconfd "${FILESDIR}"/${PN}.confd ${PN}
53
54 systemd_dounit "${FILESDIR}"/${PN}.service
55 }

  ViewVC Help
Powered by ViewVC 1.1.20