packages: libnfsidmap/libnfsidmap.spec, libnfsidmap/libnfsidmap-user at domain...
aredridel
aredridel at pld-linux.org
Mon Jul 6 01:32:03 CEST 2009
Author: aredridel Date: Sun Jul 5 23:32:03 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- add user at domain patch to make users with a posix userid including @domain work
---- Files affected:
packages/libnfsidmap:
libnfsidmap.spec (1.15 -> 1.16) , libnfsidmap-user at domain.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/libnfsidmap/libnfsidmap.spec
diff -u packages/libnfsidmap/libnfsidmap.spec:1.15 packages/libnfsidmap/libnfsidmap.spec:1.16
--- packages/libnfsidmap/libnfsidmap.spec:1.15 Wed Mar 4 23:53:17 2009
+++ packages/libnfsidmap/libnfsidmap.spec Mon Jul 6 01:31:58 2009
@@ -12,7 +12,8 @@
Patch0: %{name}-idmapd.conf.patch
Patch1: %{name}-default-domain.patch
Patch2: %{name}-nss-localrealms.patch
-BuildRequires: openldap-devel >= 2.4.6
+Patch3: %{name}-user at domain.patch
+BuildRequires: openldap-devel
Obsoletes: nfsidmap
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -53,6 +54,7 @@
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
%configure
@@ -115,6 +117,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.16 2009/07/05 23:31:58 aredridel
+- add user at domain patch to make users with a posix userid including @domain work
+
Revision 1.15 2009/03/04 22:53:17 baggins
- rel 3
- there is no sensitive data in idmapd.conf, no reason for mode 660
================================================================
Index: packages/libnfsidmap/libnfsidmap-user at domain.patch
diff -u /dev/null packages/libnfsidmap/libnfsidmap-user at domain.patch:1.1
--- /dev/null Mon Jul 6 01:32:04 2009
+++ packages/libnfsidmap/libnfsidmap-user at domain.patch Mon Jul 6 01:31:58 2009
@@ -0,0 +1,12 @@
+diff -ur libnfsidmap-0.21-o/nss.c libnfsidmap-0.21/nss.c
+--- libnfsidmap-0.21-o/nss.c 2009-07-05 17:08:54.000000000 -0600
++++ libnfsidmap-0.21/nss.c 2009-07-05 17:11:26.000000000 -0600
+@@ -143,7 +143,7 @@
+ char *l = NULL;
+ int len;
+
+- c = strchr(name, '@');
++ c = strrchr(name, '@');
+ if (c == NULL && domain != NULL)
+ goto out;
+ if (c == NULL && domain == NULL) {
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libnfsidmap/libnfsidmap.spec?r1=1.15&r2=1.16&f=u
More information about the pld-cvs-commit
mailing list