[csw-devel] SF.net SVN: gar:[11651] csw/mgar/pkg/openldap/trunk/Makefile

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Wed Nov 17 18:16:16 CET 2010


Revision: 11651
          http://gar.svn.sourceforge.net/gar/?rev=11651&view=rev
Author:   dmichelsen
Date:     2010-11-17 17:16:16 +0000 (Wed, 17 Nov 2010)

Log Message:
-----------
openldap: Enable BDB backend by default

Modified Paths:
--------------
    csw/mgar/pkg/openldap/trunk/Makefile

Modified: csw/mgar/pkg/openldap/trunk/Makefile
===================================================================
--- csw/mgar/pkg/openldap/trunk/Makefile	2010-11-17 16:53:36 UTC (rev 11650)
+++ csw/mgar/pkg/openldap/trunk/Makefile	2010-11-17 17:16:16 UTC (rev 11651)
@@ -169,4 +169,6 @@
 	ginstall -D $(WORKDIR)/cswopenldap \
 		$(PKGROOT)/opt/csw/etc/init.d/cswopenldap
 	$(foreach F,$(EXTRA_DOCS),ginstall --mode=644 -D $(WORKDIR)/$F $(PKGROOT)$(docdir)/$(GARNAME)/$F;)
+	@# Enable BDB backend so OpenLDAP can start
+	perl -pi -e 's/#\s*(modulepath)/$$1/; s/#\s*(moduleload\s*back_bdb.la)/$$1/' $(PKGROOT)$(sysconfdir)/openldap/slapd.conf
 	@$(MAKECOOKIE)


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list