Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-fs/nfs-utils: ChangeLog nfs-utils-1.0.12-r1.ebuild nfs-utils-1.0.12-r5.ebuild nfs-utils-1.1.0-r1.ebuild
Date: Sat, 15 Sep 2007 02:20:25
Message-Id: E1IWN9Y-00077i-3C@stork.gentoo.org
1 vapier 07/09/15 02:13:00
2
3 Modified: ChangeLog
4 Added: nfs-utils-1.0.12-r1.ebuild
5 nfs-utils-1.0.12-r5.ebuild
6 nfs-utils-1.1.0-r1.ebuild
7 Log:
8 Force bumpage for versions to clean up libgssglue nightmare #191746.
9 (Portage version: 2.1.3.9, RepoMan options: --force)
10
11 Revision Changes Path
12 1.107 net-fs/nfs-utils/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/ChangeLog?rev=1.107&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/ChangeLog?rev=1.107&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/ChangeLog?r1=1.106&r2=1.107
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v
21 retrieving revision 1.106
22 retrieving revision 1.107
23 diff -u -r1.106 -r1.107
24 --- ChangeLog 23 Aug 2007 05:17:01 -0000 1.106
25 +++ ChangeLog 15 Sep 2007 02:12:59 -0000 1.107
26 @@ -1,6 +1,15 @@
27 # ChangeLog for net-fs/nfs-utils
28 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v 1.106 2007/08/23 05:17:01 kumba Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v 1.107 2007/09/15 02:12:59 vapier Exp $
31 +
32 +*nfs-utils-1.1.0-r1 (15 Sep 2007)
33 +*nfs-utils-1.0.12-r1 (15 Sep 2007)
34 +*nfs-utils-1.0.12-r5 (15 Sep 2007)
35 +
36 + 15 Sep 2007; Mike Frysinger <vapier@g.o>
37 + +nfs-utils-1.0.12-r1.ebuild, +nfs-utils-1.0.12-r5.ebuild,
38 + +nfs-utils-1.1.0-r1.ebuild:
39 + Force bumpage for versions to clean up libgssglue nightmare #191746.
40
41 23 Aug 2007; Joshua Kinard <kumba@g.o> nfs-utils-1.0.12-r3.ebuild:
42 Stable on mips.
43
44
45
46 1.6 net-fs/nfs-utils/nfs-utils-1.0.12-r1.ebuild
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.0.12-r1.ebuild?rev=1.6&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.0.12-r1.ebuild?rev=1.6&content-type=text/plain
50 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.0.12-r1.ebuild?r1=1.5&r2=1.6
51
52
53
54
55 1.1 net-fs/nfs-utils/nfs-utils-1.0.12-r5.ebuild
56
57 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.0.12-r5.ebuild?rev=1.1&view=markup
58 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.0.12-r5.ebuild?rev=1.1&content-type=text/plain
59
60 Index: nfs-utils-1.0.12-r5.ebuild
61 ===================================================================
62 # Copyright 1999-2007 Gentoo Foundation
63 # Distributed under the terms of the GNU General Public License v2
64 # $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.0.12-r5.ebuild,v 1.1 2007/09/15 02:12:59 vapier Exp $
65
66 inherit eutils flag-o-matic multilib
67
68 DESCRIPTION="NFS client and server daemons"
69 HOMEPAGE="http://nfs.sourceforge.net/"
70 SRC_URI="mirror://sourceforge/nfs/${P}.tar.gz"
71
72 LICENSE="GPL-2"
73 SLOT="0"
74 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
75 IUSE="nonfsv4 tcpd kerberos"
76
77 # kth-krb doesn't provide the right include
78 # files, and nfs-utils doesn't build against heimdal either,
79 # so don't depend on virtual/krb.
80 # (04 Feb 2005 agriffis)
81 DEPEND="tcpd? ( sys-apps/tcp-wrappers )
82 >=net-nds/portmap-5b-r6
83 !nonfsv4? (
84 >=dev-libs/libevent-1.0b
85 >=net-libs/libnfsidmap-0.16
86 )
87 kerberos? (
88 net-libs/librpcsecgss
89 net-libs/libgssglue
90 app-crypt/mit-krb5
91 )"
92
93 src_unpack() {
94 unpack ${P}.tar.gz
95 cd "${S}"
96 epatch "${FILESDIR}"/${P}-mountd-memleak.patch #172014
97 sed -i \
98 -e 's:libgssapi >= 0\.9:libgssglue >= 0.1:' \
99 -e 's:-lgssapi:-lgssglue:' \
100 configure #191746
101 #epatch "${DISTDIR}"/nfs-utils-${PV}-CITI_NFS4_ALL-1.dif
102 }
103
104 src_compile() {
105 econf \
106 --mandir=/usr/share/man \
107 --with-statedir=/var/lib/nfs \
108 --disable-rquotad \
109 --enable-nfsv3 \
110 --enable-secure-statd \
111 $(use_with tcpd tcp-wrappers) \
112 $(use_enable !nonfsv4 nfsv4) \
113 $(use_enable kerberos gss) \
114 || die "Configure failed"
115
116 emake || die "Failed to compile"
117 }
118
119 src_install() {
120 emake DESTDIR="${D}" install || die
121
122 # Don't overwrite existing xtab/etab, install the original
123 # versions somewhere safe... more info in pkg_postinst
124 dodir /usr/lib/nfs
125 keepdir /var/lib/nfs/{sm,sm.bak}
126 mv "${D}"/var/lib/nfs/* "${D}"/usr/lib/nfs
127 keepdir /var/lib/nfs
128
129 # Install some client-side binaries in /sbin
130 dodir /sbin
131 mv "${D}"/usr/sbin/rpc.{lockd,statd} "${D}"/sbin/ || die
132
133 dodoc ChangeLog README
134 docinto linux-nfs ; dodoc linux-nfs/*
135
136 insinto /etc
137 doins "${FILESDIR}"/exports
138
139 local f list=""
140 use !nonfsv4 && list="${list} rpc.idmapd"
141 use kerberos && list="${list} rpc.gssd"
142 for f in nfs nfsmount rpc.statd ${list} ; do
143 newinitd "${FILESDIR}"/${f}.initd ${f} || die "doinitd ${f}"
144 done
145 newconfd "${FILESDIR}"/nfs.confd nfs
146 use !nonfsv4 && doins utils/idmapd/idmapd.conf
147
148 # uClibc doesn't provide rpcgen like glibc, so lets steal it from nfs-utils
149 if ! use elibc_glibc ; then
150 dobin tools/rpcgen/rpcgen || die "rpcgen"
151 newdoc tools/rpcgen/README README.rpcgen
152 fi
153 }
154
155 pkg_preinst() {
156 [[ -s ${ROOT}/etc/exports ]] && rm -f "${D}"/etc/exports
157 }
158
159 pkg_postinst() {
160 # Install default xtab and friends if there's none existing.
161 # In src_install we put them in /usr/lib/nfs for safe-keeping, but
162 # the daemons actually use the files in /var/lib/nfs. This fixes
163 # bug 30486
164 local f
165 for f in "${ROOT}"/usr/$(get_libdir)/nfs/*; do
166 [[ -e ${ROOT}/var/lib/nfs/${f##*/} ]] && continue
167 einfo "Copying default ${f##*/} from /usr/$(get_libdir)/nfs to /var/lib/nfs"
168 cp -pPR "${f}" "${ROOT}"/var/lib/nfs/
169 done
170 }
171
172
173
174 1.1 net-fs/nfs-utils/nfs-utils-1.1.0-r1.ebuild
175
176 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.1.0-r1.ebuild?rev=1.1&view=markup
177 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.1.0-r1.ebuild?rev=1.1&content-type=text/plain
178
179 Index: nfs-utils-1.1.0-r1.ebuild
180 ===================================================================
181 # Copyright 1999-2007 Gentoo Foundation
182 # Distributed under the terms of the GNU General Public License v2
183 # $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.1.0-r1.ebuild,v 1.1 2007/09/15 02:12:59 vapier Exp $
184
185 inherit eutils flag-o-matic multilib
186
187 DESCRIPTION="NFS client and server daemons"
188 HOMEPAGE="http://nfs.sourceforge.net/"
189 SRC_URI="mirror://sourceforge/nfs/${P}.tar.gz"
190
191 LICENSE="GPL-2"
192 SLOT="0"
193 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
194 IUSE="nonfsv4 tcpd kerberos"
195
196 # kth-krb doesn't provide the right include
197 # files, and nfs-utils doesn't build against heimdal either,
198 # so don't depend on virtual/krb.
199 # (04 Feb 2005 agriffis)
200 RDEPEND="tcpd? ( sys-apps/tcp-wrappers )
201 >=net-nds/portmap-5b-r6
202 !nonfsv4? (
203 >=dev-libs/libevent-1.0b
204 >=net-libs/libnfsidmap-0.16
205 )
206 kerberos? (
207 net-libs/librpcsecgss
208 net-libs/libgssglue
209 app-crypt/mit-krb5
210 )"
211 # util-linux dep is to prevent man-page collision
212 DEPEND="${RDEPEND}
213 >=sys-apps/util-linux-2.12r-r7"
214
215 src_unpack() {
216 unpack ${P}.tar.gz
217 cd "${S}"
218 sed -i \
219 -e 's:libgssapi >= 0\.11:libgssglue >= 0.1:' \
220 -e 's:-lgssapi:-lgssglue:' \
221 configure #191746
222 #epatch "${DISTDIR}"/nfs-utils-${PV}-CITI_NFS4_ALL-1.dif
223 }
224
225 src_compile() {
226 econf \
227 --mandir=/usr/share/man \
228 --with-statedir=/var/lib/nfs \
229 --disable-rquotad \
230 --enable-nfsv3 \
231 --enable-secure-statd \
232 $(use_with tcpd tcp-wrappers) \
233 $(use_enable !nonfsv4 nfsv4) \
234 $(use_enable kerberos gss) \
235 || die "Configure failed"
236
237 emake || die "Failed to compile"
238 }
239
240 src_install() {
241 emake DESTDIR="${D}" install || die
242
243 # Don't overwrite existing xtab/etab, install the original
244 # versions somewhere safe... more info in pkg_postinst
245 dodir /usr/lib/nfs
246 keepdir /var/lib/nfs/{sm,sm.bak}
247 mv "${D}"/var/lib/nfs/* "${D}"/usr/lib/nfs
248 keepdir /var/lib/nfs
249
250 # Install some client-side binaries in /sbin
251 dodir /sbin
252 mv "${D}"/usr/sbin/rpc.statd "${D}"/sbin/ || die
253
254 dodoc ChangeLog README
255 docinto linux-nfs ; dodoc linux-nfs/*
256
257 insinto /etc
258 doins "${FILESDIR}"/exports
259
260 local f list=""
261 use !nonfsv4 && list="${list} rpc.idmapd"
262 use kerberos && list="${list} rpc.gssd"
263 for f in nfs nfsmount rpc.statd ${list} ; do
264 newinitd "${FILESDIR}"/${f}.initd ${f} || die "doinitd ${f}"
265 done
266 newconfd "${FILESDIR}"/nfs.confd nfs
267 use !nonfsv4 && doins utils/idmapd/idmapd.conf
268
269 # uClibc doesn't provide rpcgen like glibc, so lets steal it from nfs-utils
270 if ! use elibc_glibc ; then
271 dobin tools/rpcgen/rpcgen || die "rpcgen"
272 newdoc tools/rpcgen/README README.rpcgen
273 fi
274 }
275
276 pkg_preinst() {
277 [[ -s ${ROOT}/etc/exports ]] && rm -f "${D}"/etc/exports
278 }
279
280 pkg_postinst() {
281 # Install default xtab and friends if there's none existing.
282 # In src_install we put them in /usr/lib/nfs for safe-keeping, but
283 # the daemons actually use the files in /var/lib/nfs. This fixes
284 # bug 30486
285 local f
286 for f in "${ROOT}"/usr/$(get_libdir)/nfs/*; do
287 [[ -e ${ROOT}/var/lib/nfs/${f##*/} ]] && continue
288 einfo "Copying default ${f##*/} from /usr/$(get_libdir)/nfs to /var/lib/nfs"
289 cp -pPR "${f}" "${ROOT}"/var/lib/nfs/
290 done
291 }
292
293
294
295 --
296 gentoo-commits@g.o mailing list