source: projects/specs/trunk/n/nfs-utils/nfs-utils-vl.spec @ 5512

Revision 5512, 35.0 KB checked in by daisuke, 12 years ago (diff)

nfs-utils: update to 1.2.5

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