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: metadata.xml ChangeLog rpcbind-9999.ebuild rpcbind-0.2.1.ebuild
Date: Thu, 30 Jan 2014 05:10:43
Message-Id: 20140130051036.E71962004C@flycatcher.gentoo.org
1 radhermit 14/01/30 05:10:36
2
3 Modified: metadata.xml ChangeLog rpcbind-9999.ebuild
4 Added: rpcbind-0.2.1.ebuild
5 Log:
6 Version bump. Update to EAPI 4, add debug use flag, add warmstarts use flag (bug #440286 by Sean McGovern), add support for epatch_user.
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.2 net-nds/rpcbind/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/rpcbind/metadata.xml?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/rpcbind/metadata.xml?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/rpcbind/metadata.xml?r1=1.1&r2=1.2
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-nds/rpcbind/metadata.xml,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- metadata.xml 29 Dec 2007 09:13:54 -0000 1.1
24 +++ metadata.xml 30 Jan 2014 05:10:36 -0000 1.2
25 @@ -2,4 +2,7 @@
26 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
27 <pkgmetadata>
28 <herd>net-fs</herd>
29 +<use>
30 + <flag name="warmstarts">Enables rpcbind to cache configuration for warm restarts</flag>
31 +</use>
32 </pkgmetadata>
33
34
35
36 1.35 net-nds/rpcbind/ChangeLog
37
38 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/rpcbind/ChangeLog?rev=1.35&view=markup
39 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/rpcbind/ChangeLog?rev=1.35&content-type=text/plain
40 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/rpcbind/ChangeLog?r1=1.34&r2=1.35
41
42 Index: ChangeLog
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/net-nds/rpcbind/ChangeLog,v
45 retrieving revision 1.34
46 retrieving revision 1.35
47 diff -u -r1.34 -r1.35
48 --- ChangeLog 18 Jan 2014 04:53:00 -0000 1.34
49 +++ ChangeLog 30 Jan 2014 05:10:36 -0000 1.35
50 @@ -1,6 +1,13 @@
51 # ChangeLog for net-nds/rpcbind
52 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
53 -# $Header: /var/cvsroot/gentoo-x86/net-nds/rpcbind/ChangeLog,v 1.34 2014/01/18 04:53:00 vapier Exp $
54 +# $Header: /var/cvsroot/gentoo-x86/net-nds/rpcbind/ChangeLog,v 1.35 2014/01/30 05:10:36 radhermit Exp $
55 +
56 +*rpcbind-0.2.1 (30 Jan 2014)
57 +
58 + 30 Jan 2014; Tim Harder <radhermit@g.o> +rpcbind-0.2.1.ebuild,
59 + rpcbind-9999.ebuild, metadata.xml:
60 + Version bump. Update to EAPI 4, add debug use flag, add warmstarts use flag
61 + (bug #440286 by Sean McGovern), add support for epatch_user.
62
63 18 Jan 2014; Mike Frysinger <vapier@g.o> rpcbind-0.2.0-r1.ebuild,
64 rpcbind-9999.ebuild:
65
66
67
68 1.10 net-nds/rpcbind/rpcbind-9999.ebuild
69
70 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/rpcbind/rpcbind-9999.ebuild?rev=1.10&view=markup
71 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/rpcbind/rpcbind-9999.ebuild?rev=1.10&content-type=text/plain
72 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/rpcbind/rpcbind-9999.ebuild?r1=1.9&r2=1.10
73
74 Index: rpcbind-9999.ebuild
75 ===================================================================
76 RCS file: /var/cvsroot/gentoo-x86/net-nds/rpcbind/rpcbind-9999.ebuild,v
77 retrieving revision 1.9
78 retrieving revision 1.10
79 diff -u -r1.9 -r1.10
80 --- rpcbind-9999.ebuild 18 Jan 2014 04:53:00 -0000 1.9
81 +++ rpcbind-9999.ebuild 30 Jan 2014 05:10:36 -0000 1.10
82 @@ -1,14 +1,14 @@
83 # Copyright 1999-2014 Gentoo Foundation
84 # Distributed under the terms of the GNU General Public License v2
85 -# $Header: /var/cvsroot/gentoo-x86/net-nds/rpcbind/rpcbind-9999.ebuild,v 1.9 2014/01/18 04:53:00 vapier Exp $
86 +# $Header: /var/cvsroot/gentoo-x86/net-nds/rpcbind/rpcbind-9999.ebuild,v 1.10 2014/01/30 05:10:36 radhermit Exp $
87
88 -EAPI="2"
89 +EAPI="4"
90 +
91 +inherit eutils systemd
92
93 if [[ ${PV} == "9999" ]] ; then
94 EGIT_REPO_URI="git://git.infradead.org/~steved/rpcbind.git"
95 - inherit autotools git-2
96 - SRC_URI=""
97 - #KEYWORDS=""
98 + inherit autotools git-r3
99 else
100 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
101 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
102 @@ -19,33 +19,33 @@
103
104 LICENSE="BSD"
105 SLOT="0"
106 -IUSE="selinux tcpd"
107 +IUSE="debug selinux tcpd warmstarts"
108
109 -RDEPEND="net-libs/libtirpc
110 +RDEPEND=">=net-libs/libtirpc-0.2.3
111 selinux? ( sec-policy/selinux-rpcbind )
112 tcpd? ( sys-apps/tcp-wrappers )"
113 DEPEND="${RDEPEND}
114 virtual/pkgconfig"
115
116 src_prepare() {
117 - if [[ ${PV} == "9999" ]] ; then
118 - eautoreconf
119 - else
120 - # fix busted timestamps
121 - find . -type f -print0 | xargs -0 touch -r .
122 - fi
123 + [[ ${PV} == "9999" ]] && eautoreconf
124 + epatch_user
125 }
126
127 src_configure() {
128 econf \
129 - --bindir=/sbin \
130 - $(use_enable tcpd libwrap)
131 + --bindir="${EPREFIX}"/sbin \
132 + --with-statedir="${EPREFIX}"/run/${PN} \
133 + $(use_enable tcpd libwrap) \
134 + $(use_enable debug) \
135 + $(use_enable warmstarts)
136 }
137
138 src_install() {
139 - emake DESTDIR="${D}" install || die
140 - doman man/rpc{bind,info}.8
141 - dodoc AUTHORS ChangeLog NEWS README
142 - newinitd "${FILESDIR}"/rpcbind.initd rpcbind || die
143 - newconfd "${FILESDIR}"/rpcbind.confd rpcbind || die
144 + default
145 +
146 + newinitd "${FILESDIR}"/${PN}.initd ${PN}
147 + newconfd "${FILESDIR}"/${PN}.confd ${PN}
148 +
149 + systemd_dounit "${FILESDIR}"/${PN}.service
150 }
151
152
153
154 1.1 net-nds/rpcbind/rpcbind-0.2.1.ebuild
155
156 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/rpcbind/rpcbind-0.2.1.ebuild?rev=1.1&view=markup
157 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/rpcbind/rpcbind-0.2.1.ebuild?rev=1.1&content-type=text/plain
158
159 Index: rpcbind-0.2.1.ebuild
160 ===================================================================
161 # Copyright 1999-2014 Gentoo Foundation
162 # Distributed under the terms of the GNU General Public License v2
163 # $Header: /var/cvsroot/gentoo-x86/net-nds/rpcbind/rpcbind-0.2.1.ebuild,v 1.1 2014/01/30 05:10:36 radhermit Exp $
164
165 EAPI="4"
166
167 inherit eutils systemd
168
169 if [[ ${PV} == "9999" ]] ; then
170 EGIT_REPO_URI="git://git.infradead.org/~steved/rpcbind.git"
171 inherit autotools git-r3
172 else
173 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
174 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
175 fi
176
177 DESCRIPTION="portmap replacement which supports RPC over various protocols"
178 HOMEPAGE="http://sourceforge.net/projects/rpcbind/"
179
180 LICENSE="BSD"
181 SLOT="0"
182 IUSE="debug selinux tcpd warmstarts"
183
184 RDEPEND=">=net-libs/libtirpc-0.2.3
185 selinux? ( sec-policy/selinux-rpcbind )
186 tcpd? ( sys-apps/tcp-wrappers )"
187 DEPEND="${RDEPEND}
188 virtual/pkgconfig"
189
190 src_prepare() {
191 [[ ${PV} == "9999" ]] && eautoreconf
192 epatch_user
193 }
194
195 src_configure() {
196 econf \
197 --bindir="${EPREFIX}"/sbin \
198 --with-statedir="${EPREFIX}"/run/${PN} \
199 $(use_enable tcpd libwrap) \
200 $(use_enable debug) \
201 $(use_enable warmstarts)
202 }
203
204 src_install() {
205 default
206
207 newinitd "${FILESDIR}"/${PN}.initd ${PN}
208 newconfd "${FILESDIR}"/${PN}.confd ${PN}
209
210 systemd_dounit "${FILESDIR}"/${PN}.service
211 }