summaryrefslogtreecommitdiffstats
path: root/UPDATING
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2006-11-30 19:40:02 +0000
committerdelphij <delphij@FreeBSD.org>2006-11-30 19:40:02 +0000
commita8e136bd9e4a455f53b8d61b42fb840ac4193b78 (patch)
tree2244a0fa3ae96ca7188c3ace5d2531cd8193561a /UPDATING
parent9e3c89a0797c212bec042b9158a41e5890aff403 (diff)
downloadFreeBSD-ports-a8e136bd9e4a455f53b8d61b42fb840ac4193b78.zip
FreeBSD-ports-a8e136bd9e4a455f53b8d61b42fb840ac4193b78.tar.gz
Provide some instructions that will aid the openldap23-server
upgrade process. Suggested by: kris
Diffstat (limited to 'UPDATING')
-rw-r--r--UPDATING13
1 files changed, 13 insertions, 0 deletions
diff --git a/UPDATING b/UPDATING
index b22b6af..bc7163e25 100644
--- a/UPDATING
+++ b/UPDATING
@@ -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
OpenPOWER on IntegriCloud