NetBSD pkgsrc (package source) is a package management system for
Unix-like operating systems
This slapd overlay removes null-operations, such as replacing an
attribute value set by the exact same set.
===========================================================================
$NetBSD: MESSAGE,v 1.2 2009/02/01 08:05:06 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
===========================================================================
# $NetBSD: Makefile,v 1.9 2010/06/02 12:17:22 adam Exp $
PKGNAME= ${DISTNAME:S/-/-nops-/}
PKGREVISION= 1
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
INSTALLATION_DIRS= lib/openldap ${PKGMANDIR}/man5
do-install:
${INSTALL_MAN} ${WRKSRC}/contrib/slapd-modules/nops/slapo-nops.5\
${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
${LIBTOOL} --mode=install ${INSTALL_DATA} \
${WRKSRC}/contrib/slapd-modules/nops/nops.la \
${DESTDIR}${PREFIX}/lib/openldap
.include "../../databases/openldap/Makefile.common"
.include "../../databases/openldap-client/buildlink3.mk"
.include "../../databases/openldap-server/options.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.3 2009/06/14 17:43:19 joerg Exp $
lib/openldap/nops.a
lib/openldap/nops.la
man/man5/slapo-nops.5