SPECS: nfs-utils.spec - started update to 1.1.0-rc1 - killed obsol...

baggins baggins at pld-linux.org
Thu Apr 5 01:23:33 CEST 2007


Author: baggins                      Date: Wed Apr  4 23:23:33 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- started update to 1.1.0-rc1
- killed obsolete patches and hacks
- (rpc.)lockd is gone (wasn't really doing anything)

---- Files affected:
SPECS:
   nfs-utils.spec (1.141 -> 1.142) 

---- Diffs:

================================================================
Index: SPECS/nfs-utils.spec
diff -u SPECS/nfs-utils.spec:1.141 SPECS/nfs-utils.spec:1.142
--- SPECS/nfs-utils.spec:1.141	Sat Mar 31 23:56:10 2007
+++ SPECS/nfs-utils.spec	Thu Apr  5 01:23:28 2007
@@ -1,6 +1,7 @@
 # $Revision$, $Date$
 # TODO
 # - should unmount /proc/fs/nfsd at package uninstall (or in service nfs stop)
+# - CITI and fake patches need updating
 #
 # Conditional build:
 %bcond_without	nfs4		# without NFSv4 support
@@ -12,12 +13,13 @@
 Summary(ru.UTF-8):	Утилиты для NFS и демоны поддержки для NFS-сервера ядра
 Summary(uk.UTF-8):	Утиліти для NFS та демони підтримки для NFS-сервера ядра
 Name:		nfs-utils
-Version:	1.0.12
-Release:	8.4
+Version:	1.1.0
+%define	_pre	rc1
+Release:	0.%{_pre}.1
 License:	GPL
 Group:		Networking/Daemons
-Source0:	http://dl.sourceforge.net/nfs/%{name}-%{version}.tar.gz
-# Source0-md5:	acf3656cec3872deb597aa7ac13f3c3a
+Source0:	http://dl.sourceforge.net/nfs/%{name}-%{version}-%{_pre}.tar.gz
+# Source0-md5:	924dd05dc3958d4da585d74808bb84c4
 Source1:	ftp://ftp.linuxnfs.sourceforge.org/pub/nfs/nfs.doc.tar.gz
 # Source1-md5:	ae7db9c61c5ad04f83bb99e5caed73da
 Source2:	nfs.init
@@ -34,16 +36,12 @@
 # http://www.citi.umich.edu/projects/nfsv4/linux/nfs-utils-patches/
 #Patch2:		%{name}-1.0.11-CITI_NFS4_ALL-1.dif
 Patch2:		%{name}-CITI_NFS4.patch
-Patch3:		%{name}-mountd-leak.patch
-Patch4:		%{name}-statdpath.patch
-Patch5:		%{name}-mount-fake.patch
-Patch6:		%{name}-mountd.patch
-Patch7:		%{name}-privports.patch
-Patch8:		%{name}-mount-man-nfs.patch
-Patch9:		%{name}-mount-fsc.patch
-Patch10:	%{name}-idmapd.conf.patch
-Patch11:	%{name}-keytab-path.patch
-Patch12:	%{name}-subsys.patch
+Patch3:		%{name}-statdpath.patch
+Patch4:		%{name}-mount-fake.patch
+Patch5:		%{name}-mountd.patch
+Patch6:		%{name}-idmapd.conf.patch
+Patch7:		%{name}-keytab-path.patch
+Patch8:		%{name}-subsys.patch
 URL:		http://nfs.sourceforge.net/
 BuildRequires:	autoconf >= 2.59
 BuildRequires:	automake
@@ -161,31 +159,20 @@
 Wspólne programy do obsługi NFS.
 
 %prep
-%setup -q -a1
+%setup -q -a1 -n %{name}-%{version}-%{_pre}
 %patch0 -p1
 %patch1 -p1
 # temporary hack
-rm -f utils/mountd/fsloc.[ch]
-%patch2 -p1
+#rm -f utils/mountd/fsloc.[ch]
+#%patch2 -p1
 %patch3 -p1
-%patch4 -p1
+#%patch4 -p1
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
-%patch9 -p1
-%patch10 -p1
-%patch11 -p1
-%patch12 -p1
 
 %build
-%if "%{_lib}" == "lib64"
-sed -i -e 's#/lib/#/%{_lib}/#g' aclocal/kerberos5.m4
-%endif
-sed -i -e 's#libroken.a#libroken.so#g' aclocal/kerberos5.m4
-%{__aclocal} -I aclocal
-%{__autoconf}
-%{__automake}
 %configure \
 %if %{with nfs4}
 	--enable-gss \
@@ -213,10 +200,6 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-%if %{with mount}
-mv $RPM_BUILD_ROOT%{_sbindir}/{mount,umount}.* $RPM_BUILD_ROOT/sbin
-%endif
-
 mv $RPM_BUILD_ROOT%{_sbindir}/rpcdebug $RPM_BUILD_ROOT/sbin
 install utils/idmapd/idmapd.conf $RPM_BUILD_ROOT%{_sysconfdir}/
 
@@ -233,9 +216,7 @@
 > $RPM_BUILD_ROOT%{_var}/lib/nfs/rmtab
 > $RPM_BUILD_ROOT%{_sysconfdir}/exports
 
-rm -f $RPM_BUILD_ROOT%{_mandir}/man8/rpc.{mountd,nfsd,statd,lockd,svcgssd,gssd,idmapd}.8
-rm -f $RPM_BUILD_ROOT%{_mandir}/man5/rpc.idmapd.conf.5
-echo ".so lockd.8"   > 	$RPM_BUILD_ROOT%{_mandir}/man8/rpc.lockd.8
+rm $RPM_BUILD_ROOT%{_mandir}/man8/rpc.{mountd,nfsd,statd,svcgssd,gssd,idmapd}.8
 echo ".so mountd.8"  > 	$RPM_BUILD_ROOT%{_mandir}/man8/rpc.mountd.8
 echo ".so nfsd.8"    >	$RPM_BUILD_ROOT%{_mandir}/man8/rpc.nfsd.8
 echo ".so statd.8"   >	$RPM_BUILD_ROOT%{_mandir}/man8/rpc.statd.8
@@ -243,7 +224,6 @@
 echo ".so gssd.8"    >	$RPM_BUILD_ROOT%{_mandir}/man8/rpc.gssd.8
 echo ".so idmapd.8"  >	$RPM_BUILD_ROOT%{_mandir}/man8/rpc.idmapd.8
 echo ".so svcgssd.8" >	$RPM_BUILD_ROOT%{_mandir}/man8/rpc.svcgssd.8
-echo ".so idmapd.conf.5" > $RPM_BUILD_ROOT%{_mandir}/man5/rpc.idmapd.conf.5
 %endif
 
 touch $RPM_BUILD_ROOT/var/lib/nfs/xtab
@@ -373,14 +353,13 @@
 %files lock
 %defattr(644,root,root,755)
 %attr(700,rpcstatd,rpcstatd) %dir %{_var}/lib/nfs/statd
-%attr(755,root,root) %{_sbindir}/rpc.lockd
 %attr(755,root,root) %{_sbindir}/rpc.statd
+%attr(755,root,root) %{_sbindir}/sm-notify
+%attr(755,root,root) %{_sbindir}/start-statd
 %attr(754,root,root) /etc/rc.d/init.d/nfslock
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nfslock
-%{_mandir}/man8/rpc.lockd.8*
-%{_mandir}/man8/lockd.8*
-%{_mandir}/man8/rpc.statd.8*
-%{_mandir}/man8/statd.8*
+%{_mandir}/man8/*statd.8*
+%{_mandir}/man8/sm-notify.8*
 %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/nfs/state
 
 %files clients
@@ -423,6 +402,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.142  2007/04/04 23:23:28  baggins
+- started update to 1.1.0-rc1
+- killed obsolete patches and hacks
+- (rpc.)lockd is gone (wasn't really doing anything)
+
 Revision 1.141  2007/03/31 21:56:10  baggins
 - consistent subsys locking with mount.nfs4 and rc-scripts
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/nfs-utils.spec?r1=1.141&r2=1.142&f=u



More information about the pld-cvs-commit mailing list