auto-import changelog data from nfs-utils-1.0.6-24.src.rpm
Mon Jun 14 2004 <SteveD@RedHat.com> - Removed sync warning on readonly exports. - Changed run levels in rpc initscripts. - Replaced modinfo with lsmod when checking for loaded modules. Tue Jun 01 2004 <SteveD@RedHat.com> - Changed the rpcgssd init script to ensure the rpcsec_gss_krb5 module is loaded Tue May 18 2004 <SteveD@RedHat.com> - Removed the auto option from MOUNTD_NFS_V2 and MOUNTD_NFS_V3 variables. Since v2 and v3 are on by default, there only needs to be away of turning them off. Mon May 10 2004 <SteveD@RedHat.com> - Rebuilt
This commit is contained in:
parent
603bcc0b08
commit
70faca5a62
@ -1,28 +1,28 @@
|
|||||||
%define rhelbuild 0
|
%define rhel3build 0
|
||||||
%define fc2build 1
|
%define fcbuild 1
|
||||||
|
|
||||||
%if %{fc2build}
|
%if %{fcbuild}
|
||||||
%define nfsv4_support 1
|
%define nfsv4_support 1
|
||||||
%else
|
%else
|
||||||
%define nfsv4_support 0
|
%define nfsv4_support 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{rhelbuild}
|
%if %{rhel3build}
|
||||||
%define nfsv4_support 0
|
%define nfsv4_support 0
|
||||||
%define fc2build 0
|
%define fcbuild 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Summary: NFS utlilities and supporting daemons for the kernel NFS server.
|
Summary: NFS utlilities and supporting daemons for the kernel NFS server.
|
||||||
Name: nfs-utils
|
Name: nfs-utils
|
||||||
Version: 1.0.6
|
Version: 1.0.6
|
||||||
%define release 20
|
%define release 24
|
||||||
|
|
||||||
%define Release %{release}
|
%define Release %{release}
|
||||||
%if %{rhelbuild}
|
%if %{rhel3build}
|
||||||
%define Release %{release}EL
|
%define Release %{release}EL
|
||||||
%define nfsv4_support 0
|
%define nfsv4_support 0
|
||||||
%endif
|
%endif
|
||||||
%if %{fc2build}
|
%if %{fcbuild}
|
||||||
%define Release %{release}
|
%define Release %{release}
|
||||||
%endif
|
%endif
|
||||||
Release: %{Release}
|
Release: %{Release}
|
||||||
@ -38,6 +38,7 @@ Patch3: nfs-utils-0.3.3.statd-manpage.patch
|
|||||||
Patch4: nfs-utils-1.0.3-aclexport.patch
|
Patch4: nfs-utils-1.0.3-aclexport.patch
|
||||||
Patch5: nfs-utils-1.0.6-zerostats.patch
|
Patch5: nfs-utils-1.0.6-zerostats.patch
|
||||||
Patch6: nfs-utils-1.0.6-mountd.patch
|
Patch6: nfs-utils-1.0.6-mountd.patch
|
||||||
|
Patch7: nfs-utils-1.0.6-expwarn.patch
|
||||||
%if %{nfsv4_support}
|
%if %{nfsv4_support}
|
||||||
Patch20: nfs-utils-nfsv4-pseudoflavor-clients.patch
|
Patch20: nfs-utils-nfsv4-pseudoflavor-clients.patch
|
||||||
Patch21: nfs-utils-nfsv4-mountd_flavors.patch
|
Patch21: nfs-utils-nfsv4-mountd_flavors.patch
|
||||||
@ -49,7 +50,10 @@ Patch31: nfs-utils-nfsv4-gssd.patch
|
|||||||
Patch35: nfs-utils-nfsv4-redhat-only.patch
|
Patch35: nfs-utils-nfsv4-redhat-only.patch
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Patch8: nfs-utils-1.0.6-pie.patch
|
Patch100: nfs-utils-1.0.6-pie.patch
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Obsoletes: nfs-server
|
Obsoletes: nfs-server
|
||||||
Obsoletes: knfsd
|
Obsoletes: knfsd
|
||||||
@ -89,15 +93,12 @@ clients which are mounted on that host.
|
|||||||
%patch1 -p1 -b .prefix
|
%patch1 -p1 -b .prefix
|
||||||
%patch2 -p1 -b .statdpath
|
%patch2 -p1 -b .statdpath
|
||||||
%patch3 -p1 -b .statd-manpage
|
%patch3 -p1 -b .statd-manpage
|
||||||
%if %{rhelbuild}
|
%if %{rhel3build}
|
||||||
%patch4 -p1 -b .aclexp
|
%patch4 -p1 -b .aclexp
|
||||||
%endif
|
%endif
|
||||||
%patch5 -p1 -b .zerostats
|
%patch5 -p1 -b .zerostats
|
||||||
%patch6 -p1 -b .mountd
|
%patch6 -p1 -b .mountd
|
||||||
%patch8 -p1 -b .pie
|
%patch7 -p1 -b .expwarn
|
||||||
%ifarch s390 s390x
|
|
||||||
perl -pi -e 's/-fpie/-fPIE/' */*/Makefile
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{nfsv4_support}
|
%if %{nfsv4_support}
|
||||||
%patch20 -p1 -b .v4
|
%patch20 -p1 -b .v4
|
||||||
@ -110,6 +111,11 @@ perl -pi -e 's/-fpie/-fPIE/' */*/Makefile
|
|||||||
%patch35 -p1 -b .rhonly
|
%patch35 -p1 -b .rhonly
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%patch100 -p1 -b .pie
|
||||||
|
%ifarch s390 s390x
|
||||||
|
perl -pi -e 's/-fpie/-fPIE/' */*/Makefile
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#
|
#
|
||||||
# Hack to enable netgroups. If anybody knows the right way to do
|
# Hack to enable netgroups. If anybody knows the right way to do
|
||||||
@ -240,6 +246,28 @@ fi
|
|||||||
%config /etc/rc.d/init.d/nfslock
|
%config /etc/rc.d/init.d/nfslock
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 14 2004 <SteveD@RedHat.com>
|
||||||
|
- Removed sync warning on readonly exports.
|
||||||
|
%if %{fcbuild}
|
||||||
|
- Changed run levels in rpc initscripts.
|
||||||
|
- Replaced modinfo with lsmod when checking
|
||||||
|
for loaded modules.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
* Tue Jun 1 2004 <SteveD@RedHat.com>
|
||||||
|
- Changed the rpcgssd init script to ensure the
|
||||||
|
rpcsec_gss_krb5 module is loaded
|
||||||
|
|
||||||
|
* Tue May 18 2004 <SteveD@RedHat.com>
|
||||||
|
- Removed the auto option from MOUNTD_NFS_V2 and
|
||||||
|
MOUNTD_NFS_V3 variables. Since v2 and v3 are on
|
||||||
|
by default, there only needs to be away of
|
||||||
|
turning them off.
|
||||||
|
|
||||||
|
* Thu May 10 2004 <SteveD@RedHat.com>
|
||||||
|
- Rebuilt
|
||||||
|
|
||||||
|
%if %{fcbuild}
|
||||||
* Thu Apr 15 2004 <SteveD@RedHat.com>
|
* Thu Apr 15 2004 <SteveD@RedHat.com>
|
||||||
- Changed the permission on idmapd.conf to 644
|
- Changed the permission on idmapd.conf to 644
|
||||||
- Added mydaemon code to svcgssd
|
- Added mydaemon code to svcgssd
|
||||||
@ -292,6 +320,7 @@ fi
|
|||||||
-Changed the gssd svcgssd init scripts to only
|
-Changed the gssd svcgssd init scripts to only
|
||||||
start up if SECURE_NFS is set to 'yes' in
|
start up if SECURE_NFS is set to 'yes' in
|
||||||
/etc/sysconfig/nfs
|
/etc/sysconfig/nfs
|
||||||
|
%endif
|
||||||
|
|
||||||
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
||||||
- rebuilt
|
- rebuilt
|
||||||
@ -299,8 +328,10 @@ fi
|
|||||||
* Thu Feb 12 2004 Thomas Woerner <twoerner@redhat.com>
|
* Thu Feb 12 2004 Thomas Woerner <twoerner@redhat.com>
|
||||||
- make rpc.lockd, rpc.statd, rpc.mountd and rpc.nfsd pie
|
- make rpc.lockd, rpc.statd, rpc.mountd and rpc.nfsd pie
|
||||||
|
|
||||||
|
%if %{fcbuild}
|
||||||
* Wed Jan 28 2004 Steve Dickson <SteveD@RedHat.com>
|
* Wed Jan 28 2004 Steve Dickson <SteveD@RedHat.com>
|
||||||
- Added the NFSv4 bits
|
- Added the NFSv4 bits
|
||||||
|
%endif
|
||||||
|
|
||||||
* Mon Dec 29 2003 Steve Dickson <SteveD@RedHat.com>
|
* Mon Dec 29 2003 Steve Dickson <SteveD@RedHat.com>
|
||||||
- Added the -z flag to nfsstat
|
- Added the -z flag to nfsstat
|
||||||
|
30
nfs.init
30
nfs.init
@ -35,8 +35,8 @@ fi
|
|||||||
# Check for and source configuration file otherwise set defaults
|
# Check for and source configuration file otherwise set defaults
|
||||||
[ -f /etc/sysconfig/nfs ] && . /etc/sysconfig/nfs
|
[ -f /etc/sysconfig/nfs ] && . /etc/sysconfig/nfs
|
||||||
|
|
||||||
[ -z "$MOUNTD_NFS_V2" ] && MOUNTD_NFS_V2=auto
|
[ -z "$MOUNTD_NFS_V2" ] && MOUNTD_NFS_V2=default
|
||||||
[ -z "$MOUNTD_NFS_V3" ] && MOUNTD_NFS_V3=auto
|
[ -z "$MOUNTD_NFS_V3" ] && MOUNTD_NFS_V3=default
|
||||||
|
|
||||||
# Number of servers to be started by default
|
# Number of servers to be started by default
|
||||||
[ -z "$RPCNFSDCOUNT" ] && RPCNFSDCOUNT=8
|
[ -z "$RPCNFSDCOUNT" ] && RPCNFSDCOUNT=8
|
||||||
@ -71,35 +71,13 @@ case "$1" in
|
|||||||
&& RPCMOUNTDOPTS="$RPCMOUNTDOPTS -p $MOUNTD_PORT"
|
&& RPCMOUNTDOPTS="$RPCMOUNTDOPTS -p $MOUNTD_PORT"
|
||||||
|
|
||||||
case $MOUNTD_NFS_V2 in
|
case $MOUNTD_NFS_V2 in
|
||||||
auto|AUTO)
|
|
||||||
# Let's see if we support NFS version 2.
|
|
||||||
/usr/sbin/rpcinfo -u localhost nfs 2 &>/dev/null
|
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
RPCMOUNTDOPTS="$RPCMOUNTDOPTS --no-nfs-version 2"
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
no|NO)
|
no|NO)
|
||||||
RPCMOUNTDOPTS="$RPCMOUNTDOPTS --no-nfs-version 2"
|
RPCMOUNTDOPTS="$RPCMOUNTDOPTS --no-nfs-version 2" ;;
|
||||||
;;
|
|
||||||
yes|YES)
|
|
||||||
RPCMOUNTDOPTS="$RPCMOUNTDOPTS --nfs-version 2"
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case $MOUNTD_NFS_V3 in
|
case $MOUNTD_NFS_V3 in
|
||||||
auto|AUTO)
|
|
||||||
# Let's see if we support NFS version 3.
|
|
||||||
/usr/sbin/rpcinfo -u localhost nfs 3 &>/dev/null
|
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
RPCMOUNTDOPTS="$RPCMOUNTDOPTS --no-nfs-version 3"
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
no|NO)
|
no|NO)
|
||||||
RPCMOUNTDOPTS="$RPCMOUNTDOPTS --no-nfs-version 3"
|
RPCMOUNTDOPTS="$RPCMOUNTDOPTS --no-nfs-version 3" ;;
|
||||||
;;
|
|
||||||
yes|YES)
|
|
||||||
RPCMOUNTDOPTS="$RPCMOUNTDOPTS --nfs-version 3"
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
echo -n $"Starting NFS mountd: "
|
echo -n $"Starting NFS mountd: "
|
||||||
|
Loading…
Reference in New Issue
Block a user