diff options
author | delphij <delphij@FreeBSD.org> | 2006-08-20 14:31:42 +0800 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2006-08-20 14:31:42 +0800 |
commit | e4f968e2d4206d018525aa7875100afa393f16db (patch) | |
tree | b1bdf4916875ff9b627c83bba950c25565ca63af /net/openldap23-server | |
parent | 20c4246a75da322f73c70c0b467d9855515837be (diff) | |
download | freebsd-ports-gnome-e4f968e2d4206d018525aa7875100afa393f16db.tar.gz freebsd-ports-gnome-e4f968e2d4206d018525aa7875100afa393f16db.tar.zst freebsd-ports-gnome-e4f968e2d4206d018525aa7875100afa393f16db.zip |
Update to 2.3.27, plus fix for perl backend [1].
Submitted by: Xavier Beaudouin <kiwi oav net> [1]
Joerg Pulz <Joerg Pulz frm2 tum de>
PR: ports/102235 [1]
ports/102294
Diffstat (limited to 'net/openldap23-server')
5 files changed, 56 insertions, 4 deletions
diff --git a/net/openldap23-server/Makefile b/net/openldap23-server/Makefile index c9f747bd5759..7d6da492fa5b 100644 --- a/net/openldap23-server/Makefile +++ b/net/openldap23-server/Makefile @@ -6,7 +6,7 @@ # PORTNAME= openldap -DISTVERSION= 2.3.26 +DISTVERSION= 2.3.27 PORTREVISION= ${OPENLDAP_PORTREVISION} CATEGORIES= net databases MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \ diff --git a/net/openldap23-server/distinfo b/net/openldap23-server/distinfo index ed3fbb059d95..8a72a038d835 100644 --- a/net/openldap23-server/distinfo +++ b/net/openldap23-server/distinfo @@ -1,3 +1,3 @@ -MD5 (openldap-2.3.26.tgz) = c74713403396100b8ec8fa4deee7a8ca -SHA256 (openldap-2.3.26.tgz) = daf3837efa286422cab4eef5589afa149b03e442d2c658180e36422d28b97479 -SIZE (openldap-2.3.26.tgz) = 3757103 +MD5 (openldap-2.3.27.tgz) = 0fbae4e9279aaa586adcd9f19b66a5ed +SHA256 (openldap-2.3.27.tgz) = 6ddf211d65aa62bb2165a612f96545d5dc8baf01d269e0f7945ebe066c282ed7 +SIZE (openldap-2.3.27.tgz) = 3757519 diff --git a/net/openldap23-server/files/patch-servers_slapd_back_perl_bind.c b/net/openldap23-server/files/patch-servers_slapd_back_perl_bind.c new file mode 100644 index 000000000000..97af0fc2c97f --- /dev/null +++ b/net/openldap23-server/files/patch-servers_slapd_back_perl_bind.c @@ -0,0 +1,11 @@ +--- 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 + diff --git a/net/openldap23-server/files/patch-servers_slapd_back_perl_init.c b/net/openldap23-server/files/patch-servers_slapd_back_perl_init.c new file mode 100644 index 000000000000..c07a6ccc891a --- /dev/null +++ b/net/openldap23-server/files/patch-servers_slapd_back_perl_init.c @@ -0,0 +1,31 @@ +--- 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 ) { diff --git a/net/openldap23-server/files/patch-servers_slapd_back_perl_proto_perl.h b/net/openldap23-server/files/patch-servers_slapd_back_perl_proto_perl.h new file mode 100644 index 000000000000..19641ca1fae5 --- /dev/null +++ b/net/openldap23-server/files/patch-servers_slapd_back_perl_proto_perl.h @@ -0,0 +1,10 @@ +--- 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; |