If we need to make an exception we can do it and properly document the
reason but by default we should just use the default login class.
rc.d uses daemon or the login class provided in login.conf.d so this has
no impact there.
discussed with sthen@, tb@ and robert@
praying that my grep/sed skills did not break anything and still
believing in portbump :-)
- BDB/HDB are no longer supported in 2.5+, if you're using these you
need to move to MDB (MDB is supported in the 2.4.x version already in
ports).
*Before* upgrading use slapcat to dump your database to an ldif file.
(You should be doing this regularly anyway)
Update your database configuration to use mdb instead of bdb.
Note that if you are using the on-line configuration database (cn=config)
rather than slapd.conf it can be fiddly to change in an existing
configuration; you may prefer to regenerate the configuration too.
Reload your database from the ldif file using slapadd (or if you are
updating a read-only replica you can let syncrepl pick it up).
- The port has switched to a modular build. The most important backends
and overlays (in particular mdb and syncrepl) are still compiled into
slapd so in those cases you don't need to make any changes to adapt to
this. If using more exotic configuration then you may need to load
the relevant modules (for OLC see "olcModuleLoad", for slapd.conf see
"moduleload").
- Switch from BUILD_DEPENDS on groff (only soelim is used) to an awk
script.
Next commit will adjust other ports to cope.
@sample /var/openldap-data/ earlier (before /var/openldap-data/DB_CONFIG)
otherwise pkg_add complains that the file could not be installed.
ok sthen@ (MAINTAINER)
config files from PREFIX/etc to PREFIX/share/examples) with overriding
sysconfdir in FAKE_FLAGS. Simpler, and installs the sample ldif files
to share/examples which should help new users. Req by Stefan Kapfhammer.
- adjust the MDB writemap patch, inspired by databases/mdb, to force
writemap to be enabled (as required on OpenBSD) if not already set.
simpler to use and this allows the patches for the test suite to be removed.
fixed. Document the writemap requirement in DESCR-server. Add a patchset
from Paul B. Henson to use writemap in the test suite.
- Don't @sample slapd.conf. This config backend has been deprecated for
some time and will be removed in a future OpenLDAP release. Their
recommended configuration engine is slapd-config(5), see
http://www.openldap.org/doc/admin24/slapdconf2.html
- Do @sample /etc/openldap/slapd.d, the default location for slapd-config(5)
storage. Also add accompanying @extraunexec.
- @sample some schema files that were missed in the update to 2.4.23
several years ago. Better late than never :-)
and update @conflict.
This is an old bug, but only noticed after the switch to mandoc which
means that rather than rendering the manuals with groff (dereferencing
symlinks *before* packaging, so all files were present), the files
were installed directly, resulting in symlinks in the package. This
resulted in -client having symlinks to files which are in -main,
causing problems with pkg_add -u as reported by aja@.
Upgrade to OpenLDAP 2.4.23.
Important things to know:
+ ldbm backend has been removed
+ bdb is the default backend
+ slurp has been removed
Backup all your data before this upgrade !!
Tested in a bulk by landry@
Lot of help/comments/ideas/tests from ajacoutot@, jasper@, landry@, sthen@, stephan@
ok ajacoutot@, landry@, jasper@, stephan@
add a pkg/MESSAGE-server teaching the user how to launch slapd in rc.local as
_openldap user.
english 'looks fine' jmc@, and ok ajacoutot@ mbalmer@ (maintainer)