1 |
commit: 64e8a78f03c04ac19fae6b7c88973440dbb76fad |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 1 17:59:19 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 1 17:59:30 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64e8a78f |
7 |
|
8 |
Revert "net-analyzer/rrdtool: Add live ebuild" |
9 |
|
10 |
This reverts commit 14c90211f37e2db668d91012866e9ae29d727a3e. |
11 |
|
12 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
13 |
|
14 |
net-analyzer/rrdtool/rrdtool-9999.ebuild | 183 ------------------------------- |
15 |
1 file changed, 183 deletions(-) |
16 |
|
17 |
diff --git a/net-analyzer/rrdtool/rrdtool-9999.ebuild b/net-analyzer/rrdtool/rrdtool-9999.ebuild |
18 |
deleted file mode 100644 |
19 |
index 966ba5823bc..00000000000 |
20 |
--- a/net-analyzer/rrdtool/rrdtool-9999.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,183 +0,0 @@ |
23 |
-# Copyright 1999-2020 Gentoo Authors |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI=7 |
27 |
-DISTUTILS_OPTIONAL=true |
28 |
-DISTUTILS_SINGLE_IMPL=true |
29 |
-GENTOO_DEPEND_ON_PERL=no |
30 |
-PYTHON_COMPAT=( python3_{6,7,8} ) |
31 |
-inherit autotools flag-o-matic git-r3 perl-module distutils-r1 multilib |
32 |
- |
33 |
-MY_P=${P/_/-} |
34 |
- |
35 |
-DESCRIPTION="A system to store and display time-series data" |
36 |
-HOMEPAGE="https://oss.oetiker.ch/rrdtool/" |
37 |
-EGIT_REPO_URI="https://github.com/oetiker/rrdtool-1.x" |
38 |
- |
39 |
-LICENSE="GPL-2" |
40 |
-SLOT="0/8.0.0" |
41 |
-KEYWORDS="" |
42 |
-IUSE="dbi doc graph lua perl python rados rrdcgi ruby static-libs tcl tcpd" |
43 |
-REQUIRED_USE=" |
44 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
45 |
-" |
46 |
- |
47 |
-CDEPEND=" |
48 |
- >=dev-libs/glib-2.28.7:2[static-libs(+)?] |
49 |
- >=dev-libs/libxml2-2.7.8:2[static-libs(+)?] |
50 |
- dbi? ( dev-db/libdbi[static-libs(+)?] ) |
51 |
- graph? ( |
52 |
- >=media-libs/libpng-1.5.10:0=[static-libs(+)?] |
53 |
- >=x11-libs/cairo-1.10.2[svg,static-libs(+)?] |
54 |
- >=x11-libs/pango-1.28 |
55 |
- ) |
56 |
- lua? ( dev-lang/lua:* ) |
57 |
- perl? ( dev-lang/perl:= ) |
58 |
- python? ( ${PYTHON_DEPS} ) |
59 |
- rados? ( sys-cluster/ceph ) |
60 |
- tcl? ( dev-lang/tcl:0= ) |
61 |
- tcpd? ( sys-apps/tcp-wrappers ) |
62 |
-" |
63 |
- |
64 |
-DEPEND=" |
65 |
- ${CDEPEND} |
66 |
- virtual/pkgconfig |
67 |
-" |
68 |
-BDEPEND=" |
69 |
- sys-apps/groff |
70 |
- virtual/awk |
71 |
-" |
72 |
-RDEPEND=" |
73 |
- ${CDEPEND} |
74 |
-" |
75 |
-PDEPEND=" |
76 |
- ruby? ( ~dev-ruby/rrdtool-bindings-${PV} ) |
77 |
-" |
78 |
-PATCHES=( |
79 |
- "${FILESDIR}"/${PN}-1.4.9-disable-rrd_graph-perl.patch |
80 |
- "${FILESDIR}"/${PN}-1.7.0-disable-rrd_graph-cgi.patch |
81 |
- "${FILESDIR}"/${PN}-1.7.1-configure.ac.patch |
82 |
-) |
83 |
-S=${WORKDIR}/${MY_P} |
84 |
- |
85 |
-python_compile() { |
86 |
- cd bindings/python || die |
87 |
- distutils-r1_python_compile |
88 |
-} |
89 |
- |
90 |
-python_install() { |
91 |
- cd bindings/python || die |
92 |
- distutils-r1_python_install |
93 |
-} |
94 |
- |
95 |
-pkg_setup() { |
96 |
- use python && python-single-r1_pkg_setup |
97 |
-} |
98 |
- |
99 |
-src_prepare() { |
100 |
- default |
101 |
- |
102 |
- # bug 456810 |
103 |
- # no time to sleep |
104 |
- sed -i \ |
105 |
- -e 's|$LUA_CFLAGS|IGNORE_THIS_BAD_TEST|g' \ |
106 |
- -e 's|^sleep 1$||g' \ |
107 |
- -e '/^dnl.*png/s|^dnl||g' \ |
108 |
- configure.ac || die |
109 |
- |
110 |
- # Python bindings are built/installed manually |
111 |
- sed -i \ |
112 |
- -e '/^all-local:/s| @COMP_PYTHON@||' \ |
113 |
- bindings/Makefile.am || die |
114 |
- |
115 |
- if ! use graph; then |
116 |
- sed -i \ |
117 |
- -e '2s:rpn1::; 2s:rpn2::; 6s:create-with-source-4::;' \ |
118 |
- -e '7s:xport1::; 7s:dcounter1::; 7s:vformatter1::' \ |
119 |
- tests/Makefile.am || die |
120 |
- fi |
121 |
- |
122 |
- eautoreconf |
123 |
-} |
124 |
- |
125 |
-src_configure() { |
126 |
- export rd_cv_gcc_flag__Werror=no |
127 |
- export rd_cv_ms_async=ok |
128 |
- |
129 |
- filter-flags -ffast-math |
130 |
- |
131 |
- export RRDDOCDIR=${EPREFIX}/usr/share/doc/${PF} |
132 |
- |
133 |
- # to solve bug #260380 |
134 |
- [[ ${CHOST} == *-solaris* ]] && append-flags -D__EXTENSIONS__ |
135 |
- |
136 |
- # Stub configure.ac |
137 |
- local myconf=() |
138 |
- if ! use tcpd; then |
139 |
- myconf+=( "--disable-libwrap" ) |
140 |
- fi |
141 |
- if ! use dbi; then |
142 |
- myconf+=( "--disable-libdbi" ) |
143 |
- fi |
144 |
- if ! use rados; then |
145 |
- myconf+=( "--disable-librados" ) |
146 |
- fi |
147 |
- |
148 |
- econf \ |
149 |
- $(use_enable graph rrd_graph) \ |
150 |
- $(use_enable lua lua-site-install) \ |
151 |
- $(use_enable lua) \ |
152 |
- $(use_enable perl perl-site-install) \ |
153 |
- $(use_enable perl) \ |
154 |
- $(use_enable python) \ |
155 |
- $(use_enable rrdcgi) \ |
156 |
- $(use_enable static-libs static) \ |
157 |
- $(use_enable tcl) \ |
158 |
- $(use_with tcl tcllib "${EPREFIX}"/usr/$(get_libdir)) \ |
159 |
- --with-perl-options=INSTALLDIRS=vendor \ |
160 |
- --disable-ruby-site-install \ |
161 |
- --disable-ruby \ |
162 |
- ${myconf[@]} |
163 |
-} |
164 |
- |
165 |
-src_compile() { |
166 |
- default |
167 |
- |
168 |
- use python && distutils-r1_src_compile |
169 |
-} |
170 |
- |
171 |
-src_test() { |
172 |
- export LC_ALL=C |
173 |
- default |
174 |
-} |
175 |
- |
176 |
-src_install() { |
177 |
- default |
178 |
- |
179 |
- if ! use doc ; then |
180 |
- rm -rf "${ED}"usr/share/doc/${PF}/{html,txt} |
181 |
- fi |
182 |
- |
183 |
- if use !rrdcgi ; then |
184 |
- # uses rrdcgi, causes invalid shebang error in Prefix, useless |
185 |
- # without rrdcgi installed |
186 |
- rm -f "${ED}"usr/share/${PN}/examples/cgi-demo.cgi |
187 |
- fi |
188 |
- |
189 |
- if use perl ; then |
190 |
- perl_delete_localpod |
191 |
- perl_delete_packlist |
192 |
- fi |
193 |
- |
194 |
- dodoc CHANGES CONTRIBUTORS NEWS THREADS TODO |
195 |
- |
196 |
- find "${ED}"usr -name '*.la' -exec rm -f {} + |
197 |
- |
198 |
- keepdir /var/lib/rrdcached/journal/ |
199 |
- keepdir /var/lib/rrdcached/db/ |
200 |
- |
201 |
- newconfd "${FILESDIR}"/rrdcached.confd rrdcached |
202 |
- newinitd "${FILESDIR}"/rrdcached.init rrdcached |
203 |
- |
204 |
- use python && distutils-r1_src_install |
205 |
-} |