SPECS: libnfsidmap.spec - rel 2 - idmapd.conf is gone from nfs-utils (upstr...

baggins baggins at pld-linux.org
Wed Mar 4 23:51:02 CET 2009


Author: baggins                      Date: Wed Mar  4 22:51:02 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 2
- idmapd.conf is gone from nfs-utils (upstream), so it's here
- sane defaults in idmapd.conf
- cook something if domain can't be obtained from DNS and
  none is specified in config
- patch from upstream as to how nss deals with Local Realms

---- Files affected:
SPECS:
   libnfsidmap.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SPECS/libnfsidmap.spec
diff -u SPECS/libnfsidmap.spec:1.13 SPECS/libnfsidmap.spec:1.14
--- SPECS/libnfsidmap.spec:1.13	Thu Jul 31 18:34:09 2008
+++ SPECS/libnfsidmap.spec	Wed Mar  4 23:50:57 2009
@@ -3,12 +3,15 @@
 Summary(pl.UTF-8):	Biblioteka pomagająca w mapowaniu identyfikatorów, głównie dla NFSv4
 Name:		libnfsidmap
 Version:	0.21
-Release:	1
+Release:	2
 License:	BSD
 Group:		Libraries
 Source0:	http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/%{name}-%{version}.tar.gz
 # Source0-md5:	56b05e30645353befbf73bd905270d4b
 URL:		http://www.citi.umich.edu/projects/nfsv4/linux/
+Patch0:		%{name}-idmapd.conf.patch
+Patch1:		%{name}-default-domain.patch
+Patch2:		%{name}-nss-localrealms.patch
 BuildRequires:	openldap-devel >= 2.4.6
 Obsoletes:	nfsidmap
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -47,6 +50,9 @@
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
 %configure
@@ -54,10 +60,13 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sysconfdir}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install idmapd.conf $RPM_BUILD_ROOT%{_sysconfdir}/
+
 rm $RPM_BUILD_ROOT%{_libdir}/libnfsidmap_*.{a,la}
 
 %clean
@@ -69,6 +78,7 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS COPYING ChangeLog README
+%attr(660,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/idmapd.conf
 %attr(755,root,root) %{_libdir}/libnfsidmap.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libnfsidmap.so.0
 # symlinks becaue of missing -avoid-version
@@ -105,6 +115,14 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2009/03/04 22:50:57  baggins
+- rel 2
+- idmapd.conf is gone from nfs-utils (upstream), so it's here
+- sane defaults in idmapd.conf
+- cook something if domain can't be obtained from DNS and
+  none is specified in config
+- patch from upstream as to how nss deals with Local Realms
+
 Revision 1.13  2008/07/31 16:34:09  qboosh
 - updated to 0.21 (with plugins architecture)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libnfsidmap.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list