summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2011-12-05 10:39:46 +0000
committerEray Aslan <eras@gentoo.org>2011-12-05 10:39:46 +0000
commit3eaf29a690606a95294167736e20828e658ade93 (patch)
tree31e3f96670dbc7828318d1a0faf4abeb09be52ba /dev-libs/cyrus-sasl
parentVersion bump. (diff)
downloadgentoo-2-3eaf29a690606a95294167736e20828e658ade93.tar.gz
gentoo-2-3eaf29a690606a95294167736e20828e658ade93.tar.bz2
gentoo-2-3eaf29a690606a95294167736e20828e658ade93.zip
Preserve old lib and add revdep-rebuild warning
(Portage version: 2.1.10.39/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/cyrus-sasl')
-rw-r--r--dev-libs/cyrus-sasl/ChangeLog5
-rw-r--r--dev-libs/cyrus-sasl/cyrus-sasl-2.1.25.ebuild8
2 files changed, 11 insertions, 2 deletions
diff --git a/dev-libs/cyrus-sasl/ChangeLog b/dev-libs/cyrus-sasl/ChangeLog
index 409c4745f184..2a65eb4ecee9 100644
--- a/dev-libs/cyrus-sasl/ChangeLog
+++ b/dev-libs/cyrus-sasl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/cyrus-sasl
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/ChangeLog,v 1.233 2011/11/30 15:49:28 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/ChangeLog,v 1.234 2011/12/05 10:39:46 eras Exp $
+
+ 05 Dec 2011; Eray Aslan <eras@gentoo.org> cyrus-sasl-2.1.25.ebuild:
+ Preserve old lib and add revdep-rebuild warning
*cyrus-sasl-2.1.25 (30 Nov 2011)
diff --git a/dev-libs/cyrus-sasl/cyrus-sasl-2.1.25.ebuild b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.25.ebuild
index 54ea4a73af04..9f32d4f8e22a 100644
--- a/dev-libs/cyrus-sasl/cyrus-sasl-2.1.25.ebuild
+++ b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.25.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/cyrus-sasl-2.1.25.ebuild,v 1.1 2011/11/30 15:49:28 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/cyrus-sasl-2.1.25.ebuild,v 1.2 2011/12/05 10:39:46 eras Exp $
EAPI=4
inherit eutils flag-o-matic multilib autotools pam java-pkg-opt-2 db-use
@@ -185,6 +185,10 @@ src_install() {
use static-libs || find "${D}"/usr/lib*/sasl2 -name 'lib*.la' -delete
}
+pkg_preinst() {
+ preserve_old_lib /usr/$(get_libdir)/libsasl2.so.2.0.23
+}
+
pkg_postinst () {
# Generate an empty sasldb2 with correct permissions.
if ( use berkdb || use gdbm ) && [[ ! -f "${ROOT}/etc/sasl2/sasldb2" ]] ; then
@@ -205,4 +209,6 @@ pkg_postinst () {
elog " gpasswd -a postfix mail"
elog "to add the 'postfix' user to the 'mail' group."
fi
+
+ preserve_old_lib_notify /usr/$(get_libdir)/libsasl2.so.2.0.23
}