1 |
jer 11/06/01 02:28:58 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: rrdtool-1.4.5.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.0_alpha37/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.209 net-analyzer/rrdtool/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/rrdtool/ChangeLog?rev=1.209&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/rrdtool/ChangeLog?rev=1.209&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/rrdtool/ChangeLog?r1=1.208&r2=1.209 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v |
20 |
retrieving revision 1.208 |
21 |
retrieving revision 1.209 |
22 |
diff -u -r1.208 -r1.209 |
23 |
--- ChangeLog 10 Jan 2011 18:15:47 -0000 1.208 |
24 |
+++ ChangeLog 1 Jun 2011 02:28:58 -0000 1.209 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-analyzer/rrdtool |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.208 2011/01/10 18:15:47 graaff Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.209 2011/06/01 02:28:58 jer Exp $ |
30 |
+ |
31 |
+*rrdtool-1.4.5 (01 Jun 2011) |
32 |
+ |
33 |
+ 01 Jun 2011; Jeroen Roovers <jer@g.o> +rrdtool-1.4.5.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
10 Jan 2011; Hans de Graaff <graaff@g.o> rrdtool-1.4.4.ebuild: |
37 |
Keyword ~x86-macos. |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-analyzer/rrdtool/rrdtool-1.4.5.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.4.5.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.4.5.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: rrdtool-1.4.5.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2011 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.4.5.ebuild,v 1.1 2011/06/01 02:28:58 jer Exp $ |
51 |
|
52 |
EAPI="3" |
53 |
|
54 |
GENTOO_DEPEND_ON_PERL="no" |
55 |
inherit eutils flag-o-matic multilib perl-module autotools |
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 ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos ~x86-solaris" |
64 |
IUSE="doc lua perl python ruby rrdcgi tcl" |
65 |
|
66 |
# This versions are minimal versions upstream tested with. |
67 |
RDEPEND=" |
68 |
>=media-libs/libpng-1.2.10 |
69 |
>=dev-libs/libxml2-2.6.31 |
70 |
>=x11-libs/cairo-1.4.6[svg] |
71 |
>=dev-libs/glib-2.12.12 |
72 |
>=x11-libs/pango-1.17 |
73 |
lua? ( dev-lang/lua ) |
74 |
perl? ( dev-lang/perl ) |
75 |
python? ( dev-lang/python ) |
76 |
ruby? ( >=dev-lang/ruby-1.8.6_p287-r13 !dev-ruby/ruby-rrd ) |
77 |
tcl? ( dev-lang/tcl )" |
78 |
|
79 |
DEPEND="${RDEPEND} |
80 |
sys-apps/gawk" |
81 |
|
82 |
src_prepare() { |
83 |
epatch "${FILESDIR}/${PN}-1.3.8-configure.ac.patch" |
84 |
# epatch "${FILESDIR}/${PN}-1.4.3-ruby-ldflags.patch" |
85 |
epatch "${FILESDIR}/${PN}-1.4.4-dont-link-system-lib.patch" |
86 |
sed -i '/PERLLD/s:same as PERLCC:same-as-PERLCC:' configure.ac #281694 |
87 |
eautoreconf |
88 |
} |
89 |
|
90 |
src_configure() { |
91 |
filter-flags -ffast-math |
92 |
|
93 |
export RRDDOCDIR=${EPREFIX}/usr/share/doc/${PF} |
94 |
|
95 |
# to solve bug #260380 |
96 |
[[ ${CHOST} == *-solaris* ]] && append-flags -D__EXTENSIONS__ |
97 |
|
98 |
econf $(use_enable rrdcgi) \ |
99 |
$(use_enable lua) \ |
100 |
$(use_enable lua lua-site-install) \ |
101 |
$(use_enable ruby) \ |
102 |
$(use_enable ruby ruby-site-install) \ |
103 |
$(use_enable perl) \ |
104 |
$(use_enable perl perl-site-install) \ |
105 |
--with-perl-options=INSTALLDIRS=vendor \ |
106 |
$(use_enable tcl) \ |
107 |
$(use_with tcl tcllib "${EPREFIX}"/usr/$(get_libdir)) \ |
108 |
$(use_enable python) |
109 |
} |
110 |
|
111 |
src_install() { |
112 |
emake DESTDIR="${D}" install || die "make install failed" |
113 |
|
114 |
if ! use doc ; then |
115 |
rm -rf "${ED}"usr/share/doc/${PF}/{html,txt} |
116 |
fi |
117 |
|
118 |
if use !rrdcgi ; then |
119 |
# uses rrdcgi, causes invalid shebang error in Prefix, useless |
120 |
# without rrdcgi installed |
121 |
rm -f "${ED}"usr/share/${PN}/examples/cgi-demo.cgi |
122 |
fi |
123 |
|
124 |
if use perl ; then |
125 |
perl_delete_localpod |
126 |
perl_delete_packlist |
127 |
fi |
128 |
|
129 |
dodoc CHANGES CONTRIBUTORS NEWS README THREADS TODO |
130 |
} |
131 |
|
132 |
pkg_postinst() { |
133 |
ewarn "rrdtool dump 1.3 does emit completely legal xml. Basically this means that" |
134 |
ewarn "it contains an xml header and a DOCTYPE definition. Unfortunately this" |
135 |
ewarn "causes older versions of rrdtool restore to be unhappy." |
136 |
ewarn |
137 |
ewarn "To restore a new dump with an old rrdtool restore version, either remove" |
138 |
ewarn "the xml header and the doctype by hand (both on the first line of the dump)" |
139 |
ewarn "or use rrdtool dump --no-header." |
140 |
ewarn |
141 |
ewarn "Note: rrdtool-1.3.x doesn't have any default font bundled. Thus if you've" |
142 |
ewarn "upgraded from rrdtool-1.2.x and don't have any font installed to make" |
143 |
ewarn "lables visible, please, install some font, e.g. media-fonts/dejavu." |
144 |
} |