2024-01-06 07:37:49 +01:00
|
|
|
%define rpcuser_uid 65050
|
|
|
|
%define rpcuser_gid 65050
|
|
|
|
%define nobodygroupid 65013
|
|
|
|
%define nobodyuserid 65013
|
|
|
|
#%define nfsnobody_uid 65051
|
|
|
|
|
|
|
|
%define with_rquotad 1
|
|
|
|
%define with_mount 1
|
|
|
|
|
|
|
|
Name: nfs-utils
|
2024-12-13 11:42:48 +01:00
|
|
|
Version: 2.8.2
|
2024-10-24 20:04:49 +02:00
|
|
|
Release: 1mamba
|
2024-01-06 07:37:49 +01:00
|
|
|
Summary: NFS utilities and supporting clients and daemons for the kernel NFS server
|
|
|
|
Group: Network/File Systems
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 07:37:51 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://linux-nfs.org/wiki/index.php/Main_Page
|
2024-01-06 07:37:49 +01:00
|
|
|
Source0: http://downloads.sourceforge.net/project/nfs/nfs-utils/%{version}/nfs-utils-%{version}.tar.bz2
|
2024-01-06 07:37:49 +01:00
|
|
|
Source1: nfs-utils-sysconfig
|
2024-01-06 07:37:49 +01:00
|
|
|
Source2: nfs-utils_env.sh
|
2024-01-06 07:37:49 +01:00
|
|
|
Source7: nfs-utils-idmapd.conf
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libblkid-devel
|
|
|
|
BuildRequires: libcap-devel
|
|
|
|
BuildRequires: libdevmapper-devel
|
|
|
|
BuildRequires: libe2fs-devel
|
|
|
|
BuildRequires: libevent-devel
|
2024-12-13 11:42:48 +01:00
|
|
|
BuildRequires: libgcc
|
2024-01-06 07:37:49 +01:00
|
|
|
BuildRequires: libkeyutils-devel
|
|
|
|
BuildRequires: libkrb5-devel
|
2024-01-06 07:37:49 +01:00
|
|
|
BuildRequires: libmount-devel
|
2024-10-24 20:04:49 +02:00
|
|
|
BuildRequires: libnl-devel
|
2024-01-06 07:37:50 +01:00
|
|
|
BuildRequires: libopenldap-devel
|
2024-10-24 20:04:49 +02:00
|
|
|
BuildRequires: libreadline-devel
|
2024-01-06 07:37:49 +01:00
|
|
|
BuildRequires: libsqlite-devel
|
|
|
|
BuildRequires: libtirpc-devel
|
2024-01-06 07:37:51 +01:00
|
|
|
BuildRequires: libuuid-devel
|
2024-09-04 10:38:18 +02:00
|
|
|
BuildRequires: libxml2-devel
|
2024-01-06 07:37:49 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 07:37:50 +01:00
|
|
|
#%if "%{stage1}" != "1"
|
|
|
|
#BuildRequires: libnfsidmap-devel
|
|
|
|
#%endif
|
|
|
|
BuildRequires: rpcsvc-proto-devel
|
2024-01-06 07:37:49 +01:00
|
|
|
BuildRequires: pkgconfig
|
2024-01-06 07:37:51 +01:00
|
|
|
# build libraries needed to support nfsv4
|
2024-01-06 07:37:49 +01:00
|
|
|
#BuildRequires: tcp_wrappers-devel >= 7.6
|
2024-01-06 07:37:51 +01:00
|
|
|
#Requires(pre): /sbin/nologin
|
2024-01-06 07:37:49 +01:00
|
|
|
Requires: rpcbind
|
2024-01-06 07:37:49 +01:00
|
|
|
Requires: libnfsidmap = %{?epoch:%epoch:}%{version}-%{release}
|
2024-09-04 10:38:18 +02:00
|
|
|
Provides: user(rpcuser)
|
|
|
|
Provides: group(rpcuser)
|
2024-01-06 07:37:49 +01:00
|
|
|
%systemd_requires
|
2024-01-06 07:37:49 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The nfs-utils package provides a daemon for the kernel NFS server and related tools, which provides a much higher level of performance than the traditional Linux NFS server used by most users.
|
|
|
|
This package also contains the showmount program. Showmount queries the mount daemon on a remote host for information about the NFS (Network File System) server on the remote host. For example, showmount can display the clients which are mounted on that host.
|
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
%package -n nfs-server
|
|
|
|
Group: System/Servers
|
|
|
|
Summary: NFS server and services
|
|
|
|
Requires(post):%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n nfs-server
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
%package -n libnfsidmap
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: A NFS library holding mulitiple methods of mapping names to id's and visa versa
|
|
|
|
|
|
|
|
%description -n libnfsidmap
|
|
|
|
libnfsidmap is a library holding mulitiple methods of mapping names to id's and visa versa, mainly for NFSv4.
|
|
|
|
|
|
|
|
%package -n libnfsidmap-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for libnfsidmap
|
|
|
|
|
|
|
|
%description -n libnfsidmap-devel
|
|
|
|
libnfsidmap is a library holding mulitiple methods of mapping names to id's and visa versa, mainly for NFSv4.
|
|
|
|
This package contains the files needed for development with this library.
|
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 07:37:49 +01:00
|
|
|
sed -i "s|/run/sysconfig|/run|" systemd/*
|
2024-01-06 07:37:49 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
# --disable-tirpc: we currently use portmap.
|
|
|
|
# Enabling tirpc causes nfs.mountd not to start when IPv6 is disabled
|
|
|
|
%configure \
|
|
|
|
--enable-tirpc \
|
|
|
|
%if "%{stage1}" == "1"
|
|
|
|
--disable-gss \
|
|
|
|
%else
|
|
|
|
--enable-gss \
|
2024-01-06 07:37:49 +01:00
|
|
|
--enable-ipv6 \
|
|
|
|
--with-statedir=/var/lib/nfs \
|
2024-01-06 07:37:49 +01:00
|
|
|
%endif
|
2024-01-06 07:37:49 +01:00
|
|
|
--with-pluginpath=%{_libdir}/libnfsidmap \
|
2024-01-06 07:37:49 +01:00
|
|
|
%if %{with_mount}
|
|
|
|
--enable-mount \
|
2024-01-06 07:37:49 +01:00
|
|
|
--enable-libmount-mount \
|
|
|
|
--enable-mountconfig \
|
2024-01-06 07:37:49 +01:00
|
|
|
%else
|
|
|
|
--disable-mount \
|
2024-01-06 07:37:49 +01:00
|
|
|
%endif
|
|
|
|
%ifnarch x86_64
|
|
|
|
--disable-nfsdcld \
|
2024-01-06 07:37:49 +01:00
|
|
|
%endif
|
2024-01-06 07:37:49 +01:00
|
|
|
--without-tcp-wrappers \
|
2024-01-06 07:37:49 +01:00
|
|
|
--enable-shared \
|
|
|
|
--disable-static \
|
2024-01-06 07:37:49 +01:00
|
|
|
--with-systemd=%{_unitdir} \
|
2024-01-06 07:37:49 +01:00
|
|
|
--with-statduser=rpcuser \
|
2024-01-06 07:37:49 +01:00
|
|
|
--with-start-statd=%{_sbindir}/start-statd \
|
2024-01-06 07:37:49 +01:00
|
|
|
%if "%{_host}" != "%{_build}"
|
|
|
|
--without-krb5 \
|
|
|
|
LDFLAGS="-L%{_prefix}/%{_host}/lib -lnsl -ldl -luuid -lgssglue -lrpcsecgss"
|
|
|
|
%endif
|
|
|
|
|
|
|
|
#% if %{with_rquotad}
|
|
|
|
# --enable-rquotad \
|
|
|
|
#% else
|
|
|
|
# --disable-rquotad \
|
|
|
|
#% endif
|
|
|
|
# --enable-nfsv3 \
|
|
|
|
# --enable-secure-statd
|
|
|
|
|
2024-01-06 07:37:50 +01:00
|
|
|
make all CC=%{_host}-gcc CFLAGS="%{optflags}" \
|
2024-01-06 07:37:49 +01:00
|
|
|
generator_dir=%{_systemdgeneratordir}
|
2024-01-06 07:37:49 +01:00
|
|
|
#%if "%{_host}" != "%{_build}"
|
|
|
|
# LDFLAGS="-L%{_prefix}/%{_host}/lib -lnsl -ldl -luuid -l"
|
|
|
|
#%endif
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
2024-01-06 07:37:51 +01:00
|
|
|
%makeinstall \
|
|
|
|
sbindir=%{_sbindir} \
|
|
|
|
statduser=$USER \
|
|
|
|
generator_dir=%{_systemdgeneratordir}
|
2024-01-06 07:37:49 +01:00
|
|
|
|
|
|
|
install -d %{buildroot}/var/lib/nfs/rpc_pipefs
|
|
|
|
install -d %{buildroot}/var/lib/nfs/statd
|
|
|
|
install -d %{buildroot}/var/lib/nfs/v4recovery
|
2024-01-06 07:37:49 +01:00
|
|
|
install -d %{buildroot}/var/lib/nfs/nfsdcld
|
2024-01-06 07:37:49 +01:00
|
|
|
install -d %{buildroot}/var/lib/nfs/nfsdcltrack
|
2024-01-06 07:37:49 +01:00
|
|
|
touch %{buildroot}/var/lib/nfs/rmtab
|
2024-01-06 07:37:49 +01:00
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
install -d %{buildroot}%{_sysconfdir}
|
2024-01-06 07:37:49 +01:00
|
|
|
touch %{buildroot}%{_sysconfdir}/exports
|
2024-01-06 07:37:49 +01:00
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
#install -d -m0755 %{buildroot}%{_unitdir}
|
|
|
|
#cp -a systemd/*.service %{buildroot}%{_unitdir}
|
|
|
|
#cp -a systemd/*.target %{buildroot}%{_unitdir}
|
|
|
|
#cp -a systemd/*.mount %{buildroot}%{_unitdir}
|
|
|
|
#rm -f %{buildroot}%{_unitdir}/nfs-idmapd.service
|
2024-01-06 07:37:49 +01:00
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
#install -D -m0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/nfs
|
2024-01-06 07:37:49 +01:00
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
install -D -m0755 %{SOURCE2} %{buildroot}%{_prefix}/libexec/nfs-utils/nfs-utils_env.sh
|
2024-01-06 07:37:49 +01:00
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
install -D -m0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/idmapd.conf
|
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
install -D -m0644 nfs.conf %{buildroot}%{_sysconfdir}/nfs.conf
|
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
%pre
|
|
|
|
if [ $1 -ge 1 ]; then
|
|
|
|
/usr/sbin/groupadd -g %{rpcuser_gid} rpcuser 2>/dev/null
|
|
|
|
/usr/sbin/useradd -c "RPC Service User" \
|
|
|
|
-s /bin/false -u %{rpcuser_uid} -g rpcuser -d /var/lib/nfs rpcuser 2>/dev/null
|
|
|
|
/usr/sbin/groupadd nobody -g %{nobodygroupid} 2>/dev/null
|
|
|
|
/usr/sbin/useradd -c nobody -u %{nobodyuserid} -d /dev/null -g nobody \
|
|
|
|
-s /bin/false nobody 2>/dev/null
|
|
|
|
fi
|
2024-01-06 07:37:49 +01:00
|
|
|
:
|
2024-01-06 07:37:49 +01:00
|
|
|
|
|
|
|
%preun
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
/usr/sbin/userdel rpcuser 2>/dev/null
|
|
|
|
/usr/sbin/groupdel rpcuser 2>/dev/null
|
|
|
|
rm -rf /var/lib/nfs/statd/*
|
|
|
|
rm -rf /var/lib/nfs/v4recovery/*
|
|
|
|
fi
|
2024-01-06 07:37:49 +01:00
|
|
|
:
|
|
|
|
|
|
|
|
%post -n nfs-server
|
|
|
|
%systemd_post nfs-server
|
|
|
|
:
|
|
|
|
|
|
|
|
%preun -n nfs-server
|
|
|
|
%systemd_preun nfs-server
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun -n nfs-server
|
|
|
|
%systemd_postun_with_restart nfs-server
|
|
|
|
:
|
|
|
|
|
|
|
|
%posttrans -n nfs-server
|
|
|
|
[ ! -e /etc/exportfs -a -e /etc/exportfs.rpmsave ] && \
|
|
|
|
mv /etc/exportfs.rpmsave /etc/exportfs
|
|
|
|
:
|
2024-01-06 07:37:49 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 07:37:49 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/nfs.conf
|
2024-01-06 07:37:49 +01:00
|
|
|
%if %{with_mount}
|
2024-01-06 07:37:51 +01:00
|
|
|
%attr(4755,root,root) %{_sbindir}/mount.nfs
|
|
|
|
%{_sbindir}/mount.nfs4
|
|
|
|
%{_sbindir}/umount.nfs
|
|
|
|
%{_sbindir}/umount.nfs4
|
2024-01-06 07:37:49 +01:00
|
|
|
%endif
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_sbindir}/blkmapd
|
2024-01-06 07:37:51 +01:00
|
|
|
%{_sbindir}/fsidd
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_sbindir}/mountstats
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_sbindir}/nfsconf
|
2024-10-24 20:04:49 +02:00
|
|
|
%{_sbindir}/nfsdctl
|
2024-09-04 10:38:18 +02:00
|
|
|
%{_sbindir}/nfsref
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_sbindir}/nfsidmap
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_sbindir}/nfsiostat
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_sbindir}/nfsstat
|
|
|
|
%{_sbindir}/rpcdebug
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_sbindir}/rpc.idmapd
|
2024-01-06 07:37:49 +01:00
|
|
|
%if "%{stage1}" != "1"
|
|
|
|
%{_sbindir}/rpc.gssd
|
|
|
|
%endif
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_sbindir}/rpc.statd
|
2024-01-06 07:37:51 +01:00
|
|
|
%{_sbindir}/rpcctl
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_sbindir}/showmount
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_sbindir}/sm-notify
|
|
|
|
%{_sbindir}/start-statd
|
2024-01-06 07:37:51 +01:00
|
|
|
%{_libexecdir}/nfsrahead
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_unitdir}/nfs-client.target
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_unitdir}/rpc-statd.service
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_unitdir}/nfs-utils.service
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_unitdir}/nfs-blkmap.service
|
|
|
|
%{_unitdir}/nfs-idmapd.service
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_unitdir}/nfs-mountd.service
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_unitdir}/rpc-gssd.service
|
|
|
|
%{_unitdir}/rpc-statd-notify.service
|
2024-01-06 07:37:51 +01:00
|
|
|
%{_unitdir}/fsidd.service
|
|
|
|
%{_udevrulesdir}/60-nfs.rules
|
2024-01-06 07:37:51 +01:00
|
|
|
%{_udevrulesdir}/99-nfs.rules
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_prefix}/libexec/nfs-utils/nfs-utils_env.sh
|
2024-01-06 07:37:49 +01:00
|
|
|
%dir %attr(-,rpcuser,rpcuser) /var/lib/nfs
|
2024-01-06 07:37:49 +01:00
|
|
|
%dir %attr(700,rpcuser,rpcuser) /var/lib/nfs/statd
|
|
|
|
%dir /var/lib/nfs/v4recovery
|
|
|
|
%dir /var/lib/nfs/rpc_pipefs
|
|
|
|
%dir /var/lib/nfs/sm
|
|
|
|
%dir /var/lib/nfs/sm.bak
|
|
|
|
%config(noreplace) /var/lib/nfs/etab
|
|
|
|
%config(noreplace) /var/lib/nfs/rmtab
|
|
|
|
%config(noreplace) /var/lib/nfs/state
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_mandir}/man8/blkmapd.8*
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_mandir}/man8/gssd.8*
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_mandir}/man8/idmapd.8*
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_mandir}/man8/mount.nfs.8*
|
|
|
|
%{_mandir}/man8/mountstats.8*
|
2024-10-24 20:04:49 +02:00
|
|
|
%{_mandir}/man5/nfs.5*
|
|
|
|
%{_mandir}/man8/nfsdctl.8*
|
2024-09-04 10:38:18 +02:00
|
|
|
%{_mandir}/man8/nfsref.8*
|
2024-12-13 11:42:48 +01:00
|
|
|
#%{_mandir}/man8/nfsdcltrack.8*
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_mandir}/man8/nfsidmap.8*
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_mandir}/man8/nfsiostat.8*
|
2024-10-24 20:04:49 +02:00
|
|
|
%{_mandir}/man5/nfsmount.conf.5*
|
|
|
|
%{_mandir}/man5/nfsrahead.5*
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_mandir}/man8/nfsstat.8*
|
|
|
|
%{_mandir}/man8/rpc.gssd.8*
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_mandir}/man8/rpc.idmapd.8*
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_mandir}/man8/rpc.sm-notify.8*
|
|
|
|
%{_mandir}/man8/rpc.statd.8*
|
2024-01-06 07:37:51 +01:00
|
|
|
%{_mandir}/man8/rpcctl.8*
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_mandir}/man8/rpcdebug.8*
|
|
|
|
%{_mandir}/man8/showmount.8*
|
|
|
|
%{_mandir}/man8/sm-notify.8*
|
|
|
|
%{_mandir}/man8/statd.8*
|
|
|
|
%{_mandir}/man8/umount.nfs.8*
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files -n nfs-server
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 07:37:49 +01:00
|
|
|
%config %{_sysconfdir}/idmapd.conf
|
2024-01-06 07:37:49 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/exports
|
|
|
|
%{_sbindir}/exportfs
|
|
|
|
%{_sbindir}/rpc.mountd
|
|
|
|
%{_sbindir}/rpc.nfsd
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_sbindir}/nfsdclnts
|
2024-01-06 07:37:49 +01:00
|
|
|
%ifarch x86_64
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_sbindir}/nfsdclddb
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_sbindir}/nfsdcld
|
|
|
|
%{_unitdir}/nfsdcld.service
|
|
|
|
%endif
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_unitdir}/auth-rpcgss-module.service
|
|
|
|
%{_unitdir}/nfs-server.service
|
|
|
|
%{_unitdir}/proc-fs-nfsd.mount
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_unitdir}/rpc_pipefs.target
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_unitdir}/var-lib-nfs-rpc_pipefs.mount
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_systemdgeneratordir}/nfs-server-generator
|
|
|
|
%{_systemdgeneratordir}/rpc-pipefs-generator
|
2024-01-06 07:37:49 +01:00
|
|
|
%dir /var/lib/nfs/nfsdcltrack
|
|
|
|
%dir /var/lib/nfs/nfsdcld
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_mandir}/man3/nfs4_uid_to_name.3*
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_mandir}/man5/exports.5*
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_mandir}/man5/idmapd.conf.5*
|
|
|
|
%{_mandir}/man5/nfs.conf.5*
|
|
|
|
%{_mandir}/man7/nfsd.7*
|
|
|
|
%{_mandir}/man7/nfs.systemd.7*
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_mandir}/man8/exportfs.8*
|
|
|
|
%{_mandir}/man8/mountd.8*
|
|
|
|
%{_mandir}/man8/nfsd.8*
|
2024-01-06 07:37:49 +01:00
|
|
|
%ifarch x86_64
|
|
|
|
%{_mandir}/man8/nfsdclddb.8*
|
|
|
|
%{_mandir}/man8/nfsdcld.8*
|
|
|
|
%endif
|
|
|
|
%{_mandir}/man8/nfsdclnts.8*
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_mandir}/man8/rpc.mountd.8*
|
|
|
|
%{_mandir}/man8/rpc.nfsd.8*
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_mandir}/man8/nfsconf.8*
|
|
|
|
|
|
|
|
%files -n libnfsidmap
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libnfsidmap.so.*
|
2024-01-06 07:37:49 +01:00
|
|
|
%dir %{_libdir}/libnfsidmap
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_libdir}/libnfsidmap/nsswitch.so
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_libdir}/libnfsidmap/regex.so
|
2024-01-06 07:37:49 +01:00
|
|
|
%{_libdir}/libnfsidmap/static.so
|
|
|
|
%{_libdir}/libnfsidmap/umich_ldap.so
|
|
|
|
|
|
|
|
%files -n libnfsidmap-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/nfsidmap.h
|
|
|
|
%{_includedir}/nfsidmap_plugin.h
|
|
|
|
%{_libdir}/libnfsidmap.so
|
|
|
|
%{_libdir}/pkgconfig/libnfsidmap.pc
|
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
%changelog
|
2024-12-13 11:42:48 +01:00
|
|
|
* Fri Dec 13 2024 Automatic Build System <autodist@openmamba.org> 2.8.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-10-24 20:04:49 +02:00
|
|
|
* Wed Oct 23 2024 Automatic Build System <autodist@openmamba.org> 2.8.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-09-04 10:38:18 +02:00
|
|
|
* Tue Sep 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7.1-2mamba
|
|
|
|
- provide user and group rpcuser
|
|
|
|
|
|
|
|
* Sat Aug 24 2024 Automatic Build System <autodist@openmamba.org> 2.7.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:37:53 +01:00
|
|
|
* Mon Nov 20 2023 Automatic Build System <autodist@mambasoft.it> 2.6.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:37:51 +01:00
|
|
|
* Fri Apr 28 2023 Automatic Build System <autodist@mambasoft.it> 2.6.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:37:51 +01:00
|
|
|
* Tue Aug 16 2022 Automatic Build System <autodist@mambasoft.it> 2.6.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:37:51 +01:00
|
|
|
* Sun Jan 23 2022 Automatic Build System <autodist@mambasoft.it> 2.6.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:37:51 +01:00
|
|
|
* Thu Aug 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.4-2mamba
|
|
|
|
- removed Requires(pre): /sbin/nologin; rebuilt in /usr
|
|
|
|
|
2024-01-06 07:37:51 +01:00
|
|
|
* Sat Jun 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.4-1mamba
|
|
|
|
- update to 2.5.4
|
|
|
|
|
2024-01-06 07:37:51 +01:00
|
|
|
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 2.5.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:37:50 +01:00
|
|
|
* Sun Dec 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.2-2mamba
|
|
|
|
- rebuilt without obsolete librpcsecgss
|
|
|
|
|
2024-01-06 07:37:50 +01:00
|
|
|
* Thu Oct 29 2020 Automatic Build System <autodist@mambasoft.it> 2.5.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
* Wed Jul 01 2020 Automatic Build System <autodist@mambasoft.it> 2.5.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.3-2mamba
|
|
|
|
- move nfsdcld to serve package; install nfs.conf; create /var/lib/nfs/nfsdcld; add debug package
|
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
* Fri Feb 14 2020 Automatic Build System <autodist@mambasoft.it> 2.4.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
* Fri Nov 22 2019 Automatic Build System <autodist@mambasoft.it> 2.4.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
* Sun Aug 11 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.1-3mamba
|
|
|
|
- provide directory /var/lib/nfs/nfsdcltrack
|
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
* Sun Jul 28 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.1-2mamba
|
|
|
|
- x86_64: fixed plugin path by passing --with-pluginpath
|
|
|
|
|
|
|
|
* Wed Jul 24 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.1-1mamba
|
|
|
|
- update to 2.4.1
|
|
|
|
|
|
|
|
* Sun May 26 2019 Automatic Build System <autodist@mambasoft.it> 2.3.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
* Tue Apr 23 2019 Automatic Build System <autodist@mambasoft.it> 2.3.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
* Sun Oct 30 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.4-2mamba
|
|
|
|
- correctly provide nfs-utils_env.sh
|
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
* Tue Oct 04 2016 Automatic Build System <autodist@mambasoft.it> 1.3.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
* Sat Jul 23 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.3-5mamba
|
|
|
|
- trying to re-enable nfsv4 and added more options to configure
|
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
* Tue Dec 01 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.3-4mamba
|
|
|
|
- remove nfs-idmapd.service since disabling nfs4
|
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
* Fri Nov 06 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.3-3mamba
|
|
|
|
- move nfs-config.service to client package
|
|
|
|
- patch for /run instead of /var/run
|
|
|
|
- fix configured path for start-statd
|
|
|
|
|
|
|
|
* Fri Oct 30 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.3-2mamba
|
|
|
|
- disable nfsv4 and move rpc-statd and other services from server to client package
|
|
|
|
|
|
|
|
* Wed Oct 28 2015 Automatic Build System <autodist@mambasoft.it> 1.3.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Feb 17 2015 Automatic Build System <autodist@mambasoft.it> 1.3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
* Wed Oct 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.1-2mamba
|
|
|
|
- provide nfs-utils_env.sh script and /etc/sysconfig/nfs
|
|
|
|
|
|
|
|
* Tue Sep 30 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.1-1mamba
|
|
|
|
- update to 1.3.1
|
|
|
|
- systemd support and added nfs-server package
|
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
* Fri Jun 27 2014 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
* Tue Jun 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.9-4mamba
|
|
|
|
- initscript: move down 'exportfs -r' after rpc.nfsd to avoid returning error on boot
|
|
|
|
|
2024-01-06 07:37:49 +01:00
|
|
|
* Sat May 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.9-3mamba
|
|
|
|
- require nfsbind replacing portmap
|
|
|
|
- nfslock initscript: remove pid files on stop and make better checks on start
|
|
|
|
|
|
|
|
* Sat May 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.9-2mamba
|
|
|
|
- x86_64: unstaged build
|
|
|
|
- fix path check for rpc.statd in nfs initscript
|
|
|
|
|
|
|
|
* Wed Nov 27 2013 Automatic Build System <autodist@mambasoft.it> 1.2.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu May 16 2013 Automatic Build System <autodist@mambasoft.it> 1.2.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Aug 22 2012 Automatic Build System <autodist@mambasoft.it> 1.2.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Mar 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.5-4mamba
|
|
|
|
- precreate nobody group and user
|
|
|
|
|
|
|
|
* Thu Feb 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.5-3mamba
|
|
|
|
- rebuilt with libkeyutils
|
|
|
|
|
|
|
|
* Mon Feb 06 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.5-2mamba
|
|
|
|
- disable nfslock initscript, as rpc.statd is called by mount in clients now and by nfs init in server
|
|
|
|
- include directory /var/lib/nfs/sm to fix file locking support on client
|
|
|
|
|
|
|
|
* Sun Sep 25 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.5-1mamba
|
|
|
|
- update to 1.2.5
|
|
|
|
|
|
|
|
* Thu Dec 03 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-4mamba
|
|
|
|
- remove /etc/idmapd.conf to fix conflict with libnfsidmap
|
|
|
|
|
|
|
|
* Sat Aug 01 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-3mamba
|
|
|
|
- exclude idmapd.conf man entry moved to libnfsidmap
|
|
|
|
|
|
|
|
* Fri Jul 17 2009 Davide Madrisan <davide.madrisan@gmail.com> 1.2.0-2mamba
|
|
|
|
- minor fix in the initscripts for nfsd and nfslock
|
|
|
|
|
|
|
|
* Thu Jun 11 2009 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri May 08 2009 Automatic Build System <autodist@mambasoft.it> 1.1.6-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Mar 11 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.5-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Oct 22 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.4-1mamba
|
|
|
|
- update to 1.1.4
|
|
|
|
- nfslock: activate service on install
|
|
|
|
|
|
|
|
* Fri Jun 06 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.1-1mamba
|
|
|
|
- update to 1.1.1
|
|
|
|
|
|
|
|
* Sat Jul 07 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-1mamba
|
|
|
|
- update to 1.1.0
|
|
|
|
- fixes rpcidmapd initscript (don't load module but mount rpc_pipefs)
|
|
|
|
|
|
|
|
* Tue May 08 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.12-1mamba
|
|
|
|
- update to 1.0.12
|
|
|
|
- changed uid and gid of rpcuser and nfsnobody to avoid overlap (see resources db)
|
|
|
|
|
|
|
|
* Tue Jan 23 2007 Davide Madrisan <davide.madrisan@qilinux.it> 1.0.10-1qilnx
|
|
|
|
- update to version 1.0.10 by autospec
|
|
|
|
- /sbin/rpcdebug moved to /usr/sbin directory
|
|
|
|
- dropped patch for gcc4 compiler
|
|
|
|
- fixed permissions for /var/lib/nfs/statd
|
|
|
|
|
|
|
|
* Fri Dec 02 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.7-2qilnx
|
|
|
|
- rebuilt with new releases of libnfsidmap and libevent
|
|
|
|
- gcc4 patch applied
|
|
|
|
|
|
|
|
* Fri Apr 01 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.0.7-1qilnx
|
|
|
|
- update to version 1.0.7 by autospec
|
|
|
|
- also fix security issue QSA-2005-035 (CAN-2004-1014)
|
|
|
|
- added /etc/exports to be compliant with LSB requirements
|
|
|
|
|
|
|
|
* Wed Nov 19 2003 Davide Madrisan <davide.madrisan@qilinux.it> 1.0.6-1qilnx
|
|
|
|
- first build
|