From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Dec 16 16:30:12 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 046D71065670 for ; Thu, 16 Dec 2010 16:30:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CF8DC8FC15 for ; Thu, 16 Dec 2010 16:30:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oBGGUBNL067945 for ; Thu, 16 Dec 2010 16:30:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oBGGUBtZ067943; Thu, 16 Dec 2010 16:30:11 GMT (envelope-from gnats) Resent-Date: Thu, 16 Dec 2010 16:30:11 GMT Resent-Message-Id: <201012161630.oBGGUBtZ067943@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Menshikov Konstantin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A602106566C for ; Thu, 16 Dec 2010 16:25:03 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (unknown [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 72C1D8FC1B for ; Thu, 16 Dec 2010 16:25:03 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id oBGGP2vN084376 for ; Thu, 16 Dec 2010 16:25:02 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id oBGGP2Y0084375; Thu, 16 Dec 2010 16:25:02 GMT (envelope-from nobody) Message-Id: <201012161625.oBGGP2Y0084375@red.freebsd.org> Date: Thu, 16 Dec 2010 16:25:02 GMT From: Menshikov Konstantin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/153215: [patch] Update port net/nss_ldapd to version 0.7.13 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Dec 2010 16:30:12 -0000 >Number: 153215 >Category: ports >Synopsis: [patch] Update port net/nss_ldapd to version 0.7.13 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Dec 16 16:30:11 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Menshikov Konstantin >Release: FreeBSD 8.1-RELEASE >Organization: >Environment: FreeBSD nscd.kmenshikov.devel.hostcomm.ru 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Thu Sep 2 02:56:24 UTC 2010 root@tinderbox.infra.hc.ru:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Need update port net/nss_ldapd, because current nss_ldapd version 0.7.13 and current nss_ldapd version in ports tree 0.7.3. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN Makefile Makefile --- Makefile 2010-12-09 01:50:15.000000000 +0000 +++ Makefile 2010-12-16 16:13:50.000000000 +0000 @@ -6,7 +6,7 @@ # PORTNAME= nss_ldapd -PORTVERSION= 0.7.3 +PORTVERSION= 0.7.13 CATEGORIES= net MASTER_SITES= http://arthurdejong.org/nss-pam-ldapd/ \ http://static.ipfw.ru/files/ @@ -43,7 +43,8 @@ CONFIGURE_ARGS+= --with-nslcd-pidfile=${NSLCD_PIDFILE} \ --with-nslcd-socket=${NSLCD_SOCKET} \ - --with-ldap-lib=openldap --disable-kerberos + --with-ldap-lib=openldap --disable-kerberos \ + --with-nss-ldap-soname=nss_ldap.so.1 .if defined(WITHOUT_NSS) .undef NSS_COMPAT diff -ruN distinfo distinfo --- distinfo 2010-05-14 13:23:00.000000000 +0000 +++ distinfo 2010-12-16 13:37:42.000000000 +0000 @@ -1,3 +1,2 @@ -MD5 (nss-pam-ldapd-0.7.3.tar.gz) = 688833d959f1878a139d484e980d160e -SHA256 (nss-pam-ldapd-0.7.3.tar.gz) = db300db75fdf7ab74fae8fcb7cfecb5adace49ecf715d308581b22575bc128da -SIZE (nss-pam-ldapd-0.7.3.tar.gz) = 443042 +SHA256 (nss-pam-ldapd-0.7.13.tar.gz) = 1bdba144669ac3220162d59bafe5ba4f83404f520bc9ead58b179745c82b8d4a +SIZE (nss-pam-ldapd-0.7.13.tar.gz) = 478944 diff -ruN files/patch-nss__ldap.map files/patch-nss__ldap.map --- files/patch-nss__ldap.map 1970-01-01 00:00:00.000000000 +0000 +++ files/patch-nss__ldap.map 2010-12-16 13:48:12.000000000 +0000 @@ -0,0 +1,30 @@ +--- ./nss/nss_ldap.map.orig 2010-09-24 07:07:18.000000000 +0000 ++++ ./nss/nss_ldap.map 2010-12-16 13:13:25.000000000 +0000 +@@ -81,6 +78,27 @@ + _nss_ldap_getspent_r; + _nss_ldap_endspent; + ++ # compat 4 bsd ++ __nss_compat_getgrnam_r; ++ __nss_compat_getgrgid_r; ++ __nss_compat_getgrent_r; ++ __nss_compat_setgrent; ++ __nss_compat_endgrent; ++ ++ __nss_compat_getpwnam_r; ++ __nss_compat_getpwuid_r; ++ __nss_compat_getpwent_r; ++ __nss_compat_setpwent; ++ __nss_compat_endpwent; ++ ++ __nss_compat_gethostbyname; ++ __nss_compat_gethostbyname2; ++ __nss_compat_gethostbyaddr; ++ ++ # module init ++ nss_module_register; ++ ++ + # everything else should not be exported + local: + *; diff -ruN files/patch-nss__prototypes.h files/patch-nss__prototypes.h --- files/patch-nss__prototypes.h 2010-05-14 13:23:00.000000000 +0000 +++ files/patch-nss__prototypes.h 2010-12-16 15:57:25.000000000 +0000 @@ -1,33 +1,5 @@ --- nss/prototypes.h.orig 2009-09-04 15:55:35.000000000 +0400 +++ nss/prototypes.h 2009-12-20 15:37:57.000000000 +0300 -@@ -84,6 +86,27 @@ - void *nip; /* changed from `service_user *nip' */ - }; - -+#ifdef __FreeBSD__ -+/* -+ * Import from aliases.h -+ */ -+struct aliasent -+ { -+ char *alias_name; -+ size_t alias_members_len; -+ char **alias_members; -+ int alias_local; -+ }; -+ -+struct rpcent -+{ -+ char *r_name; /* Name of server for this rpc program. */ -+ char **r_aliases; /* Alias list. */ -+ int r_number; /* RPC program number. */ -+}; -+ -+#endif -+ - /* - 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 @@ enum nss_status _nss_ldap_getservent_r(struct servent *result,char *buffer,size_t buflen,int *errnop); enum nss_status _nss_ldap_endservent(void); >Release-Note: >Audit-Trail: >Unformatted: