openbsd-ports/databases/p5-ldap/patches/patch-test_cfg
pea 8c3042598e Fix regress tests.
ok jasper@
2011-03-17 16:00:27 +00:00

33 lines
1.0 KiB
Plaintext

$OpenBSD: patch-test_cfg,v 1.2 2011/03/17 16:00:28 pea Exp $
--- test.cfg.orig Fri Mar 12 04:09:47 2010
+++ test.cfg Thu Mar 17 15:19:54 2011
@@ -3,23 +3,23 @@
# can find the executable and know what type of server it is
# Set this to the path to where you have slapd
-$SERVER_EXE = "<path to ldap server executable>";
+$SERVER_EXE = "${LOCALBASE}/libexec/slapd";
# This should be one of
# openldap1
# openldap2
# openldap2[+ssl][+ipc][+sasl]
-$SERVER_TYPE = "openldap2";
+$SERVER_TYPE = "openldap2+ssl+ipc";
# $HOST = "localhost";
# If you are using openldap 2.1 then you will need to change this to point
# to your installation schema dir (eg /usr/local/etc/openldap/schema)
-$SCHEMA_DIR = "";
+$SCHEMA_DIR = "${SYSCONFDIR}/openldap/schema";
# for OpenLDAP 2.4.11
-# $SLAPD_DB = 'bdb'; # default is ldbm
-# $SCHEMA_CHECK = 0; # default is to check but 2.4.11 does not like it
+ $SLAPD_DB = 'bdb'; # default is ldbm
+ $SCHEMA_CHECK = 0; # default is to check but 2.4.11 does not like it
$EXTERNAL_TESTS = 0;