diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2012-02-02 08:42:07 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2012-02-02 08:42:07 +0000 |
commit | e0127f1e82ef02daf7fc5b999c9d6cd9ce897e17 (patch) | |
tree | 8e6dc0772e06130de8b5126bea44a151ce2ab282 /net-nds/openldap/openldap-2.4.25-r1.ebuild | |
parent | x86 stable per bug 398421 (diff) | |
download | gentoo-2-e0127f1e82ef02daf7fc5b999c9d6cd9ce897e17.tar.gz gentoo-2-e0127f1e82ef02daf7fc5b999c9d6cd9ce897e17.tar.bz2 gentoo-2-e0127f1e82ef02daf7fc5b999c9d6cd9ce897e17.zip |
When upgrading a replicated setup, you need to remove contextCSN as well as the usual entryCSN that is needed in non-replicated setups.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'net-nds/openldap/openldap-2.4.25-r1.ebuild')
-rw-r--r-- | net-nds/openldap/openldap-2.4.25-r1.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net-nds/openldap/openldap-2.4.25-r1.ebuild b/net-nds/openldap/openldap-2.4.25-r1.ebuild index 616e0719e5b5..535dabfd1a84 100644 --- a/net-nds/openldap/openldap-2.4.25-r1.ebuild +++ b/net-nds/openldap/openldap-2.4.25-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/openldap-2.4.25-r1.ebuild,v 1.1 2011/08/11 07:56:54 abcd Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/openldap-2.4.25-r1.ebuild,v 1.2 2012/02/02 08:42:07 robbat2 Exp $ EAPI="3" inherit db-use eutils flag-o-matic multilib ssl-cert versionator toolchain-funcs @@ -183,7 +183,7 @@ openldap_upgrade_howto() { i="${l}.raw" eerror " 1. /etc/init.d/slurpd stop ; /etc/init.d/slapd stop" eerror " 2. slapcat -l ${i}" - eerror " 3. egrep -v '^entryCSN:' <${i} >${l}" + eerror " 3. egrep -v '^(entry|context)CSN:' <${i} >${l}" eerror " 4. mv /var/lib/openldap-data/ /var/lib/openldap-data-backup/" eerror " 5. emerge --update \=net-nds/${PF}" eerror " 6. etc-update, and ensure that you apply the changes" |