aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2014-11-03 03:41:43 +0800
committerdelphij <delphij@FreeBSD.org>2014-11-03 03:41:43 +0800
commiteaac974dfb471f8653eda7827b8b6f32d5932792 (patch)
treed63f191f17816d0cf5862f0a2e63a54d7e4325f1 /net
parentef08a2b681c0557447ecbfee73352014a8c0e264 (diff)
downloadfreebsd-ports-gnome-eaac974dfb471f8653eda7827b8b6f32d5932792.tar.gz
freebsd-ports-gnome-eaac974dfb471f8653eda7827b8b6f32d5932792.tar.zst
freebsd-ports-gnome-eaac974dfb471f8653eda7827b8b6f32d5932792.zip
- Make the example slapd.conf use mdb as examples.
- Remove BDB dependency from default build.
Diffstat (limited to 'net')
-rw-r--r--net/openldap24-server/Makefile4
-rw-r--r--net/openldap24-server/files/patch-servers__slapd__slapd.conf26
2 files changed, 28 insertions, 2 deletions
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile
index 7b7b651af4ca..8dc00d977748 100644
--- a/net/openldap24-server/Makefile
+++ b/net/openldap24-server/Makefile
@@ -59,7 +59,7 @@ BROKEN= incompatible OpenLDAP version: ${WANT_OPENLDAP_VER}
.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 MEMBEROF PPOLICY PROXYCACHE
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)
diff --git a/net/openldap24-server/files/patch-servers__slapd__slapd.conf b/net/openldap24-server/files/patch-servers__slapd__slapd.conf
new file mode 100644
index 000000000000..188a45f69a09
--- /dev/null
+++ b/net/openldap24-server/files/patch-servers__slapd__slapd.conf
@@ -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