Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Nov 2014 19:41:43 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r372085 - in head/net/openldap24-server: . files
Message-ID:  <201411021941.sA2JfiYn096078@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Sun Nov  2 19:41:43 2014
New Revision: 372085
URL: https://svnweb.freebsd.org/changeset/ports/372085
QAT: https://qat.redports.org/buildarchive/r372085/

Log:
   - Make the example slapd.conf use mdb as examples.
   - Remove BDB dependency from default build.

Added:
  head/net/openldap24-server/files/patch-servers__slapd__slapd.conf   (contents, props changed)
Modified:
  head/net/openldap24-server/Makefile

Modified: head/net/openldap24-server/Makefile
==============================================================================
--- head/net/openldap24-server/Makefile	Sun Nov  2 18:44:33 2014	(r372084)
+++ head/net/openldap24-server/Makefile	Sun Nov  2 19:41:43 2014	(r372085)
@@ -59,7 +59,7 @@ BROKEN=			incompatible OpenLDAP version:
 .endif
 
 PORTREVISION_CLIENT=	0
-PORTREVISION_SERVER=	0
+PORTREVISION_SERVER=	1
 OPENLDAP_SHLIB_MAJOR=	2
 OPENLDAP_SHLIB_MINOR=	10.3
 OPENLDAP_MAJOR=		${DISTVERSION:R}
@@ -77,7 +77,7 @@ OPTIONS_DEFINE+=	DEREF DYNGROUP DYNLIST 
 OPTIONS_DEFINE+=	REFINT RETCODE RWM SEQMOD SSSVLV SYNCPROV TRANSLUCENT
 OPTIONS_DEFINE+=	UNIQUE VALSORT SMBPWD SHA2 DYNAMIC_BACKENDS SASL
 
-OPTIONS_DEFAULT=	BDB MDB SYNCPROV DYNAMIC_BACKENDS
+OPTIONS_DEFAULT=	MDB SYNCPROV DYNAMIC_BACKENDS
 
 DYNACL_DESC=		Run-time loadable ACL (experimental)
 ACI_DESC=		Per-object ACI (experimental)

Added: head/net/openldap24-server/files/patch-servers__slapd__slapd.conf
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/openldap24-server/files/patch-servers__slapd__slapd.conf	Sun Nov  2 19:41:43 2014	(r372085)
@@ -0,0 +1,26 @@
+--- servers/slapd/slapd.conf.orig	2014-09-18 18:48:49.000000000 -0700
++++ servers/slapd/slapd.conf	2014-11-02 11:35:49.000000000 -0800
+@@ -15,8 +15,7 @@
+ 
+ # Load dynamic backend modules:
+ # modulepath	%MODULEDIR%
+-# moduleload	back_bdb.la
+-# moduleload	back_hdb.la
++# moduleload	back_mdb.la
+ # moduleload	back_ldap.la
+ 
+ # Sample security restrictions
+@@ -47,10 +46,11 @@
+ # rootdn can always read and write EVERYTHING!
+ 
+ #######################################################################
+-# BDB database definitions
++# backend database definitions
+ #######################################################################
+ 
+-database	bdb
++database	mdb
++maxsize		1073741824
+ suffix		"dc=my-domain,dc=com"
+ rootdn		"cn=Manager,dc=my-domain,dc=com"
+ # Cleartext passwords, especially for the rootdn, should



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411021941.sA2JfiYn096078>