diff options
-rw-r--r-- | databases/openldap/Makefile | 5 | ||||
-rw-r--r-- | databases/openldap/PLIST | 4 | ||||
-rw-r--r-- | databases/openldap/distinfo | 14 | ||||
-rw-r--r-- | databases/openldap/patches/patch-ac | 10 | ||||
-rw-r--r-- | databases/openldap/patches/patch-ah | 14 | ||||
-rw-r--r-- | databases/openldap/patches/patch-am | 24 |
6 files changed, 35 insertions, 36 deletions
diff --git a/databases/openldap/Makefile b/databases/openldap/Makefile index 39b4bce2cd6..dcc021a883a 100644 --- a/databases/openldap/Makefile +++ b/databases/openldap/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.111 2006/04/07 00:35:02 grant Exp $ +# $NetBSD: Makefile,v 1.112 2006/05/15 19:01:23 ghen Exp $ -DISTNAME= openldap-2.3.11 -PKGREVISION= 2 +DISTNAME= openldap-2.3.21 SVR4_PKGNAME= oldap CATEGORIES= databases MASTER_SITES= ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/ diff --git a/databases/openldap/PLIST b/databases/openldap/PLIST index 6c0728a0d50..eda4675521f 100644 --- a/databases/openldap/PLIST +++ b/databases/openldap/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.25 2005/10/26 15:11:10 jlam Exp $ +@comment $NetBSD: PLIST,v 1.26 2006/05/15 19:01:23 ghen Exp $ bin/ldapadd bin/ldapcompare bin/ldapdelete @@ -243,7 +243,7 @@ share/examples/openldap/schema/openldap.ldif share/examples/openldap/schema/openldap.schema share/examples/openldap/schema/ppolicy.schema share/examples/openldap/slapd.conf -share/examples/rc.d/slurpd share/examples/rc.d/slapd +share/examples/rc.d/slurpd @dirrm share/examples/openldap/schema @dirrm share/examples/openldap diff --git a/databases/openldap/distinfo b/databases/openldap/distinfo index 6abbed84acd..fecd11622f3 100644 --- a/databases/openldap/distinfo +++ b/databases/openldap/distinfo @@ -1,15 +1,15 @@ -$NetBSD: distinfo,v 1.44 2005/12/29 20:10:23 ghen Exp $ +$NetBSD: distinfo,v 1.45 2006/05/15 19:01:23 ghen Exp $ -SHA1 (openldap-2.3.11.tgz) = e7a4a5b2d50b8138ed835b7e9e722814f1877806 -RMD160 (openldap-2.3.11.tgz) = 4947c7f15b70dfd55ff30028228ec915064feba1 -Size (openldap-2.3.11.tgz) = 3657646 bytes -SHA1 (patch-ac) = d63169a103a6e34196031aaafa342c94a4f42cc7 +SHA1 (openldap-2.3.21.tgz) = 556975f22a5f32be3e127a2f6b896b03efbaf54a +RMD160 (openldap-2.3.21.tgz) = 8fb7bce91452e24a8bd5e23f6dd3d17a3b2711cf +Size (openldap-2.3.21.tgz) = 3750778 bytes +SHA1 (patch-ac) = 905b08c4dea8c61e044ccf66d6af22cc685a3ccc SHA1 (patch-ad) = 5999228819572b12e8a648a1af4f04a410ecbe06 SHA1 (patch-af) = 1ae9137e76e885e03d0f44727197a444893ec7c5 SHA1 (patch-ag) = 8c936e930454e3ae39997c83910eeffb4ad29523 -SHA1 (patch-ah) = 5ff11aa8ecf860b758cba2149048be45ac8ad315 +SHA1 (patch-ah) = 4e20f5b9c7e680cc84938747eccc5be60cd2a03c SHA1 (patch-aj) = 6425a7bf08fa35861d0ea71d893836e177b0b29a SHA1 (patch-ak) = 80685a7b46ded94722ea91c2842db424572d6513 -SHA1 (patch-am) = 12929851d1cfae97e1afa082cb82a00341a0d9ed +SHA1 (patch-am) = 06c17b10bb8cc091461b82fca2b5d6032b613c78 SHA1 (patch-an) = f98c6457474247c092dd0a062e86560cc894ec4e SHA1 (patch-ao) = 6276a1226689fc3be3ffacbcd8df2e4f3e51d1a0 diff --git a/databases/openldap/patches/patch-ac b/databases/openldap/patches/patch-ac index f1f3d4ee288..0d7031b13a2 100644 --- a/databases/openldap/patches/patch-ac +++ b/databases/openldap/patches/patch-ac @@ -1,6 +1,6 @@ -$NetBSD: patch-ac,v 1.10 2005/11/19 18:41:16 joerg Exp $ +$NetBSD: patch-ac,v 1.11 2006/05/15 19:01:23 ghen Exp $ ---- libraries/libldap_r/thr_posix.c.orig 2005-09-28 00:30:29.000000000 +0000 +--- libraries/libldap_r/thr_posix.c.orig 2006-05-13 11:47:50.000000000 +0200 +++ libraries/libldap_r/thr_posix.c @@ -19,6 +19,7 @@ #if defined( HAVE_PTHREADS ) @@ -8,9 +8,9 @@ $NetBSD: patch-ac,v 1.10 2005/11/19 18:41:16 joerg Exp $ #include <ac/errno.h> +#include <ac/unistd.h> - #include "ldap_pvt_thread.h" /* Get the thread interface */ - #define LDAP_THREAD_IMPLEMENTATION -@@ -132,9 +133,11 @@ ldap_pvt_thread_create( ldap_pvt_thread_ + #ifdef REPLACE_BROKEN_YIELD + #ifndef HAVE_NANOSLEEP +@@ -139,9 +140,11 @@ ldap_pvt_thread_create( ldap_pvt_thread_ #endif #ifdef LDAP_PVT_THREAD_SET_STACK_SIZE diff --git a/databases/openldap/patches/patch-ah b/databases/openldap/patches/patch-ah index 5d3306b043e..0f46f25df94 100644 --- a/databases/openldap/patches/patch-ah +++ b/databases/openldap/patches/patch-ah @@ -1,14 +1,14 @@ -$NetBSD: patch-ah,v 1.4 2005/10/26 15:08:13 jlam Exp $ +$NetBSD: patch-ah,v 1.5 2006/05/15 19:01:23 ghen Exp $ ---- libraries/libldap/init.c.orig 2005-10-05 14:41:32.000000000 -0400 +--- libraries/libldap/init.c.orig 2006-05-13 11:47:50.000000000 +0200 +++ libraries/libldap/init.c -@@ -529,6 +529,9 @@ void ldap_int_initialize( struct ldapopt - +@@ -544,6 +544,9 @@ void ldap_int_initialize( struct ldapopt #if defined(LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND) \ || defined(HAVE_TLS) || defined(HAVE_CYRUS_SASL) + { +#if defined(LDAP_R_COMPILE) -+ ldap_pvt_thread_initialize(); ++ ldap_pvt_thread_initialize(); +#endif - ldap_int_hostname = ldap_pvt_get_fqdn( ldap_int_hostname ); - #endif + char *name = ldap_int_hostname; + ldap_int_hostname = ldap_pvt_get_fqdn( name ); diff --git a/databases/openldap/patches/patch-am b/databases/openldap/patches/patch-am index 8c0bf478cdd..fbd65850a02 100644 --- a/databases/openldap/patches/patch-am +++ b/databases/openldap/patches/patch-am @@ -1,8 +1,8 @@ -$NetBSD: patch-am,v 1.4 2005/10/26 15:08:13 jlam Exp $ +$NetBSD: patch-am,v 1.5 2006/05/15 19:01:23 ghen Exp $ ---- libraries/libldap/cyrus.c.orig 2005-10-05 13:42:19.000000000 -0400 +--- libraries/libldap/cyrus.c.orig 2006-05-13 11:47:50.000000000 +0200 +++ libraries/libldap/cyrus.c -@@ -835,7 +835,7 @@ ldap_int_sasl_external( +@@ -884,7 +884,7 @@ ldap_int_sasl_external( LDAP *ld, LDAPConn *conn, const char * authid, @@ -11,16 +11,16 @@ $NetBSD: patch-am,v 1.4 2005/10/26 15:08:13 jlam Exp $ { int sc; sasl_conn_t *ctx; -@@ -977,6 +977,7 @@ int ldap_pvt_sasl_secprops( - char **props = ldap_str2charray( in, "," ); +@@ -1026,6 +1026,7 @@ int ldap_pvt_sasl_secprops( + char **props; unsigned sflags = 0; int got_sflags = 0; + int tmp_ssf; sasl_ssf_t max_ssf = 0; int got_max_ssf = 0; sasl_ssf_t min_ssf = 0; -@@ -1002,9 +1003,9 @@ int ldap_pvt_sasl_secprops( - if ( next == NULL || next[ 0 ] != '\0' ) continue; +@@ -1056,9 +1057,9 @@ int ldap_pvt_sasl_secprops( + if ( next == &props[i][sprops[j].key.bv_len] || next[0] != '\0' ) continue; switch( sprops[j].ival ) { case GOT_MINSSF: - min_ssf = v; got_min_ssf++; break; @@ -31,7 +31,7 @@ $NetBSD: patch-am,v 1.4 2005/10/26 15:08:13 jlam Exp $ case GOT_MAXBUF: maxbufsize = v; got_maxbufsize++; break; } -@@ -1100,7 +1101,7 @@ ldap_int_sasl_get_option( LDAP *ld, int +@@ -1155,7 +1156,7 @@ ldap_int_sasl_get_option( LDAP *ld, int return -1; } @@ -40,7 +40,7 @@ $NetBSD: patch-am,v 1.4 2005/10/26 15:08:13 jlam Exp $ } break; case LDAP_OPT_X_SASL_SSF_EXTERNAL: -@@ -1108,13 +1109,13 @@ ldap_int_sasl_get_option( LDAP *ld, int +@@ -1163,13 +1164,13 @@ ldap_int_sasl_get_option( LDAP *ld, int return -1; case LDAP_OPT_X_SASL_SSF_MIN: @@ -57,7 +57,7 @@ $NetBSD: patch-am,v 1.4 2005/10/26 15:08:13 jlam Exp $ break; case LDAP_OPT_X_SASL_SECPROPS: -@@ -1160,7 +1161,7 @@ ldap_int_sasl_set_option( LDAP *ld, int +@@ -1215,7 +1216,7 @@ ldap_int_sasl_set_option( LDAP *ld, int #else memset(&extprops, 0L, sizeof(extprops)); @@ -66,7 +66,7 @@ $NetBSD: patch-am,v 1.4 2005/10/26 15:08:13 jlam Exp $ sc = sasl_setprop( ctx, SASL_SSF_EXTERNAL, (void *) &extprops ); -@@ -1172,13 +1173,13 @@ ldap_int_sasl_set_option( LDAP *ld, int +@@ -1227,13 +1228,13 @@ ldap_int_sasl_set_option( LDAP *ld, int } break; case LDAP_OPT_X_SASL_SSF_MIN: @@ -83,7 +83,7 @@ $NetBSD: patch-am,v 1.4 2005/10/26 15:08:13 jlam Exp $ break; case LDAP_OPT_X_SASL_SECPROPS: { -@@ -1277,7 +1278,7 @@ ldap_int_sasl_external( +@@ -1332,7 +1333,7 @@ ldap_int_sasl_external( LDAP *ld, LDAPConn *conn, const char * authid, |