head 1.8; access; symbols pkgsrc-2021Q2:1.7.0.126 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.124 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.122 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.120 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.116 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.96 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.118 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.114 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.112 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.110 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.108 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.106 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.104 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.102 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.100 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.98 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.7.0.94 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.92 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.90 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.88 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.86 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.7.0.84 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.7.0.82 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.80 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.78 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.76 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.74 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.72 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.70 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.68 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.66 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.64 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.62 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.60 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.58 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.56 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.54 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.7.0.52 pkgsrc-2012Q1-base:1.7 pkgsrc-2011Q4:1.7.0.50 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q3:1.7.0.48 pkgsrc-2011Q3-base:1.7 pkgsrc-2011Q2:1.7.0.46 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.7.0.44 pkgsrc-2011Q1-base:1.7 pkgsrc-2010Q4:1.7.0.42 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.40 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.38 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.36 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.7.0.34 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.7.0.32 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.7.0.30 pkgsrc-2009Q2-base:1.7 pkgsrc-2009Q1:1.7.0.28 pkgsrc-2009Q1-base:1.7 pkgsrc-2008Q4:1.7.0.26 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.24 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.22 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.20 pkgsrc-2008Q2-base:1.7 cwrapper:1.7.0.18 pkgsrc-2008Q1:1.7.0.16 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.14 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.12 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.10 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.8 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.7.0.6 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.7.0.4 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.2 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.6.0.4 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.2 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.5.0.2 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.4.0.8 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.6 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.4 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.2 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.3.0.6 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.4 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.1.0.2 netbsd-1-6-1-base:1.1; locks; strict; comment @# @; 1.8 date 2021.08.23.09.58.58; author adam; state dead; branches; next 1.7; commitid 7pL4ZryIb0xf156D; 1.7 date 2006.05.18.05.14.11; author taca; state Exp; branches; next 1.6; 1.6 date 2005.10.26.15.08.13; author jlam; state Exp; branches 1.6.4.1; next 1.5; 1.5 date 2005.08.01.19.27.39; author jlam; state Exp; branches; next 1.4; 1.4 date 2004.07.24.03.32.24; author jlam; state Exp; branches; next 1.3; 1.3 date 2003.09.18.09.52.22; author markd; state Exp; branches; next 1.2; 1.2 date 2003.09.18.05.37.19; author markd; state dead; branches; next 1.1; 1.1 date 2003.01.29.22.05.34; author kleink; state Exp; branches; next ; 1.6.4.1 date 2006.05.22.12.58.24; author salo; state Exp; branches; next ; desc @@ 1.8 log @openldap: updated to 2.5.7 OpenLDAP 2.5.7 Release (2021/08/18) Fixed lloadd client state tracking Fixed slapd bconfig to canonicalize structuralObjectclass Fixed slapd-ldif duplicate controls response Fixed slapd-mdb multival crash when attribute is missing an equality matchingrule Fixed slapd-mdb compatibility with OpenLDAP 2.4 MDB databases Fixed slapd-mdb idlexp maximum size handling Fixed slapd-monitor number of ops executing with asynchronous backends Fixed slapd-sql to add support for ppolicy attributes Fixed slapd-sql to close transactions after bind and search Fixed slapo-accesslog to make reqMod optional Fixed slapo-ppolicy logging when pwdChangedTime attribute is not present Documentation slapd-mdb(5) note max idlexp size is 30, not 31 slapo-accesslog(5) note that reqMod is optional Add ldapvc(1) man page Add guide section on load balancer Updated guide to document multiprovider as replacement for mirrormode Updated guide to clarify slapd-mdb upgrade requirements Updated guide to document removal of deprecated options from client tools OpenLDAP 2.5.6 Release (2021/07/27) Fixed libldap buffer overflow Fixed libldap missing mutex unlock on connection alloc failure Fixed lloadd cn=config olcBkLloadClientMaxPending setting Fixed slapd multiple config defaults Fixed slapd ipv6 addresses to work with tcp wrappers Fixed slapo-syncprov delete of nonexistent sessionlog Build Fixed library symbol versioning on Solaris Fixed compile warning in libldap/tpool.c Fixed compile warning in libldap/tls_o.c Contrib Fixed ppm module for sysconfdir Documentation Updated guide to document multival, idlexp, and maxentrysize OpenLDAP 2.5.5 Release (2021/06/03) Added libldap LDAP_OPT_TCP_USER_TIMEOUT support Added lloadd tcp-user-timeout support Added slapd-asyncmeta tcp-user-timeout support Added slapd-ldap tcp-user-timeout support Added slapd-meta tcp-user-timeout support Fixed incorrect control OIDs for AuthZ Identity Fixed libldap typo in util-int.c Fixed libldap double free of LDAP_OPT_DEFBASE Fixed libldap better TLS1.3 cipher suite handling Fixed lloadd multiple issues Fixed slapd slap_op_time to avoid duplicates across restarts Fixed slapd typo in daemon.c Fixed slapd slapi compilation Fixed slapd to handle empty DN in extended filters Fixed slapd syncrepl searches with empty base Fixed slapd syncrepl refresh on startup Fixed slapd abort due to typo Fixed slapd-asyncmeta quarantine handling Fixed slapd-asyncmeta to have a default operations timeout Fixed slapd-ldap quarantine handling Fixed slapd-mdb deletion of context entry Fixed slapd-mdb off-by-one affecting search scope Fixed slapd-meta quarantine handling Fixed slapo-accesslog to record reqNewDN for modRDN ops Fixed slapo-pcache locking during expiration Build Fixed slappw-argon2 module installation Contrib Update ldapc++/ldaptcl to use configure.ac Documentation ldap_first_attribute(3) - Document ldap_get_attribute_ber ldap_modify(3) - Delete non-existent mod_next parameter OpenLDAP 2.5.4 Release (2021/04/29) Initial release for "general use". @ text @$NetBSD: patch-ad,v 1.7 2006/05/18 05:14:11 taca Exp $ --- libraries/liblutil/sha1.c.orig 2006-01-04 07:16:11.000000000 +0900 +++ libraries/liblutil/sha1.c @@@@ -50,10 +50,16 @@@@ #define SHA1HANDSOFF /* Copies data before messing with it. */ #define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits)))) +#if defined(__sparcv9) && \ + ((__GNUC__ < 3) || (__GNUC__ == 3 && __GNUC_MINOR__ < 3)) +# define SPARC64_GCC_BUG +#endif + /* * blk0() and blk() perform the initial expand. * I got the idea of expanding during the round function from SSLeay */ +#ifndef SPARC64_GCC_BUG #if BYTE_ORDER == LITTLE_ENDIAN # define blk0(i) (block[i] = (rol(block[i],24)&0xFF00FF00) \ |(rol(block[i],8)&0x00FF00FF)) @@@@ -62,6 +68,16 @@@@ #endif #define blk(i) (block[i&15] = rol(block[(i+13)&15]^block[(i+8)&15] \ ^block[(i+2)&15]^block[i&15],1)) +#else +#if BYTE_ORDER == LITTLE_ENDIAN +# define blk0(i) (block->l[i] = (rol(block->l[i],24)&0xFF00FF00) \ + |(rol(block->l[i],8)&0x00FF00FF)) +#else +# define blk0(i) block->l[i] +#endif +#define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \ + ^block->l[(i+2)&15]^block->l[i&15],1)) +#endif /* !SPARC64_GCC_BUG */ /* * (R0+R1), R2, R3, R4 are the different operations (rounds) used in SHA1 @@@@ -72,6 +88,68 @@@@ #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30); #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30); +#ifdef SPARC64_GCC_BUG +typedef union { + u_char c[64]; + uint32 l[16]; +} CHAR64LONG16; + +void do_R01(uint32 *a, uint32 *b, uint32 *c, uint32 *d, uint32 *e, CHAR64LONG16 +*); +void do_R2(uint32 *a, uint32 *b, uint32 *c, uint32 *d, uint32 *e, CHAR64LONG16 +*); +void do_R3(uint32 *a, uint32 *b, uint32 *c, uint32 *d, uint32 *e, CHAR64LONG16 +*); +void do_R4(uint32 *a, uint32 *b, uint32 *c, uint32 *d, uint32 *e, CHAR64LONG16 +*); + +#define nR0(v,w,x,y,z,i) R0(*v,*w,*x,*y,*z,i) +#define nR1(v,w,x,y,z,i) R1(*v,*w,*x,*y,*z,i) +#define nR2(v,w,x,y,z,i) R2(*v,*w,*x,*y,*z,i) +#define nR3(v,w,x,y,z,i) R3(*v,*w,*x,*y,*z,i) +#define nR4(v,w,x,y,z,i) R4(*v,*w,*x,*y,*z,i) + +void +do_R01(uint32 *a, uint32 *b, uint32 *c, uint32 *d, uint32 *e, CHAR64LONG16 *block) +{ + nR0(a,b,c,d,e, 0); nR0(e,a,b,c,d, 1); nR0(d,e,a,b,c, 2); nR0(c,d,e,a,b, 3); + nR0(b,c,d,e,a, 4); nR0(a,b,c,d,e, 5); nR0(e,a,b,c,d, 6); nR0(d,e,a,b,c, 7); + nR0(c,d,e,a,b, 8); nR0(b,c,d,e,a, 9); nR0(a,b,c,d,e,10); nR0(e,a,b,c,d,11); + nR0(d,e,a,b,c,12); nR0(c,d,e,a,b,13); nR0(b,c,d,e,a,14); nR0(a,b,c,d,e,15); + nR1(e,a,b,c,d,16); nR1(d,e,a,b,c,17); nR1(c,d,e,a,b,18); nR1(b,c,d,e,a,19); +} + +void +do_R2(uint32 *a, uint32 *b, uint32 *c, uint32 *d, uint32 *e, CHAR64LONG16 *block) +{ + nR2(a,b,c,d,e,20); nR2(e,a,b,c,d,21); nR2(d,e,a,b,c,22); nR2(c,d,e,a,b,23); + nR2(b,c,d,e,a,24); nR2(a,b,c,d,e,25); nR2(e,a,b,c,d,26); nR2(d,e,a,b,c,27); + nR2(c,d,e,a,b,28); nR2(b,c,d,e,a,29); nR2(a,b,c,d,e,30); nR2(e,a,b,c,d,31); + nR2(d,e,a,b,c,32); nR2(c,d,e,a,b,33); nR2(b,c,d,e,a,34); nR2(a,b,c,d,e,35); + nR2(e,a,b,c,d,36); nR2(d,e,a,b,c,37); nR2(c,d,e,a,b,38); nR2(b,c,d,e,a,39); +} + +void +do_R3(uint32 *a, uint32 *b, uint32 *c, uint32 *d, uint32 *e, CHAR64LONG16 *block) +{ + nR3(a,b,c,d,e,40); nR3(e,a,b,c,d,41); nR3(d,e,a,b,c,42); nR3(c,d,e,a,b,43); + nR3(b,c,d,e,a,44); nR3(a,b,c,d,e,45); nR3(e,a,b,c,d,46); nR3(d,e,a,b,c,47); + nR3(c,d,e,a,b,48); nR3(b,c,d,e,a,49); nR3(a,b,c,d,e,50); nR3(e,a,b,c,d,51); + nR3(d,e,a,b,c,52); nR3(c,d,e,a,b,53); nR3(b,c,d,e,a,54); nR3(a,b,c,d,e,55); + nR3(e,a,b,c,d,56); nR3(d,e,a,b,c,57); nR3(c,d,e,a,b,58); nR3(b,c,d,e,a,59); +} + +void +do_R4(uint32 *a, uint32 *b, uint32 *c, uint32 *d, uint32 *e, CHAR64LONG16 *block) +{ + nR4(a,b,c,d,e,60); nR4(e,a,b,c,d,61); nR4(d,e,a,b,c,62); nR4(c,d,e,a,b,63); + nR4(b,c,d,e,a,64); nR4(a,b,c,d,e,65); nR4(e,a,b,c,d,66); nR4(d,e,a,b,c,67); + nR4(c,d,e,a,b,68); nR4(b,c,d,e,a,69); nR4(a,b,c,d,e,70); nR4(e,a,b,c,d,71); + nR4(d,e,a,b,c,72); nR4(c,d,e,a,b,73); nR4(b,c,d,e,a,74); nR4(a,b,c,d,e,75); + nR4(e,a,b,c,d,76); nR4(d,e,a,b,c,77); nR4(c,d,e,a,b,78); nR4(b,c,d,e,a,79); +} +#endif /* SPARC64_GCC_BUG */ + /* * Hash a single 512-bit block. This is the core of the algorithm. @@@@ -80,13 +158,26 @@@@ void lutil_SHA1Transform( uint32 *state, const unsigned char *buffer ) { uint32 a, b, c, d, e; +#ifdef SPARC64_GCC_BUG + CHAR64LONG16 *block; +#endif +#ifndef SPARC64_GCC_BUG #ifdef SHA1HANDSOFF uint32 block[16]; (void)AC_MEMCPY(block, buffer, 64); #else uint32 *block = (u_int32 *) buffer; #endif +#else +#ifdef SHA1HANDSOFF + CHAR64LONG16 workspace; + block = &workspace; + (void)AC_MEMCPY(block, buffer, 64); +#else + block = (CHAR64LONG16 *) (void *) buffer; +#endif +#endif /* !SPARC64_GCC_BUG */ /* Copy context->state[] to working vars */ a = state[0]; @@@@ -95,6 +186,7 @@@@ lutil_SHA1Transform( uint32 *state, cons d = state[3]; e = state[4]; +#ifndef SPARC64_GCC_BUG /* 4 rounds of 20 operations each. Loop unrolled. */ R0(a,b,c,d,e, 0); R0(e,a,b,c,d, 1); R0(d,e,a,b,c, 2); R0(c,d,e,a,b, 3); R0(b,c,d,e,a, 4); R0(a,b,c,d,e, 5); R0(e,a,b,c,d, 6); R0(d,e,a,b,c, 7); @@@@ -116,6 +208,13 @@@@ lutil_SHA1Transform( uint32 *state, cons R4(c,d,e,a,b,68); R4(b,c,d,e,a,69); R4(a,b,c,d,e,70); R4(e,a,b,c,d,71); R4(d,e,a,b,c,72); R4(c,d,e,a,b,73); R4(b,c,d,e,a,74); R4(a,b,c,d,e,75); R4(e,a,b,c,d,76); R4(d,e,a,b,c,77); R4(c,d,e,a,b,78); R4(b,c,d,e,a,79); +#else + do_R01(&a, &b, &c, &d, &e, block); + do_R2(&a, &b, &c, &d, &e, block); + do_R3(&a, &b, &c, &d, &e, block); + do_R4(&a, &b, &c, &d, &e, block); +#endif /* !SPARC64_GCC_BUG */ + /* Add the working vars back into context.state[] */ state[0] += a; @ 1.7 log @Fix build problem of libraries/liblutil/sha1.c; function proto type mis-match. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.6 2005/10/26 15:08:13 jlam Exp $ @ 1.6 log @Update databases/openldap to 2.3.11, which is the first "stable" release in the 2.3.x series. This is a major update over version 2.2.x, and changes include: * Slapd(8) enhancements - Updated slapd "overlay" interface, and several example (and mostly experimental) overlays. - Updated LDAP "sync" Engine with replication support, provider now an "overlay" - Numerous access control enhancements, including experimental "don't disclose on error" capability - Configuration backend * LDAPv3 extensions, including: - LDAP Password Policy - LDAP Component Matching (requires OpenLDAP snacc) - LDAP Modify Increment @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.5 2005/08/01 19:27:39 jlam Exp $ d3 1 a3 1 --- libraries/liblutil/sha1.c.orig 2005-01-20 13:03:52.000000000 -0500 d52 1 a52 1 +); d54 1 a54 1 +); d56 1 a56 1 +); @ 1.6.4.1 log @Pullup ticket 1632 - requested by ghen security update for openldap Revisions pulled up: - pkgsrc/databases/openldap/Makefile 1.111, 1.112, 1.113 - pkgsrc/databases/openldap/PLIST 1.26 - pkgsrc/databases/openldap/distinfo 1.45, 1.46, 1.47 - pkgsrc/databases/openldap/patches/patch-ac 1.11 - pkgsrc/databases/openldap/patches/patch-ad 1.7 - pkgsrc/databases/openldap/patches/patch-ah 1.5 - pkgsrc/databases/openldap/patches/patch-am 1.5 Module Name: pkgsrc Committed By: grant Date: Fri Apr 7 00:35:02 UTC 2006 Modified Files: pkgsrc/databases/openldap: Makefile Log Message: fix avl_* function prototype conflicts on Solaris, so this now builds on Solaris. --- Module Name: pkgsrc Committed By: ghen Date: Mon May 15 19:01:23 UTC 2006 Modified Files: pkgsrc/databases/openldap: Makefile PLIST distinfo pkgsrc/databases/openldap/patches: patch-ac patch-ah patch-am Log Message: Update OpenLDAP from 2.3.11 to 2.3.21. Ok with joerg. Here are all the changes: OpenLDAP 2.3.21 Release Fixed libldap referral chasing issue (ITS#4448) Fixed libldap invalid free bug (ITS#4436) Fixed libldap mutex leak (ITS#4441) Fixed libldap_r thr_yield(2) return handling (ITS#4469) Fixed slapd syncprov/glue interaction issue (ITS#4323, ITS#4417) Fixed slapd operational attrs in presence of global overlays (ITS#4431) Fixed slapd "threads" config value checking (ITS#4433) Fixed slapd connection index bound check (ITS#4449) Fixed slapd connection cleanup (ITS#4465) Fixed slapd slap_realloc misuse (ITS#4477) Fixed slapd size limit check when pagesize=3D1 (ITS#4479) Fixed slapd-bdb/hdb cache issue (ITS#4439) Fixed slapd-ldbm crash on modify bug (ITS#4464) Fixed slapd-ldap potential bind deadlock (ITS#4409) Fixed slapd-ldap/meta conn expiration concurrency (ITS#4429) Fixed slapd-ldap failed bind connection trashing (ITS#4428) Fixed slapd-ldap/meta chase-referrals disabling (ITS#4447) Fixed slapd-ldap controls forwarding (ITS#4457) Fixed slapd-ldap pretty DN in proxied requests (ITS#4456) Fixed slapd-ldbm crash on modify bug (ITS#4464) Fixed slapd-meta write error mapping (ITS#4419) Removed lint Build Environment Added slapo-auditlog build support (ITS#4372) Fixed multi-precision sizeof detection (ITS#4416) Fixed liblunicode build (ITS#4435) Updated libtool to version 1.5.22 (ITS#4471) Updated shtool to version 2.0.5 OpenLDAP 2.3.20 Release Added libldap SASL workaround for broken LDAP servers (ITS#4391) Fixed libldap/slapd valuesReturnFilter OID (ITS#4404) Fixed slapd config_generic_wrapper missing parameter bug (ITS#4376) Fixed slapd extensible filter value normalization bug (ITS#4380) Fixed slapd context CSN not updating issue (ITS#4384) Fixed slapd non-read/write epoll event handling (ITS#4395) Fixed slapd syncrepl de-normalize UUID issue Fixed slapd syncrepl dynamic reconfig issue (ITS#4401) Added slapd syncrepl log messages (ITS#4369) Added slapd permissive modify/increment support Added slapd dynamically registered debug level support Fixed slapd connectionless LDAP support Fixed slapd cn=3Dconfig error on create failure issue (ITS#4407) Fixed slapd-bdb/hdb wake listener on runqueue submit (ITS#4385) Fixed slapd-ldap/meta resources leaks on multiple binds (ITS#4387) Fixed slapd-ldap/meta assert on connection shutdown (ITS#4390) Added slapd-meta subtree-exclude feature Fixed slapo-syncprov update latency issue (ITS#4385) Fixed slapo-auditlog crash (ITS#4394) Fixed slapo-accesslog unbind crash (ITS#4386) Fixed slurpd reject error formating (ITS#4382) Fixed ldappasswd unbind issue (ITS#4403) Fixed slapo-pcache assert on attrsonly search (ITS#4406) Added slapo-pcache max_queries enhancement (ITS#4225) Added slapo-pcache negative caching enhancement Build Environment Fixed liblunicode cross compiling problem (ITS#4363) Updated detection for AIX (ITS#4312) Updated multi-precision library detection Documentation Updated misc. manual pages OpenLDAP 2.3.19 Release Fixed libldap disable DH key exchange with DH params (ITS#4354) Fixed libldap_r thread pool destroy hang (ITS#4349,ITS#4368) Fixed slapd slap_daemon destroy issue (ITS#4370) Fixed slapd-hdb livelock issue (ITS#4360) Fixed slapd-bdb/hdb auto-recovery issue (ITS#4361,ITS#4373) Fixed slapd-bdb/hdb BDB 4.4 compatibility issues (ITS#4362) Fixed slapo-ppolicy modify issue (ITS#4355) Fixed slapo-syncprov/pcache filter dup issue (ITS#4364) Fixed slapo-syncprov playlog nentries reset issue (ITS#4365) Build environment Fixed slaptools when --disable-debug (ITS#4351) Fixed slapd(8) solaris select(2) issue (ITS#4357) OpenLDAP 2.3.18 Release Fixed slapd syncrepl variable used before set bug (ITS#4331) Updated slapd-meta retry capabilities (ITS#4328) Fixed slapd-bdb slapcat autorecover bug (ITS#4324) Fixed slapo-chain search limits (ITS#4336) Fixed slapo-pcache attrsets issues (ITS#4316) Fixed slapo-translucent connection destroy (ITS#4334) Fixed slapd-config handling of attribute options (ITS#4339) Fixed slapd-ldap idassert resource leak (ITS#4326) Fixed slapd-meta nretries issue (ITS#4059) Fixed slapd wake_listener loses wakes (ITS#4343) Fixed slapd connection manager issue (ITS#4338) Fixed slapd handling of old style configuration directives (ITS#4341) Removed slapd-bdb/hdb extraneous yields (ITS#3950) Build Environment Removed problematic Linux sched_yield(2) workarounds (ITS#3950) Documentation Updated release documents Updated misc. manual pages OpenLDAP 2.3.17 Release Fixed slapd anonymous proxy authorization issue (ITS#4320) Fixed slapd-ldap/meta session reuse issue (ITS#4315) Fixed slapd-ldap idassert anon-to-anon issue (ITS#4321) Fixed slapd-monitor thread issue (ITS#4318) Build environment Updated Linux sched_yield(2) workaround to use nanosleep(2) (ITS#3950) Fixed configure report-to URL OpenLDAP 2.3.16 Release Fixed slapd-bdb reindexing via cn=3Dconfig not noticed issue (ITS#4260) Fixed slapd-monitor connection search crash (ITS#4300) Flapd slapd cn=3Dconfig bad ACL syntax modify crash (ITS#4306) Fixed slapd ACL/suffix configuration issue (ITS#4307) Fixed slapd-bdb/hdb cache issue (ITS#4308) Fixed slapd-bdb/hdb/ldbm suffix add with default referral issue (ITS#4310) Fixed slapd-ldbm compare cache release issue (ITS#4313) Fixed slapd syncrepl time/size limit parsing Fixed slapi slapi_op_bind_callback fix (ITS#4311) Fixed slapi pluginlog fix (ITS#4291) Fixed ldapsearch response control handling issue Build environment Replace sched_yield(2) on Linux with select(2) (ITS#3950) Documentation Added slapd-bdb(5) cachefree description Updated misc. manual pages OpenLDAP 2.3.15 Release Fixed slapd strerror logging bug (ITS#4292) Fixed slapd ACL add/delete fraction issue (ITS#4295) Fixed slapd ACL users selfwrite issue (ITS#4299) Fixed slapd attrs/objectclass replog issues (ITS#4298) Fixed slapd-ldap password modify exop password return (ITS#4294) Build environment Disable test030-relay when threads are unavailable (ITS#4297) OpenLDAP 2.3.14 Release Fixed slapd assertion control restrictions Fixed slapd sc_prev update after free bug (ITS#4237) Fixed slapd pid file creation (ITS#4241,4251) Fixed slapd DEBUG dependency (ITS#4245) Added slapd warning for excessive threads number (ITS#4249) Fixed slapd passwd incomplete mod structure issue (ITS#4278) Fixed slapd ACL exact attrval clause normalization (ITS#4255) Fixed slapd modify/delete by ordered index issue Fixed slapd strerror NULL bug (ITS#4285) Fixed slapd-glue issues (ITS#4084,4133) Fixed slapd-hdb idl Delete bug (ITS#4250) Fixed slapd-hdb cache deadlock (ITS#4254) Fixed slapd-bdb/hdb alock_close bug (ITS#4259) Fixed slapd-bdb dn2id IDL cache bug (ITS#4263) Fixed slapd-bdb/hdb mode argument parsing (ITS#4257) Fixed slapd-bdb/hdb cn=3Dconfig reindexing (ITS#4260) Fixed slapd-bdb/hdb cn=3Dconfig olcDbIndex modify/replace (ITS#4262) Fixed slapd-bdb/hdb lockup issue (ITS#4184) Fixed slapd-ldap anonymous identity assertion (ITS#4272) Added slapd-ldap/meta idle-timeout support (ITS#4115) Fixed slapd-meta bind-timeout handling Fixed slapd-sql plug leak Fixed slapo-dynlist/dyngroup nonexistant object return code (ITS#4224) Updated slapo-dynlist (ITS#3756,3781) Fixed slapo-rwm static DN free bug (ITS#4248) Fixed slapo-syncprov unpublished control (ITS#4238) Fixed slapo-syncprov message id issue Fixed slapo-unique extraneous searches (ITS#4267) Build environment Fixed thread dependency of test028 (ITS#4141) Updated test026-dn Updated test033-glue-syncrepl (ITS#4264) Documentation Updated slapd.conf(5) and Admin Guide (ITS#4146,4266) Updated slapo-dynlist(5) (ITS#4197) Updated slapo-pcache(5) (ITS#4232) Updated slapindex(8) (ITS#4242) OpenLDAP 2.3.13 Release Fixed libldap/liblutil MSG_ACCRIGHTSLEN bug (ITS#4206) Fixed libldap ldap_bv2escaped_filter_value issue (ITS#4212) Fixed liblutil URL value-specs issue (ITS#4221) Fixed slapd sizelimit disclose issue (ITS#4213) Fixed slapd gentlehup write restrict issue (ITS#3717) Fixed slapd gentlehup abnormal issue (ITS#4217) Fixed slapd delta-sync subtree scope issue (ITS#4227) Fixed slapd cn=3Dconfig OID/name pollution issue (ITS#4185) Fixed slapd cn=3Dconfig rootdn issue (ITS#4192) Fixed slapd cn=3Dconfig slaptest -F without -f issue (ITS#4194) Fixed slapd cn=3Dconfig ACL issue (ITS#4218) Fixed slapd-bdb negative results IDL cache issue (ITS#4223) Fixed slapd-bdb cursor close issue (ITS#4226) Fixed slapd-hdb slapadd -q issue (ITS#4210) Fixed slapd-hdb missing results issue (ITS#4186) Fixed slapd-ldap potential double free issue (ITS#4189) Fixed slapd-meta matched DN issue (ITS#4195) Fixed slapd-meta DN cache issue (ITS#4196) Fixed slapd-monitor shadow issue (ITS#4214) Fixed slapo-accesslog delta-syncrepl issue (ITS#4198) Fixed slapo-accesslog cleanup issue (ITS#4209) Fixed slapo-chain resource leak issue (ITS#4140) Fixed slapo-chain identity assertion issue (ITS#4256) Fixed slapo-pcache attrset check issue (ITS#4199) Fixed slapd-bdb readonly dirty alock issue (ITS#4201) Fixed slapd-pcache non-requested attributes issues (ITS#4203,4204) Fixed slaptest -F -f success with unsupported issue (ITS#4220) Build environment Improved Berkeley DB detection (ITS#3809) Updated DB_CONFIG example (ITS#4229) Documentation Updated ldif(5) to include change record description OpenLDAP 2.3.12 Release Fixed libldap ldapi:// authdn construction Added libldap ldap_bv2escaped_filter_value (ITS#2535) Added libldap/slapd TLS DSA certificate support (ITS#4017) Fixed libldap SASL bind issue (ITS#4158) Fixed ldapmodrdn empty line handling (ITS#4101) Fixed client tools additional info printing (ITS#4147) Updated slapd ldaps:// not configured fix (ITS#4082,4083) Fixed slapd connection crashes (ITS#4108) Fixed slapd illegal S option bug (ITS#4119) Fixed slapd cn=3Dmonitor log level mod issue (ITS#4091) Fixed slapd cn=3Dconfig bad access issue (ITS#4111) Fixed slapd cn=3Dconfig access modify issue (ITS#4127) Fixed slapd cn=3Dconfig init issue (ITS#4128) Fixed slapd non-reentrant libwrap issue (ITS#4099) Fixed slapd thread v. tools_threads settings Fixed slapd spurious defer message (ITS#3850) Fixed slapd attribute SYNTAX OIDM issue (ITS#4116) Fixed slapd modify empty sequence bug (ITS#4183) Fixed slapd-bdb uninitialized condition in tool mode (ITS#4143) Fixed slapd-bdb empty suffix and syncprov issue (ITS#4171) Fixed slapd-hdb syncrepl deadlock issue (ITS#4088) Added slapd-ldap write op timeout support (ITS#4157) Fixed slapd-ldap/slapo-chain matched dn handling (ITS#4176) Fixed slapd-meta invalid DN attrs normalize/pretty issue (ITS#4107) Fixed slapd-meta rootdn erroneous success issue (ITS#4122) Fixed slapd-meta proxying bind result issue (ITS#4129) Fixed slapd-meta/slapo-rwm rwm-mapping issue (ITS#4086) Fixed slapd-meta per-target retry (ITS#4150) Fixed slapd-meta size/time limit handling (ITS#4145) Fixed slapd-sql size limit count (ITS#4181) Fixed slapo-ppolicy pwdFailureTime after bind success issue (ITS#4134) Fixed slapo-ppolicy add passord_hash quality config dependency Fixed slapo-syncprov LDAP response types (ITS#4183) Added slapd delta syncrepl support Added slapadd thread support Updated slapcat subordinate database handling (ITS#4089) Added slapd/slaptest pid/arg file consistency check (ITS#4074) Updated slaptools default debug level to "none" (ITS#4044) Fixed slurpd backwards compat issue (ITS#4151) Added slurpd pid/arg file consistency check (ITS#4152) Updated contrib smbk5pwd module Removed lint Build environment Fixed libldap HSTRERROR issue (ITS#4124) Fixed slapd AIX IFMT issue (ITS#4123) Added slapd-bind test program Added inet_ntoa_b support for VxWorks (ITS#3440) Updated test036 (ITS#4095) Fixed test036 cmp issue (ITS#4142) Dropped SSLeay support Documentation slapd.conf(5) defaultSearchBase issue (ITS#4162) slap tool man pages wll typo (ITS#4169) --- Module Name: pkgsrc Committed By: taca Date: Thu May 18 05:14:11 UTC 2006 Modified Files: pkgsrc/databases/openldap: distinfo pkgsrc/databases/openldap/patches: patch-ad Log Message: Fix build problem of libraries/liblutil/sha1.c; function proto type mis-match. --- Module Name: pkgsrc Committed By: joerg Date: Fri May 19 14:46:10 UTC 2006 Modified Files: pkgsrc/databases/openldap: Makefile distinfo Log Message: Update to OpenLDAP 2.3.23. OpenLDAP 2.3.23 Release Fixed slapd-ldap improper free bug (ITS#4550) OpenLDAP 2.3.22 Release Fixed libldap referral input destroy issue (ITS#4533) Fixed libldap ldap_sort_entries tail bug (ITS#4536) Fixed libldap default connection concurrency issue (ITS#4541) Fixed libldap_r thread debug missing break Fixed libldap_r tpool cleanup Fixed liblutil strtoul(3) usage (ITS#4503) Fixed liblutil time resolution issue (ITS#4514) Updated ldapdelete(1) to stdout bug (ITS#4453) Updated ldapsearch(1) BASE output (ITS#4504) Fixed slapd backglue issue (ITS#4529) Fixed slapd cn=3Dconfig (ITS#4512) Fixed slapd cn=3Dconfig ACL application fix Fixed slapd cn=3Dconfig olcLimits (ITS#4515) Fixed slapd dynacl tgrant/tdeny initialization Fixed slapd runqueue use of freed memory (ITS#4517) Fixed slapd slap_send_ldap_result bug (ITS#4499) Fixed slapd thread pool init issue (ITS#4513) Added slapd syncrepl mandatory searchbase check Fixed slapd-bdb/hdb pre/post-read freeing (ITS#4532) Fixed slapd-bdb/hdb pre/post-read unavailable issue (ITS#4538) Fixed slapd-bdb/hdb referral issue (ITS#4548) Fixed slapd-hdb IDL sort issue (ITS#4531) Fixed slapd-ldap proxyAuthz of bound identity/override (ITS#4497) Fixed slapd-ldap/meta protocol version propagation (ITS#4488) Fixed slapd-ldap fd cleanup (ITS#4474) Fixed slapd-ldif deadlock (ITS#4500) Fixed slapd-shell lutil_atoi issue (ITS#4495) Fixed slapadd cn=3Dconfig issue (ITS#4194) Fixed slapo-accesslog log purging issue (ITS#4505) Added slapo-accesslog reqOld feature Fixed slapo-auditlog missing return codes Fixed slapo-ppolicy BER tags issue (ITS#4528) Fixed slapo-ppolicy rebind bug (ITS#4516) Fixed slapo-refint delete prohibit issue (ITS#4442) Fixed slapo-syncprov MODs cause DELs (ITS#4423) Fixed slapo-syncprov/syncrepl sessionlog issue (ITS#4534) Added slapo-syncprov extra logging Fixed slapo-translucent modifications (ITS#4527) Fixed slurpd potential overflow issue Build Environment Fixed OSF1 compilation problem (ITS#4537) Fixed test020-proxycache disabled debug issue (ITS#4491) Fixed test033-glue-syncrepl overlay detection (ITS#4544) Documentation Fixed slapd(8) logging header reference (ITS#4509) Clarified slapd.conf(5) "disable bind_anon" feature @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.7 2006/05/18 05:14:11 taca Exp $ d3 1 a3 1 --- libraries/liblutil/sha1.c.orig 2006-01-04 07:16:11.000000000 +0900 d52 1 a52 1 +*); d54 1 a54 1 +*); d56 1 a56 1 +*); @ 1.5 log @Note that the sparc64 patch is actually a hack for gcc<3.3. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.4 2004/07/24 03:32:24 jlam Exp $ d3 1 a3 3 XXX This patch is only necessary for gcc<3.3 on sparc64. --- libraries/liblutil/sha1.c.orig Thu Jan 1 13:16:32 2004 d5 11 a15 1 @@@@ -55,13 +55,13 @@@@ d18 1 d20 8 a27 2 -# define blk0(i) (block[i] = (rol(block[i],24)&0xFF00FF00) \ - |(rol(block[i],8)&0x00FF00FF)) d30 1 a30 2 #else -# define blk0(i) block[i] d32 1 a32 3 #endif -#define blk(i) (block[i&15] = rol(block[(i+13)&15]^block[(i+8)&15] \ - ^block[(i+2)&15]^block[i&15],1)) d35 1 d39 1 a39 1 @@@@ -72,6 +72,63 @@@@ d43 1 d49 8 a56 5 +#ifdef __sparc_v9__ +void do_R01(uint32 *a, uint32 *b, uint32 *c, uint32 *d, uint32 *e, CHAR64LONG16 *); +void do_R2(uint32 *a, uint32 *b, uint32 *c, uint32 *d, uint32 *e, CHAR64LONG16 *); +void do_R3(uint32 *a, uint32 *b, uint32 *c, uint32 *d, uint32 *e, CHAR64LONG16 *); +void do_R4(uint32 *a, uint32 *b, uint32 *c, uint32 *d, uint32 *e, CHAR64LONG16 *); d103 2 a104 1 +#endif d108 1 a108 1 @@@@ -80,12 +137,14 @@@@ void d112 1 d114 1 d116 1 d118 7 a124 1 - uint32 block[16]; d127 2 a128 3 (void)AC_MEMCPY(block, buffer, 64); #else - uint32 *block = (u_int32 *) buffer; d130 2 a131 1 #endif d134 2 a135 1 @@@@ -95,6 +154,12 @@@@ lutil_SHA1Transform( uint32 *state, cons d139 1 a139 6 +#ifdef __sparc_v9__ + do_R01(&a, &b, &c, &d, &e, block); + do_R2(&a, &b, &c, &d, &e, block); + do_R3(&a, &b, &c, &d, &e, block); + do_R4(&a, &b, &c, &d, &e, block); +#else d143 1 a143 1 @@@@ -116,6 +181,7 @@@@ lutil_SHA1Transform( uint32 *state, cons d147 7 a153 1 +#endif @ 1.4 log @Update databases/openldap to version 2.2.13, the latest stable release. Major changes from version 2.1.30 include: * "LDAP Sync"-based lightweight replication * Proxy Cache Support * Hierarchical Backend * NS-SLAPI Support * Backend Layering * Access Control extensions including dynamic group support * LDAPv3 extensions: - ACID extensions - Cancel Operation - Content Synchronization Operation - DIT Content Rules - Duplicate Entry Extension - Simple Paged Results Extension - Proxy Authorization Extension @ text @d1 3 a3 1 $NetBSD$ @ 1.3 log @Put patch-ad back, probably still needed on sparc64. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.1 2003/01/29 22:05:34 kleink Exp $ d3 3 a5 3 --- libraries/liblutil/sha1.c.orig 2002-01-04 21:38:25.000000000 +0100 +++ libraries/liblutil/sha1.c 2003-01-29 22:39:16.000000000 +0100 @@@@ -43,13 +43,13 @@@@ d24 1 a24 1 @@@@ -60,6 +60,63 @@@@ d88 1 a88 1 @@@@ -68,12 +125,14 @@@@ d105 1 a105 1 @@@@ -83,6 +142,12 @@@@ d118 1 a118 1 @@@@ -104,6 +169,7 @@@@ @ 1.2 log @Update openldap to version 2.1.22. This release contains the following major enhancements: * Transactional backend * Improved Unicode handling * Improved DN handlng * Improved Referral handling * SASL authentication/authorization mapping * SASL in-directory storage of authentication secrets * Enhanced administrative limits/access controls * Meta backend (experimental) * Monitor backend (experimental) * Virtual "glue" backend (experimental) * LDAP C++ API * Updated LDAP C and TCL APIs * LDAPv3 extensions, including: - Enhanced Language Tag/Range Support - 'Who am i?' Extended Operation - 'Matched Values' Control - 'NOOP' Control plus lots of bug fixes. Update (to 2.1.20) from Juan RP in PR pkg/21682 with some tidy up and update to 2.1.22 by Marc Recht and me. Also closes PR pkg/21217 by Jean-Luc Wasmer and PR pkg/20972 by Jeremy Reed. @ text @d5 1 a5 1 @@@@ -41,13 +41,13 @@@@ d24 1 a24 1 @@@@ -58,6 +58,63 @@@@ d88 1 a88 1 @@@@ -66,12 +123,14 @@@@ d105 1 a105 1 @@@@ -81,6 +140,12 @@@@ d118 1 a118 1 @@@@ -102,6 +167,7 @@@@ @ 1.1 log @As usual, prevent compiling SHA1 from blowing up on sparc64 by moving each round into a separate function. Bump to 2.0.27nb2. @ text @d1 1 a1 1 $NetBSD$ @