rpms/nss_ldap/devel nss_ldap-256-resolver.patch, NONE, 1.1 .cvsignore, 1.38, 1.39 nss_ldap.spec, 1.82, 1.83 sources, 1.39, 1.40

Nalin Somabhai Dahyabhai (nalin) fedora-extras-commits at redhat.com
Wed Aug 22 19:49:51 UTC 2007


Author: nalin

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

Modified Files:
	.cvsignore nss_ldap.spec sources 
Added Files:
	nss_ldap-256-resolver.patch 
Log Message:
- update to nss_ldap 257
- look harder when we're looking for symbols provided by the resolver library
- clarify license (both under LGPLv2 or later)


nss_ldap-256-resolver.patch:

--- NEW FILE nss_ldap-256-resolver.patch ---
Check for resolver functions a little more thoroughly if we don't find
them the first time we check.

--- nss_ldap/configure.in	2007-08-17 17:24:17.000000000 -0400
+++ nss_ldap/configure.in	2007-08-17 17:23:41.000000000 -0400
@@ -192,6 +192,35 @@
 AC_CHECK_FUNCS(sigset)
 AC_CHECK_FUNCS(res_search)
 AC_CHECK_FUNCS(dn_expand)
+AC_CHECK_HEADERS(resolv.h)
+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
 AC_CHECK_FUNCS(snprintf)
 AC_CHECK_FUNCS(gethostbyname)
 AC_CHECK_FUNCS(nsdispatch)


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/nss_ldap/devel/.cvsignore,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- .cvsignore	19 Jul 2007 17:57:40 -0000	1.38
+++ .cvsignore	22 Aug 2007 19:49:19 -0000	1.39
@@ -25,3 +25,4 @@
 nss_ldap-254.tar.gz
 nss_ldap-256.tar.gz
 pam_ldap-184.tar.gz
+nss_ldap-257.tar.gz


Index: nss_ldap.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nss_ldap/devel/nss_ldap.spec,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- nss_ldap.spec	19 Jul 2007 17:57:40 -0000	1.82
+++ nss_ldap.spec	22 Aug 2007 19:49:19 -0000	1.83
@@ -1,7 +1,7 @@
 %define pam_ldap_version 184
 Summary: NSS library and PAM module for LDAP
 Name: nss_ldap
-Version: 256
+Version: 257
 Release: 1
 Source0: ftp://ftp.padl.com/pub/nss_ldap-%{version}.tar.gz
 Source1: ftp://ftp.padl.com/pub/pam_ldap-%{pam_ldap_version}.tar.gz
@@ -19,9 +19,10 @@
 Patch6: nss_ldap-254-over-recursion.patch
 Patch7: pam_ldap-182-manpointer.patch
 Patch8: nss_ldap-254-soname.patch
+Patch9: nss_ldap-256-resolver.patch
 
 URL: http://www.padl.com/
-License: LGPL
+License: LGPLv2+
 Group: System Environment/Base
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: autoconf, automake, libtool
@@ -61,6 +62,7 @@
 %patch5 -p1 -b .mock64
 #%patch6 -p1 -b .over-recursion
 %patch8 -p1 -b .soname
+%patch9 -p1 -b .resolver
 autoreconf
 popd
 
@@ -181,6 +183,11 @@
 %doc pam_ldap-%{pam_ldap_version}/ldapns.schema
 
 %changelog
+* Tue Aug 21 2007 Nalin Dahyabhai <nalin at redhat.com> - 257-1
+- update to nss_ldap 257
+- look harder when we're looking for symbols provided by the resolver library
+- clarify license (both under LGPLv2 or later)
+
 * Thu Jul 19 2007 Nalin Dahyabhai <nalin at redhat.com> - 256-1
 - update to nss_ldap 256, pam_ldap 184
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/nss_ldap/devel/sources,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- sources	19 Jul 2007 17:57:40 -0000	1.39
+++ sources	22 Aug 2007 19:49:19 -0000	1.40
@@ -1,2 +1,2 @@
-328740a6aafb0e27a54bb54c2c6b2e9e  nss_ldap-256.tar.gz
+5e4ad4aa9ed2514927a23bf94b9fc5a3  nss_ldap-257.tar.gz
 01bf1ad8576f0d1b58d9eddc68987a47  pam_ldap-184.tar.gz




More information about the fedora-extras-commits mailing list