1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Provide some instructions that will aid the openldap23-server

upgrade process.

Suggested by:	kris
This commit is contained in:
Xin LI 2006-11-30 19:40:02 +00:00
parent 7a035fffdc
commit a9b98f5707
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=178370

View File

@ -13,6 +13,19 @@ upgrades.
The default Berkeley DB version has been changed from
4.3 to 4.4, as suggested by OpenLDAP developers.
Suggested upgrade step:
- Stop OpenLDAP server (i.e. ${PREFIX}/etc/rc.d/slapd stop)
- Backup the OpenLDAP database (typically, /var/db/openldap-data)
with your favorite tool
- Do a "slapcat > backup.ldif" to dump all data
- portupgrade net/openldap23-server
- Remove BDB files from your /var/db/openldap-data; you will want
to keep DB_CONFIG as-is.
- Do a "slapadd < backup.ldif" to restore the data
Alternatively, if you want to keep the current BDB version (4.3),
please define WITH_BDB=43 when building the server.
20061121:
AFFECTS: users of www/hastymail
AUTHOR: miwi@FreeBSD.org