pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/openldap Add a fix for upcoming openldap-clo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2df023ea81f4
branches:  trunk
changeset: 555953:2df023ea81f4
user:      manu <manu%pkgsrc.org@localhost>
date:      Sat Mar 14 19:40:19 2009 +0000

description:
Add a fix for upcoming openldap-cloak package
This is already committed upstream and will go away with the next release

diffstat:

 databases/openldap/distinfo         |   3 ++-
 databases/openldap/patches/patch-db |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 1b1b7b8356ba -r 2df023ea81f4 databases/openldap/distinfo
--- a/databases/openldap/distinfo       Sat Mar 14 18:53:21 2009 +0000
+++ b/databases/openldap/distinfo       Sat Mar 14 19:40:19 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.70 2009/03/07 22:26:23 manu Exp $
+$NetBSD: distinfo,v 1.71 2009/03/14 19:40:19 manu Exp $
 
 SHA1 (openldap-2.4.15.tgz) = bbf78945284b61099e6229bce21a829f88e48034
 RMD160 (openldap-2.4.15.tgz) = 6a247b1ddacda8d4dbcd8a131805ef0d96673072
@@ -14,3 +14,4 @@
 SHA1 (patch-an) = f98c6457474247c092dd0a062e86560cc894ec4e
 SHA1 (patch-ao) = 6276a1226689fc3be3ffacbcd8df2e4f3e51d1a0
 SHA1 (patch-da) = c7ac86fcb4b4283fc61a3e045197bbef617c6ff4
+SHA1 (patch-db) = 8cd3ae55446c25ece056c015b57b9df144c01a55
diff -r 1b1b7b8356ba -r 2df023ea81f4 databases/openldap/patches/patch-db
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/openldap/patches/patch-db       Sat Mar 14 19:40:19 2009 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-db,v 1.3 2009/03/14 19:40:19 manu Exp $
+--- contrib/slapd-modules/cloak/cloak.c.orig   2009-03-14 16:30:13.000000000 +0000
++++ contrib/slapd-modules/cloak/cloak.c        2009-03-14 16:28:02.000000000 +0000
+@@ -268,10 +268,10 @@
+               return SLAP_CB_CONTINUE;
+ 
+       sc = op->o_tmpcalloc( 1, sizeof( *sc ), op->o_tmpmemctx );
+       sc->sc_response = cloak_search_cb;
+-      sc->sc_cleanup = NULL;
+-      sc->sc_next = NULL;
++      sc->sc_cleanup = slap_freeself_cb;
++      sc->sc_next = op->o_callback;
+       sc->sc_private = ci;
+       op->o_callback = sc;
+ 
+       return SLAP_CB_CONTINUE;



Home | Main Index | Thread Index | Old Index