diff options
author | manu <manu@pkgsrc.org> | 2009-03-14 19:40:19 +0000 |
---|---|---|
committer | manu <manu@pkgsrc.org> | 2009-03-14 19:40:19 +0000 |
commit | 8a2ae87b842ceb99dc828ba69c797923dd7a7907 (patch) | |
tree | 6e9929308506b29042719d9f7be746e0590a8acb /databases/openldap | |
parent | 807de83ec94d958c8f5eb9aa7a6fc071c28633f9 (diff) | |
download | pkgsrc-8a2ae87b842ceb99dc828ba69c797923dd7a7907.tar.gz |
Add a fix for upcoming openldap-cloak package
This is already committed upstream and will go away with the next release
Diffstat (limited to 'databases/openldap')
-rw-r--r-- | databases/openldap/distinfo | 3 | ||||
-rw-r--r-- | databases/openldap/patches/patch-db | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/databases/openldap/distinfo b/databases/openldap/distinfo index 84fa167b563..82522902283 100644 --- a/databases/openldap/distinfo +++ b/databases/openldap/distinfo @@ -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-am) = cf97dbc86ed1e0dc3cd7f901dd3f0e4c77490a82 SHA1 (patch-an) = f98c6457474247c092dd0a062e86560cc894ec4e SHA1 (patch-ao) = 6276a1226689fc3be3ffacbcd8df2e4f3e51d1a0 SHA1 (patch-da) = c7ac86fcb4b4283fc61a3e045197bbef617c6ff4 +SHA1 (patch-db) = 8cd3ae55446c25ece056c015b57b9df144c01a55 diff --git a/databases/openldap/patches/patch-db b/databases/openldap/patches/patch-db new file mode 100644 index 00000000000..6949a588c28 --- /dev/null +++ b/databases/openldap/patches/patch-db @@ -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; |