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
|
|
|
#
|
2015-08-10 06:31:12 +02:00
|
|
|
# Copyright (c) 2015 SUSE LINUX 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
|
2014-03-10 00:06:13 +01:00
|
|
|
%if 0%{?suse_version} >= 1310
|
|
|
|
BuildRequires: fedfs-utils-devel
|
|
|
|
%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
|
2014-11-05 01:53:10 +01:00
|
|
|
Version: 1.3.1
|
2012-05-02 03:36:09 +02:00
|
|
|
Release: 0
|
2006-12-19 01:34:50 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2014-11-05 01:53:10 +01:00
|
|
|
PreReq: %fillup_prereq
|
2013-11-06 03:21:12 +01:00
|
|
|
%{?systemd_requires}
|
2006-12-19 01:34:50 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2014-06-10 09:43:48 +02:00
|
|
|
Source0: http://kernel.org/pub/linux/utils/nfs-utils/%{version}/nfs-utils-%{version}.tar.xz
|
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
|
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
|
2009-11-25 16:22:12 +01:00
|
|
|
Source11: idmapd.conf
|
2014-11-05 01:53:10 +01:00
|
|
|
Source12: nfs-config.restart.conf
|
2010-08-01 17:28:34 +02:00
|
|
|
Source13: nfs-utils.rpmlintrc
|
2014-11-05 01:53:10 +01:00
|
|
|
Source14: nfs-utils_env.sh
|
|
|
|
Source15: nfsserver.service
|
|
|
|
Source16: nfs.service
|
|
|
|
Source17: nfs-server.nfsserver.conf
|
|
|
|
Source18: nfs-client.nfs.conf
|
2008-08-22 01:20:49 +02:00
|
|
|
Patch0: nfs-utils-1.0.7-bind-syntax.patch
|
2014-11-05 01:53:10 +01:00
|
|
|
# PATCH-FIX-UPSTREAM 0001-nfs-client.target-Removed-a-ordering-cycle-with-nfs-.patch nfbrown@suse.de
|
|
|
|
Patch1: 0001-nfs-client.target-Removed-a-ordering-cycle-with-nfs-.patch
|
|
|
|
# PATCH-FIX-UPSTREAM 0002-Centralize-dependencies-on-the-auth-unit.patch nfbrown@suse.de
|
|
|
|
Patch2: 0002-Centralize-dependencies-on-the-auth-unit.patch
|
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
|
2014-02-04 06:38:21 +01:00
|
|
|
Requires: keyutils
|
2012-10-18 01:55:51 +02:00
|
|
|
Requires: netcfg
|
2010-08-27 22:49:53 +02:00
|
|
|
Requires: rpcbind
|
2014-11-05 01:53:10 +01:00
|
|
|
PreReq: %fillup_prereq
|
2013-05-13 17:33:12 +02:00
|
|
|
PreReq: permissions
|
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
|
2014-11-05 01:53:10 +01:00
|
|
|
PreReq: %fillup_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
|
2014-06-10 09:43:48 +02:00
|
|
|
%patch2 -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
|
2014-06-10 09:43:48 +02:00
|
|
|
install -d $RPM_BUILD_ROOT/%{_unitdir}
|
2014-11-05 01:53:10 +01:00
|
|
|
install -m 644 systemd/*.{service,target,mount} $RPM_BUILD_ROOT/%{_unitdir}
|
|
|
|
install -m 644 %{S:15} $RPM_BUILD_ROOT%{_unitdir}/nfsserver.service
|
|
|
|
install -m 644 %{S:16} $RPM_BUILD_ROOT%{_unitdir}/nfs.service
|
|
|
|
install -d $RPM_BUILD_ROOT%{_unitdir}/nfs-server.service.d
|
|
|
|
install -m 644 %{S:17} $RPM_BUILD_ROOT%{_unitdir}/nfs-server.service.d/nfsserver.conf
|
|
|
|
install -d $RPM_BUILD_ROOT%{_unitdir}/nfs-client.target.d
|
|
|
|
install -m 644 %{S:18} $RPM_BUILD_ROOT%{_unitdir}/nfs-client.target.d/nfs.conf
|
|
|
|
install -d $RPM_BUILD_ROOT/usr/lib/systemd/scripts
|
|
|
|
install -m 755 %{S:14} $RPM_BUILD_ROOT/usr/lib/systemd/scripts/nfs-utils_env.sh
|
|
|
|
install -d $RPM_BUILD_ROOT%{_unitdir}/nfs-config.service.d
|
|
|
|
install -m 644 %{S:12} $RPM_BUILD_ROOT%{_unitdir}/nfs-config.service.d/restart.conf
|
|
|
|
ln -sf /sbin/service $RPM_BUILD_ROOT/usr/sbin/rcnfsserver
|
|
|
|
ln -sf /sbin/service $RPM_BUILD_ROOT/usr/sbin/rcnfs-server
|
|
|
|
ln -sf /sbin/service $RPM_BUILD_ROOT/usr/sbin/rcnfs
|
|
|
|
ln -sf /sbin/service $RPM_BUILD_ROOT/usr/sbin/rcnfs-client
|
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
|
2014-11-05 01:53:10 +01:00
|
|
|
install -d $RPM_BUILD_ROOT/etc
|
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
|
2009-11-25 16:22:12 +01:00
|
|
|
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' \
|
2014-11-09 23:34:50 +01:00
|
|
|
-s /sbin/nologin -d /var/lib/nfs -g nogroup statd > /dev/null 2>&1 || :
|
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
|
2014-11-09 23:34:50 +01:00
|
|
|
for i in state sm sm.bak; do
|
|
|
|
chown -R statd /var/lib/nfs/$i > /dev/null 2>&1 || :
|
|
|
|
done
|
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
|
|
|
|
###
|
2014-11-05 01:53:10 +01:00
|
|
|
%{fillup_only -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
|
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
|
|
|
|
###
|
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
|
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/idmapd.conf
|
2009-11-25 16:22:12 +01:00
|
|
|
%config /etc/nfsmount.conf
|
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
|
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
|
2014-11-05 01:53:10 +01:00
|
|
|
/usr/sbin/rcnfs-client
|
2007-06-05 20:06:28 +02:00
|
|
|
/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
|
2014-11-05 01:53:10 +01:00
|
|
|
%{_unitdir}/auth-rpcgss-module.service
|
|
|
|
%{_unitdir}/nfs-blkmap.service
|
|
|
|
%{_unitdir}/nfs-blkmap.target
|
|
|
|
%{_unitdir}/nfs-client.target
|
|
|
|
%{_unitdir}/nfs-config.service
|
|
|
|
%{_unitdir}/nfs-idmapd.service
|
|
|
|
%{_unitdir}/nfs-utils.service
|
|
|
|
%{_unitdir}/rpc-gssd.service
|
|
|
|
%{_unitdir}/rpc-statd-notify.service
|
2014-06-10 09:43:48 +02:00
|
|
|
%{_unitdir}/rpc-statd.service
|
2014-11-05 01:53:10 +01:00
|
|
|
%{_unitdir}/rpc-svcgssd.service
|
|
|
|
%{_unitdir}/var-lib-nfs-rpc_pipefs.mount
|
|
|
|
%{_unitdir}/nfs.service
|
|
|
|
%dir %{_unitdir}/nfs-client.target.d
|
|
|
|
%{_unitdir}/nfs-client.target.d/nfs.conf
|
|
|
|
%dir %{_unitdir}/nfs-config.service.d
|
|
|
|
%{_unitdir}/nfs-config.service.d/restart.conf
|
|
|
|
%dir /usr/lib/systemd/scripts
|
|
|
|
/usr/lib/systemd/scripts/nfs-utils_env.sh
|
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)
|
2014-11-05 01:53:10 +01:00
|
|
|
%{_unitdir}/nfs-mountd.service
|
|
|
|
%{_unitdir}/nfs-server.service
|
|
|
|
%{_unitdir}/proc-fs-nfsd.mount
|
|
|
|
%{_unitdir}/nfsserver.service
|
|
|
|
%dir %{_unitdir}/nfs-server.service.d
|
|
|
|
%{_unitdir}/nfs-server.service.d/nfsserver.conf
|
2006-12-19 01:34:50 +01:00
|
|
|
/usr/sbin/exportfs
|
|
|
|
/usr/sbin/rcnfsserver
|
2014-11-05 01:53:10 +01:00
|
|
|
/usr/sbin/rcnfs-server
|
2006-12-19 01:34:50 +01:00
|
|
|
/usr/sbin/rpc.mountd
|
|
|
|
/usr/sbin/rpc.nfsd
|
|
|
|
/usr/sbin/rpc.svcgssd
|
2014-05-06 02:52:31 +02:00
|
|
|
/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
|