ports/databases/p5-ldap/patches/patch-test_cfg

26 lines
826 B
Text

Index: test.cfg
--- test.cfg.orig
+++ test.cfg
@@ -4,19 +4,19 @@
# Set this to the full path of your LDAP server executable
# (e.g '/usr/sbin/slapd')
-$SERVER_EXE = '<path to ldap server executable>';
+$SERVER_EXE = '${LOCALBASE}/libexec/slapd';
# This should be one of
# * openldap[+ssl][+ipc][+sasl]
# options are appended with '+' signs
-$SERVER_TYPE = 'openldap';
+$SERVER_TYPE = 'openldap+ssl+ipc';
# Change this if your host cannot be contacted as localhost
# Some tests may fail if the name does not resolve to an IPv4 and an IPv6 address
#$HOST = 'localhost';
# Set this to the directory where your OpenLDAP schema files are located
-$SLAPD_SCHEMA_DIR = '';
+$SLAPD_SCHEMA_DIR = '${SYSCONFDIR}/openldap/schema';
# OpenLDAP DB type: default is mdb, alternatives: hdb, bdb, ...
#$SLAPD_DB = 'mdb';