source: projects/specs/branches/6/n/nfs-utils/nfs-utils-vl.spec @ 2690

Revision 2690, 34.6 KB checked in by Takemikaduchi, 13 years ago (diff)

libevent: add BR: openssl, nfs-utils: add BR: libblkid-devel

Line 
1Summary: NFS utilities and supporting clients and daemons for the kernel NFS server
2Summary(ja): カーネル NFS サーバ用 NFS ユーティリティと関連プログラム
3Name: nfs-utils
4URL: http://sourceforge.net/projects/nfs
5Version: 1.1.5
6Release: 5%{?_dist_release}
7
8# group all 32bit related archs
9%define all_32bit_archs i386 i686 athlon
10
11# Enable the ability to set the 'fsc' mount flag which
12# will allow NFS to use FS-Cache.
13%define enablefscache 0
14
15# Set 1 to enable RPC Sec-GSS authentication feature
16%define enablegss 0
17
18Source0: http://www.kernel.org/pub/linux/utils/nfs/%{name}-%{version}.tar.bz2
19Source1: ftp://nfs.sourceforge.net/pub/nfs/nfs.doc.tar.gz
20
21Source10: nfs.init
22Source11: nfslock.init
23Source12: rpcidmapd.init
24Source13: rpcgssd.init
25Source14: rpcsvcgssd.init
26Source15: nfs.sysconfig
27
28
29Patch00: nfs-utils-1.0.5-statdpath.patch
30Patch01: nfs-utils-1.1.0-smnotify-path.patch
31Patch02: nfs-utils-1.1.0-exp-subtree-warn-off.patch
32
33Patch100: nfs-utils-1.1.5-tcpwrap-externs.patch
34Patch101: nfs-utils-1-1-6-rc2.patch
35Patch102: nfs-utils-1-1-6-rc3.patch
36Patch103: nfs-utils-1.1.5-nfsstat-update.patch
37Patch104: nfs-utils-1.1.5-umount-privport.patch
38
39%if %{enablefscache}
40Patch90: nfs-utils-1.1.0-mount-fsc.patch
41%endif
42
43Group: System Environment/Daemons
44Provides: exportfs    = %{version}-%{release}
45Provides: nfsstat     = %{version}-%{release}
46Provides: showmount   = %{version}-%{release}
47Provides: rpcdebug    = %{version}-%{release}
48Provides: rpc.idmapd  = %{version}-%{release}
49Provides: rpc.mountd  = %{version}-%{release}
50Provides: rpc.nfsd    = %{version}-%{release}
51Provides: rpc.statd   = %{version}-%{release}
52%if %{enablegss}
53Provides: rpc.gssd    = %{version}-%{release}
54Provides: rpc.svcgssd = %{version}-%{release}
55%endif
56Provides: mount.nfs   = %{version}-%{release}
57Provides: mount.nfs4  = %{version}-%{release}
58Provides: umount.nfs  = %{version}-%{release}
59Provides: umount.nfs4 = %{version}-%{release}
60Provides: sm-notify   = %{version}-%{release}
61Provides: start-statd = %{version}-%{release}
62
63License: GPL
64Buildroot: %{_tmppath}/%{name}-%{version}-root
65# Vine still uses portmap instead of rpcbind, as of this writing
66#Requires: rpcbind
67Requires: portmap >= 4.0
68Requires: sed, gawk, sh-utils, fileutils, textutils, grep
69Requires: modutils >= 2.4.26-9
70BuildRequires: libevent-devel >= 1.3b
71BuildRequires: libnfsidmap >= 0.20
72BuildRequires: libblkid-devel
73%if %{enablegss}
74BuildRequires: libgssglue-devel
75BuildRequires: librpcsecgss >= 0.17
76%endif
77BuildRequires: autoconf >= 2.57 openldap-devel >= 2.2
78BuildRequires: automake, libtool, glibc-headers
79BuildRequires: e2fsprogs-devel, tcp_wrappers
80Requires(pre): shadow-utils >= 4.0.3-25
81Requires(pre): /sbin/chkconfig /sbin/nologin
82Requires: libnfsidmap >= 0.20 libevent >= 1.3b
83%if %{enablegss}
84Requires: librpcsecgss >= 0.17 libgssglue
85%endif
86
87
88%description
89The nfs-utils package provides a daemon for the kernel NFS server and
90related tools, which provides a much higher level of performance than the
91traditional Linux NFS server used by most users.
92
93This package also contains the showmount program.  Showmount queries the
94mount daemon on a remote host for information about the NFS (Network File
95System) server on the remote host.  For example, showmount can display the
96clients which are mounted on that host.
97
98This package also contains the mount.nfs and umount.nfs program.
99
100%description -l ja
101nfs-utils パッケージには kernel NFS サーバと関連ツールが収録されています。
102これにより、多くのユーザに使われてきた旧来の Linux NFS サーバより高い
103パフォーマンスを提供することができます。
104
105このパッケージには showmount プログラムも収録されています。
106showmount は遠隔ホストの mount デーモンに問い合わせを行い、
107NFS サーバに関する情報を得ることができます。
108例えば、showmount を使うことで、その遠隔ホストをマウントしている
109クライアントの一覧を得ることができます。
110
111本パッケージにはまた mount.nfs と umount.nfs プログラムも収録されています。
112
113
114%prep
115%setup -q
116%patch00 -p1
117%patch01 -p1
118%patch02 -p1
119
120%patch100 -p1
121%patch101 -p1
122%patch102 -p1
123%patch103 -p1
124%patch104 -p1
125
126%if %{enablefscache}
127%patch90 -p1
128%endif
129
130# Remove .orig files
131find . -name "*.orig" | xargs rm -f
132
133
134%build
135
136%ifarch s390 s390x
137PIE="-fPIE"
138%else
139PIE="-fpie"
140%endif
141export PIE
142
143sh -x autogen.sh
144
145CFLAGS="`echo $RPM_OPT_FLAGS $ARCH_OPT_FLAGS $PIE`"
146%configure \
147    CFLAGS="$CFLAGS" \
148    CPPFLAGS="$DEFINES" \
149    LDFLAGS="-pie" \
150%if %{enablegss}
151    --enable-gss \
152%else
153    --disable-gss \
154%endif
155    --enable-mount
156
157make all
158
159
160%install
161rm -rf $RPM_BUILD_ROOT
162mkdir -p $RPM_BUILD_ROOT{/sbin,/usr/sbin}
163mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/{man5,man8}
164mkdir -p $RPM_BUILD_ROOT{/etc/rc.d/init.d,/etc/sysconfig}
165make DESTDIR=$RPM_BUILD_ROOT install
166install -s -m 755 tools/rpcdebug/rpcdebug $RPM_BUILD_ROOT/usr/sbin
167install -m 755 %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/nfs
168install -m 755 %{SOURCE11} $RPM_BUILD_ROOT/etc/rc.d/init.d/nfslock
169install -m 755 %{SOURCE12} $RPM_BUILD_ROOT/etc/rc.d/init.d/rpcidmapd
170%if %{enablegss}
171install -m 755 %{SOURCE13} $RPM_BUILD_ROOT/etc/rc.d/init.d/rpcgssd
172install -m 755 %{SOURCE14} $RPM_BUILD_ROOT/etc/rc.d/init.d/rpcsvcgssd
173%endif
174install -m 644 %{SOURCE15} $RPM_BUILD_ROOT/etc/sysconfig/nfs
175
176mkdir -p $RPM_BUILD_ROOT/var/lib/nfs/rpc_pipefs
177
178touch $RPM_BUILD_ROOT/var/lib/nfs/rmtab
179mv $RPM_BUILD_ROOT/usr/sbin/rpc.statd $RPM_BUILD_ROOT/sbin
180
181mkdir -p $RPM_BUILD_ROOT/var/lib/nfs/statd/sm
182mkdir -p $RPM_BUILD_ROOT/var/lib/nfs/v4recovery
183
184# temporarily remove nfs.5 man page until util-linux gets upgraded...
185rm -f $RPM_BUILD_ROOT/%{_mandir}/man5/nfs.5*
186
187
188%clean
189rm -rf $RPM_BUILD_ROOT
190
191
192%pre
193# move files so the running service will have this applied as well
194for x in gssd svcgssd idmapd ; do
195    if [ -f /var/lock/subsys/rpc.$x ]; then
196        mv /var/lock/subsys/rpc.$x /var/lock/subsys/rpc$x
197    fi
198done
199
200/usr/sbin/useradd -r -c "RPC Service User" \
201        -s /sbin/nologin -u 29 -d /var/lib/nfs rpcuser 2>/dev/null || :
202# Define the correct unsigned uid value for 32 or 64 bit archs
203%ifarch %{all_32bit_archs}
204%define nfsnobody_uid   65534
205%else
206%define nfsnobody_uid   4294967294
207%endif
208
209# If UID 65534 (or 4294967294 64bit archs) is unassigned, create user "nfsnobody"
210cat /etc/passwd | cut -d':' -f 3 | grep --quiet %{nfsnobody_uid} 2>/dev/null
211if [ "$?" -eq 1 ]; then
212    /usr/sbin/useradd -r -c "Anonymous NFS User" \
213        -s /sbin/nologin -u %{nfsnobody_uid} -d /var/lib/nfs nfsnobody 2>/dev/null || :
214fi
215
216
217%post
218/sbin/chkconfig --add nfs
219/sbin/chkconfig --add nfslock
220/sbin/chkconfig --add rpcidmapd
221%if %{enablegss}
222/sbin/chkconfig --add rpcgssd
223/sbin/chkconfig --add rpcsvcgssd
224%endif
225# Make sure statd used the correct uid/gid.
226if [ -f /var/lock/subsys/nfslock ]; then
227        /etc/rc.d/init.d/nfslock stop > /dev/null
228        chown -R rpcuser:rpcuser /var/lib/nfs/statd
229        /etc/rc.d/init.d/nfslock start > /dev/null
230else
231        chown -R rpcuser:rpcuser /var/lib/nfs/statd
232fi
233
234%preun
235if [ "$1" = "0" ]; then
236    /etc/rc.d/init.d/nfs condrestart
237%if %{enablegss}
238    /etc/rc.d/init.d/rpcgssd condrestart
239    /etc/rc.d/init.d/rpcidmapd condrestart
240%endif
241    /etc/rc.d/init.d/nfslock condrestart
242    /sbin/chkconfig --del rpcidmapd
243%if %{enablegss}
244    /sbin/chkconfig --del rpcgssd
245    /sbin/chkconfig --del rpcsvcgssd
246%endif
247    /sbin/chkconfig --del nfs
248    /sbin/chkconfig --del nfslock
249    /usr/sbin/userdel rpcuser 2>/dev/null || :
250    /usr/sbin/groupdel rpcuser 2>/dev/null || :
251    /usr/sbin/userdel nfsnobody 2>/dev/null || :
252    rm -rf /var/lib/nfs/statd
253    rm -rf /var/lib/nfs/v4recovery
254fi
255
256%postun
257if [ "$1" -ge 1 ]; then
258    /etc/rc.d/init.d/rpcidmapd condrestart > /dev/null
259%if %{enablegss}
260    /etc/rc.d/init.d/rpcgssd condrestart > /dev/null
261%endif
262    /etc/rc.d/init.d/nfs condrestart > /dev/null
263        /etc/rc.d/init.d/nfslock condrestart > /dev/null
264fi
265
266%triggerpostun -- nfs-server
267/sbin/chkconfig --add nfs
268
269%triggerpostun -- knfsd
270/sbin/chkconfig --add nfs
271
272%triggerpostun -- knfsd-clients
273/sbin/chkconfig --add nfslock
274
275%files
276%defattr(-,root,root)
277%config /etc/rc.d/init.d/nfs
278%config /etc/rc.d/init.d/rpcidmapd
279%if %{enablegss}
280%config /etc/rc.d/init.d/rpcgssd
281%config /etc/rc.d/init.d/rpcsvcgssd
282%endif
283%config(noreplace) /etc/sysconfig/nfs
284%dir /var/lib/nfs/v4recovery
285%dir /var/lib/nfs/rpc_pipefs
286%dir /var/lib/nfs
287%dir %attr(700,rpcuser,rpcuser) /var/lib/nfs/statd
288%dir %attr(700,rpcuser,rpcuser) /var/lib/nfs/statd/sm
289%config(noreplace) /var/lib/nfs/xtab
290%config(noreplace) /var/lib/nfs/etab
291%config(noreplace) /var/lib/nfs/rmtab
292%config(noreplace) /var/lib/nfs/state
293%doc linux-nfs/*
294/sbin/rpc.statd
295/usr/sbin/exportfs
296/usr/sbin/nfsstat
297/usr/sbin/rpcdebug
298/usr/sbin/rpc.mountd
299/usr/sbin/rpc.nfsd
300/usr/sbin/showmount
301/usr/sbin/rpc.idmapd
302%if %{enablegss}
303/usr/sbin/rpc.gssd
304/usr/sbin/rpc.svcgssd
305/usr/sbin/gss_clnt_send_err
306/usr/sbin/gss_destroy_creds
307%endif
308/usr/sbin/sm-notify
309/usr/sbin/start-statd
310%{_mandir}/*/*
311%config /etc/rc.d/init.d/nfslock
312
313%attr(4755,root,root)   /sbin/mount.nfs
314%attr(4755,root,root)   /sbin/mount.nfs4
315%attr(4755,root,root)   /sbin/umount.nfs
316%attr(4755,root,root)   /sbin/umount.nfs4
317
318
319%changelog
320* Sun Feb 13 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.5-5
321- add BuildRequires: libblkid-devel
322
323* Thu Feb 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.1.5-4
324- rebuilt with libevent-2.0.10
325
326* Tue Aug 11 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.5-3
327- add INIT INFO headers to initscripts
328
329* Fri Jun 12 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1.5-2
330- import more patches from FC11 1.1.5-5
331  - Patch101: upstream rc2 patch
332  - Patch102: upstream rc3 patch
333    - gssd: initialize fakeseed in prepare_krb5_rfc1964_buffer
334    - gssd: NULL-terminate buffer after read in read_service_info (try #2)
335    - gssd: free buffer allocated by gssd_k5_err_msg
336    - gssd: fix potential double-frees in gssd
337    - Removed a number of warn_unused_result warnings
338  - Patch103: Update nfsstat with --sleep and --list options
339  - Patch104: Fixed umount from using non-privilege ports (bz 492598)
340
341* Sun Apr 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.5-1
342- new upstream release
343- fix %%post, remove '-l' from useradd option
344
345* Sun Jan 04 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.2-4
346- rebuilt with openldap-2.4.11
347- spec in UTF-8
348
349* Thu May 15 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.2-3
350- updated to 1.1.2, based on Fedora 1.1.2-2
351- disable RPC Sec-GSS feature for Vine (and we won't any longer? Let me know)
352- temporarily remove nfs.5 man page until util-linux gets upgraded
353- previous Vine changelogs as follows:
354
355  - Wed Apr 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.9-1
356  - rebuilt with libevent-1.4.3-1
357
358  - Sun Jul  8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.9-0vl4
359  - rebuilt with libevent-1.3b-0vl1
360
361  - Tue Aug 29 2006 MATSUBAYASHI <shaolin@vinelinux.org> 1.0.9-0vl3
362  - rebuilt with libevent-1.1b-0vl1
363
364  - Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.9-0vl2
365  - rebuilt with openldap-2.3.27-0vl1
366
367  - Wed Jul 26 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.9-0vl1
368  - new upstream release
369  - drop obsolete patches
370
371  - Wed Mar 30 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0.8-0vl0.rc2.2
372  - add libevent-devel and libnfsidmap to BuidRequires
373
374  - Mon Mar 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.8-0vl0.rc2.1
375  - update to nfs-utils-1.0.8-rc2
376  - merged some patches from FC
377  - fix kanji code of spec file
378
379  - Tue Apr 26 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0.6-0vl1
380  - updated to 1.0.6
381  - merged several files from 1.0.6-22
382
383  - Sun Feb  9 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-0vl1
384  - new upstream release
385  - remove quota related files, now we are using it from quota utils.
386
387  - Sat Sep 01 2001 Toru Sagami <sagami@vinelinux.org>
388  - 0.3.1-12vl2: revive rpc.rquotad for the time being
389
390  - Fri Aug 24 2001 Toru Sagami <sagami@vinelinux.org>
391  - 0.3.1-12vl1: ported to Vine
392
393* Mon Apr 14 2008 Steve Dickson <steved@redhat.com>  1.1.2-2
394- Make EACCES a non fatal error (bz 439807)
395
396* Tue Mar 25 2008 Steve Dickson <steved@redhat.com>  1.1.2-1
397- Upgrade to nfs-utils-1.1.2
398
399* Mon Mar  3 2008 Steve Dickson <steved@redhat.com>  1.1.1-5
400- Stopped mountd from incorrectly logging an error
401  (commit 9dd9b68c4c44f0d9102eb85ee2fa36a8b7f638e3)
402- Stop gssd from ignoring the machine credential caches
403  (commit 46d439b17f22216ce8f9257a982c6ade5d1c5931)
404- Fixed typo in the nfsstat command line arugments.
405  (commit acf95d32a44fd8357c24e8a04ec53fc6900bfc58)
406- Added test to stop buffer overflow in idmapd
407  (commit bcd0fcaf0966c546da5043be700587f73174ae25)
408
409* Sat Feb  9 2008 Steve Dickson <steved@redhat.com>  1.1.1-4
410- Cleaned up some typos that were found in the various
411  places in the mountd code
412
413* Thu Jan 24 2008 Steve Dickson <steved@redhat.com>  1.1.1-3
414- Added in relatime mount option so mount.nfs stays
415  compatible with the mount command in util-linux-ng (bz 274301)
416
417* Tue Jan 22 2008 Steve Dickson <steved@redhat.com>  1.1.1-2
418- Added -S/--since to the nfsstat(1) manpage
419- The wording in the exportfs man page can be a bit confusing, implying
420  that "exportfs -u :/foo" will unexport /foo from all hosts, which it won't
421- Removed nfsprog option since the kernel no longer supports it.
422- Removed mountprog option since the kernel no longer supports it.
423- Stop segfaults on amd64 during warnings messages.
424- Fix bug when both crossmnt and fsid are set.
425
426* Sat Jan  5 2008 Steve Dickson <steved@redhat.com>  1.1.1-1
427- Updated to latest upstream release, nfs-utils-1.1.1
428- Added the removal of sm-notify.pid to nfslock init script.
429- Changed spec file to use condrestart instead of condstop
430  when calling init scripts.
431- Fixed typo in rpc.mountd man page
432- Turn on 'nohide' automatically for all refer exports (bz 313561)
433
434* Tue Dec 04 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.1.0-7
435 - Rebuild for openldap bump
436
437* Wed Oct 17 2007 Steve Dickson <steved@redhat.com>  1.1.0-6
438- Switch the libgssapi dependency to libgssglue
439
440* Fri Sep 14 2007 Steve Dickson <steved@redhat.com>  1.1.0-5
441- Changed the default paths in sm-notify to
442  /var/lib/nfs/statd (bz 258461)
443- Updated exportfs manpage (bz 262861)
444
445* Wed Aug 15 2007 Steve Dickson <steved@redhat.com>  1.1.0-4
446- Make sure the open() system calling in exportfs uses
447  mode bits when creating the etab file (bz 252440).
448
449* Mon Aug 13 2007 Steve Dickson <steved@redhat.com>  1.1.0-3
450- Added nosharecache mount option which re-enables
451  rw/ro mounts to the same server (bz 243913).
452
453* Thu Aug  2 2007 Steve Dickson <steved@redhat.com>  1.1.0-2
454- Make sure the gss and idmap daemons remove thier lock
455  files when they are stopped.
456
457* Sat Jul 28 2007 Steve Dickson <steved@redhat.com>  1.1.0-1
458- Upgraded to the latest upstream version (nfs-utils-1.1.0)
459
460* Thu May 24 2007 Steve Dickson <steved@redhat.com> 1.0.10-7
461- Fixed typo in mount.nfs4 that causes a segfault during
462  error processing (bz 241190)
463
464* Tue May 22 2007 Steve Dickson <steved@redhat.com> 1.0.10-6
465- Make sure the condrestarts exit with a zero value (bz 240225)
466- Stopped /etc/sysconfig/nfs from being overwritten on updates (bz 234543)
467- Added -o nordirplus mount option to disable READDIRPLUS (bz 240357)
468- Disabled the FSCache patch, for now...
469
470* Wed May 10 2007 Steve Dickson <steved@redhat.com> 1.0.12-5
471- Fix mount.nfs4 to display correct error message (bz 227212)
472- Updated mountd and showmount reverse lookup flags (bz 220772)
473- Eliminate timeout on nfsd shutdowns (bz 222001)
474- Eliminate memory leak in mountd (bz 239536)
475- Make sure statd uses correct uid/gid by chowning
476  the /var/lib/nfs/statd with the rpcuser id. (bz 235216)
477- Correct some sanity checking in rpc.nfsd. (bz 220887)
478- Added missing unlock_mtab() call in moutnd
479- Have mountd hold open etab file to force inode number to change (bz 236823)
480- Create a /etc/sysconfig/nfs with all the possible init script
481  variables (bz 234543)
482- Changed nfs initscript to exit with correct value (bz 221874)
483
484* Tue Apr  3 2007 Steve Dickson <steved@redhat.com> 1.0.12-4
485- Replace portmap dependency with an rpcbind dependency (bz 228894)
486
487* Mon Mar 12 2007 Steve Dickson <steved@redhat.com> 1.0.12-3
488- Incorporated Merge Review comments (bz 226198)
489
490* Fri Mar  9 2007 Steve Dickson <steved@redhat.com> 1.0.12-2
491- Added condstop to all the initscripts (bz 196934)
492- Made no_subtree_check a default export option (bz 212218)
493
494* Tue Mar  6 2007 Steve Dickson <steved@redhat.com> 1.0.12-1
495- Upgraded to 1.0.12
496- Fixed typo in Summary.
497
498* Thu Mar  1 2007 Karel Zak <kzak@redhat.com>  1.0.11-2
499- Fixed mount.nfs -f (fake) option (bz 227988)
500
501* Thu Feb 22 2007 Steve Dickson <steved@redhat.com> 1.0.11-1
502- Upgraded to 1.0.11
503
504* Wed Feb 21 2007 Steve Dickson <steved@redhat.com> 1.0.10-7
505- Added FS_Location support
506
507* Mon Dec 18 2006 Karel Zak <kzak@redhat.com> 1.0.10-6
508- add support for mount options that contain commas (bz 219645)
509
510* Wed Dec 13 2006 Steve Dickson <steved@redhat.com> 1.0.10-5
511- Stopped v4 umounts from ping rpc.mountd (bz 215553)
512
513* Wed Nov 28 2006 Steve Dickson <steved@redhat.com> 1.0.10-4
514- Doing a connect on UDP sockets causes the linux network
515  stack to reject UDP patches from multi-home server with
516  nic on the same subnet. (bz 212471)
517
518* Wed Nov 15 2006 Steve Dickson <steved@redhat.com> 1.0.10-3
519- Removed some old mounting versioning code that was
520  stopping tcp mount from working (bz 212471)
521
522* Tue Oct 31 2006 Steve Dickson <steved@redhat.com> 1.0.10-2
523- Fixed -o remount (bz 210346)
524- fix memory leak in rpc.idmapd (bz 212547)
525- fix use after free bug in dirscancb (bz 212547)
526- Made no_subtree_check a default export option (bz 212218)
527
528* Wed Oct 25 2006 Steve Dickson <steved@redhat.com> 1.0.10-1
529- Upgraded to 1.0.10
530
531* Mon Oct 16 2006 Steve Dickson <steved@redhat.com> 1.0.9-10
532- Fixed typo in nfs man page (bz 210864).
533
534* Fri Oct 13 2006 Steve Dickson <steved@redhat.com> 1.0.9-9
535- Unable to mount NFS V3 share where sec=none is specified (bz 210644)
536
537* Tue Sep 26 2006 Steve Dickson <steved@redhat.com> 1.0.9-8
538- mount.nfs was not returning a non-zero exit value
539  on failed mounts (bz 206705)
540
541* Wed Sep 20 2006 Karel Zak <kzak@redhat.com> 1.0.9-7
542- Added support for the mount -s (sloppy) option (#205038)
543- Added nfs.5 man page from util-linux
544- Added info about [u]mount.nfs to the package description
545
546* Mon Sep 11 2006  <SteveD@RedHat.com> 1.0.9-6
547- Removed the compiling of getiversion and getkversion since
548  UTS_RELEASE is no longer defined and these binary are
549  not installed.
550
551* Fri Aug 18 2006 <SteveD@RedHat.com> 1.0.9-5
552- Changed gssd daemons to cache things in memory
553  instead of /tmp which makes selinux much happier.
554  (bz 203078)
555
556* Wed Aug 16 2006 <SteveD@RedHat.com> 1.0.9-4
557- Allow variable for HA callout program in /etc/init.d/nfslock
558  (bz 202790)
559
560* Wed Aug 02 2006 <wtogami@redhatcom> 1.0.9-3
561- add epoch (#196359)
562
563* Fri Jul 28 2006 <SteveD@RedHat.com> 1.0.9-2
564- Enabled the creating of mount.nfs and umount.nfs binaries
565- Added mount option fixes suggested by upstream.
566- Fix lazy umounts (bz 169299)
567- Added -o fsc mount option.
568
569* Mon Jul 24 2006 <SteveD@RedHat.com> 1.0.9-1
570- Updated to 1.0.9 release
571
572* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:1.0.8-5.1
573- rebuild
574
575* Sun Jul  2 2006 <jkeating@redhat.com> 1:1.0.8-5
576- Introduce epoch to fix upgrade path
577
578* Sat Jul  1 2006 <SteveD@RedHat.com> 1.0.8-3
579- Fixed typos in /etc/rc.d/init.d/nfs file (bz 184486)
580
581* Fri Jun 30 2006 <SteveD@RedHat.com> 1.0.8-3
582- Split the controlling of nfs version, ports, and protocol
583  into two different patches
584- Fixed and added debugging statements to rpc.mountd.
585- Fixed -p arg to work with priviledged ports (bz 156655)
586- Changed nfslock initscript to set LOCKD_TCPPORT and
587  LOCKD_UDPPORT (bz 162133)
588- Added MOUNTD_NFS_V1 variable to version 1 of the
589  mount protocol can be turned off. (bz 175729)
590- Fixed gssd to handel mixed case characters in
591  the domainname. (bz 186069)
592
593* Wed Jun 21 2006 <SteveD@RedHat.com> 1.0.8-2
594- Updated to nfs-utils-1.0.8
595
596* Thu Jun  8 2006 <SteveD@RedHat.com> 1.0.8.rc4-1
597- Upgraded to the upstream 1.0.8.rc4 version
598
599* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.8.rc2-4.FC5.2
600- bump again for double-long bug on ppc(64)
601
602* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.8.rc2-4.FC5.1
603- rebuilt for new gcc4.1 snapshot and glibc changes
604
605* Fri Jan 20 2006 Steve Dickson <SteveD@RedHat.com> 1.0.8.rc2-4.FC5
606- Added new libnfsidmap call, nfs4_set_debug(), to rpc.idmapd
607  which turns on debugging in the libarary.
608
609* Mon Jan 16 2006 Steve Dickson <SteveD@RedHat.com> 1.0.8.rc2-3.FC5
610- Added innetgr patch that changes configure scripts to
611  check for the innetgr function. (bz 177899)
612
613* Wed Jan 11 2006 Peter Jones <pjones@redhat.com> 1.0.8.rc2-2.FC5
614- Fix lockfile naming in the initscripts so they're stopped correctly.
615
616* Mon Jan  9 2006 Steve Dickson <SteveD@RedHat.com> 1.0.8.rc2-1.FC5
617- Updated to 1.0.8-rc2 release
618- Broke out libgssapi into its own rpm
619- Move librpcsecgss and libnfsidmap in the new nfs-utils-lib rpm
620- Removed libevent code; Required to be installed.
621
622* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
623- rebuilt
624
625* Sun Oct 23 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-19
626- Updated to latest code in SourceForge CVS
627- Updated to latest CITI patches (1.0.7-4)
628- Fix bug in nfsdreopen by compiling in server defaults
629
630* Thu Sep 22 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-18
631- Updated libnfsidmap to 0.11
632- Updated libgssapi to 0.5
633- Made sure the gss daemons and new libs are
634  all using the same include files.
635- Removed code from the tree that is no longer used.
636- Add ctlbits patch that introduced the -N -T and -U
637  command line flags to rpc.nfsd.
638
639* Sun Sep 18 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-17
640- Updated to latest nfs-utils code in upstream CVS tree
641- Updated libevent from 1.0b to 1.1a
642- Added libgssapi-0.4 and librpcsecgss-0.6 libs from CITI
643
644* Tue Sep  8 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-16
645- Reworked the nfslock init script so if lockd is running
646  it will be killed which is what the HA community needs. (bz 162446)
647- Stopped rpcidmapd.init from doing extra echoing when
648  condstart-ed.
649
650* Wed Aug 24 2005 Peter Jones <pjones@redhat.com> - 1.0.7-15
651- don't strip during "make install", so debuginfo packages are generated right
652
653* Thu Aug 18 2005 Florian La Roche <laroche@redhat.com>
654- no need to still keep a requirement for kernel-2.2 or newer
655
656* Tue Aug 16 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-13
657- Changed mountd to use stat64() (bz 165062)
658
659* Tue Aug  2 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-12
660- Changed useradd to use new -l flag (bz149407)
661- 64bit fix in gssd code (bz 163139)
662- updated broken dependencies
663- updated rquotad to compile with latest
664  quota version.
665
666* Thu May 26 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-8
667- Fixed subscripting problem in idmapd (bz 158188)
668
669* Thu May 19 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-7
670- Fixed buffer overflow in rpc.svcgssd (bz 114288)
671
672* Wed Apr 13 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-6
673- Fixed misformated output from nfslock script (bz 154648)
674
675* Mon Mar 29 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-4
676- Fixed a compile error on x86_64 machines in the gss code.
677- Updated the statd-notify-hostname.patch to eliminate
678  a segmentation fault in rpc.statd when an network
679  interface was down. (bz 151828)
680
681* Sat Mar 19 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-3
682- Changed xlog to use LOG_INFO instead of LOG_DEBUG
683  so debug messages will appear w/out any config
684  changes to syslog.conf.
685- Reworked how /etc/exports is setup (bz 151389)
686
687* Wed Mar  2 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-2
688- Tied the rpcsecgss debugging in with gssd and
689  svcgssd debugging
690
691* Mon Feb 14 2005 Steve Dickson <SteveD@RedHat.com>
692- Added support to rpcgssd.init and rpcsvcgssd.init scripts
693  to insmod security modules.
694- Changed the nfs.init script to bring rpc.svcgssd up and down,
695  since rpc.svcgssd is only needed with the NFS server is running.
696
697* Tue Dec 14 2004 Steve Dickson <SteveD@RedHat.com>
698- Fix problem in idmapd that was causing "xdr error 10008"
699  errors (bz 142813)
700- make sure the correct hostname is used in the SM_NOTIFY
701  message that is sent from a rebooted server which has
702  multiple network interfaces. (bz 139101)
703
704- Changed nfslock to send lockd a -KILL signal
705  when coming down. (bz 125257)
706
707* Thu Nov 11 2004 Steve Dickson <SteveD@RedHat.com>
708- Replaced a memcopy with explicit assignments
709  in getquotainfo() of rquotad to fix potential overflow
710  that can occur on 64bit machines. (bz 138068)
711
712* Mon Nov  8 2004 Steve Dickson <SteveD@RedHat.com>
713- Updated to latest sourceforge code
714- Updated to latest CITIT nfs4 patches
715
716* Sun Oct 17 2004 Steve Dickson <SteveD@RedHat.com>
717- Changed nfs.init to bring down rquotad correctly
718  (bz# 136041)
719
720* Thu Oct 14 2004 Steve Dickson <SteveD@RedHat.com>
721- Added "$RQUOTAD_PORT" variable to nfs.init which
722  allows the rpc.rquotad to use a predefined port
723  (bz# 124676)
724
725* Fri Oct  1 2004 <SteveD@RedHat.com
726- Incorporate some clean up code from Ulrich Drepper (bz# 134025)
727- Fixed the chkconfig number in the rpcgssd, rpcidmapd, and
728  rpcsvcgssd initscrpts (bz# 132284)
729
730* Fri Sep 24 2004 <SteveD@RedHat.com>
731- Make sure the uid/gid of nfsnobody is the
732  correct value for all archs (bz# 123900)
733- Fixed some security issues found by SGI (bz# 133556)
734
735* Mon Aug 30 2004 Steve Dickson <SteveD@RedHat.com>
736- Major clean up.
737- Removed all unused/old patches
738- Rename and condensed a number of patches
739- Updated to CITI's nfs-utils-1.0.6-13 patches
740
741* Tue Aug 10 2004 Bill Nottingham <notting@redhat.com>
742- move if..fi condrestart stanza to %%postun (#127914, #128601)
743
744* Wed Jun 16 2004 <SteveD@RedHat.com>
745- nfslock stop is now done on package removals
746- Eliminate 3 syslog messages that are logged for
747  successful events.
748
749* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
750- rebuilt
751
752* Mon Jun 14 2004 <SteveD@RedHat.com>
753- Fixed syntax error in nfs initscripts when
754  NETWORKING is not defined
755- Removed sync warning on readonly exports.
756- Changed run levels in rpc initscripts.
757- Replaced modinfo with lsmod when checking
758  for loaded modules.
759
760* Tue Jun  1 2004 <SteveD@RedHat.com>
761- Changed the rpcgssd init script to ensure the
762  rpcsec_gss_krb5 module is loaded
763
764* Tue May 18 2004 <SteveD@RedHat.com>
765- Removed the auto option from MOUNTD_NFS_V2 and
766  MOUNTD_NFS_V3 variables. Since v2 and v3 are on
767  by default, there only needs to be away of
768  turning them off.
769
770* Thu May 10 2004 <SteveD@RedHat.com>
771- Rebuilt
772
773* Thu Apr 15 2004 <SteveD@RedHat.com>
774- Changed the permission on idmapd.conf to 644
775- Added mydaemon code to svcgssd
776- Updated the add_gssd.patch from upstream
777
778* Wed Apr 14 2004 <SteveD@RedHat.com>
779- Created a pipe between the parent and child so
780  the parent process can report the correct exit
781  status to the init scripts
782- Added SIGHUP processing to rpc.idmapd and the
783  rpcidmapd init script.
784
785* Mon Mar 22 2004 <SteveD@RedHat.com>
786- Make sure check_new_cache() is looking in the right place
787
788* Wed Mar 17 2004 <SteveD@RedHat.com>
789- Changed the v4 initscripts to use $prog for the
790  arugment to daemon
791
792* Tue Mar 16 2004 <SteveD@RedHat.com>
793- Made the nfs4 daemons initscripts work better when
794  sunrpc is not a module
795- added more checks to see if modules are being used.
796
797* Mon Mar 15 2004 <SteveD@RedHat.com>
798- Add patch that sets up gssapi_mech.conf correctly
799
800* Fri Mar 12 2004 <SteveD@RedHat.com>
801- Added the shutting down of the rpc v4 daemons.
802- Updated the Red Hat only patch with some init script changes.
803
804* Thu Mar 11 2004 Bill Nottingham <notting@redhat.com>
805- rpc_pipefs mounting and aliases are now in modutils; require that
806
807* Thu Mar 11 2004 <SteveD@RedHat.com>
808- Updated the gssd patch.
809
810* Sun Mar  7 2004 <SteveD@RedHat.com>
811- Added the addition and deletion of rpc_pipefs to /etc/fstab
812- Added the addition and deletion of module aliases to /etc/modules.conf
813
814* Mon Mar  1 2004 <SteveD@RedHat.com>
815- Removed gssd tarball and old nfsv4 patch.
816- Added new nfsv4 patches that include both the
817   gssd and idmapd daemons
818- Added redhat-only v4 patch that reduces the
819   static librpc.a to only contain gss rpc related
820   routines (I would rather have gssd use the glibc
821   rpc routines)
822-Changed the gssd svcgssd init scripts to only
823   start up if SECURE_NFS is set to 'yes' in
824   /etc/sysconfig/nfs
825
826* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
827- rebuilt
828
829* Thu Feb 12 2004 Thomas Woerner <twoerner@redhat.com>
830- make rpc.lockd, rpc.statd, rpc.mountd and rpc.nfsd pie
831
832* Wed Jan 28 2004 Steve Dickson <SteveD@RedHat.com>
833- Added the NFSv4 bits
834
835* Mon Dec 29 2003 Steve Dickson <SteveD@RedHat.com>
836- Added the -z flag to nfsstat
837
838* Wed Dec 24 2003  Steve Dickson <SteveD@RedHat.com>
839- Fixed lockd port setting in nfs.int script
840
841* Wed Oct 22 2003 Steve Dickson <SteveD@RedHat.com>
842- Upgrated to 1.0.6
843- Commented out the acl path for fedora
844
845* Thu Aug  27 2003 Steve Dickson <SteveD@RedHat.com>
846- Added the setting of lockd ports via sysclt interface
847- Removed queue setting code since its no longer needed
848
849* Thu Aug  7 2003 Steve Dickson <SteveD@RedHat.com>
850- Added back the acl patch Taroon b2
851
852* Wed Jul 23 2003 Steve Dickson <SteveD@RedHat.com>
853- Commented out the acl patch (for now)
854
855* Wed Jul 21 2003 Steve Dickson <SteveD@RedHat.com>
856- Upgrated to 1.0.5
857
858* Wed Jun 18 2003 Steve Dickson <SteveD@RedHat.com>
859- Added security update
860- Fixed the drop-privs.patch which means the chroot
861patch could be removed.
862
863* Mon Jun  9 2003 Steve Dickson <SteveD@RedHat.com>
864- Defined the differ kinds of debugging avaliable for mountd in
865the mountd man page.
866
867* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
868- rebuilt
869
870* Tue Jun  3 2003 Steve Dickson <SteveD@RedHat.com>
871- Upgraded to 1.0.3
872- Fixed numerous bugs in init scrips
873- Added nfsstat overflow patch
874
875* Thu Jan 23 2003 Tim Powers <timp@redhat.com> 1.0.1-2.9
876- rebuild
877
878* Fri Dec 13 2002 Daniel J Walsh <dwalsh@redhat.com>
879- change init script to not start rpc.lock if already running
880
881* Wed Dec 11 2002 Daniel J Walsh <dwalsh@redhat.com>
882- Moved access code to be after dropping privs
883
884* Mon Nov 18 2002 Stephen C. Tweedie <sct@redhat.com>
885- Build with %%configure
886- Add nhfsgraph, nhfsnums and nhfsrun to the files list
887
888* Mon Nov 11 2002 Stephen C. Tweedie <sct@redhat.com>
889- Don't drop privs until we've bound the notification socket
890
891* Thu Nov  7 2002 Stephen C. Tweedie <sct@redhat.com>
892- Ignore SIGPIPE in rpc.mountd
893
894* Thu Aug  1 2002 Bob Matthews <bmatthews@redhat.com>
895- Add Sean O'Connell's <sean@ee.duke.edu> nfs control tweaks
896- to nfs init script.
897
898* Mon Jul 22 2002 Bob Matthews <bmatthews@redhat.com>
899- Move to nfs-utils-1.0.1
900
901* Mon Feb 18 2002 Bob Matthews <bmatthews@redhat.com>
902- "service nfs restart" should start services even if currently
903-   not running (#59469)
904- bump version to 0.3.3-4
905
906* Wed Oct  3 2001 Bob Matthews <bmatthews@redhat.com>
907- Move to nfs-utils-0.3.3
908- Make nfsnobody a system account (#54221)
909
910* Tue Aug 21 2001 Bob Matthews <bmatthews@redhat.com>
911- if UID 65534 is unassigned, add user nfsnobody (#22685)
912
913* Mon Aug 20 2001 Bob Matthews <bmatthews@redhat.com>
914- fix typo in nfs init script which prevented MOUNTD_PORT from working (#52113)
915
916* Tue Aug  7 2001 Bob Matthews <bmatthews@redhat.com>
917- nfs init script shouldn't fail if /etc/exports doesn't exist (#46432)
918
919* Fri Jul 13 2001 Bob Matthews <bmatthews@redhat.com>
920- Make %%pre useradd consistent with other Red Hat packages.
921
922* Tue Jul 03 2001 Michael K. Johnson <johnsonm@redhat.com>
923- Added sh-utils dependency for uname -r in nfs init script
924
925* Tue Jun 12 2001 Bob Matthews <bmatthews@redhat.com>
926- make non RH kernel release strings scan correctly in
927-   nfslock init script (#44186)
928
929* Mon Jun 11 2001 Bob Matthews <bmatthews@redhat.com>
930- don't install any rquota pages in _mandir: (#39707, #44119)
931- don't try to manipulate rpc.rquotad in init scripts
932-   unless said program actually exists: (#43340)
933
934* Tue Apr 10 2001 Preston Brown <pbrown@redhat.com>
935- don't translate initscripts for 6.x
936
937* Tue Apr 10 2001 Michael K. Johnson <johnsonm@redhat.com>
938- do not start lockd on kernel 2.2.18 or higher (done automatically)
939
940* Fri Mar 30 2001 Preston Brown <pbrown@redhat.com>
941- don't use rquotad from here now; quota package contains a version that
942  works with 2.4 (#33738)
943
944* Tue Mar 12 2001 Bob Matthews <bmatthews@redhat.com>
945- Statd logs at LOG_DAEMON rather than LOG_LOCAL5
946- s/nfs/\$0/ where appropriate in init scripts
947
948* Tue Mar  6 2001 Jeff Johnson <jbj@redhat.com>
949- Move to nfs-utils-0.3.1
950
951* Wed Feb 14 2001 Bob Matthews <bmatthews@redhat.com>
952- #include <time.h> patch
953
954* Mon Feb 12 2001 Bob Matthews <bmatthews@redhat.com>
955- Really enable netgroups
956
957* Mon Feb  5 2001 Bernhard Rosenkraenzer <bero@redhat.com>
958- i18nize initscripts
959
960* Fri Jan 19 2001 Bob Matthews <bmatthews@redhat.com>
961- Increased {s,r}blen in rpcmisc.c:makesock to accommodate eepro100
962
963* Tue Jan 16 2001 Bob Matthews <bmatthews@redhat.com>
964- Hackish fix in build section to enable netgroups
965
966* Wed Jan  3 2001 Bob Matthews <bmatthews@redhat.com>
967- Fix incorrect file specifications in statd manpage.
968- Require gawk 'cause it's used in nfslock init script.
969
970* Thu Dec 13 2000 Bob Matthews <bmatthews@redhat.com>
971- Require sed because it's used in nfs init script
972
973* Tue Dec 12 2000 Bob Matthews <bmatthews@redhat.com>
974- Don't do a chroot(2) after dropping privs, in statd.
975
976* Mon Dec 11 2000 Bob Matthews <bmatthews@redhat.com>
977- NFSv3 if kernel >= 2.2.18, detected in init script
978
979* Thu Nov 23 2000 Florian La Roche <Florian.LaRoche@redhat.de>
980- update to 0.2.1
981
982* Tue Nov 14 2000 Bill Nottingham <notting@redhat.com>
983- don't start lockd on 2.4 kernels; it's unnecessary
984
985* Tue Sep  5 2000 Florian La Roche <Florian.LaRoche@redhat.com>
986- more portable fix for mandir
987
988* Sun Sep  3 2000 Florian La Roche <Florian.LaRoche@redhat.com>
989- update to 0.2-release
990
991* Fri Sep  1 2000 Florian La Roche <Florian.LaRoche@redhat.com>
992- fix reload script
993
994* Thu Aug 31 2000 Florian La Roche <Florian.LaRoche@redhat.com>
995- update to 0.2 from CVS
996- adjust statd-drop-privs patch
997- disable tcp_wrapper support
998
999* Wed Aug  2 2000 Bill Nottingham <notting@redhat.com>
1000- fix stop priority of nfslock
1001
1002* Tue Aug  1 2000 Bill Nottingham <notting@redhat.com>
1003- um, actually *include and apply* the statd-drop-privs patch
1004
1005* Mon Jul 24 2000 Bill Nottingham <notting@redhat.com>
1006- fix init script ordering (#14502)
1007
1008* Sat Jul 22 2000 Bill Nottingham <notting@redhat.com>
1009- run statd chrooted and as non-root
1010- add prereqs
1011
1012* Tue Jul 18 2000 Trond Eivind Glomsrd <teg@redhat.com>
1013- use "License", not "Copyright"
1014- use %%{_tmppath} and %%{_mandir}
1015
1016* Mon Jul 17 2000 Matt Wilson <msw@redhat.com>
1017- built for next release
1018
1019* Mon Jul 17 2000 Matt Wilson <msw@redhat.com>
1020- 0.1.9.1
1021- remove patch0, has been integrated upstream
1022
1023* Wed Feb  9 2000 Bill Nottingham <notting@redhat.com>
1024- the wonderful thing about triggers, is triggers are wonderful things...
1025
1026* Thu Feb 03 2000 Cristian Gafton <gafton@redhat.com>
1027- switch to nfs-utils as the base tree
1028- fix the statfs patch for the new code base
1029- single package that obsoletes everything we had before (if I am to keep
1030  some traces of my sanity with me...)
1031
1032* Mon Jan 17 2000 Preston Brown <pbrown@redhat.com>
1033- use statfs syscall instead of stat to determinal optimal blksize
Note: See TracBrowser for help on using the repository browser.