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

Revision 521, 34.4 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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