pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/openldap-cloak This slapd overlay allows clo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e0688b68219
branches:  trunk
changeset: 555954:9e0688b68219
user:      manu <manu%pkgsrc.org@localhost>
date:      Sat Mar 14 19:41:54 2009 +0000

description:
This slapd overlay allows cloaking of selected attribute, for instance
large binary ones. Client will get the cloaked attribute only on explicit
request. This should save bandwidth.

diffstat:

 databases/openldap-cloak/DESCR    |   3 +++
 databases/openldap-cloak/MESSAGE  |  12 ++++++++++++
 databases/openldap-cloak/Makefile |  30 ++++++++++++++++++++++++++++++
 databases/openldap-cloak/PLIST    |   5 +++++
 4 files changed, 50 insertions(+), 0 deletions(-)

diffs (66 lines):

diff -r 2df023ea81f4 -r 9e0688b68219 databases/openldap-cloak/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/openldap-cloak/DESCR    Sat Mar 14 19:41:54 2009 +0000
@@ -0,0 +1,3 @@
+This slapd overlay allows cloaking of selected attribute, for instance
+large binary ones. Client will get the cloaked attribute only on explicit
+request. This should save bandwidth.
diff -r 2df023ea81f4 -r 9e0688b68219 databases/openldap-cloak/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/openldap-cloak/MESSAGE  Sat Mar 14 19:41:54 2009 +0000
@@ -0,0 +1,12 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2009/03/14 19:41:54 manu Exp $
+
+Please note that this module require slapd to be built with dynamic
+module support. THis can be obtained by adding the following to mk.conf:
+  PKG_OPTIONS.openldap-server=   dso
+
+In order to enable the use of this module, add this directive to slapd.conf:
+
+  moduleload      cloak.la
+
+===========================================================================
diff -r 2df023ea81f4 -r 9e0688b68219 databases/openldap-cloak/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/openldap-cloak/Makefile Sat Mar 14 19:41:54 2009 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/03/14 19:41:54 manu Exp $
+
+PKGNAME=               ${DISTNAME:S/-/-cloak-/}
+COMMENT=               Remove null-ops for OpenLDAP
+
+CONFLICTS+=            openldap<2.3.23nb1
+
+DEPENDS+=              openldap-server>=2.4.13nb1:../../databases/openldap-server
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+USE_LIBTOOL=           yes
+
+BUILD_DIRS=            include contrib/slapd-modules/cloak
+
+do-install:
+       ${INSTALL_LIB_DIR} ${PREFIX}/lib/openldap
+       ${INSTALL_MAN} ${WRKSRC}/contrib/slapd-modules/cloak/slapo-cloak.5\
+               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
+       ${LIBTOOL} --mode=install                                       \
+                  ${INSTALL_DATA}                                      \
+                  ${WRKSRC}/contrib/slapd-modules/cloak/cloak.la               \
+                  ${DESTDIR}${PREFIX}/lib/openldap
+
+.include "../../databases/openldap/Makefile.common"
+
+.include "../../databases/db46/buildlink3.mk"
+.include "../../databases/openldap-client/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r 2df023ea81f4 -r 9e0688b68219 databases/openldap-cloak/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/openldap-cloak/PLIST    Sat Mar 14 19:41:54 2009 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/03/14 19:41:54 manu Exp $
+lib/openldap/cloak.a
+lib/openldap/cloak.la
+man/man5/slapo-cloak.5
+@dirrm lib/openldap



Home | Main Index | Thread Index | Old Index