From: Jeroen Roovers Date: Wed, 23 Sep 2015 06:03:48 +0000 (+0200) Subject: net-analyzer/rrdtool: Remove <1.3 advice (bug #561228). X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ed0e1f5f2ad75a75960cff0cd43dd747bd040055;p=gentoo.git net-analyzer/rrdtool: Remove <1.3 advice (bug #561228). Package-Manager: portage-2.2.20.1 --- diff --git a/net-analyzer/rrdtool/rrdtool-1.5.4.ebuild b/net-analyzer/rrdtool/rrdtool-1.5.4.ebuild index dfa9e20b5cf3..43c9783f3f3e 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 -}