]> git.pld-linux.org Git - packages/nfs-utils.git/blob - nfs-utils.spec
- rel 4
[packages/nfs-utils.git] / nfs-utils.spec
1 #
2 # Conditional build:
3 %bcond_with     krb5            # build with MIT Kerberos (+libgssglue) instead of Heimdal
4 %bcond_without  tirpc           # use librpcsecgss instead of libtirpc
5 #
6 Summary:        Kernel NFS server
7 Summary(pl.UTF-8):      Działający na poziomie jądra serwer NFS
8 Summary(pt_BR.UTF-8):   Os utilitários para o cliente e servidor NFS do Linux
9 Summary(ru.UTF-8):      Утилиты для NFS и демоны поддержки для NFS-сервера ядра
10 Summary(uk.UTF-8):      Утиліти для NFS та демони підтримки для NFS-сервера ядра
11 Name:           nfs-utils
12 Version:        1.2.5
13 Release:        4
14 License:        GPL v2
15 Group:          Networking/Daemons
16 #Source0:       http://www.kernel.org/pub/linux/utils/nfs/%{name}-%{version}.tar.bz2
17 Source0:        http://downloads.sourceforge.net/nfs/%{name}-%{version}.tar.bz2
18 # Source0-md5:  8395ac770720b83c5c469f88306d7765
19 #Source1:       ftp://ftp.linuxnfs.sourceforge.org/pub/nfs/nfs.doc.tar.gz
20 Source1:        nfs.doc.tar.gz
21 # Source1-md5:  ae7db9c61c5ad04f83bb99e5caed73da
22 Source2:        nfs.init
23 Source3:        nfslock.init
24 Source4:        nfsfs.init
25 Source5:        rpcidmapd.init
26 Source6:        rpcgssd.init
27 Source7:        rpcsvcgssd.init
28 Source8:        nfs.sysconfig
29 Source9:        nfslock.sysconfig
30 Source10:       nfsfs.sysconfig
31 Source11:       blkmapd.init
32 Source100:      proc-fs-nfsd.mount
33 Source101:      var-lib-nfs-rpc_pipefs.mount
34 Source102:      nfsd.service
35 Source103:      nfs-blkmapd.service
36 Source104:      nfs-exportfs.service
37 Source105:      nfs-gssd.service
38 Source106:      nfs-idmapd.service
39 Source107:      nfs-lock.service
40 Source108:      nfs-mountd.service
41 Source109:      nfs-svcgssd.service
42 Source110:      nfsd.postconfig
43 Source111:      nfsd.preconfig
44 Source112:      nfs-lock.preconfig
45 Patch0:         %{name}-install.patch
46 Patch1:         %{name}-statdpath.patch
47 Patch2:         %{name}-subsys.patch
48 Patch3:         %{name}-union-mount.patch
49 Patch4:         %{name}-heimdal.patch
50 Patch5:         %{name}-heimdal-kcm.patch
51 URL:            http://nfs.sourceforge.net/
52 BuildRequires:  autoconf >= 2.59
53 BuildRequires:  automake
54 BuildRequires:  cpp
55 BuildRequires:  keyutils-devel
56 BuildRequires:  libblkid-devel >= 1.40
57 BuildRequires:  libmount-devel
58 BuildRequires:  libcap-devel
59 BuildRequires:  device-mapper-devel
60 BuildRequires:  libevent-devel >= 1.2
61 BuildRequires:  libnfsidmap-devel >= 0.24
62 BuildRequires:  libtool
63 BuildRequires:  libwrap-devel
64 BuildRequires:  pkgconfig
65 BuildRequires:  rpm-pythonprov
66 %if %{with tirpc}
67 BuildRequires:  libtirpc-devel >= 1:0.1.10-4
68 %else
69 BuildRequires:  librpcsecgss-devel >= 0.16
70 %endif
71 %if %{with krb5}
72 BuildRequires:  krb5-devel >= 1.6
73 BuildRequires:  libgssglue-devel >= 0.3
74 %else
75 BuildRequires:  heimdal-devel >= 1.0
76 %endif
77 BuildRequires:  rpmbuild(macros) >= 1.623
78 # lucid context fields mismatch with current version of spkm3.h
79 BuildConflicts: gss_mech_spkm3-devel
80 Requires(post): fileutils
81 Requires(post): sed >= 4.0
82 Requires(post,preun):   /sbin/chkconfig
83 Requires:       %{name}-common = %{version}-%{release}
84 Requires:       libevent >= 2.0.14-2
85 Requires:       rc-scripts >= 0.4.1.5
86 Requires:       rpcbind >= 0.1.7
87 Requires:       setup >= 2.4.6-7
88 Provides:       nfsdaemon
89 Obsoletes:      knfsd
90 Obsoletes:      nfs-server
91 Obsoletes:      nfsdaemon
92 Conflicts:      kernel < 2.2.5
93 Conflicts:      krb5-common < 1.7
94 ExcludeArch:    armv4l
95 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
96
97 %description
98 This is the *new* kernel NFS server and related tools. It provides a
99 much higher level of performance than the traditional Linux user-land
100 NFS server.
101
102 %description -l pl.UTF-8
103 To jest *nowy* działający na poziomie jądra serwer NFS oraz związane z
104 nim narzędzia. Serwer ten dostarcza znacznie większą wydajność niż
105 tradycyjny, działający na poziomie użytkownika serwer NFS.
106
107 %description -l pt_BR.UTF-8
108 O pacote nfs-utils provê os utilitários para o cliente e servidor NFS
109 do Linux.
110
111 %description -l ru.UTF-8
112 Пакет nfs-utils предоставляет демона для NFS-сервера, включенного в
113 ядро, и сопутствующие утилиты, которые обеспечивают намного большую
114 производительность, чем традиционные Linux NFS-сервера, используемые
115 большинством пользователей.
116
117 %description -l uk.UTF-8
118 Пакет nfs-utils надає демона для NFS-сервера, вбудованого в ядро, та
119 супутні утиліти, які забезпечують набагато більшу продуктивність, ніж
120 традиційні Linux NFS-сервери, які використовує більшість користувачів.
121
122 %package systemd
123 Summary:        systemd units for NFS server services
124 Summary(pl.UTF-8):      Jednostki systemd dla serwisów serwera NFS
125 Group:          Daemons
126 Requires:       %{name} = %{version}-%{release}
127 Requires:       systemd
128 Requires:       systemd-units
129
130 %description systemd
131 Systemd units for NFS server services.
132
133 %description systemd -l pl.UTF-8
134 Jednostki systemd dla serwisów serwera NFS.
135
136 %package clients
137 Summary:        Clients for connecting to a remote NFS server
138 Summary(pl.UTF-8):      Klienci do łączenia się ze zdalnym serwerem NFS
139 Group:          Networking
140 Requires(post,preun):   /sbin/chkconfig
141 Requires:       %{name}-common = %{version}-%{release}
142 Requires:       psmisc
143 Requires:       rc-scripts
144 Provides:       nfs-server-clients
145 Provides:       nfsclient
146 Obsoletes:      knfsd-clients
147 Obsoletes:      nfs-server-clients
148 Obsoletes:      nfsclient
149 Conflicts:      krb5-common < 1.7
150
151 %description clients
152 The nfs-server-clients package contains the showmount program.
153 Showmount queries the mount daemon on a remote host for information
154 about the NFS (Network File System) server on the remote host. For
155 example, showmount can display the clients which are mounted on that
156 host. This package is not needed to mount NFS volumes.
157
158 %description clients -l pl.UTF-8
159 Pakiet zawiera program showmount służący do odpytywania serwera NFS.
160 Showmount pyta demona na zdalnej maszynie o informacje NFS na zdalnym
161 hoście. Na przykład, showmount potrafi pokazać klientów, którzy są
162 zamountowani na tym serwerze. Ten pakiet nie jest konieczny do
163 zamountowania zasobów NFS.
164
165 %package clients-systemd
166 Summary:        systemd units for NFS clients
167 Summary(pl.UTF-8):      Jednostki systemd dla klientów NFS
168 Group:          Daemons
169 Requires:       %{name}-clients = %{version}-%{release}
170 Requires:       systemd
171 Requires:       systemd-units
172
173 %description clients-systemd
174 Systemd units for NFS clients.
175
176 %description clients-systemd -l pl.UTF-8
177 Jednostki systemd dla klientów NFS.
178
179 %package common
180 Summary:        Common programs for NFS
181 Summary(pl.UTF-8):      Wspólne programy do obsługi NFS
182 Group:          Networking
183 Requires(post,preun):   /sbin/chkconfig
184 Provides:       user(rpcstatd)
185 Provides:       group(rpcstatd)
186 Provides:       nfslockd
187 Provides:       nfs-utils-lock
188 Requires:       libnfsidmap >= 0.25-3
189 Requires:       rc-scripts
190 Requires:       rpcbind >= 0.1.7
191 Obsoletes:      nfs-utils-lock
192 Obsoletes:      knfsd-lock
193 Obsoletes:      nfslockd
194 Conflicts:      mount < 2.13-0.pre7.1
195
196 %description common
197 Common programs for NFS.
198
199 %description common -l pl.UTF-8
200 Wspólne programy do obsługi NFS.
201
202 %package common-systemd
203 Summary:        systemd units for common NFS services
204 Summary(pl.UTF-8):      Jednostki systemd dla wspólnych serwisów NFS
205 Group:          Daemons
206 Requires:       %{name}-common = %{version}-%{release}
207 Requires:       systemd
208 Requires:       systemd-units
209
210 %description common-systemd
211 Systemd units for common NFS services.
212
213 %description common-systemd -l pl.UTF-8
214 Jednostki systemd dla wspólnych serwisów NFS.
215
216 %prep
217 %setup -q -a1
218 %patch0 -p1
219 %patch1 -p1
220 %patch2 -p1
221 %patch3 -p1
222 %patch4 -p1
223 %patch5 -p1
224
225 %build
226 %{__libtoolize}
227 %{__aclocal} -I aclocal
228 %{__autoconf}
229 %{__autoheader}
230 %{__automake}
231 %configure \
232         --enable-nfsv3 \
233         --enable-nfsv4 \
234         --enable-nfsv41 \
235         --enable-gss \
236         --enable-mount \
237         --enable-mountconfig \
238         --enable-libmount-mount \
239 %if %{with tirpc}
240         --enable-tirpc \
241         --enable-ipv6 \
242 %else
243         --disable-tirpc \
244         --disable-ipv6 \
245 %endif
246         --with-statdpath=/var/lib/nfs/statd \
247         --with-statedir=/var/lib/nfs \
248         --with-statduser=rpcstatd \
249         --with-start-statd=/sbin/start-statd \
250         --with-tcp-wrappers \
251         --with-krb5
252
253 %{__make} all
254
255 %install
256 rm -rf $RPM_BUILD_ROOT
257 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{rc.d/init.d,sysconfig,exports.d} \
258         $RPM_BUILD_ROOT%{_var}/lib/nfs/{rpc_pipefs,v4recovery} \
259         $RPM_BUILD_ROOT{%{systemdunitdir},%{_datadir}/nfs-utils}
260
261 %{__make} install \
262         DESTDIR=$RPM_BUILD_ROOT
263
264 install -p utils/mount/nfsmount.conf $RPM_BUILD_ROOT/etc
265
266 cat >$RPM_BUILD_ROOT/sbin/start-statd <<EOF
267 #!/bin/sh
268 # mount.nfs calls this script when mounting a filesystem with locking
269 # enabled, but when statd does not seem to be running (based on
270 # /var/run/rpc.statd.pid).
271 exec /sbin/rpc.statd --no-notify
272 EOF
273
274 %{__sed} -i -e "s|#!/bin/bash|#!/bin/sh|" $RPM_BUILD_ROOT%{_sbindir}/gss_destroy_creds
275 %{__sed} -i -e 's|%{_sbindir}nfsidmap|/sbin/nfsidmap|g' $RPM_BUILD_ROOT%{_mandir}/man8/nfsidmap.8
276
277 for f in rpcdebug blkmapd nfsidmap rpc.gssd rpc.idmapd rpc.statd ; do
278         mv $RPM_BUILD_ROOT%{_sbindir}/$f $RPM_BUILD_ROOT/sbin
279 done
280
281 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nfs
282 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/nfslock
283 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/nfsfs
284 install %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/idmapd
285 install %{SOURCE6} $RPM_BUILD_ROOT/etc/rc.d/init.d/gssd
286 install %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/svcgssd
287 install %{SOURCE11} $RPM_BUILD_ROOT/etc/rc.d/init.d/blkmapd
288 install %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/nfsd
289 install %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/nfslock
290 install %{SOURCE10} $RPM_BUILD_ROOT/etc/sysconfig/nfsfs
291
292 install %{SOURCE100} $RPM_BUILD_ROOT%{systemdunitdir}/proc-fs-nfsd.mount
293 install %{SOURCE101} $RPM_BUILD_ROOT%{systemdunitdir}/var-lib-nfs-rpc_pipefs.mount
294 install %{SOURCE102} $RPM_BUILD_ROOT%{systemdunitdir}/nfsd.service
295 install %{SOURCE103} $RPM_BUILD_ROOT%{systemdunitdir}/nfs-blkmapd.service
296 install %{SOURCE104} $RPM_BUILD_ROOT%{systemdunitdir}/nfs-exportfs.service
297 install %{SOURCE105} $RPM_BUILD_ROOT%{systemdunitdir}/nfs-gssd.service
298 install %{SOURCE106} $RPM_BUILD_ROOT%{systemdunitdir}/nfs-idmapd.service
299 install %{SOURCE107} $RPM_BUILD_ROOT%{systemdunitdir}/nfs-lock.service
300 install %{SOURCE108} $RPM_BUILD_ROOT%{systemdunitdir}/nfs-mountd.service
301 install %{SOURCE109} $RPM_BUILD_ROOT%{systemdunitdir}/nfs-svcgssd.service
302 install %{SOURCE110} $RPM_BUILD_ROOT%{_datadir}/nfs-utils/nfsd.postconfig
303 install %{SOURCE111} $RPM_BUILD_ROOT%{_datadir}/nfs-utils/nfsd.preconfig
304 install %{SOURCE112} $RPM_BUILD_ROOT%{_datadir}/nfs-utils/nfs-lock.preconfig
305
306 > $RPM_BUILD_ROOT%{_var}/lib/nfs/rmtab
307 > $RPM_BUILD_ROOT%{_sysconfdir}/exports
308
309 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/rpc.{mountd,nfsd,statd,sm-notify,svcgssd,gssd,idmapd}.8
310 echo ".so mountd.8"  >  $RPM_BUILD_ROOT%{_mandir}/man8/rpc.mountd.8
311 echo ".so nfsd.8"    >  $RPM_BUILD_ROOT%{_mandir}/man8/rpc.nfsd.8
312 echo ".so statd.8"   >  $RPM_BUILD_ROOT%{_mandir}/man8/rpc.statd.8
313 echo ".so sm-notify.8" > $RPM_BUILD_ROOT%{_mandir}/man8/rpc.sm-notify.8
314 echo ".so gssd.8"    >  $RPM_BUILD_ROOT%{_mandir}/man8/rpc.gssd.8
315 echo ".so idmapd.8"  >  $RPM_BUILD_ROOT%{_mandir}/man8/rpc.idmapd.8
316 echo ".so svcgssd.8" >  $RPM_BUILD_ROOT%{_mandir}/man8/rpc.svcgssd.8
317
318 touch $RPM_BUILD_ROOT/var/lib/nfs/xtab
319
320 ln -sf /bin/true $RPM_BUILD_ROOT/sbin/fsck.nfs
321
322 cp -a nfs html
323
324 %clean
325 rm -rf $RPM_BUILD_ROOT
326
327 %post
328 /sbin/chkconfig --add nfs
329 %service nfs restart "NFS daemon"
330 /sbin/chkconfig --add svcgssd
331 %service svcgssd restart "RPC svcgssd"
332
333 %preun
334 if [ "$1" = "0" ]; then
335         %service nfs stop
336         /sbin/chkconfig --del nfs
337         %service svcgssd stop
338         /sbin/chkconfig --del svcgssd
339 fi
340
341 %post systemd
342 %systemd_post nfsd.service
343 %systemd_post nfs-exportfs.service
344 %systemd_post nfs-mountd.service
345 %systemd_post nfs-svcgssd.service
346
347 %preun systemd
348 %systemd_preun nfsd.service
349 %systemd_preun nfs-exportfs.service
350 %systemd_preun nfs-mountd.service
351 %systemd_preun nfs-svcgssd.service
352
353 %postun systemd
354 %systemd_reload
355
356 %post clients
357 /sbin/chkconfig --add nfsfs
358 %service nfsfs restart
359 /sbin/chkconfig --add gssd
360 %service gssd restart "RPC gssd"
361 /sbin/chkconfig --add blkmapd
362 %service blkmapd restart "pNFS blkmapd"
363
364 %preun clients
365 if [ "$1" = "0" ]; then
366         %service nfsfs stop
367         /sbin/chkconfig --del nfsfs
368         %service gssd stop
369         /sbin/chkconfig --del gssd
370         %service blkmapd stop
371         /sbin/chkconfig --del blkmapd
372 fi
373
374 %post clients-systemd
375 %systemd_post nfs-blkmapd.service
376 %systemd_post nfs-gssd.service
377
378 %preun clients-systemd
379 %systemd_preun nfs-blkmapd.service
380 %systemd_preun nfs-gssd.service
381
382 %postun clients-systemd
383 %systemd_reload
384
385 %pre common
386 %groupadd -g 191 rpcstatd
387 %useradd -u 191 -d /var/lib/nfs/statd -s /bin/false -c "RPC statd user" -g rpcstatd rpcstatd
388
389 %post common
390 /sbin/chkconfig --add idmapd
391 %service idmapd restart "RPC idmapd"
392 /sbin/chkconfig --add nfslock
393 %service nfslock restart "RPC statd"
394
395 %preun common
396 if [ "$1" = "0" ]; then
397         %service idmapd stop
398         /sbin/chkconfig --del idmapd
399         %service nfslock stop
400         /sbin/chkconfig --del nfslock
401 fi
402
403 %postun common
404 if [ "$1" = "0" ]; then
405         %userremove rpcstatd
406         %groupremove rpcstatd
407 fi
408
409 %post common-systemd
410 %systemd_post nfs-idmapd.service
411 %systemd_post nfs-lock.service
412
413 %preun common-systemd
414 %systemd_preun nfs-idmapd.service
415 %systemd_preun nfs-lock.service
416
417 %postun common-systemd
418 %systemd_reload
419
420 %triggerpostun -- %{name} < 1.2.5-4
421 if [ -f /etc/sysconfig/nfsd ]; then
422         . /etc/sysconfig/nfsd
423         __RPCMOUNTDOPTIONS=
424         [ -n "$MOUNTD_PORT" ] && __RPCMOUNTDOPTIONS="-p $MOUNTD_PORT"
425         for vers in 2 3 4 ; do
426                 __var=$(eval echo \$NFSv$vers)
427                 [ -n "$__var" -a "$__var" != "yes" ] && \
428                         __RPCMOUNTDOPTIONS="$__RPCMOUNTDOPTIONS --no-nfs-version $vers"
429         done
430         [ -z "$__RPCMOUNTDOPTIONS" ] && exit 0
431         cp -f /etc/sysconfig/nfsd{,.rpmsave}
432         echo >>/etc/sysconfig/nfsd
433         echo "# Added by rpm trigger" >>/etc/sysconfig/nfsd
434         echo "RPCMOUNTDOPTIONS=\"$RPCMOUNTOPTIONS $__RPCMOUNTDOPTIONS\"" >>/etc/sysconfig/nfsd
435 fi
436
437 %triggerpostun common -- %{name}-lock < 1.2.5-3
438 if [ -f /etc/sysconfig/nfslock.rpmsave ]; then
439         mv -f /etc/sysconfig/nfslock{,.rpmnew}
440         mv -f /etc/sysconfig/nfslock.rpmsave /etc/sysconfig/nfslock
441 fi
442
443 %triggerpostun common -- %{name}-common < 1.2.5-4
444 if [ -f /etc/sysconfig/nfslock ]; then
445         . /etc/sysconfig/nfslock
446         [ -n "$STATD_PORT" ] && STATDOPTS="$STATDOPTS -p $STATD_PORT"
447         [ -n "$STATD_OUTPORT" ] && STATDOPTS="$STATDOPTS -o $STATD_OUTPORT"
448         [ -z "$STATDOPTS" ] && exit 0
449         cp -f /etc/sysconfig/nfslock{,.rpmsave}
450         echo >>/etc/sysconfig/nfslock
451         echo "# Added by rpm trigger" >>/etc/sysconfig/nfslock
452         echo "STATDOPTIONS=\"$STATDOPTS\"" >>/etc/sysconfig/nfslock
453 fi
454
455 %files
456 %defattr(644,root,root,755)
457 %doc ChangeLog README html
458 %attr(755,root,root) /sbin/rpcdebug
459 %attr(755,root,root) /sbin/fsck.nfs
460 %attr(755,root,root) %{_sbindir}/exportfs
461 %attr(755,root,root) %{_sbindir}/rpc.mountd
462 %attr(755,root,root) %{_sbindir}/rpc.nfsd
463 %attr(755,root,root) %{_sbindir}/rpc.svcgssd
464 %attr(755,root,root) %{_sbindir}/nfsstat
465
466 %attr(754,root,root) /etc/rc.d/init.d/nfs
467 %attr(754,root,root) /etc/rc.d/init.d/svcgssd
468
469 %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/exports
470 %dir %{_sysconfdir}/exports.d
471
472 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nfsd
473 %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/nfs/xtab
474 %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/nfs/etab
475 %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/nfs/rmtab
476
477 %{_mandir}/man5/exports.5*
478 %{_mandir}/man7/nfsd.7*
479 %{_mandir}/man8/exportfs.8*
480 %{_mandir}/man8/mountd.8*
481 %{_mandir}/man8/nfsd.8*
482 %{_mandir}/man8/nfsstat.8*
483 %{_mandir}/man8/rpc.mountd.8*
484 %{_mandir}/man8/rpc.nfsd.8*
485 %{_mandir}/man8/rpc.svcgssd.8*
486 %{_mandir}/man8/rpcdebug.8*
487 %{_mandir}/man8/svcgssd.8*
488
489 %files systemd
490 %defattr(644,root,root,755)
491 %{systemdunitdir}/nfsd.service
492 %{systemdunitdir}/nfs-exportfs.service
493 %{systemdunitdir}/nfs-mountd.service
494 %{systemdunitdir}/nfs-svcgssd.service
495 %{systemdunitdir}/proc-fs-nfsd.mount
496 %attr(755,root,root) %{_datadir}/nfs-utils/nfsd.postconfig
497 %attr(755,root,root) %{_datadir}/nfs-utils/nfsd.preconfig
498
499 %files clients
500 %defattr(644,root,root,755)
501 %attr(754,root,root) /etc/rc.d/init.d/blkmapd
502 %attr(754,root,root) /etc/rc.d/init.d/gssd
503 %attr(754,root,root) /etc/rc.d/init.d/nfsfs
504 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nfsfs
505 %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) /etc/nfsmount.conf
506 %attr(4755,root,root) /sbin/mount.nfs
507 %attr(4755,root,root) /sbin/umount.nfs
508 %attr(4755,root,root) /sbin/mount.nfs4
509 %attr(4755,root,root) /sbin/umount.nfs4
510 %attr(755,root,root) /sbin/blkmapd
511 %attr(755,root,root) /sbin/rpc.gssd
512 %attr(755,root,root) %{_sbindir}/mountstats
513 %attr(755,root,root) %{_sbindir}/nfsiostat
514 %attr(755,root,root) %{_sbindir}/showmount
515 %{_mandir}/man5/nfsmount.conf.5*
516 %{_mandir}/man8/blkmapd.8*
517 %{_mandir}/man8/gssd.8*
518 %{_mandir}/man8/mount.nfs.8*
519 %{_mandir}/man8/mountstats.8*
520 %{_mandir}/man8/nfsiostat.8*
521 %{_mandir}/man8/rpc.gssd.8*
522 %{_mandir}/man8/showmount.8*
523 %{_mandir}/man8/umount.nfs.8*
524
525 %files clients-systemd
526 %defattr(644,root,root,755)
527 %{systemdunitdir}/nfs-blkmapd.service
528 %{systemdunitdir}/nfs-gssd.service
529
530 %files common
531 %defattr(644,root,root,755)
532 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nfslock
533 %attr(754,root,root) /etc/rc.d/init.d/idmapd
534 %attr(754,root,root) /etc/rc.d/init.d/nfslock
535 %attr(755,root,root) %{_sbindir}/gss_clnt_send_err
536 %attr(755,root,root) %{_sbindir}/gss_destroy_creds
537 %attr(755,root,root) %{_sbindir}/sm-notify
538 %attr(755,root,root) /sbin/nfsidmap
539 %attr(755,root,root) /sbin/rpc.idmapd
540 %attr(755,root,root) /sbin/rpc.statd
541 %attr(755,root,root) /sbin/start-statd
542 %dir %{_var}/lib/nfs
543 %dir %{_var}/lib/nfs/rpc_pipefs
544 %dir %{_var}/lib/nfs/v4recovery
545 %attr(700,rpcstatd,rpcstatd) %dir %{_var}/lib/nfs/statd
546 %attr(700,rpcstatd,rpcstatd) %dir %{_var}/lib/nfs/statd/sm
547 %attr(700,rpcstatd,rpcstatd) %dir %{_var}/lib/nfs/statd/sm.bak
548 %attr(600,rpcstatd,rpcstatd) %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/nfs/statd/state
549 %{_mandir}/man5/nfs.5*
550 %{_mandir}/man8/idmapd.8*
551 %{_mandir}/man8/nfsidmap.8*
552 %{_mandir}/man8/rpc.idmapd.8*
553 %{_mandir}/man8/rpc.sm-notify.8*
554 %{_mandir}/man8/rpc.statd.8*
555 %{_mandir}/man8/sm-notify.8*
556 %{_mandir}/man8/statd.8*
557
558 %files common-systemd
559 %defattr(644,root,root,755)
560 %{systemdunitdir}/nfs-idmapd.service
561 %{systemdunitdir}/nfs-lock.service
562 %{systemdunitdir}/var-lib-nfs-rpc_pipefs.mount
563 %dir %{_datadir}/nfs-utils
564 %attr(755,root,root) %{_datadir}/nfs-utils/nfs-lock.preconfig
This page took 0.750315 seconds and 3 git commands to generate.