|
@@ -3,8 +3,8 @@
|
|
Summary: NFS utilities and supporting clients and daemons for the kernel NFS server
|
|
Summary: NFS utilities and supporting clients and daemons for the kernel NFS server
|
|
Summary(ja): カーネル NFS サーバ用 NFS ユーティリティと関連プログラム
|
|
Summary(ja): カーネル NFS サーバ用 NFS ユーティリティと関連プログラム
|
|
Name: nfs-utils
|
|
Name: nfs-utils
|
|
-Version: 2.3.3
|
|
+Version: 2.4.1
|
|
-Release: 3%{?_dist_release}
|
|
+Release: 1%{?_dist_release}
|
|
|
|
|
|
%define enablegss 1
|
|
%define enablegss 1
|
|
|
|
|
|
@@ -18,19 +18,20 @@ URL: https://sourceforge.net/projects/nfs/
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
|
|
|
|
-Source0: %{name}-%{version}.tar.xz
|
|
+Source0: https://mirrors.edge.kernel.org/pub/linux/utils/nfs-utils/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
|
|
Source10: nfs.init
|
|
Source10: nfs.init
|
|
Source11: nfslock.init
|
|
Source11: nfslock.init
|
|
Source12: rpcidmapd.init
|
|
Source12: rpcidmapd.init
|
|
Source13: rpcgssd.init
|
|
Source13: rpcgssd.init
|
|
#Source14: rpcsvcgssd.init
|
|
#Source14: rpcsvcgssd.init
|
|
|
|
+Source15: nfsdcld.init
|
|
|
|
|
|
Source21: id_resolver.conf
|
|
Source21: id_resolver.conf
|
|
Source22: lockd.conf
|
|
Source22: lockd.conf
|
|
Source23: nfs.sysconfig
|
|
Source23: nfs.sysconfig
|
|
|
|
|
|
-Patch001: nfs-utils.2.3.4-rc1.patch
|
|
+Patch001: nfs-utils.2.4.2-rc1.patch
|
|
|
|
|
|
Patch100: nfs-utils-1.2.1-statdpath-man.patch
|
|
Patch100: nfs-utils-1.2.1-statdpath-man.patch
|
|
Patch101: nfs-utils-1.2.1-exp-subtree-warn-off.patch
|
|
Patch101: nfs-utils-1.2.1-exp-subtree-warn-off.patch
|
|
@@ -63,6 +64,7 @@ BuildRequires: krb5-libs >= 1.4 autoconf >= 2.57 openldap-devel >= 2.2
|
|
BuildRequires: automake, libtool, glibc-headers, device-mapper-devel
|
|
BuildRequires: automake, libtool, glibc-headers, device-mapper-devel
|
|
BuildRequires: krb5-devel, tcp_wrappers, libmount-devel
|
|
BuildRequires: krb5-devel, tcp_wrappers, libmount-devel
|
|
BuildRequires: sqlite3-devel
|
|
BuildRequires: sqlite3-devel
|
|
|
|
+BuildRequires: rpcgen
|
|
#if %{enablegss}
|
|
#if %{enablegss}
|
|
#BuildRequires: libgssglue-devel
|
|
#BuildRequires: libgssglue-devel
|
|
#BuildRequires: librpcsecgss >= 0.17
|
|
#BuildRequires: librpcsecgss >= 0.17
|
|
@@ -178,6 +180,7 @@ install -m 755 %{SOURCE12} $RPM_BUILD_ROOT%{_initdir}/rpcidmapd
|
|
%if %{enablegss}
|
|
%if %{enablegss}
|
|
install -m 755 %{SOURCE13} $RPM_BUILD_ROOT%{_initdir}/rpcgssd
|
|
install -m 755 %{SOURCE13} $RPM_BUILD_ROOT%{_initdir}/rpcgssd
|
|
%endif
|
|
%endif
|
|
|
|
+install -m 755 %{SOURCE15} $RPM_BUILD_ROOT%{_initdir}/nfsdcld
|
|
|
|
|
|
install -m 644 %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/request-key.d
|
|
install -m 644 %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/request-key.d
|
|
install -m 644 %{SOURCE22} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/lockd.conf
|
|
install -m 644 %{SOURCE22} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/lockd.conf
|
|
@@ -250,6 +253,7 @@ fi
|
|
%if %{enablegss}
|
|
%if %{enablegss}
|
|
/sbin/chkconfig --add rpcgssd
|
|
/sbin/chkconfig --add rpcgssd
|
|
%endif
|
|
%endif
|
|
|
|
+/sbin/chkconfig --add nfsdcld
|
|
# Make sure statd used the correct uid/gid.
|
|
# Make sure statd used the correct uid/gid.
|
|
if [ -f /var/lock/subsys/rpc.statd ]; then
|
|
if [ -f /var/lock/subsys/rpc.statd ]; then
|
|
/etc/rc.d/init.d/nfslock stop > /dev/null
|
|
/etc/rc.d/init.d/nfslock stop > /dev/null
|
|
@@ -267,12 +271,14 @@ if [ "$1" = "0" ]; then
|
|
%endif
|
|
%endif
|
|
/etc/rc.d/init.d/rpcidmapd condstop > /dev/null
|
|
/etc/rc.d/init.d/rpcidmapd condstop > /dev/null
|
|
/etc/rc.d/init.d/nfslock condstop > /dev/null
|
|
/etc/rc.d/init.d/nfslock condstop > /dev/null
|
|
|
|
+ /etc/rc.d/init.d/nfsdcld condstop > /dev/null
|
|
/sbin/chkconfig --del rpcidmapd
|
|
/sbin/chkconfig --del rpcidmapd
|
|
%if %{enablegss}
|
|
%if %{enablegss}
|
|
/sbin/chkconfig --del rpcgssd
|
|
/sbin/chkconfig --del rpcgssd
|
|
%endif
|
|
%endif
|
|
/sbin/chkconfig --del nfs
|
|
/sbin/chkconfig --del nfs
|
|
/sbin/chkconfig --del nfslock
|
|
/sbin/chkconfig --del nfslock
|
|
|
|
+ /sbin/chkconfig --del nfsdcld
|
|
/usr/sbin/userdel rpcuser 2>/dev/null || :
|
|
/usr/sbin/userdel rpcuser 2>/dev/null || :
|
|
/usr/sbin/groupdel rpcuser 2>/dev/null || :
|
|
/usr/sbin/groupdel rpcuser 2>/dev/null || :
|
|
/usr/sbin/userdel nfsnobody 2>/dev/null || :
|
|
/usr/sbin/userdel nfsnobody 2>/dev/null || :
|
|
@@ -297,6 +303,9 @@ if [ "$1" -ge 1 ]; then
|
|
if [ -f /etc/rc.d/init.d/nfslock ]; then
|
|
if [ -f /etc/rc.d/init.d/nfslock ]; then
|
|
/etc/rc.d/init.d/nfslock condrestart > /dev/null
|
|
/etc/rc.d/init.d/nfslock condrestart > /dev/null
|
|
fi
|
|
fi
|
|
|
|
+ if [ -f /etc/rc.d/init.d/nfsdcld ]; then
|
|
|
|
+ /etc/rc.d/init.d/nfsdcld condrestart > /dev/null
|
|
|
|
+ fi
|
|
fi
|
|
fi
|
|
|
|
|
|
%post -n libnfsidmap -p /sbin/ldconfig
|
|
%post -n libnfsidmap -p /sbin/ldconfig
|
|
@@ -317,6 +326,7 @@ fi
|
|
%doc linux-nfs/ChangeLog linux-nfs/KNOWNBUGS linux-nfs/NEW linux-nfs/README
|
|
%doc linux-nfs/ChangeLog linux-nfs/KNOWNBUGS linux-nfs/NEW linux-nfs/README
|
|
%doc linux-nfs/THANKS linux-nfs/TODO
|
|
%doc linux-nfs/THANKS linux-nfs/TODO
|
|
%config %{_initdir}/nfs
|
|
%config %{_initdir}/nfs
|
|
|
|
+%config %{_initdir}/nfsdcld
|
|
%config %{_initdir}/rpcidmapd
|
|
%config %{_initdir}/rpcidmapd
|
|
%if %{enablegss}
|
|
%if %{enablegss}
|
|
%config %{_initdir}/rpcgssd
|
|
%config %{_initdir}/rpcgssd
|
|
@@ -338,6 +348,7 @@ fi
|
|
%config(noreplace) %attr(644,rpcuser,rpcuser) /var/lib/nfs/statd/state
|
|
%config(noreplace) %attr(644,rpcuser,rpcuser) /var/lib/nfs/statd/state
|
|
/sbin/rpc.statd
|
|
/sbin/rpc.statd
|
|
#/sbin/osd_login
|
|
#/sbin/osd_login
|
|
|
|
+/sbin/nfsdcld
|
|
/sbin/nfsdcltrack
|
|
/sbin/nfsdcltrack
|
|
%{_sbindir}/exportfs
|
|
%{_sbindir}/exportfs
|
|
%{_sbindir}/nfsstat
|
|
%{_sbindir}/nfsstat
|
|
@@ -365,7 +376,8 @@ fi
|
|
/sbin/umount.nfs4
|
|
/sbin/umount.nfs4
|
|
|
|
|
|
%files -n libnfsidmap
|
|
%files -n libnfsidmap
|
|
-%doc support/nfsidmap/AUTHORS support/nfsidmap/README support/nfsidmap/COPYING
|
|
+%license support/nfsidmap/COPYING
|
|
|
|
+%doc support/nfsidmap/AUTHORS support/nfsidmap/README
|
|
%config(noreplace) %{_sysconfdir}/idmapd.conf
|
|
%config(noreplace) %{_sysconfdir}/idmapd.conf
|
|
%{_libdir}/libnfsidmap.so.*
|
|
%{_libdir}/libnfsidmap.so.*
|
|
%{_libdir}/libnfsidmap/*.so
|
|
%{_libdir}/libnfsidmap/*.so
|
|
@@ -380,6 +392,11 @@ fi
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri Oct 25 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.1-1
|
|
|
|
+- new upstream release.
|
|
|
|
+- updated Patch100.
|
|
|
|
+- added an initscript for nfsdcld.
|
|
|
|
+
|
|
* Thu Nov 29 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.4-3
|
|
* Thu Nov 29 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.4-3
|
|
- rebuilt with libtirpc-1.1.4.
|
|
- rebuilt with libtirpc-1.1.4.
|
|
- imported Patch001 from rawhide.
|
|
- imported Patch001 from rawhide.
|