Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/rrdtool: ChangeLog rrdtool-1.2.28-r1.ebuild rrdtool-1.3.3.ebuild
Date: Tue, 04 Nov 2008 19:32:20
Message-Id: E1KxRdR-0005JC-VL@stork.gentoo.org
1 pva 08/11/04 19:32:17
2
3 Modified: ChangeLog
4 Added: rrdtool-1.2.28-r1.ebuild
5 Removed: rrdtool-1.3.3.ebuild
6 Log:
7 Revert upstream changes that cause broken graphs in cacti, bug #245331, thank Thomas Beutin for report and fleg for tests. Remove unused.
8 (Portage version: 2.2_rc13/cvs/Linux 2.6.26-openvz.git-35f41f1 i686)
9
10 Revision Changes Path
11 1.156 net-analyzer/rrdtool/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/ChangeLog?rev=1.156&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/ChangeLog?rev=1.156&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/ChangeLog?r1=1.155&r2=1.156
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v
20 retrieving revision 1.155
21 retrieving revision 1.156
22 diff -u -r1.155 -r1.156
23 --- ChangeLog 28 Oct 2008 00:18:32 -0000 1.155
24 +++ ChangeLog 4 Nov 2008 19:32:17 -0000 1.156
25 @@ -1,6 +1,14 @@
26 # ChangeLog for net-analyzer/rrdtool
27 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.155 2008/10/28 00:18:32 ranger Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.156 2008/11/04 19:32:17 pva Exp $
30 +
31 +*rrdtool-1.2.28-r1 (04 Nov 2008)
32 +
33 + 04 Nov 2008; Peter Volkov <pva@g.o>
34 + +files/rrdtool-1.2.28-revert-font-fix.patch, +rrdtool-1.2.28-r1.ebuild,
35 + -rrdtool-1.3.3.ebuild:
36 + Revert upstream changes that cause broken graphs in cacti, bug #245331,
37 + thank Thomas Beutin for report and fleg for tests. Remove unused.
38
39 28 Oct 2008; Brent Baude <ranger@g.o> rrdtool-1.2.28.ebuild:
40 stable ppc64, bug 244248
41
42
43
44 1.1 net-analyzer/rrdtool/rrdtool-1.2.28-r1.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.2.28-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.2.28-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: rrdtool-1.2.28-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2008 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.2.28-r1.ebuild,v 1.1 2008/11/04 19:32:17 pva Exp $
54
55 inherit eutils flag-o-matic multilib perl-module
56
57 DESCRIPTION="A system to store and display time-series data"
58 HOMEPAGE="http://oss.oetiker.ch/rrdtool/"
59 SRC_URI="http://oss.oetiker.ch/rrdtool/pub/${P}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
64 IUSE="doc perl python ruby rrdcgi tcl"
65
66 RDEPEND="tcl? ( dev-lang/tcl )
67 >=sys-libs/zlib-1.2.1
68 >=media-libs/freetype-2.1.5
69 >=media-libs/libart_lgpl-2.3.16
70 >=media-libs/libpng-1.2.5
71 rrdcgi? ( >=dev-libs/cgilib-0.5 )
72 ruby? ( !dev-ruby/ruby-rrd )"
73
74 DEPEND="${RDEPEND}
75 perl? ( dev-lang/perl )
76 python? ( dev-lang/python )
77 ruby? ( dev-lang/ruby )
78 sys-apps/gawk"
79
80 TCLVER=""
81
82 HTMLDOC_DIR="${PF}/html"
83
84 src_unpack() {
85 unpack ${A}
86 cd "${S}"
87 epatch "${FILESDIR}/${PN}-1.2.15-newstyle-resize.patch"
88 epatch "${FILESDIR}/${P}-revert-font-fix.patch"
89 }
90
91 pkg_setup() {
92 use perl && perl-module_pkg_setup
93 }
94
95 src_compile() {
96 filter-mfpmath sse
97 filter-flags -ffast-math
98
99 export RRDDOCDIR=/usr/share/doc/${PF}
100
101 econf $(use_enable rrdcgi) \
102 $(use_enable ruby) \
103 $(use_enable ruby ruby-site-install) \
104 $(use_enable perl) \
105 $(use_enable perl perl-site-install) \
106 $(use_enable tcl) \
107 $(use_with tcl tcllib /usr/$(get_libdir)) \
108 $(use_enable python) || die "econf failed."
109
110 emake || die "make failed"
111 }
112
113 src_install() {
114 emake DESTDIR="${D}" install || die "make install failed"
115
116 if ! use doc ; then
117 rm -rf "${D}"/usr/share/doc/${PF}/{html,txt}
118 fi
119
120 use perl && fixlocalpod
121
122 dodoc CHANGES CONTRIBUTORS NEWS README THREADS TODO
123 }
124
125 pkg_preinst() {
126 use perl && perl-module_pkg_preinst
127 }
128
129 pkg_postinst() {
130 use perl && perl-module_pkg_postinst
131 }
132
133 pkg_prerm() {
134 use perl && perl-module_pkg_prerm
135 }
136
137 pkg_postrm() {
138 use perl && perl-module_pkg_postrm
139 }