Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-nds/rpcbind: ChangeLog rpcbind-0.2.1-r1.ebuild
Date: Thu, 30 Jan 2014 21:04:43
Message-Id: 20140130210439.3BEDE2004C@flycatcher.gentoo.org
1 radhermit 14/01/30 21:04:39
2
3 Modified: ChangeLog
4 Added: rpcbind-0.2.1-r1.ebuild
5 Log:
6 Explicitly set rpcuser to root (bug #499776).
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.36 net-nds/rpcbind/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/rpcbind/ChangeLog?rev=1.36&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/rpcbind/ChangeLog?rev=1.36&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/rpcbind/ChangeLog?r1=1.35&r2=1.36
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-nds/rpcbind/ChangeLog,v
20 retrieving revision 1.35
21 retrieving revision 1.36
22 diff -u -r1.35 -r1.36
23 --- ChangeLog 30 Jan 2014 05:10:36 -0000 1.35
24 +++ ChangeLog 30 Jan 2014 21:04:39 -0000 1.36
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-nds/rpcbind
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-nds/rpcbind/ChangeLog,v 1.35 2014/01/30 05:10:36 radhermit Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-nds/rpcbind/ChangeLog,v 1.36 2014/01/30 21:04:39 radhermit Exp $
30 +
31 +*rpcbind-0.2.1-r1 (30 Jan 2014)
32 +
33 + 30 Jan 2014; Tim Harder <radhermit@g.o> +rpcbind-0.2.1-r1.ebuild:
34 + Explicitly set rpcuser to root (bug #499776).
35
36 *rpcbind-0.2.1 (30 Jan 2014)
37
38
39
40
41 1.1 net-nds/rpcbind/rpcbind-0.2.1-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/rpcbind/rpcbind-0.2.1-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/rpcbind/rpcbind-0.2.1-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: rpcbind-0.2.1-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $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 $
51
52 EAPI="4"
53
54 inherit eutils systemd
55
56 if [[ ${PV} == "9999" ]] ; then
57 EGIT_REPO_URI="git://git.infradead.org/~steved/rpcbind.git"
58 inherit autotools git-r3
59 else
60 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
61 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
62 fi
63
64 DESCRIPTION="portmap replacement which supports RPC over various protocols"
65 HOMEPAGE="http://sourceforge.net/projects/rpcbind/"
66
67 LICENSE="BSD"
68 SLOT="0"
69 IUSE="debug selinux tcpd warmstarts"
70
71 RDEPEND=">=net-libs/libtirpc-0.2.3
72 selinux? ( sec-policy/selinux-rpcbind )
73 tcpd? ( sys-apps/tcp-wrappers )"
74 DEPEND="${RDEPEND}
75 virtual/pkgconfig"
76
77 src_prepare() {
78 [[ ${PV} == "9999" ]] && eautoreconf
79 epatch_user
80 }
81
82 src_configure() {
83 econf \
84 --bindir="${EPREFIX}"/sbin \
85 --with-statedir="${EPREFIX}"/run/${PN} \
86 --with-rpcuser=root \
87 $(use_enable tcpd libwrap) \
88 $(use_enable debug) \
89 $(use_enable warmstarts)
90 }
91
92 src_install() {
93 default
94
95 newinitd "${FILESDIR}"/${PN}.initd ${PN}
96 newconfd "${FILESDIR}"/${PN}.confd ${PN}
97
98 systemd_dounit "${FILESDIR}"/${PN}.service
99 }