]>
Commit | Line | Data |
---|---|---|
4af864e6 | 1 | # TODO |
6a066142 JR |
2 | # - should unmount /proc/fs/nfsd and /var/lib/nfs/rpc_pipefs at package |
3 | # uninstall (or in service nfs stop) | |
5b70fba4 | 4 | # |
7e12652e | 5 | # Conditional build: |
a72845ed | 6 | %bcond_with krb5 # build with MIT Kerberos (+libgssglue) instead of Heimdal |
af480148 | 7 | %bcond_without tirpc # use librpcsecgss instead of libtirpc |
7e12652e | 8 | # |
cb62e4f3 | 9 | Summary: Kernel NFS server |
ada059e5 ER |
10 | Summary(pl.UTF-8): Działający na poziomie jądra serwer NFS |
11 | Summary(pt_BR.UTF-8): Os utilitários para o cliente e servidor NFS do Linux | |
12 | Summary(ru.UTF-8): Утилиты для NFS и демоны поддержки для NFS-сервера ядра | |
13 | Summary(uk.UTF-8): Утиліти для NFS та демони підтримки для NFS-сервера ядра | |
cb62e4f3 | 14 | Name: nfs-utils |
e8168b46 | 15 | Version: 1.2.3 |
f9b212bd | 16 | Release: 2 |
a243ee1c | 17 | License: GPL v2 |
cb62e4f3 | 18 | Group: Networking/Daemons |
655ec3a4 | 19 | Source0: http://www.kernel.org/pub/linux/utils/nfs/%{name}-%{version}.tar.bz2 |
e8168b46 | 20 | # Source0-md5: 1131dc5f27c4f3905a6e7ee0d594fd4d |
b8d3abb0 JR |
21 | #Source1: ftp://ftp.linuxnfs.sourceforge.org/pub/nfs/nfs.doc.tar.gz |
22 | Source1: nfs.doc.tar.gz | |
9a665736 | 23 | # Source1-md5: ae7db9c61c5ad04f83bb99e5caed73da |
1bc6345f JR |
24 | Source2: nfs.init |
25 | Source3: nfslock.init | |
75e03a22 JR |
26 | Source4: nfsfs.init |
27 | Source5: rpcidmapd.init | |
28 | Source6: rpcgssd.init | |
29 | Source7: rpcsvcgssd.init | |
30 | Source8: nfs.sysconfig | |
31 | Source9: nfslock.sysconfig | |
32 | Source10: nfsfs.sysconfig | |
12b255f7 JR |
33 | Patch0: %{name}-install.patch |
34 | Patch1: %{name}-statdpath.patch | |
97e076ab JR |
35 | Patch2: %{name}-subsys.patch |
36 | Patch3: %{name}-union-mount.patch | |
37 | Patch4: %{name}-kerberos-ac.patch | |
38 | Patch5: %{name}-no_libgssapi.patch | |
39 | Patch6: %{name}-pkgconfig_ac.patch | |
40 | Patch7: %{name}-heimdal_functions.patch | |
e406194a | 41 | URL: http://nfs.sourceforge.net/ |
385bb326 | 42 | BuildRequires: autoconf >= 2.59 |
4f5693d9 | 43 | BuildRequires: automake |
6b12a6b6 | 44 | BuildRequires: cpp |
7c78342b | 45 | BuildRequires: libblkid-devel |
f6e2d8d1 | 46 | BuildRequires: libcap-devel |
51dfb953 | 47 | BuildRequires: libevent-devel >= 1.2 |
12b255f7 | 48 | BuildRequires: libnfsidmap-devel >= 0.21-3 |
f45e2dff | 49 | BuildRequires: libtool |
4ae359cd | 50 | BuildRequires: libwrap-devel |
385bb326 | 51 | BuildRequires: pkgconfig |
af480148 JB |
52 | %if %{with tirpc} |
53 | BuildRequires: libtirpc-devel >= 1:0.1.10-4 | |
54 | %else | |
55 | BuildRequires: librpcsecgss-devel >= 0.16 | |
56 | %endif | |
57 | %if %{with krb5} | |
58 | BuildRequires: krb5-devel >= 1.6 | |
59 | BuildRequires: libgssglue-devel >= 0.1 | |
60 | %else | |
61 | BuildRequires: heimdal-devel >= 1.0 | |
af480148 | 62 | %endif |
a243ee1c JB |
63 | # lucid context fields mismatch with current version of spkm3.h |
64 | BuildConflicts: gss_mech_spkm3-devel | |
8a834723 | 65 | Requires(post): fileutils |
c5c607cb ER |
66 | Requires(post): sed >= 4.0 |
67 | Requires(post,preun): /sbin/chkconfig | |
68 | Requires: %{name}-common = %{version}-%{release} | |
4ec71bdf | 69 | Requires: rc-scripts >= 0.4.1.5 |
f6e2d8d1 | 70 | Requires: rpcbind >= 0.1.7 |
c5c607cb | 71 | Requires: setup >= 2.4.6-7 |
1bc6345f | 72 | Provides: nfsdaemon |
8a834723 JB |
73 | Obsoletes: knfsd |
74 | Obsoletes: nfs-server | |
c5c607cb | 75 | Obsoletes: nfsdaemon |
8a834723 | 76 | Conflicts: kernel < 2.2.5 |
97e076ab | 77 | Conflicts: krb5-common < 1.7 |
1bc6345f | 78 | ExcludeArch: armv4l |
d48d450b | 79 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
1bc6345f JR |
80 | |
81 | %description | |
0011b22d | 82 | This is the *new* kernel NFS server and related tools. It provides a |
83 | much higher level of performance than the traditional Linux user-land | |
84 | NFS server. | |
1bc6345f | 85 | |
d44bd88d JR |
86 | %description -l pl.UTF-8 |
87 | To jest *nowy* działający na poziomie jądra serwer NFS oraz związane z | |
88 | nim narzędzia. Serwer ten dostarcza znacznie większą wydajność niż | |
89 | tradycyjny, działający na poziomie użytkownika serwer NFS. | |
1bc6345f | 90 | |
d44bd88d JR |
91 | %description -l pt_BR.UTF-8 |
92 | O pacote nfs-utils provê os utilitários para o cliente e servidor NFS | |
f8d9e6d5 | 93 | do Linux. |
d48d450b | 94 | |
d44bd88d JR |
95 | %description -l ru.UTF-8 |
96 | Пакет nfs-utils предоставляет демона для NFS-сервера, включенного в | |
97 | ядро, и сопутствующие утилиты, которые обеспечивают намного большую | |
98 | производительность, чем традиционные Linux NFS-сервера, используемые | |
99 | большинством пользователей. | |
011b72fa | 100 | |
d44bd88d JR |
101 | %description -l uk.UTF-8 |
102 | Пакет nfs-utils надає демона для NFS-сервера, вбудованого в ядро, та | |
103 | супутні утиліти, які забезпечують набагато більшу продуктивність, ніж | |
104 | традиційні Linux NFS-сервери, які використовує більшість користувачів. | |
011b72fa | 105 | |
1bc6345f | 106 | %package clients |
a4d8ac59 | 107 | Summary: Clients for connecting to a remote NFS server |
ada059e5 | 108 | Summary(pl.UTF-8): Klienci do łączenia się ze zdalnym serwerem NFS |
1bc6345f | 109 | Group: Networking |
8a834723 | 110 | Requires(post,preun): /sbin/chkconfig |
365015e3 | 111 | Requires: %{name}-common = %{version}-%{release} |
c5c607cb ER |
112 | Requires: psmisc |
113 | Requires: rc-scripts | |
a4d8ac59 | 114 | Provides: nfs-server-clients |
c5c607cb | 115 | Provides: nfsclient |
523e5742 | 116 | Obsoletes: knfsd-clients |
c5c607cb ER |
117 | Obsoletes: nfs-server-clients |
118 | Obsoletes: nfsclient | |
97e076ab | 119 | Conflicts: krb5-common < 1.7 |
1bc6345f JR |
120 | |
121 | %description clients | |
122 | The nfs-server-clients package contains the showmount program. | |
123 | Showmount queries the mount daemon on a remote host for information | |
0011b22d | 124 | about the NFS (Network File System) server on the remote host. For |
1bc6345f | 125 | example, showmount can display the clients which are mounted on that |
0011b22d | 126 | host. This package is not needed to mount NFS volumes. |
1bc6345f | 127 | |
d44bd88d JR |
128 | %description clients -l pl.UTF-8 |
129 | Pakiet zawiera program showmount służący do odpytywania serwera NFS. | |
0fb1eec5 | 130 | Showmount pyta demona na zdalnej maszynie o informacje NFS na zdalnym |
d44bd88d | 131 | hoście. Na przykład, showmount potrafi pokazać klientów, którzy są |
26aacf7e | 132 | zamountowani na tym serwerze. Ten pakiet nie jest konieczny do |
d44bd88d | 133 | zamountowania zasobów NFS. |
1bc6345f JR |
134 | |
135 | %package lock | |
a4d8ac59 | 136 | Summary: Programs for NFS file locking |
ada059e5 | 137 | Summary(pl.UTF-8): Programy do obsługi blokowania plików poprzez NFS (lock) |
d8de81c5 | 138 | Group: Networking |
8a834723 | 139 | Requires(post,preun): /sbin/chkconfig |
c5c607cb | 140 | Requires: rc-scripts |
f6e2d8d1 | 141 | Requires: rpcbind >= 0.1.7 |
0048f570 | 142 | Provides: group(rpcstatd) |
1bc6345f | 143 | Provides: nfslockd |
f6e2d8d1 | 144 | Provides: user(rpcstatd) |
8a834723 | 145 | Obsoletes: knfsd-lock |
c5c607cb | 146 | Obsoletes: nfslockd |
1bc6345f JR |
147 | |
148 | %description lock | |
149 | The nfs-lock pacage contains programs which support the NFS file lock. | |
150 | Install nfs-lock if you want to use file lock over NFS. | |
151 | ||
d44bd88d JR |
152 | %description lock -l pl.UTF-8 |
153 | Ten pakiet zawiera programy umożliwiające wykonywanie blokowania | |
154 | plików (file locking) poprzez NFS. | |
1bc6345f | 155 | |
365015e3 AM |
156 | %package common |
157 | Summary: Common programs for NFS | |
ada059e5 | 158 | Summary(pl.UTF-8): Wspólne programy do obsługi NFS |
365015e3 | 159 | Group: Networking |
12b255f7 | 160 | Requires: libnfsidmap >= 0.21-3 |
991bb874 | 161 | Conflicts: mount < 2.13-0.pre7.1 |
365015e3 AM |
162 | |
163 | %description common | |
164 | Common programs for NFS. | |
165 | ||
d44bd88d JR |
166 | %description common -l pl.UTF-8 |
167 | Wspólne programy do obsługi NFS. | |
365015e3 | 168 | |
1bc6345f | 169 | %prep |
d01055c8 | 170 | %setup -q -a1 |
1bc6345f | 171 | %patch0 -p1 |
f4ada66b | 172 | %patch1 -p1 |
97e076ab | 173 | %patch2 -p1 |
b54d7789 | 174 | %patch3 -p1 |
655ec3a4 | 175 | %patch4 -p1 |
a72845ed JB |
176 | %if %{without krb5} |
177 | %patch5 -p1 | |
7e12652e | 178 | %patch6 -p1 |
97e076ab | 179 | %patch7 -p0 |
a72845ed | 180 | %endif |
c4a4910b | 181 | |
1bc6345f | 182 | %build |
82ae84d5 AG |
183 | %{__libtoolize} |
184 | %{__aclocal} -I aclocal | |
e8e7d0e7 | 185 | %{__autoconf} |
82ae84d5 AG |
186 | %{__autoheader} |
187 | %{__automake} | |
1bc6345f | 188 | %configure \ |
1bc6345f | 189 | --enable-nfsv3 \ |
655ec3a4 JR |
190 | --enable-nfsv4 \ |
191 | --enable-gss \ | |
192 | --enable-mount \ | |
af480148 | 193 | --%{?with_tirpc:en}%{!?with_tirpc:dis}able-tirpc \ |
655ec3a4 | 194 | --enable-ipv6 \ |
f45e2dff | 195 | --with-statedir=/var/lib/nfs \ |
655ec3a4 JR |
196 | --with-statduser=rpcstatd \ |
197 | --with-start-statd=%{_sbindir}/start-statd \ | |
198 | --with-tcp-wrappers \ | |
7e12652e | 199 | --with-krb5-config=%{_bindir}/krb5-config |
4f5693d9 | 200 | |
cee80e09 | 201 | %{__make} all |
1bc6345f JR |
202 | |
203 | %install | |
204 | rm -rf $RPM_BUILD_ROOT | |
655ec3a4 JR |
205 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/{rc.d/init.d,sysconfig} \ |
206 | $RPM_BUILD_ROOT%{_var}/lib/nfs/{rpc_pipefs,v4recovery} | |
1bc6345f | 207 | |
e4300aca | 208 | %{__make} install \ |
4f5693d9 | 209 | DESTDIR=$RPM_BUILD_ROOT |
1bc6345f | 210 | |
6a066142 JR |
211 | cat >$RPM_BUILD_ROOT%{_sbindir}/start-statd <<EOF |
212 | #!/bin/sh | |
213 | # mount.nfs calls this script when mounting a filesystem with locking | |
214 | # enabled, but when statd does not seem to be running (based on | |
215 | # /var/run/rpc.statd.pid). | |
216 | exec /sbin/service nfslock start | |
217 | EOF | |
218 | ||
219 | sed -e "s|#!/bin/bash|#!/bin/sh|" utils/gssd/gss_destroy_creds > $RPM_BUILD_ROOT%{_sbindir}/gss_destroy_creds | |
220 | ||
0048f570 | 221 | mv $RPM_BUILD_ROOT%{_sbindir}/rpcdebug $RPM_BUILD_ROOT/sbin |
4f5693d9 | 222 | |
1bc6345f JR |
223 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nfs |
224 | install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/nfslock | |
75e03a22 JR |
225 | install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/nfsfs |
226 | install %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/idmapd | |
227 | install %{SOURCE6} $RPM_BUILD_ROOT/etc/rc.d/init.d/gssd | |
228 | install %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/svcgssd | |
229 | install %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/nfsd | |
230 | install %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/nfslock | |
231 | install %{SOURCE10} $RPM_BUILD_ROOT/etc/sysconfig/nfsfs | |
1bc6345f | 232 | |
d48d450b | 233 | > $RPM_BUILD_ROOT%{_var}/lib/nfs/rmtab |
234 | > $RPM_BUILD_ROOT%{_sysconfdir}/exports | |
1bc6345f | 235 | |
727dd6c6 | 236 | rm $RPM_BUILD_ROOT%{_mandir}/man8/rpc.{mountd,nfsd,statd,sm-notify}.8 |
655ec3a4 | 237 | rm $RPM_BUILD_ROOT%{_mandir}/man8/rpc.{svcgssd,gssd,idmapd}.8 |
1bc6345f JR |
238 | echo ".so mountd.8" > $RPM_BUILD_ROOT%{_mandir}/man8/rpc.mountd.8 |
239 | echo ".so nfsd.8" > $RPM_BUILD_ROOT%{_mandir}/man8/rpc.nfsd.8 | |
1bc6345f | 240 | echo ".so statd.8" > $RPM_BUILD_ROOT%{_mandir}/man8/rpc.statd.8 |
6a066142 | 241 | echo ".so sm-notify.8" > $RPM_BUILD_ROOT%{_mandir}/man8/rpc.sm-notify.8 |
4f5693d9 JR |
242 | echo ".so gssd.8" > $RPM_BUILD_ROOT%{_mandir}/man8/rpc.gssd.8 |
243 | echo ".so idmapd.8" > $RPM_BUILD_ROOT%{_mandir}/man8/rpc.idmapd.8 | |
244 | echo ".so svcgssd.8" > $RPM_BUILD_ROOT%{_mandir}/man8/rpc.svcgssd.8 | |
1bc6345f | 245 | |
9df625b5 | 246 | touch $RPM_BUILD_ROOT/var/lib/nfs/xtab |
1bc6345f | 247 | |
959e2a35 AM |
248 | ln -sf /bin/true $RPM_BUILD_ROOT/sbin/fsck.nfs |
249 | ||
11fad0cc | 250 | cp -a nfs html |
1bc6345f JR |
251 | |
252 | %clean | |
253 | rm -rf $RPM_BUILD_ROOT | |
254 | ||
255 | %post | |
f511a355 | 256 | /sbin/chkconfig --add nfs |
c5c607cb | 257 | %service nfs restart "NFS daemon" |
809898a3 | 258 | /sbin/chkconfig --add svcgssd |
6a066142 | 259 | %service svcgssd restart "RPC svcgssd" |
1bc6345f JR |
260 | |
261 | %preun | |
f511a355 | 262 | if [ "$1" = "0" ]; then |
c5c607cb | 263 | %service nfs stop |
f511a355 | 264 | /sbin/chkconfig --del nfs |
809898a3 JR |
265 | %service svcgssd stop |
266 | /sbin/chkconfig --del svcgssd | |
f511a355 | 267 | fi |
1bc6345f | 268 | |
e661c6c4 | 269 | %post clients |
f511a355 | 270 | /sbin/chkconfig --add nfsfs |
c5c607cb | 271 | %service nfsfs restart |
809898a3 | 272 | /sbin/chkconfig --add gssd |
6a066142 | 273 | %service gssd restart "RPC gssd" |
e661c6c4 JR |
274 | |
275 | %preun clients | |
f511a355 | 276 | if [ "$1" = "0" ]; then |
c5c607cb | 277 | %service nfsfs stop |
f511a355 | 278 | /sbin/chkconfig --del nfsfs |
809898a3 JR |
279 | %service gssd stop |
280 | /sbin/chkconfig --del gssd | |
f511a355 | 281 | fi |
e661c6c4 | 282 | |
0048f570 JR |
283 | %pre lock |
284 | %groupadd -g 191 rpcstatd | |
285 | %useradd -u 191 -d /var/lib/nfs/statd -s /bin/false -c "RPC statd user" -g rpcstatd rpcstatd | |
286 | ||
1bc6345f | 287 | %post lock |
f511a355 | 288 | /sbin/chkconfig --add nfslock |
b474bf5e | 289 | %service nfslock restart "RPC statd" |
1bc6345f JR |
290 | |
291 | %preun lock | |
f511a355 | 292 | if [ "$1" = "0" ]; then |
c5c607cb | 293 | %service nfslock stop |
f511a355 | 294 | /sbin/chkconfig --del nfslock |
295 | fi | |
1bc6345f | 296 | |
0048f570 JR |
297 | %postun lock |
298 | if [ "$1" = "0" ]; then | |
299 | %userremove rpcstatd | |
300 | %groupremove rpcstatd | |
301 | fi | |
302 | ||
809898a3 JR |
303 | %post common |
304 | /sbin/chkconfig --add idmapd | |
6a066142 | 305 | %service idmapd restart "RPC idmapd" |
809898a3 JR |
306 | |
307 | %preun common | |
308 | if [ "$1" = "0" ]; then | |
309 | %service idmapd stop | |
310 | /sbin/chkconfig --del idmapd | |
311 | fi | |
809898a3 | 312 | |
6f71fa60 | 313 | %triggerpostun -- %{name} < 1.1.0-0.rc1.1 |
0048f570 | 314 | /sbin/chkconfig nfs reset |
6a066142 | 315 | /sbin/chkconfig svcgssd reset |
0048f570 | 316 | |
6f71fa60 | 317 | %triggerpostun lock -- %{name}-lock < 1.1.0-0.rc1.1 |
0048f570 JR |
318 | /sbin/chkconfig nfslock reset |
319 | ||
6a066142 | 320 | %triggerpostun clients -- %{name}-clients < 1.1.0-0.rc1.1 |
11fad0cc ER |
321 | if [ -f /etc/sysconfig/nfsclient.rpmsave ]; then |
322 | mv -f /etc/sysconfig/nfsfs{,.rpmnew} | |
323 | mv -f /etc/sysconfig/nfsclient.rpmsave /etc/sysconfig/nfsfs | |
324 | fi | |
0048f570 | 325 | /sbin/chkconfig nfsfs reset |
6a066142 | 326 | /sbin/chkconfig gssd reset |
6a066142 | 327 | |
6f71fa60 | 328 | %triggerpostun common -- %{name}-common < 1.1.0-0.rc1.1 |
6a066142 | 329 | /sbin/chkconfig idmapd reset |
11fad0cc | 330 | |
1bc6345f JR |
331 | %files |
332 | %defattr(644,root,root,755) | |
4f5693d9 | 333 | %doc ChangeLog README html |
1bc6345f | 334 | %attr(755,root,root) /sbin/rpcdebug |
959e2a35 | 335 | %attr(755,root,root) /sbin/fsck.nfs |
1bc6345f JR |
336 | %attr(755,root,root) %{_sbindir}/exportfs |
337 | %attr(755,root,root) %{_sbindir}/rpc.mountd | |
338 | %attr(755,root,root) %{_sbindir}/rpc.nfsd | |
a72845ed | 339 | %attr(755,root,root) %{_sbindir}/rpc.svcgssd |
1bc6345f | 340 | %attr(755,root,root) %{_sbindir}/nfsstat |
1bc6345f JR |
341 | |
342 | %attr(754,root,root) /etc/rc.d/init.d/nfs | |
a72845ed | 343 | %attr(754,root,root) /etc/rc.d/init.d/svcgssd |
1bc6345f | 344 | |
5b70fba4 JB |
345 | %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/exports |
346 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nfsd | |
347 | %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/nfs/xtab | |
348 | %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/nfs/etab | |
349 | %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/nfs/rmtab | |
1bc6345f | 350 | |
8b926d92 AG |
351 | %{_mandir}/man5/exports.5* |
352 | %{_mandir}/man7/nfsd.7* | |
1bc6345f JR |
353 | %{_mandir}/man8/exportfs.8* |
354 | %{_mandir}/man8/mountd.8* | |
355 | %{_mandir}/man8/nfsd.8* | |
356 | %{_mandir}/man8/nfsstat.8* | |
357 | %{_mandir}/man8/rpc.mountd.8* | |
358 | %{_mandir}/man8/rpc.nfsd.8* | |
a72845ed | 359 | %{_mandir}/man8/rpc.svcgssd.8* |
0048f570 | 360 | %{_mandir}/man8/rpcdebug.8* |
a72845ed | 361 | %{_mandir}/man8/svcgssd.8* |
ea4a6f67 | 362 | |
1bc6345f JR |
363 | %files lock |
364 | %defattr(644,root,root,755) | |
0048f570 | 365 | %attr(700,rpcstatd,rpcstatd) %dir %{_var}/lib/nfs/statd |
655ec3a4 JR |
366 | %attr(700,rpcstatd,rpcstatd) %dir %{_var}/lib/nfs/statd/sm |
367 | %attr(700,rpcstatd,rpcstatd) %dir %{_var}/lib/nfs/statd/sm.bak | |
368 | %attr(600,rpcstatd,rpcstatd) %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/nfs/statd/state | |
1bc6345f | 369 | %attr(755,root,root) %{_sbindir}/rpc.statd |
100fd575 JR |
370 | %attr(755,root,root) %{_sbindir}/sm-notify |
371 | %attr(755,root,root) %{_sbindir}/start-statd | |
1bc6345f | 372 | %attr(754,root,root) /etc/rc.d/init.d/nfslock |
5b70fba4 | 373 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nfslock |
a72845ed JB |
374 | %{_mandir}/man8/rpc.sm-notify.8* |
375 | %{_mandir}/man8/rpc.statd.8* | |
376 | %{_mandir}/man8/sm-notify.8* | |
377 | %{_mandir}/man8/statd.8* | |
1bc6345f JR |
378 | |
379 | %files clients | |
380 | %defattr(644,root,root,755) | |
e661c6c4 | 381 | %attr(754,root,root) /etc/rc.d/init.d/nfsfs |
11fad0cc | 382 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nfsfs |
0048f570 | 383 | %attr(4755,root,root) /sbin/mount.nfs |
0048f570 | 384 | %attr(4755,root,root) /sbin/umount.nfs |
655ec3a4 | 385 | %attr(4755,root,root) /sbin/mount.nfs4 |
0048f570 | 386 | %attr(4755,root,root) /sbin/umount.nfs4 |
e8168b46 JR |
387 | %attr(755,root,root) %{_sbindir}/mountstats |
388 | %attr(755,root,root) %{_sbindir}/nfsiostat | |
a72845ed | 389 | %attr(755,root,root) %{_sbindir}/showmount |
27439ad6 | 390 | %attr(755,root,root) %{_sbindir}/rpc.gssd |
a72845ed JB |
391 | %attr(754,root,root) /etc/rc.d/init.d/gssd |
392 | %{_mandir}/man8/gssd.8* | |
393 | %{_mandir}/man8/mount.nfs.8* | |
e8168b46 JR |
394 | %{_mandir}/man8/mountstats.8* |
395 | %{_mandir}/man8/nfsiostat.8* | |
a72845ed JB |
396 | %{_mandir}/man8/rpc.gssd.8* |
397 | %{_mandir}/man8/showmount.8* | |
398 | %{_mandir}/man8/umount.nfs.8* | |
ea4a6f67 | 399 | |
365015e3 AM |
400 | %files common |
401 | %defattr(644,root,root,755) | |
a72845ed JB |
402 | %attr(755,root,root) %{_sbindir}/gss_clnt_send_err |
403 | %attr(755,root,root) %{_sbindir}/gss_destroy_creds | |
404 | %attr(755,root,root) %{_sbindir}/rpc.idmapd | |
405 | %attr(754,root,root) /etc/rc.d/init.d/idmapd | |
f6e2d8d1 | 406 | %dir %{_var}/lib/nfs |
407 | %dir %{_var}/lib/nfs/rpc_pipefs | |
408 | %dir %{_var}/lib/nfs/v4recovery | |
a72845ed JB |
409 | %{_mandir}/man5/nfs.5* |
410 | %{_mandir}/man8/idmapd.8* | |
411 | %{_mandir}/man8/rpc.idmapd.8* |