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