trying to re-enable nfsv4 and added more options to configure [release 1.3.3-5mamba;Sat Jul 23 2016]
This commit is contained in:
parent
a7cd9340aa
commit
e6bd047a00
@ -9,7 +9,7 @@
|
||||
|
||||
Name: nfs-utils
|
||||
Version: 1.3.3
|
||||
Release: 4mamba
|
||||
Release: 5mamba
|
||||
Summary: NFS utilities and supporting clients and daemons for the kernel NFS server
|
||||
Group: Network/File Systems
|
||||
Vendor: openmamba
|
||||
@ -32,20 +32,23 @@ BuildRequires: libe2fs-devel
|
||||
BuildRequires: libevent-devel
|
||||
BuildRequires: libgssglue-devel
|
||||
BuildRequires: libkeyutils-devel
|
||||
%if "%{stage1}" != "1"
|
||||
BuildRequires: libkrb5-devel
|
||||
%endif
|
||||
BuildRequires: libmount-devel
|
||||
%if "%{stage1}" != "1"
|
||||
BuildRequires: libnfsidmap-devel
|
||||
%endif
|
||||
BuildRequires: libpcre-devel
|
||||
BuildRequires: librpcsecgss-devel
|
||||
BuildRequires: libselinux-devel
|
||||
BuildRequires: libsepol-devel
|
||||
BuildRequires: libsqlite-devel
|
||||
BuildRequires: libtirpc-devel
|
||||
BuildRequires: libuuid-devel
|
||||
BuildRequires: libwrap-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: chkconfig
|
||||
BuildRequires: pkgconfig
|
||||
# build libraries needed to support nfsv4
|
||||
BuildRequires: tcp_wrappers-devel >= 7.6
|
||||
#BuildRequires: tcp_wrappers-devel >= 7.6
|
||||
Requires(pre): /sbin/nologin
|
||||
Requires: rpcbind
|
||||
%systemd_requires
|
||||
@ -72,19 +75,22 @@ sed -i "s|/run/sysconfig|/run|" systemd/*
|
||||
# --disable-tirpc: we currently use portmap.
|
||||
# Enabling tirpc causes nfs.mountd not to start when IPv6 is disabled
|
||||
%configure \
|
||||
--disable-nfsv4 \
|
||||
--enable-tirpc \
|
||||
%if "%{stage1}" == "1"
|
||||
--disable-gss \
|
||||
%else
|
||||
--enable-gss \
|
||||
--enable-ipv6 \
|
||||
--with-statedir=/var/lib/nfs \
|
||||
%endif
|
||||
%if %{with_mount}
|
||||
--enable-mount \
|
||||
--enable-libmount-mount \
|
||||
--enable-mountconfig \
|
||||
%else
|
||||
--disable-mount \
|
||||
%endif
|
||||
--with-tcp-wrappers \
|
||||
--without-tcp-wrappers \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--with-systemd=%{_unitdir} \
|
||||
@ -190,15 +196,15 @@ fi
|
||||
%attr(4755,root,root) /sbin/umount.nfs
|
||||
%attr(4755,root,root) /sbin/umount.nfs4
|
||||
%endif
|
||||
#/sbin/nfsdcltrack
|
||||
/sbin/nfsdcltrack
|
||||
/sbin/osd_login
|
||||
#%{_sbindir}/blkmapd
|
||||
%{_sbindir}/blkmapd
|
||||
%{_sbindir}/mountstats
|
||||
#%{_sbindir}/nfsidmap
|
||||
%{_sbindir}/nfsidmap
|
||||
%{_sbindir}/nfsiostat
|
||||
%{_sbindir}/nfsstat
|
||||
%{_sbindir}/rpcdebug
|
||||
#%{_sbindir}/rpc.idmapd
|
||||
%{_sbindir}/rpc.idmapd
|
||||
%if "%{stage1}" != "1"
|
||||
%{_sbindir}/rpc.gssd
|
||||
#%{_sbindir}/rpc.svcgssd
|
||||
@ -214,8 +220,8 @@ fi
|
||||
%{_unitdir}/nfs-config.service
|
||||
%{_unitdir}/rpc-statd.service
|
||||
%{_unitdir}/nfs-utils.service
|
||||
#%{_unitdir}/nfs-blkmap.service
|
||||
#%{_unitdir}/nfs-idmapd.service
|
||||
%{_unitdir}/nfs-blkmap.service
|
||||
%{_unitdir}/nfs-idmapd.service
|
||||
%{_unitdir}/nfs-mountd.service
|
||||
%{_unitdir}/rpc-gssd.service
|
||||
%{_unitdir}/rpc-statd-notify.service
|
||||
@ -232,17 +238,17 @@ fi
|
||||
%config(noreplace) /var/lib/nfs/xtab
|
||||
%{_mandir}/man5/nfs.5*
|
||||
%{_mandir}/man5/nfsmount.conf.5*
|
||||
#%{_mandir}/man8/blkmapd.8*
|
||||
%{_mandir}/man8/blkmapd.8*
|
||||
%{_mandir}/man8/gssd.8*
|
||||
#%{_mandir}/man8/idmapd.8*
|
||||
%{_mandir}/man8/idmapd.8*
|
||||
%{_mandir}/man8/mount.nfs.8*
|
||||
%{_mandir}/man8/mountstats.8*
|
||||
#%{_mandir}/man8/nfsdcltrack.8*
|
||||
#%{_mandir}/man8/nfsidmap.8*
|
||||
%{_mandir}/man8/nfsdcltrack.8*
|
||||
%{_mandir}/man8/nfsidmap.8*
|
||||
%{_mandir}/man8/nfsiostat.8*
|
||||
%{_mandir}/man8/nfsstat.8*
|
||||
%{_mandir}/man8/rpc.gssd.8*
|
||||
#%{_mandir}/man8/rpc.idmapd.8*
|
||||
%{_mandir}/man8/rpc.idmapd.8*
|
||||
%{_mandir}/man8/rpc.sm-notify.8*
|
||||
%{_mandir}/man8/rpc.statd.8*
|
||||
%{_mandir}/man8/rpcdebug.8*
|
||||
@ -276,6 +282,9 @@ fi
|
||||
%{_mandir}/man7/nfsd.7*
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
* Tue Dec 01 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.3-4mamba
|
||||
- remove nfs-idmapd.service since disabling nfs4
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user