commit:     ed0e1f5f2ad75a75960cff0cd43dd747bd040055
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 23 06:03:48 2015 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Sep 23 06:03:48 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed0e1f5f

net-analyzer/rrdtool: Remove <1.3 advice (bug #561228).

Package-Manager: portage-2.2.20.1

 net-analyzer/rrdtool/rrdtool-1.5.4.ebuild | 18 +-----------------
 1 file changed, 1 insertion(+), 17 deletions(-)

diff --git a/net-analyzer/rrdtool/rrdtool-1.5.4.ebuild 
b/net-analyzer/rrdtool/rrdtool-1.5.4.ebuild
index dfa9e20..43c9783 100644
--- a/net-analyzer/rrdtool/rrdtool-1.5.4.ebuild
+++ b/net-analyzer/rrdtool/rrdtool-1.5.4.ebuild
@@ -8,7 +8,7 @@ DISTUTILS_OPTIONAL=true
 DISTUTILS_SINGLE_IMPL=true
 GENTOO_DEPEND_ON_PERL=no
 PYTHON_COMPAT=( python2_7 )
-inherit autotools eutils perl-module distutils-r1 flag-o-matic multilib
+inherit autotools eutils perl-module distutils-r1 flag-o-matic multilib 
versionator
 
 DESCRIPTION="A system to store and display time-series data"
 HOMEPAGE="http://oss.oetiker.ch/rrdtool/";
@@ -171,19 +171,3 @@ src_install() {
 
        use python && distutils-r1_src_install
 }
-
-pkg_postinst() {
-       if [[ "${REPLACING_VERSIONS}" -le 1.3 ]]; then
-               ewarn "Since version 1.3, rrdtool dump emits completely legal 
xml.  Basically this"
-               ewarn "means that it contains an xml header and a DOCTYPE 
definition.  Unfortunately"
-               ewarn "this causes older versions of rrdtool restore to be 
unhappy."
-               ewarn
-               ewarn "To restore a new dump with an old rrdtool restore 
version, either remove"
-               ewarn "the xml header and the doctype by hand (both on the 
first line of the dump)"
-               ewarn "or use rrdtool dump --no-header."
-               ewarn
-               ewarn ">=net-analyzer/rrdtool-1.3 does not have any default 
font bundled. Thus if"
-               ewarn ">you've upgraded from rrdtool-1.2.x and don't have any 
font installed to make"
-               ewarn ">lables visible, please, install some font, e.g.  
media-fonts/dejavu."
-       fi
-}

Reply via email to