1 |
vapier 08/05/04 09:53:34 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nfs-utils-1.1.2-r1.ebuild |
5 |
Log: |
6 |
Dont bother checking for config anymore #219495 by Davide Pesavento. Load sunrpc module if rpc_pipefs is not available #219566 by Martin von Gagern. Add change from Fedora to exit immediately upon perm denied errors when mounting #219729 by Stefaan De Roeck. |
7 |
(Portage version: 2.2_pre5) |
8 |
|
9 |
Revision Changes Path |
10 |
1.128 net-fs/nfs-utils/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/ChangeLog?rev=1.128&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/ChangeLog?rev=1.128&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/ChangeLog?r1=1.127&r2=1.128 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v |
19 |
retrieving revision 1.127 |
20 |
retrieving revision 1.128 |
21 |
diff -u -r1.127 -r1.128 |
22 |
--- ChangeLog 21 Apr 2008 18:17:25 -0000 1.127 |
23 |
+++ ChangeLog 4 May 2008 09:53:33 -0000 1.128 |
24 |
@@ -1,6 +1,17 @@ |
25 |
# ChangeLog for net-fs/nfs-utils |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v 1.127 2008/04/21 18:17:25 vapier Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v 1.128 2008/05/04 09:53:33 vapier Exp $ |
29 |
+ |
30 |
+*nfs-utils-1.1.2-r1 (04 May 2008) |
31 |
+ |
32 |
+ 04 May 2008; Mike Frysinger <vapier@g.o> |
33 |
+ +files/nfs-utils-1.1.2-mount-eacces.patch, files/nfs.initd, |
34 |
+ files/nfsmount.initd, files/rpc.gssd.initd, files/rpc.idmapd.initd, |
35 |
+ files/rpc.svcgssd.initd, +nfs-utils-1.1.2-r1.ebuild: |
36 |
+ Dont bother checking for config anymore #219495 by Davide Pesavento. Load |
37 |
+ sunrpc module if rpc_pipefs is not available #219566 by Martin von Gagern. |
38 |
+ Add change from Fedora to exit immediately upon perm denied errors when |
39 |
+ mounting #219729 by Stefaan De Roeck. |
40 |
|
41 |
21 Apr 2008; Mike Frysinger <vapier@g.o> files/nfsmount.initd: |
42 |
Use non-common awk exit values so that the default exit values dont trigger |
43 |
|
44 |
|
45 |
|
46 |
1.1 net-fs/nfs-utils/nfs-utils-1.1.2-r1.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.1.2-r1.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.1.2-r1.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: nfs-utils-1.1.2-r1.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2008 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.1.2-r1.ebuild,v 1.1 2008/05/04 09:53:33 vapier Exp $ |
56 |
|
57 |
inherit eutils flag-o-matic multilib |
58 |
|
59 |
DESCRIPTION="NFS client and server daemons" |
60 |
HOMEPAGE="http://nfs.sourceforge.net/" |
61 |
SRC_URI="mirror://sourceforge/nfs/${P}.tar.gz" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
66 |
IUSE="nonfsv4 tcpd kerberos" |
67 |
|
68 |
# kth-krb doesn't provide the right include |
69 |
# files, and nfs-utils doesn't build against heimdal either, |
70 |
# so don't depend on virtual/krb. |
71 |
# (04 Feb 2005 agriffis) |
72 |
RDEPEND="tcpd? ( sys-apps/tcp-wrappers ) |
73 |
>=net-nds/portmap-5b-r6 |
74 |
!nonfsv4? ( |
75 |
>=dev-libs/libevent-1.0b |
76 |
>=net-libs/libnfsidmap-0.16 |
77 |
kerberos? ( |
78 |
net-libs/librpcsecgss |
79 |
net-libs/libgssglue |
80 |
app-crypt/mit-krb5 |
81 |
) |
82 |
)" |
83 |
# util-linux dep is to prevent man-page collision |
84 |
DEPEND="${RDEPEND} |
85 |
>=sys-apps/util-linux-2.12r-r7" |
86 |
|
87 |
src_unpack() { |
88 |
unpack ${A} |
89 |
cd "${S}" |
90 |
epatch "${FILESDIR}"/${P}-rpcgen-ioctl.patch |
91 |
epatch "${FILESDIR}"/${P}-mount-eacces.patch #219729 |
92 |
} |
93 |
|
94 |
src_compile() { |
95 |
local myconf |
96 |
if use nonfsv4; then |
97 |
myconf="--disable-gss" |
98 |
else |
99 |
myconf="$(use_enable kerberos gss)" |
100 |
fi |
101 |
|
102 |
econf \ |
103 |
--mandir=/usr/share/man \ |
104 |
--with-statedir=/var/lib/nfs \ |
105 |
--disable-rquotad \ |
106 |
--enable-nfsv3 \ |
107 |
--enable-secure-statd \ |
108 |
$(use_with tcpd tcp-wrappers) \ |
109 |
$(use_enable !nonfsv4 nfsv4) \ |
110 |
${myconf} \ |
111 |
|| die "Configure failed" |
112 |
emake || die "Failed to compile" |
113 |
} |
114 |
|
115 |
src_install() { |
116 |
emake DESTDIR="${D}" install || die |
117 |
|
118 |
# Don't overwrite existing xtab/etab, install the original |
119 |
# versions somewhere safe... more info in pkg_postinst |
120 |
dodir /usr/lib/nfs |
121 |
keepdir /var/lib/nfs/{sm,sm.bak} |
122 |
mv "${D}"/var/lib/nfs/* "${D}"/usr/lib/nfs |
123 |
keepdir /var/lib/nfs |
124 |
|
125 |
# Install some client-side binaries in /sbin |
126 |
dodir /sbin |
127 |
mv "${D}"/usr/sbin/rpc.statd "${D}"/sbin/ || die |
128 |
|
129 |
dodoc ChangeLog README |
130 |
docinto linux-nfs ; dodoc linux-nfs/* |
131 |
|
132 |
insinto /etc |
133 |
doins "${FILESDIR}"/exports |
134 |
|
135 |
local f list="" |
136 |
if use !nonfsv4 ; then |
137 |
list="${list} rpc.idmapd" |
138 |
use kerberos && list="${list} rpc.gssd rpc.svcgssd" |
139 |
fi |
140 |
for f in nfs nfsmount rpc.statd ${list} ; do |
141 |
newinitd "${FILESDIR}"/${f}.initd ${f} || die "doinitd ${f}" |
142 |
done |
143 |
newconfd "${FILESDIR}"/nfs.confd nfs |
144 |
use !nonfsv4 && doins utils/idmapd/idmapd.conf |
145 |
|
146 |
# uClibc doesn't provide rpcgen like glibc, so lets steal it from nfs-utils |
147 |
if ! use elibc_glibc ; then |
148 |
dobin tools/rpcgen/rpcgen || die "rpcgen" |
149 |
newdoc tools/rpcgen/README README.rpcgen |
150 |
fi |
151 |
} |
152 |
|
153 |
pkg_preinst() { |
154 |
[[ -s ${ROOT}/etc/exports ]] && rm -f "${D}"/etc/exports |
155 |
} |
156 |
|
157 |
pkg_postinst() { |
158 |
# Install default xtab and friends if there's none existing. |
159 |
# In src_install we put them in /usr/lib/nfs for safe-keeping, but |
160 |
# the daemons actually use the files in /var/lib/nfs. This fixes |
161 |
# bug 30486 |
162 |
local f |
163 |
for f in "${ROOT}"/usr/$(get_libdir)/nfs/*; do |
164 |
[[ -e ${ROOT}/var/lib/nfs/${f##*/} ]] && continue |
165 |
einfo "Copying default ${f##*/} from /usr/$(get_libdir)/nfs to /var/lib/nfs" |
166 |
cp -pPR "${f}" "${ROOT}"/var/lib/nfs/ |
167 |
done |
168 |
} |
169 |
|
170 |
|
171 |
|
172 |
-- |
173 |
gentoo-commits@l.g.o mailing list |