ports/142963: [UPDATE] net/nss_ldapd: update to 0.7.2

Harald Schmalzbauer freebsd at omnilan.de
Tue Jan 19 11:10:10 UTC 2010


>Number:         142963
>Category:       ports
>Synopsis:       [UPDATE] net/nss_ldapd: update to 0.7.2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 19 11:10:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Harald Schmalzbauer
>Release:        FreeBSD 8.0-RC2 i386
>Organization:
OmniLAN
>Environment:
System: FreeBSD titan.flintsbach.schmalzbauer.de 8.0-RC2 FreeBSD 8.0-RC2 #23: Sun Nov 1 15:00:00 CET 2009 harry at titan.flintsbach.schmalzbauer.de:/usr/obj/usr/src/sys/TITAN i386


	
>Description:
	Update to 0.7.2 which is post security issue with 0.7.1
>How-To-Repeat:
	
>Fix:

--- Makefile.orig	2010-01-19 11:56:31.000000000 +0100
+++ Makefile	2010-01-19 11:56:59.000000000 +0100
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=		nss_ldapd
-PORTVERSION=		0.7.1
+PORTVERSION=		0.7.2
 CATEGORIES=		net
 MASTER_SITES=		http://arthurdejong.org/nss-pam-ldapd/ \
 			http://static.ipfw.ru/files/
--- distinfo.orig	2010-01-13 17:51:51.000000000 +0100
+++ distinfo	2010-01-13 18:41:58.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (nss-pam-ldapd-0.7.1.tar.gz) = 11a31772554a452a5d978b39665fcf80
-SHA256 (nss-pam-ldapd-0.7.1.tar.gz) = c1a80ecb7def43171b36600f48ba32fe7822aa07541f90edb9481c641539467f
-SIZE (nss-pam-ldapd-0.7.1.tar.gz) = 430508
+MD5 (nss-pam-ldapd-0.7.2.tar.gz) = 010ceaed593ce1a0cbc13b1a3d4b25fd
+SHA256 (nss-pam-ldapd-0.7.2.tar.gz) = ea7aa2486e59f347bb4ea96673f6d5b7d4675bdf84454820b698719b5dc0f37d
+SIZE (nss-pam-ldapd-0.7.2.tar.gz) = 437855
--- files/patch-configure.orig	2010-01-19 11:09:20.000000000 +0100
+++ files/patch-configure	2010-01-19 11:31:11.000000000 +0100
@@ -1,5 +1,5 @@
---- config.h.in.orig	2009-12-20 17:49:41.000000000 +0300
-+++ config.h.in	2009-12-20 17:41:46.000000000 +0300
+--- config.h.in.orig	2010-01-19 11:27:56.000000000 +0100
++++ config.h.in	2010-01-19 11:28:27.000000000 +0100
 @@ -3,6 +3,9 @@
  /* Whether to check configfile options. */
  #undef ENABLE_CONFIGFILE_CHECKING
@@ -10,9 +10,9 @@
  /* Define to 1 if you have the <aliases.h> header file. */
  #undef HAVE_ALIASES_H
  
---- configure.orig	19:44:43.000000000 +0300
-+++ configure	2009-12-20 19:47:20.000000000 +0300
-@@ -779,6 +779,7 @@
+--- configure.orig	2009-12-28 21:45:19.000000000 +0100
++++ configure	2010-01-19 11:30:14.000000000 +0100
+@@ -737,6 +737,7 @@
  enable_sasl
  enable_kerberos
  enable_configfile_checking
@@ -20,15 +20,15 @@
  with_ldap_conf_file
  with_nslcd_pidfile
  with_nslcd_socket
-@@ -1437,6 +1438,7 @@
-   --disable-kerberos      disable Kerberos support [default=yes]
+@@ -1384,6 +1385,7 @@
+   --disable-kerberos      disable Kerberos support [[default=enabled]]
    --disable-configfile-checking
-                           check configfile options [default=yes]
+                           check configfile options [[default=enabled]]
 +  --enable-nss_compat     check nss_compat option [default=no]
  
  Optional Packages:
    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
-@@ -5117,6 +5119,181 @@
+@@ -4779,6 +4781,181 @@
  
  fi
  
--- files/patch-nss__prototypes.h.orig	2010-01-19 11:39:58.000000000 +0100
+++ files/patch-nss__prototypes.h	2010-01-19 11:40:30.000000000 +0100
@@ -1,16 +1,16 @@
---- nss/prototypes.h.orig	2009-09-04 15:55:35.000000000 +0400
-+++ nss/prototypes.h	2009-12-20 15:37:57.000000000 +0300
+--- nss/prototypes.h.orig	2010-01-19 11:35:17.000000000 +0100
++++ nss/prototypes.h	2010-01-19 11:39:28.000000000 +0100
 @@ -24,7 +24,9 @@
  #define _NSS_EXPORTS_H 1
  
  #include <nss.h>
 +#ifdef HAVE_ALIASES_H
  #include <aliases.h>
-+#endif
- #ifdef HAVE_NETINET_ETHER_H
- #include <netinet/ether.h>
- #endif /* HAVE_NETINET_ETHER_H */
-@@ -84,6 +86,27 @@
++#endif /* HAVE_ALIASES_H */
+ #include <sys/socket.h>
+ #include <sys/types.h>
+ #include <grp.h>
+@@ -82,6 +84,27 @@
    void *nip; /* changed from `service_user *nip' */
  };
  
@@ -38,7 +38,7 @@
  /*
     These are prototypes for functions exported from the ldap NSS module.
     For more complete definitions of these functions check the GLIBC
-@@ -166,10 +189,12 @@
+@@ -164,10 +187,12 @@
  enum nss_status _nss_ldap_getservent_r(struct servent *result,char *buffer,size_t buflen,int *errnop);
  enum nss_status _nss_ldap_endservent(void);
  
@@ -48,6 +48,6 @@
  enum nss_status _nss_ldap_setspent(int stayopen);
  enum nss_status _nss_ldap_getspent_r(struct spwd *result,char *buffer,size_t buflen,int *errnop);
  enum nss_status _nss_ldap_endspent(void);
-+#endif
++#endif /* HAVE_SHADOW_H */
  
  #endif /* not NSS_EXPORTS */


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list