pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/openldap-nops Add openldap-nops, a slapd ove...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/05a43d0ee50d
branches:  trunk
changeset: 553839:05a43d0ee50d
user:      manu <manu%pkgsrc.org@localhost>
date:      Sat Jan 31 18:27:38 2009 +0000

description:
Add openldap-nops, a slapd overlay to remove null-operations

diffstat:

 databases/openldap-nops/DESCR    |   2 ++
 databases/openldap-nops/MESSAGE  |  12 ++++++++++++
 databases/openldap-nops/Makefile |  28 ++++++++++++++++++++++++++++
 databases/openldap-nops/PLIST    |   4 ++++
 4 files changed, 46 insertions(+), 0 deletions(-)

diffs (62 lines):

diff -r 6db2d36a17e1 -r 05a43d0ee50d databases/openldap-nops/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/openldap-nops/DESCR     Sat Jan 31 18:27:38 2009 +0000
@@ -0,0 +1,2 @@
+This slapd overlay removes null-operations, such as replacing an 
+attribute value set by the exact same set.
diff -r 6db2d36a17e1 -r 05a43d0ee50d databases/openldap-nops/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/openldap-nops/MESSAGE   Sat Jan 31 18:27:38 2009 +0000
@@ -0,0 +1,12 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2009/01/31 18:27:38 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      nops.la
+
+===========================================================================
diff -r 6db2d36a17e1 -r 05a43d0ee50d databases/openldap-nops/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/openldap-nops/Makefile  Sat Jan 31 18:27:38 2009 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/31 18:27:38 manu Exp $
+
+PKGNAME=               ${DISTNAME:S/-/-nops-/}
+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/nops
+
+do-install:
+       ${INSTALL_LIB_DIR} ${PREFIX}/lib/openldap
+       ${LIBTOOL} --mode=install                                       \
+                  ${INSTALL_DATA}                                      \
+                  ${WRKSRC}/contrib/slapd-modules/nops/nops.la         \
+                  ${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 6db2d36a17e1 -r 05a43d0ee50d databases/openldap-nops/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/openldap-nops/PLIST     Sat Jan 31 18:27:38 2009 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/31 18:27:38 manu Exp $
+lib/openldap/nops.a
+lib/openldap/nops.la
+@dirrm lib/openldap



Home | Main Index | Thread Index | Old Index