Update to 2.3.29

This commit is contained in:
Xin LI 2006-11-10 10:49:20 +00:00
parent 51cb54fc35
commit 55f977ef8e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=176992
5 changed files with 6 additions and 58 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= openldap
DISTVERSION= 2.3.27
DISTVERSION= 2.3.29
PORTREVISION= ${OPENLDAP_PORTREVISION}
CATEGORIES= net databases
MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \
@ -151,7 +151,7 @@ CONFIGURE_ARGS+= --disable-slapd \
--disable-glue \
--disable-syncprov
INSTALLS_SHLIB= yes
USE_LDCONFIG= yes
SUB_FILES+= pkg-message.client
PKGMESSAGE= ${WRKSRC}/pkg-message.client
@ -339,7 +339,7 @@ PLIST_SUB+= BACK_SQL="@comment "
.if defined(WITH_SLAPI)
CONFIGURE_ARGS+= --enable-slapi
PLIST_SUB+= SLAPI=""
INSTALLS_SHLIB= yes
USE_LDCONFIG= yes
.else
PLIST_SUB+= SLAPI="@comment "
.endif

View file

@ -1,3 +1,3 @@
MD5 (openldap-2.3.27.tgz) = 0fbae4e9279aaa586adcd9f19b66a5ed
SHA256 (openldap-2.3.27.tgz) = 6ddf211d65aa62bb2165a612f96545d5dc8baf01d269e0f7945ebe066c282ed7
SIZE (openldap-2.3.27.tgz) = 3757519
MD5 (openldap-2.3.29.tgz) = c471361a6e67e2a7b6d841f016d370f2
SHA256 (openldap-2.3.29.tgz) = d06c55852fdb5404482754d7423e938c805b449d73d87c992dcc9e6276a1b0c4
SIZE (openldap-2.3.29.tgz) = 3763050

View file

@ -1,11 +0,0 @@
--- servers/slapd/back-perl/bind.c.orig Fri Aug 18 16:04:41 2006
+++ servers/slapd/back-perl/bind.c Fri Aug 18 16:05:14 2006
@@ -32,7 +32,7 @@
PerlBackend *perl_back = (PerlBackend *) op->o_bd->be_private;
-#ifdef HAVE_WIN32_ASPERL
+#if defined(HAVE_WIN32_ASPERL) || defined(USE_ITHREADS)
PERL_SET_CONTEXT( PERL_INTERPRETER );
#endif

View file

@ -1,31 +0,0 @@
--- servers/slapd/back-perl/init.c.orig Fri Aug 18 16:01:34 2006
+++ servers/slapd/back-perl/init.c Fri Aug 18 16:04:28 2006
@@ -35,7 +35,9 @@
BackendInfo *bi
)
{
- bi->bi_open = perl_back_open;
+ char *embedding[] = { "", "-e", "0" };
+
+ bi->bi_open = NULL;
bi->bi_config = 0;
bi->bi_close = perl_back_close;
bi->bi_destroy = 0;
@@ -63,16 +65,8 @@
bi->bi_connection_init = 0;
bi->bi_connection_destroy = 0;
- return 0;
-}
-
-int
-perl_back_open(
- BackendInfo *bi
-)
-{
- char *embedding[] = { "", "-e", "0" };
+ // injecting code from perl_back_open, because using fonction reference (bi->bi_open) is not fonctionnal
Debug( LDAP_DEBUG_TRACE, "perl backend open\n", 0, 0, 0 );
if( PERL_INTERPRETER != NULL ) {

View file

@ -1,10 +0,0 @@
--- servers/slapd/back-perl/proto-perl.h.orig Fri Aug 18 16:05:27 2006
+++ servers/slapd/back-perl/proto-perl.h Fri Aug 18 16:05:40 2006
@@ -22,7 +22,6 @@
extern BI_init perl_back_initialize;
-extern BI_open perl_back_open;
extern BI_close perl_back_close;
extern BI_db_init perl_back_db_init;