1 |
pva 08/10/13 15:56:53 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: rrdtool-1.3.4.ebuild |
5 |
Log: |
6 |
Version bump. Added workaround for parallel build failure in ruby, bug #239101, thank MATSUU Takuto for report. |
7 |
(Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r7 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.150 net-analyzer/rrdtool/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/ChangeLog?rev=1.150&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/ChangeLog?rev=1.150&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/ChangeLog?r1=1.149&r2=1.150 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v |
19 |
retrieving revision 1.149 |
20 |
retrieving revision 1.150 |
21 |
diff -u -r1.149 -r1.150 |
22 |
--- ChangeLog 18 Sep 2008 11:10:44 -0000 1.149 |
23 |
+++ ChangeLog 13 Oct 2008 15:56:53 -0000 1.150 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for net-analyzer/rrdtool |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.149 2008/09/18 11:10:44 pva Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.150 2008/10/13 15:56:53 pva Exp $ |
29 |
+ |
30 |
+*rrdtool-1.3.4 (13 Oct 2008) |
31 |
+ |
32 |
+ 13 Oct 2008; Peter Volkov <pva@g.o> +rrdtool-1.3.4.ebuild: |
33 |
+ Version bump. Added workaround for parallel build failure in ruby, bug |
34 |
+ #239101, thank MATSUU Takuto for report. |
35 |
|
36 |
18 Sep 2008; Peter Volkov <pva@g.o> +rrdtool-1.0.50.ebuild: |
37 |
Revert rrdtool-1.0.* another time. It's still required for FlowScan. |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-analyzer/rrdtool/rrdtool-1.3.4.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.3.4.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.3.4.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: rrdtool-1.3.4.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.3.4.ebuild,v 1.1 2008/10/13 15:56:53 pva Exp $ |
51 |
|
52 |
inherit eutils flag-o-matic multilib perl-module |
53 |
|
54 |
DESCRIPTION="A system to store and display time-series data" |
55 |
HOMEPAGE="http://oss.oetiker.ch/rrdtool/" |
56 |
SRC_URI="http://oss.oetiker.ch/rrdtool/pub/${P}.tar.gz" |
57 |
|
58 |
LICENSE="GPL-2" |
59 |
SLOT="0" |
60 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" |
61 |
IUSE="doc perl python ruby rrdcgi tcl" |
62 |
|
63 |
# This versions are minimal versions upstream tested with. |
64 |
RDEPEND=" |
65 |
>=media-libs/libpng-1.2.10 |
66 |
>=dev-libs/libxml2-2.6.31 |
67 |
>=x11-libs/cairo-1.4.6 |
68 |
>=dev-libs/glib-2.12.12 |
69 |
>=x11-libs/pango-1.17 |
70 |
tcl? ( dev-lang/tcl ) |
71 |
perl? ( dev-lang/perl ) |
72 |
python? ( dev-lang/python ) |
73 |
ruby? ( dev-lang/ruby |
74 |
!dev-ruby/ruby-rrd )" |
75 |
|
76 |
DEPEND="${RDEPEND} |
77 |
sys-apps/gawk" |
78 |
|
79 |
pkg_setup() { |
80 |
if ! built_with_use x11-libs/cairo svg; then |
81 |
eerror "${PN} requires x11-libs/cairo to be built with svg USE flag." |
82 |
die "Rebuild x11-libs/cairo with svg USE flag enabled." |
83 |
fi |
84 |
use perl && perl-module_pkg_setup |
85 |
} |
86 |
|
87 |
src_compile() { |
88 |
filter-flags -ffast-math |
89 |
|
90 |
export RRDDOCDIR=/usr/share/doc/${PF} |
91 |
|
92 |
econf $(use_enable rrdcgi) \ |
93 |
$(use_enable ruby) \ |
94 |
$(use_enable ruby ruby-site-install) \ |
95 |
$(use_enable perl) \ |
96 |
$(use_enable perl perl-site-install) \ |
97 |
$(use_enable tcl) \ |
98 |
$(use_with tcl tcllib /usr/$(get_libdir)) \ |
99 |
$(use_enable python) |
100 |
|
101 |
emake || die "make failed" |
102 |
} |
103 |
|
104 |
src_install() { |
105 |
# -j1 see bug #239101 for details |
106 |
emake -j1 DESTDIR="${D}" install || die "make install failed" |
107 |
|
108 |
if ! use doc ; then |
109 |
rm -rf "${D}"/usr/share/doc/${PF}/{html,txt} |
110 |
fi |
111 |
|
112 |
use perl && fixlocalpod |
113 |
|
114 |
dodoc CHANGES CONTRIBUTORS NEWS README THREADS TODO |
115 |
} |
116 |
|
117 |
pkg_preinst() { |
118 |
use perl && perl-module_pkg_preinst |
119 |
} |
120 |
|
121 |
pkg_postinst() { |
122 |
use perl && perl-module_pkg_postinst |
123 |
ewarn "rrdtool dump 1.3 does emit completely legal xml. Basically this means that" |
124 |
ewarn "it contains an xml header and a DOCTYPE definition. Unfortunately this" |
125 |
ewarn "causes older versions of rrdtool restore to be unhappy." |
126 |
ewarn |
127 |
ewarn "To restore a new dump with ann old rrdtool restore version, either remove" |
128 |
ewarn "the xml header and the doctype by hand (both on the first line of the dump)" |
129 |
ewarn "or use rrdtool dump --no-header." |
130 |
} |
131 |
|
132 |
pkg_prerm() { |
133 |
use perl && perl-module_pkg_prerm |
134 |
} |
135 |
|
136 |
pkg_postrm() { |
137 |
use perl && perl-module_pkg_postrm |
138 |
} |