pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/38346: cannot build/install databases/nss_ldap on NetBSD 4.0
Note: There was a bad value `' for the field `Class'.
It was set to the default value of `sw-bug'.
>Number: 38346
>Category: pkg
>Synopsis: cannot build/install databases/nss_ldap on NetBSD 4.0
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Mar 31 06:45:00 +0000 2008
>Originator: Taku YASUI
>Release: NetBSD 4.0
>Organization:
Debian Project
>Environment:
System: NetBSD cf-x86-netbsd 4.0 NetBSD 4.0 (GENERIC) #0: Sun Dec 16 00:20:10
PST 2007
builds@wb34:/home/builds/ab/netbsd-4-0-RELEASE/i386/200712160005Z-obj/home/builds/ab/netbsd-4-0-RELEASE/src/sys/arch/i386/compile/GENERIC
i386
Architecture: i386
Machine: i386
>Description:
I cannot build and install databases/nss_ldap on NetBSD 4.0.
It shows following message:
# make
=> Bootstrap dependency digest>=20010302: found digest-20070803
===> Checking for vulnerabilities in nss_ldap-240nb9
Package nss_ldap-240nb9 has a data-manipulation vulnerability, see:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5794
ERROR: Define ALLOW_VULNERABLE_PACKAGES in mk.conf or IGNORE_URLS in
audit-packages.conf(5) if this package is absolutely essential.
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/databases/nss_ldap
>How-To-Repeat:
make
>Fix:
Upstream releases fixed version:
http://www.padl.com/download/nss_ldap-260.tar.gz
So, I made the patch for this new release.
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/databases/nss_ldap/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- Makefile 18 Jan 2008 05:06:28 -0000 1.18
+++ Makefile 31 Mar 2008 06:20:12 -0000
@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.18 2008/01/18 05:06:28 tnn Exp $
#
-DISTNAME= nss_ldap-240
-PKGREVISION= 9
+DISTNAME= nss_ldap-260
+PKGREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://www.padl.com/download/
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/databases/nss_ldap/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo 10 Aug 2007 17:14:40 -0000 1.4
+++ distinfo 31 Mar 2008 06:20:12 -0000
@@ -1,9 +1,8 @@
$NetBSD: distinfo,v 1.4 2007/08/10 17:14:40 drochner Exp $
-SHA1 (nss_ldap-240.tar.gz) = 929cea7e0fe4542bf24112ae428efffb7dc510ba
-RMD160 (nss_ldap-240.tar.gz) = 58a94bc8441461e779c546cbb447bee3efb0fead
-Size (nss_ldap-240.tar.gz) = 228656 bytes
-SHA1 (patch-ab) = 01493e92ffff0125dd3267810ee33cdeaab32ab2
-SHA1 (patch-af) = 6dc9d1df0f601361686832ac8d632936e260281e
+SHA1 (nss_ldap-260.tar.gz) = ad3f5215d66e1dc6c0ef04da83548ed2bc0dcd95
+RMD160 (nss_ldap-240.tar.gz) = ff2bac5650709d702339dde257f310f9ef161d9c
+Size (nss_ldap-260.tar.gz) = 274866 bytes
+SHA1 (patch-ab) = 481ab89a36509be8ab471e3f6a8a1e621b3c1304
+SHA1 (patch-af) = 6b913e08211243ffca54bdbd77bd8cd4f7a741a6
SHA1 (patch-ag) = 95741f39fb03195b3238d4f9c24360049fdd3698
-SHA1 (patch-ah) = 79bcb3b98fbb037520cbe242d50e8ee144bbc66c
Index: patches/patch-ab
===================================================================
RCS file: /cvsroot/pkgsrc/databases/nss_ldap/patches/patch-ab,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-ab
--- patches/patch-ab 8 Aug 2005 09:47:42 -0000 1.1.1.1
+++ patches/patch-ab 31 Mar 2008 06:20:12 -0000
@@ -1,8 +1,6 @@
-$NetBSD: patch-ab,v 1.1.1.1 2005/08/08 09:47:42 drochner Exp $
-
---- ldap-nss.c.orig 2005-07-26 23:00:16.000000000 +0200
-+++ ldap-nss.c
-@@ -33,6 +33,7 @@ static char rcsId[] =
+--- ldap-nss.c.orig 2008-03-04 19:05:12.000000000 +0900
++++ ldap-nss.c 2008-03-31 13:28:07.000000000 +0900
+@@ -33,6 +33,7 @@
#include <pthread.h>
#endif
@@ -10,3 +8,12 @@
#include <assert.h>
#include <stdlib.h>
#include <unistd.h>
+@@ -1258,8 +1259,6 @@
+ __pid = pid;
+ else
+ __libc_once (__once, do_atfork_setup);
+-#else
+- __pid = pid;
+ #endif
+
+ __euid = euid;
Index: patches/patch-af
===================================================================
RCS file: /cvsroot/pkgsrc/databases/nss_ldap/patches/patch-af,v
retrieving revision 1.3
diff -u -r1.3 patch-af
--- patches/patch-af 19 Sep 2005 16:13:26 -0000 1.3
+++ patches/patch-af 31 Mar 2008 06:20:12 -0000
@@ -1,34 +1,55 @@
-$NetBSD: patch-af,v 1.3 2005/09/19 16:13:26 drochner Exp $
-
---- Makefile.in.orig 2005-09-18 19:47:08.000000000 +0100
-+++ Makefile.in
-@@ -75,14 +75,14 @@ nss_ldap_so_LD = @nss_ldap_so_LD@
- noinst_PROGRAMS = nss_ldap.so $(authmod)
+--- Makefile.in.orig 2008-03-04 19:05:12.000000000 +0900
++++ Makefile.in 2008-03-31 13:05:46.000000000 +0900
+@@ -60,7 +60,7 @@
+ util.$(OBJEXT) ltf.$(OBJEXT) snprintf.$(OBJEXT) \
+ resolve.$(OBJEXT) dnsconfig.$(OBJEXT) irs-nss.$(OBJEXT) \
+ pagectrl.$(OBJEXT) aix_authmeth.$(OBJEXT) \
+- ldap-init-krb5-cache.$(OBJEXT)
++ ldap-init-krb5-cache.$(OBJEXT) netbsd.$(OBJEXT)
+ NSS_LDAP_OBJECTS = $(am_NSS_LDAP_OBJECTS)
+ NSS_LDAP_LDADD = $(LDADD)
+ am_nss_ldap_so_OBJECTS = ldap-nss.$(OBJEXT) ldap-pwd.$(OBJEXT) \
+@@ -72,7 +72,7 @@
+ ldap-automount.$(OBJEXT) util.$(OBJEXT) ltf.$(OBJEXT) \
+ snprintf.$(OBJEXT) resolve.$(OBJEXT) dnsconfig.$(OBJEXT) \
+ irs-nss.$(OBJEXT) pagectrl.$(OBJEXT) ldap-sldap.$(OBJEXT) \
+- ldap-init-krb5-cache.$(OBJEXT)
++ ldap-init-krb5-cache.$(OBJEXT) netbsd.$(OBJEXT)
+ nss_ldap_so_OBJECTS = $(am_nss_ldap_so_OBJECTS)
+ nss_ldap_so_LDADD = $(LDADD)
+ DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
+@@ -201,7 +201,7 @@
+ @AIX_FALSE@authmod =
+ @AIX_TRUE@authmod = NSS_LDAP
INST_UID = root
- @AIX_TRUE@INST_GID = system
-@AIX_FALSE@INST_GID = root
+@AIX_FALSE@INST_GID = wheel
-
- EXTRA_DIST = CVSVersionInfo.txt ChangeLog AUTHORS ANNOUNCE NEWS
INSTALL README LICENSE.OpenLDAP COPYING ldap.conf nss_ldap.spec
nsswitch.ldap
-
-
- man_MANS = nss_ldap.5
-
--nss_ldap_so_SOURCES = ldap-nss.c ldap-pwd.c ldap-grp.c ldap-netgrp.c
ldap-rpc.c ldap-hosts.c ldap-network.c ldap-proto.c ldap-spwd.c
ldap-alias.c ldap-service.c ldap-schema.c ldap-ethers.c ldap-bp.c
ldap-automount.c util.c ltf.c snprintf.c resolve.c dnsconfig.c irs-nss.c
pagectrl.c
-+nss_ldap_so_SOURCES = ldap-nss.c ldap-pwd.c ldap-grp.c ldap-netgrp.c
ldap-rpc.c ldap-hosts.c ldap-network.c ldap-proto.c ldap-spwd.c
ldap-alias.c ldap-service.c ldap-schema.c ldap-ethers.c ldap-bp.c
ldap-automount.c util.c ltf.c snprintf.c resolve.c dnsconfig.c irs-nss.c
pagectrl.c netbsd.c
-
-
- nss_ldap_so_LDFLAGS = @nss_ldap_so_LDFLAGS@
-@@ -122,7 +122,7 @@ nss_ldap_so_OBJECTS = ldap-nss.o ldap-p
- ldap-rpc.o ldap-hosts.o ldap-network.o ldap-proto.o ldap-spwd.o \
- ldap-alias.o ldap-service.o ldap-schema.o ldap-ethers.o ldap-bp.o \
- ldap-automount.o util.o ltf.o snprintf.o resolve.o dnsconfig.o \
--irs-nss.o pagectrl.o
-+irs-nss.o pagectrl.o netbsd.o
- nss_ldap_so_LDADD = $(LDADD)
- nss_ldap_so_DEPENDENCIES =
- NSS_LDAP_OBJECTS = ldap-nss.o ldap-grp.o ldap-pwd.o ldap-netgrp.o \
-@@ -498,10 +498,8 @@ maintainer-clean-generic clean mostlycle
+ @AIX_TRUE@INST_GID = system
+ EXTRA_DIST = CVSVersionInfo.txt ChangeLog \
+ AUTHORS ANNOUNCE NEWS INSTALL README LICENSE.OpenLDAP COPYING\
+@@ -212,11 +212,11 @@
+ ldap-hosts.c ldap-network.c ldap-proto.c ldap-spwd.c \
+ ldap-alias.c ldap-service.c ldap-schema.c ldap-ethers.c \
+ ldap-bp.c ldap-automount.c util.c ltf.c snprintf.c resolve.c \
+- dnsconfig.c irs-nss.c pagectrl.c ldap-sldap.c ldap-init-krb5-cache.c
++ dnsconfig.c irs-nss.c pagectrl.c ldap-sldap.c ldap-init-krb5-cache.c
netbsd.c
+
+ NSS_LDAP_SOURCES = ldap-nss.c ldap-grp.c ldap-pwd.c ldap-netgrp.c
ldap-schema.c \
+ util.c ltf.c snprintf.c resolve.c dnsconfig.c \
+- irs-nss.c pagectrl.c aix_authmeth.c ldap-init-krb5-cache.c
++ irs-nss.c pagectrl.c aix_authmeth.c ldap-init-krb5-cache.c netbsd.c
+
+ @GCC_FALSE@MULTI_OS_DIRECTORY = .
+ #INCLUDES = -I$(top_builddir) -I$(srcdir)
+@@ -327,6 +327,7 @@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/resolve.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/snprintf.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/util.Po@am__quote@
++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/netbsd.Po@am__quote@
+
+ .c.o:
+ @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c
-o $@ $<; \
+@@ -688,10 +689,8 @@
install-data-local:
@$(NORMAL_INSTALL)
Home |
Main Index |
Thread Index |
Old Index