summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2005-01-10 01:58:20 +0000
committerStefan Knoblich <stkn@gentoo.org>2005-01-10 01:58:20 +0000
commita2f95734a5e9cc02f6bcea1bae56c5c904cb26b2 (patch)
tree3f6c55d9bb7cface6ff4774337cfa7571a6230a3 /net-misc/howl
parentKEYWORD sync (Manifest recommit) (diff)
downloadgentoo-2-a2f95734a5e9cc02f6bcea1bae56c5c904cb26b2.tar.gz
gentoo-2-a2f95734a5e9cc02f6bcea1bae56c5c904cb26b2.tar.bz2
gentoo-2-a2f95734a5e9cc02f6bcea1bae56c5c904cb26b2.zip
Preserve old libraries, howl-0.9.8 changes naming scheme (bug #77238)
Diffstat (limited to 'net-misc/howl')
-rw-r--r--net-misc/howl/ChangeLog6
-rw-r--r--net-misc/howl/howl-0.9.8.ebuild12
2 files changed, 16 insertions, 2 deletions
diff --git a/net-misc/howl/ChangeLog b/net-misc/howl/ChangeLog
index 1432619b18c7..7d755bbd831a 100644
--- a/net-misc/howl/ChangeLog
+++ b/net-misc/howl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/howl
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/howl/ChangeLog,v 1.20 2005/01/09 00:12:47 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/howl/ChangeLog,v 1.21 2005/01/10 01:58:20 stkn Exp $
+
+ 10 Jan 2005; Stefan Knoblich <stkn@gentoo.org> howl-0.9.8.ebuild:
+ Updated ebuild to preserve old libraries because 0.9.8 introduces a
+ change in the naming scheme (bug #77238)
*howl-0.9.8 (09 Jan 2005)
diff --git a/net-misc/howl/howl-0.9.8.ebuild b/net-misc/howl/howl-0.9.8.ebuild
index 60974112c3a0..93418aa3fcf0 100644
--- a/net-misc/howl/howl-0.9.8.ebuild
+++ b/net-misc/howl/howl-0.9.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/howl/howl-0.9.8.ebuild,v 1.1 2005/01/09 00:12:47 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/howl/howl-0.9.8.ebuild,v 1.2 2005/01/10 01:58:20 stkn Exp $
inherit eutils
@@ -46,4 +46,14 @@ src_install() {
# Fix the perms on the init scripts
fperms a+x /etc/init.d/nifd /etc/init.d/mDNSResponder
+ # howl-0.9.8 introduces a change in library naming,
+ # preserve old libraries to not break things
+ preserve_old_lib /usr/$(get_libdir)/libhowl-[0-9].[0-9].[0-9].so.[0-9].[0-9].[0-9]
+ preserve_old_lib /usr/$(get_libdir)/libmDNSResponder-[0-9].[0-9].[0-9].so.[0-9].[0-9].[0-9]
+}
+
+pkg_postinst() {
+ # inform user about library changes
+ preserve_old_lib_notify /usr/$(get_libdir)/libhowl-[0-9].[0-9].[0-9].so.[0-9].[0-9].[0-9]
+ preserve_old_lib_notify /usr/$(get_libdir)/libmDNSResponder-[0-9].[0-9].[0-9].so.[0-9].[0-9].[0-9]
}