rpms/nss_ldap/F-9 nss_ldap-259-parse2.patch, 1.2, 1.3 nss_ldap.spec, 1.98, 1.99

Nalin Dahyabhai nalin at fedoraproject.org
Fri Oct 17 19:40:23 UTC 2008


Author: nalin

Update of /cvs/extras/rpms/nss_ldap/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31263

Modified Files:
	nss_ldap-259-parse2.patch nss_ldap.spec 
Log Message:
- add missing local-to-network conversion on port numbers when looking up
  services (#450634)


nss_ldap-259-parse2.patch:

Index: nss_ldap-259-parse2.patch
===================================================================
RCS file: /cvs/extras/rpms/nss_ldap/F-9/nss_ldap-259-parse2.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- nss_ldap-259-parse2.patch	26 Feb 2008 22:27:29 -0000	1.2
+++ nss_ldap-259-parse2.patch	17 Oct 2008 19:39:49 -0000	1.3
@@ -163,7 +163,7 @@
 diff -up nss_ldap-259/ldap-service.c nss_ldap-259/ldap-service.c
 --- nss_ldap-259/ldap-service.c	2007-10-29 09:30:12.000000000 -0400
 +++ nss_ldap-259/ldap-service.c	2008-02-26 13:36:15.000000000 -0500
-@@ -182,7 +182,10 @@ _nss_ldap_parse_serv (LDAPMessage * e,
+@@ -182,7 +182,11 @@ _nss_ldap_parse_serv (LDAPMessage * e,
        return stat;
      }
  
@@ -172,6 +172,7 @@
 +    _nss_ldap_parse_int (port, 0, &service->s_port);
 +  if (stat != NSS_SUCCESS)
 +    return stat;
++  service->s_port = htons(service->s_port);
  
    return NSS_SUCCESS;
  }


Index: nss_ldap.spec
===================================================================
RCS file: /cvs/extras/rpms/nss_ldap/F-9/nss_ldap.spec,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -r1.98 -r1.99
--- nss_ldap.spec	30 Sep 2008 17:25:19 -0000	1.98
+++ nss_ldap.spec	17 Oct 2008 19:39:52 -0000	1.99
@@ -2,7 +2,7 @@
 Summary: NSS library and PAM module for LDAP
 Name: nss_ldap
 Version: 259
-Release: 3%{?dist}.2
+Release: 3%{?dist}.3
 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
@@ -188,6 +188,10 @@
 %doc pam_ldap-%{pam_ldap_version}/ns-pwd-policy.schema
 
 %changelog
+* Fri Oct 17 2008 Nalin Dahyabhai <nalin at redhat.com> - 259-3.3
+- add missing local-to-network conversion on port numbers when looking up
+  services (#450634)
+
 * Tue Sep 30 2008 Nalin Dahyabhai <nalin at redhat.com> - 259-3.2
 - add libssl and libcrypto to the list of libraries against which we link
   statically to avoid running into symbol collisions at run-time, from devel




More information about the fedora-extras-commits mailing list