rpms/nss_ldap/devel nss_ldap.spec, 1.93, 1.94 pam_ldap-176-dnsconfig.patch, 1.1, 1.2 pam_ldap-180-local_users.patch, 1.4, 1.5

Nalin Somabhai Dahyabhai (nalin) fedora-extras-commits at redhat.com
Tue Apr 15 18:48:38 UTC 2008


Author: nalin

Update of /cvs/pkgs/rpms/nss_ldap/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25087

Modified Files:
	nss_ldap.spec pam_ldap-176-dnsconfig.patch 
	pam_ldap-180-local_users.patch 
Log Message:
- apply updated logic for finding libresolv to pam_ldap's build setup
- add gdm,polkituser to default nss_initgroups_ignoreusers list



Index: nss_ldap.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nss_ldap/devel/nss_ldap.spec,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -r1.93 -r1.94
--- nss_ldap.spec	26 Feb 2008 21:17:54 -0000	1.93
+++ nss_ldap.spec	15 Apr 2008 18:47:58 -0000	1.94
@@ -2,7 +2,7 @@
 Summary: NSS library and PAM module for LDAP
 Name: nss_ldap
 Version: 259
-Release: 1%{?dist}
+Release: 2%{?dist}
 Source0: ftp://ftp.padl.com/pub/nss_ldap-%{version}.tar.gz
 Source1: ftp://ftp.padl.com/pub/pam_ldap-%{pam_ldap_version}.tar.gz
 Source3: nss_ldap.versions
@@ -61,7 +61,7 @@
 pushd nss_ldap-%{version}
 %patch2 -p1 -b .parse2
 %patch8 -p1 -b .soname
-autoreconf
+autoreconf -f -i
 popd
 
 pushd pam_ldap-%{pam_ldap_version}
@@ -72,7 +72,7 @@
 %patch7 -p1 -b .manpointer
 %patch13 -p1 -b .exop-modify
 %patch16 -p1 -b .referral-passwd2
-autoreconf
+autoreconf -f -i
 popd
 
 rm -f pam.d/*.pam_console
@@ -186,6 +186,10 @@
 %doc pam_ldap-%{pam_ldap_version}/ns-pwd-policy.schema
 
 %changelog
+* Tue Apr 15 2008 Nalin Dahyabhai <nalin at redhat.com> - 259-2
+- apply updated logic for finding libresolv to pam_ldap's build setup
+- add gdm,polkituser to default nss_initgroups_ignoreusers list
+
 * Tue Feb 26 2008 Nalin Dahyabhai <nalin at redhat.com> - 259-1
 - update to nss_ldap 259
 - nss_ldap: update to revised proposed patch for #248

pam_ldap-176-dnsconfig.patch:

Index: pam_ldap-176-dnsconfig.patch
===================================================================
RCS file: /cvs/pkgs/rpms/nss_ldap/devel/pam_ldap-176-dnsconfig.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pam_ldap-176-dnsconfig.patch	28 Oct 2004 22:53:10 -0000	1.1
+++ pam_ldap-176-dnsconfig.patch	15 Apr 2008 18:47:58 -0000	1.2
@@ -11,13 +11,42 @@
  DEFS = @DEFS@
 --- pam_ldap-176/configure.in	2004-09-30 22:33:14.000000000 -0400
 +++ pam_ldap-176/configure.in	2004-10-28 17:24:13.692936544 -0400
-@@ -133,6 +133,9 @@
+@@ -133,6 +133,38 @@
  AC_CHECK_FUNCS(ldap_initialize)
  AC_CHECK_FUNCS(ldap_sasl_bind ldap_sasl_interactive_bind_s)
  AC_CHECK_FUNCS(gethostbyname_r)
 +AC_CHECK_FUNCS(snprintf strtok_r)
 +AC_CHECK_LIB(resolv, main)
++AC_CHECK_HEADERS(resolv.h)
 +AC_CHECK_FUNCS(res_search dn_expand)
++if test x$ac_cv_func_res_search = xno ; then
++	AC_MSG_CHECKING([for res_search again])
++	AC_TRY_LINK([#ifdef HAVE_RESOLV_H
++		     #include <resolv.h>
++		     #endif
++		     #ifdef HAVE_STDLIB_H
++		     #include <stdlib.h>
++		     #endif],
++		    [res_search(NULL,0,0,NULL,0);],
++		    AC_DEFINE(HAVE_RES_SEARCH,1,
++		    	      [Define if you have res_search().])
++		    ac_cv_func_res_search=yes)
++	AC_CHECK_FUNCS(res_search)
++fi
++if test x$ac_cv_func_dn_expand = xno ; then
++	AC_MSG_CHECKING([for dn_expand again])
++	AC_TRY_LINK([#ifdef HAVE_RESOLV_H
++		     #include <resolv.h>
++		     #endif
++		     #ifdef HAVE_STDLIB_H
++		     #include <stdlib.h>
++		     #endif],
++		    [dn_expand(NULL,NULL,NULL,NULL,0);],
++		    AC_DEFINE(HAVE_DN_EXPAND,1,
++		    	      [Define if you have dn_expand().])
++		    ac_cv_func_dn_expand=yes)
++	AC_CHECK_FUNCS(dn_expand)
++fi
  
  if test "$ac_cv_func_gethostbyname_r" = "yes"; then
  AC_CACHE_CHECK(whether gethostbyname_r takes 6 arguments, xad_cv_gethostbyname_r_args, [

pam_ldap-180-local_users.patch:

Index: pam_ldap-180-local_users.patch
===================================================================
RCS file: /cvs/pkgs/rpms/nss_ldap/devel/pam_ldap-180-local_users.patch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- pam_ldap-180-local_users.patch	19 Jul 2007 14:57:47 -0000	1.4
+++ pam_ldap-180-local_users.patch	15 Apr 2008 18:47:58 -0000	1.5
@@ -9,7 +9,7 @@
  #nss_base_netgroup	ou=Netgroup,dc=padl,dc=com?one
  
 +# Just assume that there are no supplemental groups for these named users
-+nss_initgroups_ignoreusers root,ldap,named,avahi,haldaemon,dbus,radvd,tomcat,radiusd,news,mailman,nscd
++nss_initgroups_ignoreusers root,ldap,named,avahi,haldaemon,dbus,radvd,tomcat,radiusd,news,mailman,nscd,gdm,polkituser
 +
  # attribute/objectclass mapping
  # Syntax:




More information about the fedora-extras-commits mailing list