- Updated to 1.0.8-rc2 release
- Broke out libgssapi into its own rpm - Move librpcsecgss and libnfsidmap in the new nfs-utils-lib rpm - Removed libevent code; Required to be installed.
This commit is contained in:
parent
0714dfc902
commit
f9a695514f
18
.cvsignore
18
.cvsignore
@ -1,15 +1,5 @@
|
|||||||
libevent-0.9.tar.gz
|
nfs-utils-1.0.8-rc2.tar.gz
|
||||||
nfs-utils-1.0.6.tar.gz
|
librpcsecgss-0.7.tar.gz
|
||||||
|
libgssapi-0.7.tar.gz
|
||||||
|
libnfsidmap-0.12.tar.gz
|
||||||
nfs.doc.tar.gz
|
nfs.doc.tar.gz
|
||||||
nfsidmap-0.1.tar.gz
|
|
||||||
nfsidmap-0.5.tar.gz
|
|
||||||
libgssapi-0.1.tar.gz
|
|
||||||
librpcsecgss-0.1.tar.gz
|
|
||||||
nfs-utils-1.0.7.tar.gz
|
|
||||||
libevent-1.0b.tar.gz
|
|
||||||
nfsidmap-0.10.tar.gz
|
|
||||||
libevent-1.1a.tar.gz
|
|
||||||
libgssapi-0.4.tar.gz
|
|
||||||
librpcsecgss-0.6.tar.gz
|
|
||||||
libgssapi-0.5.tar.gz
|
|
||||||
nfsidmap-0.11.tar.gz
|
|
||||||
|
130
nfs-utils.spec
130
nfs-utils.spec
@ -1,67 +1,29 @@
|
|||||||
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.7
|
Version: 1.0.8.rc2
|
||||||
Release: 19.FC5.1
|
Release: 1.FC5
|
||||||
|
|
||||||
# group all 32bit related archs
|
# group all 32bit related archs
|
||||||
%define all_32bit_archs i386 i686 athlon
|
%define all_32bit_archs i386 i686 athlon
|
||||||
|
|
||||||
Source0: http://unc.dl.sourceforge.net/sourceforge/nfs/nfs-utils-1.0.7.tar.gz
|
Source0: http://prdownloads.sourceforge.net/nfs/nfs-utils-1.0.8-rc2.tar.gz
|
||||||
Source1: ftp://nfs.sourceforge.net/pub/nfs/nfs.doc.tar.gz
|
Source1: ftp://nfs.sourceforge.net/pub/nfs/nfs.doc.tar.gz
|
||||||
|
|
||||||
%define idmapvers 0.11
|
|
||||||
Source2: http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/nfsidmap-%{idmapvers}.tar.gz
|
|
||||||
%define eventvers 1.1a
|
|
||||||
Source3: http://monkey.org/~provos/libevent-%{eventvers}.tar.gz
|
|
||||||
%define gssapivers 0.5
|
|
||||||
Source4: http://www.citi.umich.edu/projects/nfsv4/linux/libgssapi/libgssapi-%{gssapivers}.tar.gz
|
|
||||||
%define rpcsecgssvers 0.6
|
|
||||||
Source5: http://www.citi.umich.edu/projects/nfsv4/linux/librpcsecgss/librpcsecgss-%{rpcsecgssvers}.tar.gz
|
|
||||||
|
|
||||||
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: gssapi_mech.conf
|
|
||||||
|
|
||||||
# Updstream Patches
|
|
||||||
#
|
|
||||||
Patch0: nfs-utils-1.0.7-post0.patch
|
|
||||||
Patch1: nfs-utils-1.0.7-post1.patch
|
|
||||||
Patch2: nfs-utils-1.0.7-post2.patch
|
|
||||||
Patch3: nfs-utils-1.0.7-post3.patch
|
|
||||||
Patch4: nfs-utils-1.0.7-post4.patch
|
|
||||||
Patch5: nfs-utils-1.0.7-post5.patch
|
|
||||||
Patch6: nfs-utils-1.0.7-post6.patch
|
|
||||||
|
|
||||||
#
|
|
||||||
# CITI Patches
|
|
||||||
#
|
|
||||||
Patch20: nfs-utils-1.0.7-037-svcgssd_closeall_lib.dif
|
|
||||||
Patch21: nfs-utils-1.0.7-040-idmapd_fix_error_reporting.dif
|
|
||||||
Patch22: nfs-utils-1.0.7-041-svcgssd_error_reporting.dif
|
|
||||||
Patch23: nfs-utils-1.0.7-042-spkm3_lucid_context.dif
|
|
||||||
Patch24: nfs-utils-1.0.7-043-svcgssd_continue_init.dif
|
|
||||||
Patch25: nfs-utils-1.0.7-044-gssd_continue_init.dif
|
|
||||||
Patch26: nfs-utils-1.0.7-045-gssd_clnt_create_error.dif
|
|
||||||
Patch27: nfs-utils-1.0.7-046-gssd_error_messages.dif
|
|
||||||
|
|
||||||
|
|
||||||
#
|
|
||||||
# Local Patches
|
|
||||||
#
|
|
||||||
Patch50: nfs-utils-1.0.5-statdpath.patch
|
Patch50: nfs-utils-1.0.5-statdpath.patch
|
||||||
Patch51: nfs-utils-1.0.6-mountd.patch
|
Patch51: nfs-utils-1.0.6-mountd.patch
|
||||||
Patch52: nfs-utils-1.0.6-idmap.conf.patch
|
Patch52: nfs-utils-1.0.6-idmap.conf.patch
|
||||||
Patch53: nfs-utils-1.0.7-rquotad-curblocks.patch
|
Patch53: nfs-utils-1.0.7-rquotad-curblocks.patch
|
||||||
Patch54: nfs-utils-1.0.7-mountd-stat64.patch
|
Patch54: nfs-utils-1.0.7-mountd-stat64.patch
|
||||||
Patch55: nfs-utils-1.0.7-nfsd-ctlbits.patch
|
Patch55: nfs-utils-1.0.7-nfsd-ctlbits.patch
|
||||||
Patch56: nfs-utils-1.0.7-idmapd-mapinit.patch
|
Patch56: nfs-utils-1.0.8-rc2-Makefileam.patch
|
||||||
|
|
||||||
Patch100: nfs-utils-1.0.7-compile.patch
|
Patch100: nfs-utils-1.0.8-compile.patch
|
||||||
Patch150: nfs-utils-1.0.6-pie.patch
|
|
||||||
Patch151: nfs-utils-1.0.7-strip.patch
|
|
||||||
|
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Obsoletes: nfs-server
|
Obsoletes: nfs-server
|
||||||
@ -75,12 +37,14 @@ Provides: knfsd-lock
|
|||||||
Provides: knfsd-clients
|
Provides: knfsd-clients
|
||||||
Provides: knfsd
|
Provides: knfsd
|
||||||
License: GPL
|
License: GPL
|
||||||
Buildroot: %{_tmppath}/%{name}-root
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
||||||
Requires: portmap >= 4.0, sed, gawk, sh-utils, fileutils, textutils, grep
|
Requires: portmap >= 4.0, sed, gawk, sh-utils, fileutils, textutils, grep
|
||||||
Requires: modutils >= 2.4.26-9
|
Requires: modutils >= 2.4.26-9
|
||||||
BuildRequires: krb5-libs >= 1.4 autoconf >= 2.57 openldap-devel >= 2.2
|
BuildRequires: krb5-libs >= 1.4 autoconf >= 2.57 openldap-devel >= 2.2
|
||||||
|
BuildRequires: nfs-utils-lib-devel
|
||||||
PreReq: shadow-utils >= 4.0.3-25
|
PreReq: shadow-utils >= 4.0.3-25
|
||||||
Prereq: /sbin/chkconfig /sbin/nologin
|
PreReq: /sbin/chkconfig /sbin/nologin
|
||||||
|
PreReq: nfs-utils-lib libevent
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The nfs-utils package provides a daemon for the kernel NFS server and
|
The nfs-utils package provides a daemon for the kernel NFS server and
|
||||||
@ -93,77 +57,43 @@ System) server on the remote host. For example, showmount can display the
|
|||||||
clients which are mounted on that host.
|
clients which are mounted on that host.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -a1 -a2 -a3 -a4 -a5
|
%setup -q -n nfs-utils-1.0.8-rc2 -a1
|
||||||
#
|
|
||||||
# Remove code that no longer used
|
|
||||||
#
|
|
||||||
rm -r support/rpc
|
|
||||||
rm -r support/gssapi
|
|
||||||
|
|
||||||
#
|
|
||||||
# Set up the support libs
|
|
||||||
#
|
|
||||||
mv nfsidmap-%{idmapvers} support/nfsidmap
|
|
||||||
mv libevent-%{eventvers} support/event
|
|
||||||
mv librpcsecgss-%{rpcsecgssvers} support/rpcsecgss
|
|
||||||
mv libgssapi-%{gssapivers} support/gssapi
|
|
||||||
|
|
||||||
# Upstream Patches
|
|
||||||
%patch0 -p1
|
|
||||||
%patch1 -p1
|
|
||||||
%patch2 -p1
|
|
||||||
%patch3 -p1
|
|
||||||
%patch4 -p1
|
|
||||||
%patch5 -p1
|
|
||||||
%patch6 -p1
|
|
||||||
|
|
||||||
# CITI Patches
|
|
||||||
%patch20 -p1
|
|
||||||
%patch21 -p1
|
|
||||||
%patch22 -p1
|
|
||||||
%patch23 -p1
|
|
||||||
%patch24 -p1
|
|
||||||
%patch25 -p1
|
|
||||||
%patch26 -p1
|
|
||||||
%patch27 -p1
|
|
||||||
|
|
||||||
# Local Patches
|
|
||||||
%patch50 -p1 -b .statdpath
|
%patch50 -p1 -b .statdpath
|
||||||
%patch51 -p1 -b .mountd
|
%patch51 -p1 -b .mountd
|
||||||
%patch52 -p1 -b .conf
|
%patch52 -p1 -b .conf
|
||||||
%patch53 -p1 -b .curblocks
|
%patch53 -p1 -b .curblocks
|
||||||
%patch54 -p1 -b .stat64
|
%patch54 -p1 -b .stat64
|
||||||
%patch55 -p1 -b .ctlbits
|
%patch55 -p1 -b .ctlbits
|
||||||
%patch56 -p1 -b .mapinit
|
%patch56 -p1 -b .makeam
|
||||||
|
|
||||||
|
|
||||||
# Do the magic to get things to compile
|
# Do the magic to get things to compile
|
||||||
%patch100 -p1 -b .compile
|
%patch100 -p1 -b .compile
|
||||||
%patch150 -p1 -b .pie
|
|
||||||
%patch151 -p1 -b .strip
|
|
||||||
%ifarch s390 s390x
|
|
||||||
perl -pi -e 's/-fpie/-fPIE/' */*/Makefile
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# Remove .orig files
|
# Remove .orig files
|
||||||
find . -name "*.orig" | xargs rm -f
|
find . -name "*.orig" | xargs rm -f
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
autoconf
|
%ifarch s390 s390x
|
||||||
|
PIE="-fPIE"
|
||||||
|
%else
|
||||||
|
PIE="-fpie"
|
||||||
|
%endif
|
||||||
|
export PIE
|
||||||
|
|
||||||
|
sh autogen.sh
|
||||||
|
|
||||||
|
CFLAGS="`echo $RPM_OPT_FLAGS $ARCH_OPT_FLAGS $PIE`"
|
||||||
#
|
#
|
||||||
# Hack to enable netgroups. If anybody knows the right way to do
|
# Hack to enable netgroups. If anybody knows the right way to do
|
||||||
# this, please help yourself.
|
# this, please help yourself.
|
||||||
#
|
#
|
||||||
ac_cv_func_innetgr=yes \
|
ac_cv_func_innetgr=yes \
|
||||||
CFLAGS="$RPM_OPT_FLAGS" %configure --enable-secure-statd
|
%configure \
|
||||||
|
CFLAGS="$CFLAGS" \
|
||||||
cd support/nfsidmap; %configure --prefix=$RPM_BUILD_ROOT
|
CPPFLAGS="$DEFINES" \
|
||||||
cd ../event; %configure --prefix=$RPM_BUILD_ROOT
|
LDFLAGS="-pie" \
|
||||||
cd ../gssapi; %configure --prefix=$RPM_BUILD_ROOT
|
--prefix=$RPM_BUILD_ROOT
|
||||||
cd ../rpcsecgss; %configure --prefix=$RPM_BUILD_ROOT
|
|
||||||
cd ../../
|
|
||||||
|
|
||||||
make all
|
make all
|
||||||
|
|
||||||
@ -172,14 +102,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
mkdir -p $RPM_BUILD_ROOT{/sbin,/usr/sbin}
|
mkdir -p $RPM_BUILD_ROOT{/sbin,/usr/sbin}
|
||||||
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/{man5,man8}
|
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/{man5,man8}
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
|
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
|
||||||
make install install_prefix=$RPM_BUILD_ROOT
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
install -s -m 755 tools/rpcdebug/rpcdebug $RPM_BUILD_ROOT/sbin
|
install -s -m 755 tools/rpcdebug/rpcdebug $RPM_BUILD_ROOT/sbin
|
||||||
install -m 755 %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/nfs
|
install -m 755 %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/nfs
|
||||||
install -m 755 %{SOURCE11} $RPM_BUILD_ROOT/etc/rc.d/init.d/nfslock
|
install -m 755 %{SOURCE11} $RPM_BUILD_ROOT/etc/rc.d/init.d/nfslock
|
||||||
install -m 755 %{SOURCE12} $RPM_BUILD_ROOT/etc/rc.d/init.d/rpcidmapd
|
install -m 755 %{SOURCE12} $RPM_BUILD_ROOT/etc/rc.d/init.d/rpcidmapd
|
||||||
install -m 755 %{SOURCE13} $RPM_BUILD_ROOT/etc/rc.d/init.d/rpcgssd
|
install -m 755 %{SOURCE13} $RPM_BUILD_ROOT/etc/rc.d/init.d/rpcgssd
|
||||||
install -m 755 %{SOURCE14} $RPM_BUILD_ROOT/etc/rc.d/init.d/rpcsvcgssd
|
install -m 755 %{SOURCE14} $RPM_BUILD_ROOT/etc/rc.d/init.d/rpcsvcgssd
|
||||||
install -m 644 %{SOURCE15} $RPM_BUILD_ROOT/etc/gssapi_mech.conf
|
|
||||||
|
|
||||||
install -m 644 utils/idmapd/idmapd.conf \
|
install -m 644 utils/idmapd/idmapd.conf \
|
||||||
$RPM_BUILD_ROOT/etc/idmapd.conf
|
$RPM_BUILD_ROOT/etc/idmapd.conf
|
||||||
@ -262,7 +191,6 @@ fi
|
|||||||
%config /etc/rc.d/init.d/rpcgssd
|
%config /etc/rc.d/init.d/rpcgssd
|
||||||
%config /etc/rc.d/init.d/rpcsvcgssd
|
%config /etc/rc.d/init.d/rpcsvcgssd
|
||||||
%config(noreplace) /etc/idmapd.conf
|
%config(noreplace) /etc/idmapd.conf
|
||||||
%config(noreplace) /etc/gssapi_mech.conf
|
|
||||||
%dir /var/lib/nfs/rpc_pipefs
|
%dir /var/lib/nfs/rpc_pipefs
|
||||||
%dir /var/lib/nfs
|
%dir /var/lib/nfs
|
||||||
%dir %attr(700,rpcuser,rpcuser) /var/lib/nfs/statd
|
%dir %attr(700,rpcuser,rpcuser) /var/lib/nfs/statd
|
||||||
@ -287,6 +215,12 @@ fi
|
|||||||
%config /etc/rc.d/init.d/nfslock
|
%config /etc/rc.d/init.d/nfslock
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 9 2006 1.0.8-1
|
||||||
|
- Updated to 1.0.8-rc2 release
|
||||||
|
- Broke out libgssapi into its own rpm
|
||||||
|
- Move librpcsecgss and libnfsidmap in the new nfs-utils-lib rpm
|
||||||
|
- Removed libevent code; Required to be installed.
|
||||||
|
|
||||||
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
||||||
- rebuilt
|
- rebuilt
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
# Try to use machine credentials by default
|
# Try to use machine credentials by default
|
||||||
OPTIONS="-m"
|
OPTIONS=""
|
||||||
RETVAL=0
|
RETVAL=0
|
||||||
prog="rpc.gssd"
|
prog="rpc.gssd"
|
||||||
|
|
||||||
|
8
sources
8
sources
@ -1,8 +1,2 @@
|
|||||||
8f863120261cd572ad320a9152581e11 nfs-utils-1.0.7.tar.gz
|
d0ce78b60ea88995350c9c3b4e4f9f5f nfs-utils-1.0.8-rc2.tar.gz
|
||||||
ae7db9c61c5ad04f83bb99e5caed73da nfs.doc.tar.gz
|
ae7db9c61c5ad04f83bb99e5caed73da nfs.doc.tar.gz
|
||||||
7f72edd613b8ca30f0dfcc401b0b96a4 nfsidmap-0.10.tar.gz
|
|
||||||
6cc776458ecaf9247550863702a44d7c libevent-1.1a.tar.gz
|
|
||||||
ed457ee28c252225d1988d5a580d4b99 libgssapi-0.4.tar.gz
|
|
||||||
962da89d2f2e7a70b2b90cb125cbceaa librpcsecgss-0.6.tar.gz
|
|
||||||
64746c8f015ce5f6a57785853425b7ee libgssapi-0.5.tar.gz
|
|
||||||
b9ee2b726abf2f6500e44a0074dd713a nfsidmap-0.11.tar.gz
|
|
||||||
|
Loading…
Reference in New Issue
Block a user