2006-12-19 01:34:50 +01:00
|
|
|
#
|
2011-01-15 03:00:38 +01:00
|
|
|
# spec file for package nfs-utils
|
2006-12-19 01:34:50 +01:00
|
|
|
#
|
2013-03-09 07:53:10 +01:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-19 01:34:50 +01:00
|
|
|
#
|
2008-08-15 01:10:44 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2006-12-19 01:34:50 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: nfs-utils
|
2011-09-25 10:31:49 +02:00
|
|
|
BuildRequires: device-mapper-devel
|
2012-05-02 03:36:09 +02:00
|
|
|
BuildRequires: e2fsprogs-devel
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: krb5-devel
|
2012-05-17 09:07:12 +02:00
|
|
|
BuildRequires: libevent-devel
|
2012-05-02 03:36:09 +02:00
|
|
|
BuildRequires: libgssglue-devel >= 0.3
|
2011-08-18 10:20:54 +02:00
|
|
|
BuildRequires: libmount-devel
|
2012-05-02 03:36:09 +02:00
|
|
|
BuildRequires: librpcsecgss
|
|
|
|
BuildRequires: libtirpc-devel
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: nfsidmap-devel >= 0.24
|
|
|
|
BuildRequires: pkgconfig
|
2012-05-17 09:07:12 +02:00
|
|
|
BuildRequires: sqlite3-devel
|
2012-05-02 03:36:09 +02:00
|
|
|
BuildRequires: tcpd-devel
|
2013-11-06 03:21:12 +01:00
|
|
|
%if 0%{?suse_version} >= 1210
|
|
|
|
BuildRequires: systemd
|
|
|
|
%endif
|
2012-11-28 01:31:37 +01:00
|
|
|
Url: http://kernel.org/pub/linux/utils/nfs-utils/
|
2006-12-19 01:34:50 +01:00
|
|
|
Summary: Support Utilities for Kernel nfsd
|
2011-12-06 18:32:08 +01:00
|
|
|
License: GPL-2.0+
|
2012-05-02 03:36:09 +02:00
|
|
|
Group: Productivity/Networking/NFS
|
2013-07-22 08:15:20 +02:00
|
|
|
Version: 1.2.8
|
2012-05-02 03:36:09 +02:00
|
|
|
Release: 0
|
2006-12-19 01:34:50 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
PreReq: %fillup_prereq %insserv_prereq
|
2013-11-06 03:21:12 +01:00
|
|
|
%{?systemd_requires}
|
2006-12-19 01:34:50 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-11-28 01:31:37 +01:00
|
|
|
Source0: http://kernel.org/pub/linux/utils/nfs-utils/%{version}/nfs-utils-%{version}.tar.bz2
|
2011-06-17 18:30:46 +02:00
|
|
|
# Download does not work:
|
|
|
|
# Source1: ftp://nfs.sourceforge.net/pub/nfs/nfs.doc.tar.bz2
|
|
|
|
Source1: nfs.doc.tar.bz2
|
2007-06-05 20:06:28 +02:00
|
|
|
Source2: nfs.init
|
|
|
|
Source3: nfsserver.init
|
2008-10-13 10:58:23 +02:00
|
|
|
Source4: sysconfig.nfs
|
2007-06-05 20:06:28 +02:00
|
|
|
Source5: nfs-kernel-server.xml
|
2007-07-21 18:05:38 +02:00
|
|
|
Source6: README.NFSv4
|
2007-12-17 11:44:13 +01:00
|
|
|
Source7: fw-client
|
|
|
|
Source8: fw-server
|
2008-07-25 04:07:57 +02:00
|
|
|
Source9: mkinitrd-setup.sh
|
|
|
|
Source10: mkinitrd-boot.sh
|
2009-11-25 16:22:12 +01:00
|
|
|
Source11: idmapd.conf
|
|
|
|
Source12: start-statd
|
2010-08-01 17:28:34 +02:00
|
|
|
Source13: nfs-utils.rpmlintrc
|
2008-08-22 01:20:49 +02:00
|
|
|
Patch0: nfs-utils-1.0.7-bind-syntax.patch
|
2013-07-22 08:15:20 +02:00
|
|
|
# PATCH-FIX-UPSTREAM 0001-mountd-Fix-is_subdirectory-again.patch upstream-bugfix nfbrown@suse.de
|
|
|
|
Patch1: 0001-mountd-Fix-is_subdirectory-again.patch
|
|
|
|
# PATCH-FIX-UPSTREAM 0002-gssd-Fix-recent-fix-to-Avoid-DNS-reverse-resolution-.patch upstream-bugfix nfbrown@suse.de
|
|
|
|
Patch2: 0002-gssd-Fix-recent-fix-to-Avoid-DNS-reverse-resolution-.patch
|
|
|
|
# PATCH-FIX-UPSTREAM 0003-Fix-handling-of-preferred-realm-command-line-option.patch upstream-bugfix nfbrown@suse.de
|
|
|
|
Patch3: 0003-Fix-handling-of-preferred-realm-command-line-option.patch
|
|
|
|
# PATCH-FIX-UPSTREAM 0004-nfsiostat-restore-output-format.patch upstream-bugfix nfbrown@suse.de
|
|
|
|
Patch4: 0004-nfsiostat-restore-output-format.patch
|
|
|
|
# PATCH-FIX-UPSTREAM 0005-gssd-don-t-give-up-on-machine-credential-if-hostname.patch upstream-bugfix nfbrown@suse.de
|
|
|
|
Patch5: 0005-gssd-don-t-give-up-on-machine-credential-if-hostname.patch
|
|
|
|
# PATCH-FIX-UPSTREAM 0006-gssd-fixed-typo-in-machine-cred-name.patch upstream-bugfix nfbrown@suse.de
|
|
|
|
Patch6: 0006-gssd-fixed-typo-in-machine-cred-name.patch
|
2013-09-02 07:14:23 +02:00
|
|
|
# PATCH-FIX-UPSTREAM skip-on-ENOENT.patch nfbrown@suse.de
|
|
|
|
Patch7: skip-on-ENOENT.patch
|
2013-10-22 06:46:38 +02:00
|
|
|
# PATCH-FIX-UPSTREAM mountd-fix-bug-affecting-exports-of-dirs-with-64bit-.patch nfbrown@suse.de
|
|
|
|
Patch8: mountd-fix-bug-affecting-exports-of-dirs-with-64bit-.patch
|
2013-11-06 03:21:12 +01:00
|
|
|
# PATCH-FIX-UPSTREAM exportfs-exit-with-error-code-if-there-was-any-error.patch nfbrown@suse.de
|
|
|
|
Patch9: exportfs-exit-with-error-code-if-there-was-any-error.patch
|
|
|
|
# PATCH-FIX_UPSTREAM exportfs-report-failure-if-asked-to-unexport-somethi.patch nfbrown@suse.de
|
|
|
|
Patch10: exportfs-report-failure-if-asked-to-unexport-somethi.patch
|
2013-11-18 00:07:43 +01:00
|
|
|
# PATCH-FIX-UPSTRAM gssd-mount-hang-fix bnc#833543 nfbrown@suse.de
|
|
|
|
Patch11: gssd-mount-hang-fix
|
2011-01-28 16:45:32 +01:00
|
|
|
Suggests: python-base
|
2006-12-19 01:34:50 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains the NFS utilities. You can tune the number of
|
|
|
|
server threads via the sysconfig variable USE_KERNEL_NFSD_NUMBER. For
|
|
|
|
quota over NFS support, install the quota package.
|
|
|
|
|
2007-06-05 20:06:28 +02:00
|
|
|
%package -n nfs-client
|
2007-07-18 22:56:36 +02:00
|
|
|
Summary: Support Utilities for NFS
|
2012-05-02 03:36:09 +02:00
|
|
|
Group: Productivity/Networking/NFS
|
2007-06-11 13:05:32 +02:00
|
|
|
Obsoletes: nfs-utils < 1.1.0
|
2012-10-18 01:55:51 +02:00
|
|
|
Requires: netcfg
|
2010-08-27 22:49:53 +02:00
|
|
|
Requires: rpcbind
|
2008-06-03 01:00:09 +02:00
|
|
|
PreReq: %fillup_prereq %insserv_prereq
|
2013-05-13 17:33:12 +02:00
|
|
|
PreReq: permissions
|
2007-06-22 16:22:18 +02:00
|
|
|
Provides: aaa_base:/etc/init.d/nfs
|
2007-06-05 20:06:28 +02:00
|
|
|
|
|
|
|
%description -n nfs-client
|
2007-07-18 22:56:36 +02:00
|
|
|
This package contains common NFS utilities which are needed for client
|
|
|
|
and kernel based server.
|
2007-06-05 20:06:28 +02:00
|
|
|
|
|
|
|
%package -n nfs-kernel-server
|
|
|
|
Summary: Support Utilities for Kernel nfsd
|
2012-05-02 03:36:09 +02:00
|
|
|
Group: Productivity/Networking/NFS
|
2007-06-05 20:06:28 +02:00
|
|
|
Provides: nfs-utils = %{version}
|
2007-06-11 13:05:32 +02:00
|
|
|
Obsoletes: nfs-utils < 1.1.0
|
2007-06-05 20:06:28 +02:00
|
|
|
Conflicts: nfs-server
|
2012-10-18 01:55:51 +02:00
|
|
|
Requires: netcfg
|
2012-05-02 03:36:09 +02:00
|
|
|
Requires: nfs-client = %{version}
|
|
|
|
Requires: rpcbind
|
2008-06-03 01:00:09 +02:00
|
|
|
PreReq: %fillup_prereq %insserv_prereq
|
2007-06-05 20:06:28 +02:00
|
|
|
|
|
|
|
%description -n nfs-kernel-server
|
2007-07-18 22:56:36 +02:00
|
|
|
This package contains support for the kernel based NFS server. You can
|
|
|
|
tune the number of server threads via the sysconfig variable
|
|
|
|
USE_KERNEL_NFSD_NUMBER. For quota over NFS support, install the quota
|
|
|
|
package.
|
2007-06-05 20:06:28 +02:00
|
|
|
|
|
|
|
%package -n nfs-doc
|
2007-07-18 22:56:36 +02:00
|
|
|
Summary: Support Utilities for NFS
|
2012-05-02 03:36:09 +02:00
|
|
|
Group: Productivity/Networking/NFS
|
2007-06-11 13:05:32 +02:00
|
|
|
Obsoletes: nfs-utils < 1.1.0
|
2007-11-12 21:56:24 +01:00
|
|
|
Requires: latex2html-pngicons
|
2007-06-05 20:06:28 +02:00
|
|
|
|
|
|
|
%description -n nfs-doc
|
2007-07-18 22:56:36 +02:00
|
|
|
This package contains additional NFS documentation.
|
2007-06-05 20:06:28 +02:00
|
|
|
|
2006-12-19 01:34:50 +01:00
|
|
|
%prep
|
2007-06-05 20:06:28 +02:00
|
|
|
%setup -q -n nfs-utils-%{version} -a 1
|
|
|
|
%patch0 -p1
|
2013-07-22 08:15:20 +02:00
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
|
|
|
%patch4 -p1
|
|
|
|
%patch5 -p1
|
|
|
|
%patch6 -p1
|
2013-09-02 07:14:23 +02:00
|
|
|
%patch7 -p1
|
2013-10-22 06:46:38 +02:00
|
|
|
%patch8 -p1
|
2013-11-06 03:21:12 +01:00
|
|
|
%patch9 -p1
|
|
|
|
%patch10 -p1
|
2013-11-18 00:07:43 +01:00
|
|
|
%patch11 -p1
|
2007-07-21 18:05:38 +02:00
|
|
|
cp %{S:6} .
|
2006-12-19 01:34:50 +01:00
|
|
|
|
|
|
|
%build
|
2008-06-27 20:49:36 +02:00
|
|
|
rm -f configure; autoreconf -fi
|
2006-12-19 01:34:50 +01:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS -fPIE -fno-strict-aliasing" LDFLAGS="-pie" ./configure \
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
--enable-nfsv4 \
|
|
|
|
--enable-gss \
|
2010-10-11 17:03:25 +02:00
|
|
|
--enable-ipv6 \
|
2012-11-28 01:31:37 +01:00
|
|
|
--enable-nfsdcltrack \
|
2007-06-05 20:06:28 +02:00
|
|
|
--enable-mount \
|
2011-08-18 10:20:54 +02:00
|
|
|
--enable-libmount-mount \
|
2013-07-22 08:15:20 +02:00
|
|
|
--enable-mountconfig
|
2006-12-19 01:34:50 +01:00
|
|
|
make
|
2007-11-12 21:56:24 +01:00
|
|
|
cd nfs
|
|
|
|
for i in *.html ; do
|
|
|
|
sed -i \
|
|
|
|
-e "s@/usr/lib/latex2html/icons.png/next_motif.png@/usr/share/latex2html/icons/next.png@" \
|
|
|
|
-e "s@/usr/lib/latex2html/icons.png/up_motif_gr.png@/usr/share/latex2html/icons/up.png@" \
|
|
|
|
-e "s@/usr/lib/latex2html/icons.png/previous_motif_gr.png@/usr/share/latex2html/icons/prev.png@" \
|
|
|
|
$i
|
|
|
|
done
|
2006-12-19 01:34:50 +01:00
|
|
|
|
|
|
|
%install
|
2011-11-06 12:44:18 +01:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2008-07-25 04:07:57 +02:00
|
|
|
rm -f linux-nfs/Makefile*
|
2006-12-19 01:34:50 +01:00
|
|
|
# rc-script
|
|
|
|
install -d $RPM_BUILD_ROOT/etc/init.d
|
2007-06-05 20:06:28 +02:00
|
|
|
install -m 744 %{SOURCE3} $RPM_BUILD_ROOT/etc/init.d/nfsserver
|
|
|
|
install -m 744 %{SOURCE2} $RPM_BUILD_ROOT/etc/init.d/nfs
|
2006-12-19 01:34:50 +01:00
|
|
|
ln -sf ../../etc/init.d/nfsserver $RPM_BUILD_ROOT/usr/sbin/rcnfsserver
|
2007-06-05 20:06:28 +02:00
|
|
|
ln -sf ../../etc/init.d/nfs $RPM_BUILD_ROOT/usr/sbin/rcnfs
|
2006-12-19 01:34:50 +01:00
|
|
|
# sysconfig-data
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
|
2007-06-05 20:06:28 +02:00
|
|
|
install -m 644 %{SOURCE4} $RPM_BUILD_ROOT/var/adm/fillup-templates
|
2006-12-19 01:34:50 +01:00
|
|
|
# idmapd setup
|
2009-11-25 16:22:12 +01:00
|
|
|
install -m 644 %{S:11} $RPM_BUILD_ROOT/etc/idmapd.conf
|
2006-12-19 01:34:50 +01:00
|
|
|
mkdir -p -m 755 $RPM_BUILD_ROOT/var/lib/nfs/rpc_pipefs
|
|
|
|
mkdir -p -m 755 $RPM_BUILD_ROOT/var/lib/nfs/v4recovery
|
2008-04-01 23:03:58 +02:00
|
|
|
mkdir -p -m 755 $RPM_BUILD_ROOT/usr/share/omc/svcinfo.d
|
|
|
|
install -m 644 %{SOURCE5} $RPM_BUILD_ROOT/usr/share/omc/svcinfo.d
|
2007-06-05 20:06:28 +02:00
|
|
|
# sm-notify state
|
|
|
|
mkdir -p -m 755 $RPM_BUILD_ROOT/var/lib/nfs/sm
|
|
|
|
mkdir -p -m 755 $RPM_BUILD_ROOT/var/lib/nfs/sm.bak
|
|
|
|
touch $RPM_BUILD_ROOT/var/lib/nfs/state
|
2007-12-17 11:44:13 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/services
|
|
|
|
install -m 0644 %{SOURCE7} ${RPM_BUILD_ROOT}/etc/sysconfig/SuSEfirewall2.d/services/nfs-client
|
|
|
|
install -m 0644 %{SOURCE8} ${RPM_BUILD_ROOT}/etc/sysconfig/SuSEfirewall2.d/services/nfs-kernel-server
|
2008-07-25 04:07:57 +02:00
|
|
|
install -d $RPM_BUILD_ROOT/lib/mkinitrd/scripts
|
|
|
|
install -m 755 %{S:9} $RPM_BUILD_ROOT/lib/mkinitrd/scripts/setup-nfs.sh
|
|
|
|
install -m 755 %{S:10} $RPM_BUILD_ROOT/lib/mkinitrd/scripts/boot-nfs.sh
|
2009-11-25 16:22:12 +01:00
|
|
|
install -m 755 %{S:12} $RPM_BUILD_ROOT/usr/sbin/start-statd
|
|
|
|
install -m 644 utils/mount/nfsmount.conf $RPM_BUILD_ROOT/etc/nfsmount.conf
|
2011-01-28 16:45:32 +01:00
|
|
|
#
|
|
|
|
# hack to avoid automatic python dependency
|
|
|
|
chmod 644 $RPM_BUILD_ROOT%{_sbindir}/{mountstats,nfsiostat}
|
2009-11-16 14:24:39 +01:00
|
|
|
|
2006-12-19 01:34:50 +01:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2010-10-11 17:03:25 +02:00
|
|
|
%pre -n nfs-client
|
|
|
|
useradd -r -c 'NFS statd daemon' \
|
|
|
|
-s /sbin/nologin -d /var/lib/nfs -g nogroup statd &> /dev/null || :
|
2013-11-06 03:21:12 +01:00
|
|
|
%service_add_pre nfs
|
2010-10-11 17:03:25 +02:00
|
|
|
|
2007-06-05 20:06:28 +02:00
|
|
|
%post -n nfs-client
|
2010-10-11 17:03:25 +02:00
|
|
|
chown statd:nogroup /var/lib/nfs
|
|
|
|
chown -R statd /var/lib/nfs/{state,sm,sm.bak} >& /dev/null || :
|
2011-06-01 18:25:59 +02:00
|
|
|
### migrate from /var/lock/subsys
|
2012-11-28 01:31:37 +01:00
|
|
|
[ -d /run/nfs ] || mkdir /run/nfs
|
2011-06-01 18:25:59 +02:00
|
|
|
if [ -f /var/lock/subsys/nfs-rpc.idmapd ]; then
|
2012-11-28 01:31:37 +01:00
|
|
|
mv /var/lock/subsys/nfs-rpc.idmapd /run/nfs
|
2011-06-01 18:25:59 +02:00
|
|
|
fi
|
|
|
|
if [ -f /var/lock/subsys/nfsserver-rpc.idmapd ]; then
|
2012-11-28 01:31:37 +01:00
|
|
|
mv /var/lock/subsys/nfsserver-rpc.idmapd /run/nfs
|
2011-06-01 18:25:59 +02:00
|
|
|
fi
|
|
|
|
###
|
2008-09-06 00:58:18 +02:00
|
|
|
[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup
|
2011-01-14 17:01:30 +01:00
|
|
|
%{fillup_and_insserv -n nfs nfs}
|
2011-01-28 16:45:32 +01:00
|
|
|
#
|
|
|
|
%set_permissions /sbin/mount.nfs
|
2013-11-06 03:21:12 +01:00
|
|
|
%service_add_post nfs
|
2007-06-05 20:06:28 +02:00
|
|
|
|
|
|
|
%preun -n nfs-client
|
|
|
|
%stop_on_removal nfs
|
2013-11-06 03:21:12 +01:00
|
|
|
%service_del_preun nfs
|
2007-06-05 20:06:28 +02:00
|
|
|
|
|
|
|
%postun -n nfs-client
|
|
|
|
%restart_on_update nfs
|
2008-09-06 00:58:18 +02:00
|
|
|
[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup
|
2007-06-05 20:06:28 +02:00
|
|
|
%insserv_cleanup
|
2013-11-06 03:21:12 +01:00
|
|
|
%service_del_postun nfs
|
2011-01-28 16:45:32 +01:00
|
|
|
|
2008-06-03 01:00:09 +02:00
|
|
|
%verifyscript -n nfs-client
|
|
|
|
%verify_permissions -e /sbin/mount.nfs
|
2007-06-05 20:06:28 +02:00
|
|
|
|
2013-11-06 03:21:12 +01:00
|
|
|
%pre -n nfs-kernel-server
|
|
|
|
%service_add_pre nfsserver
|
|
|
|
|
2007-06-05 20:06:28 +02:00
|
|
|
%preun -n nfs-kernel-server
|
2006-12-19 01:34:50 +01:00
|
|
|
%stop_on_removal nfsserver
|
2013-11-06 03:21:12 +01:00
|
|
|
%service_del_preun nfsserver
|
2006-12-19 01:34:50 +01:00
|
|
|
|
2007-06-05 20:06:28 +02:00
|
|
|
%post -n nfs-kernel-server
|
2011-06-01 18:25:59 +02:00
|
|
|
### migrate from /var/lock/subsys
|
2012-11-28 01:31:37 +01:00
|
|
|
[ -d /run/nfs ] || mkdir /run/nfs
|
2011-06-01 18:25:59 +02:00
|
|
|
if [ -f /var/lock/subsys/nfs-rpc.idmapd ]; then
|
2012-11-28 01:31:37 +01:00
|
|
|
mv /var/lock/subsys/nfs-rpc.idmapd /run/nfs
|
2011-06-01 18:25:59 +02:00
|
|
|
fi
|
|
|
|
if [ -f /var/lock/subsys/nfsserver-rpc.idmapd ]; then
|
2012-11-28 01:31:37 +01:00
|
|
|
mv /var/lock/subsys/nfsserver-rpc.idmapd /run/nfs
|
2011-06-01 18:25:59 +02:00
|
|
|
fi
|
|
|
|
###
|
2008-08-22 01:20:49 +02:00
|
|
|
%{fillup_and_insserv nfsserver}
|
2013-11-06 03:21:12 +01:00
|
|
|
%service_add_post nfsserver
|
2006-12-19 01:34:50 +01:00
|
|
|
|
2007-06-05 20:06:28 +02:00
|
|
|
%postun -n nfs-kernel-server
|
2006-12-19 01:34:50 +01:00
|
|
|
%restart_on_update nfsserver
|
|
|
|
%insserv_cleanup
|
2013-11-06 03:21:12 +01:00
|
|
|
%service_del_postun nfsserver
|
2006-12-19 01:34:50 +01:00
|
|
|
|
2007-06-05 20:06:28 +02:00
|
|
|
%files -n nfs-client
|
2006-12-19 01:34:50 +01:00
|
|
|
%defattr(-,root,root)
|
2007-06-05 20:06:28 +02:00
|
|
|
%config /etc/init.d/nfs
|
|
|
|
%config /etc/idmapd.conf
|
2009-11-25 16:22:12 +01:00
|
|
|
%config /etc/nfsmount.conf
|
2008-07-25 04:07:57 +02:00
|
|
|
%dir /lib/mkinitrd
|
|
|
|
%dir /lib/mkinitrd/scripts
|
|
|
|
/lib/mkinitrd/scripts/setup-nfs.sh
|
|
|
|
/lib/mkinitrd/scripts/boot-nfs.sh
|
2008-06-03 01:00:09 +02:00
|
|
|
%verify(not mode) %attr(0755,root,root) /sbin/mount.nfs
|
2007-06-05 20:06:28 +02:00
|
|
|
/sbin/mount.nfs4
|
2008-06-03 01:00:09 +02:00
|
|
|
/sbin/umount.nfs
|
2007-06-05 20:06:28 +02:00
|
|
|
/sbin/umount.nfs4
|
2012-05-17 09:07:12 +02:00
|
|
|
/sbin/osd_login
|
2007-06-05 20:06:28 +02:00
|
|
|
/usr/sbin/gss_clnt_send_err
|
|
|
|
/usr/sbin/gss_destroy_creds
|
2011-01-28 16:45:32 +01:00
|
|
|
%attr(0755,root,root) /usr/sbin/mountstats
|
|
|
|
%attr(0755,root,root) /usr/sbin/nfsiostat
|
2011-08-18 10:20:54 +02:00
|
|
|
/usr/sbin/nfsidmap
|
2007-06-05 20:06:28 +02:00
|
|
|
/usr/sbin/nfsstat
|
|
|
|
/usr/sbin/rcnfs
|
|
|
|
/usr/sbin/rpc.gssd
|
|
|
|
/usr/sbin/rpc.idmapd
|
|
|
|
/usr/sbin/rpc.statd
|
|
|
|
/usr/sbin/rpcdebug
|
|
|
|
/usr/sbin/showmount
|
|
|
|
/usr/sbin/sm-notify
|
|
|
|
/usr/sbin/start-statd
|
2011-09-25 10:31:49 +02:00
|
|
|
/usr/sbin/blkmapd
|
2009-11-25 16:22:12 +01:00
|
|
|
%{_mandir}/man5/nfsmount.conf.5.gz
|
2007-06-05 20:06:28 +02:00
|
|
|
%{_mandir}/man5/nfs.5.gz
|
|
|
|
%{_mandir}/man8/mount.nfs.8.gz
|
2011-08-18 10:20:54 +02:00
|
|
|
%{_mandir}/man8/nfsidmap.8.gz
|
2007-06-05 20:06:28 +02:00
|
|
|
%{_mandir}/man8/nfsstat.8.gz
|
|
|
|
%{_mandir}/man8/rpc.sm-notify.8.gz
|
|
|
|
%{_mandir}/man8/showmount.8.gz
|
|
|
|
%{_mandir}/man8/sm-notify.8.gz
|
|
|
|
%{_mandir}/man8/umount.nfs.8.gz
|
|
|
|
%{_mandir}/man8/rpc.gssd.8.gz
|
|
|
|
%{_mandir}/man8/rpc.idmapd.8.gz
|
|
|
|
%{_mandir}/man8/gssd.8.gz
|
|
|
|
%{_mandir}/man8/idmapd.8.gz
|
|
|
|
%{_mandir}/man8/svcgssd.8.gz
|
|
|
|
%{_mandir}/man8/rpc.statd.8.gz
|
|
|
|
%{_mandir}/man8/rpcdebug.8.gz
|
|
|
|
%{_mandir}/man8/statd.8.gz
|
2010-10-11 17:03:25 +02:00
|
|
|
%{_mandir}/man8/mountstats.8.gz
|
|
|
|
%{_mandir}/man8/nfsiostat.8.gz
|
2011-09-25 10:31:49 +02:00
|
|
|
%{_mandir}/man8/blkmapd.8.gz
|
2008-10-13 10:58:23 +02:00
|
|
|
/var/adm/fillup-templates/sysconfig.nfs
|
2011-04-27 02:42:28 +02:00
|
|
|
%attr(0711,statd,nogroup) %dir /var/lib/nfs
|
2006-12-19 01:34:50 +01:00
|
|
|
%dir /var/lib/nfs/rpc_pipefs
|
|
|
|
%dir /var/lib/nfs/v4recovery
|
2010-10-11 17:03:25 +02:00
|
|
|
%attr(0700,statd,nogroup) %dir /var/lib/nfs/sm
|
|
|
|
%attr(0700,statd,nogroup) %dir /var/lib/nfs/sm.bak
|
|
|
|
%attr(0700,statd,nogroup) %ghost /var/lib/nfs/state
|
2007-12-17 11:44:13 +01:00
|
|
|
%config %attr(0644,root,root) /etc/sysconfig/SuSEfirewall2.d/services/nfs-client
|
2007-06-05 20:06:28 +02:00
|
|
|
|
|
|
|
%files -n nfs-kernel-server
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%config /etc/init.d/nfsserver
|
2006-12-19 01:34:50 +01:00
|
|
|
/usr/sbin/exportfs
|
|
|
|
/usr/sbin/rcnfsserver
|
|
|
|
/usr/sbin/rpc.mountd
|
|
|
|
/usr/sbin/rpc.nfsd
|
|
|
|
/usr/sbin/rpc.svcgssd
|
2012-11-28 01:31:37 +01:00
|
|
|
/usr/sbin/nfsdcltrack
|
2006-12-19 01:34:50 +01:00
|
|
|
%{_mandir}/man5/exports.5.gz
|
|
|
|
%{_mandir}/man7/nfsd.7.gz
|
|
|
|
%{_mandir}/man8/exportfs.8.gz
|
|
|
|
%{_mandir}/man8/mountd.8.gz
|
|
|
|
%{_mandir}/man8/nfsd.8.gz
|
2007-06-05 20:06:28 +02:00
|
|
|
%{_mandir}/man8/rpc.mountd.8.gz
|
2006-12-19 01:34:50 +01:00
|
|
|
%{_mandir}/man8/rpc.nfsd.8.gz
|
|
|
|
%{_mandir}/man8/rpc.svcgssd.8.gz
|
2012-11-28 01:31:37 +01:00
|
|
|
%{_mandir}/man8/nfsdcltrack.8.gz
|
2008-04-01 23:03:58 +02:00
|
|
|
/usr/share/omc/svcinfo.d/nfs-kernel-server.xml
|
2007-06-05 20:06:28 +02:00
|
|
|
%config(noreplace) /var/lib/nfs/xtab
|
|
|
|
%config(noreplace) /var/lib/nfs/etab
|
|
|
|
%config(noreplace) /var/lib/nfs/rmtab
|
2007-12-17 11:44:13 +01:00
|
|
|
%config %attr(0644,root,root) /etc/sysconfig/SuSEfirewall2.d/services/nfs-kernel-server
|
2007-06-05 20:06:28 +02:00
|
|
|
|
|
|
|
%files -n nfs-doc
|
|
|
|
%defattr(-,root,root)
|
2012-05-17 09:07:12 +02:00
|
|
|
%doc nfs/*.html nfs/*.ps README.NFSv4
|
2007-12-17 11:44:13 +01:00
|
|
|
|
2007-02-27 09:10:11 +01:00
|
|
|
%changelog
|