Gentoo Archives: gentoo-commits

From: Craig Andrews <candrews@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/netdata/
Date: Mon, 02 Dec 2019 20:52:50
Message-Id: 1575319956.f287a7f12d6939499566aa52080d5fd6c7c3192b.candrews@gentoo
1 commit: f287a7f12d6939499566aa52080d5fd6c7c3192b
2 Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz>
3 AuthorDate: Mon Dec 2 18:03:35 2019 +0000
4 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 2 20:52:36 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f287a7f1
7
8 net-analyzer/netdata: remove buggy ebuild
9
10 Package-Manager: Portage-2.3.79, Repoman-2.3.16
11 Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
12 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
13
14 net-analyzer/netdata/netdata-1.19.0.ebuild | 129 -----------------------------
15 1 file changed, 129 deletions(-)
16
17 diff --git a/net-analyzer/netdata/netdata-1.19.0.ebuild b/net-analyzer/netdata/netdata-1.19.0.ebuild
18 deleted file mode 100644
19 index b066aadbf11..00000000000
20 --- a/net-analyzer/netdata/netdata-1.19.0.ebuild
21 +++ /dev/null
22 @@ -1,129 +0,0 @@
23 -# Copyright 1999-2019 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=7
27 -PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
28 -
29 -inherit autotools fcaps linux-info python-r1 systemd
30 -
31 -if [[ ${PV} == *9999 ]] ; then
32 - EGIT_REPO_URI="https://github.com/netdata/${PN}.git"
33 - inherit git-r3
34 -else
35 - SRC_URI="https://github.com/netdata/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
36 - KEYWORDS="~amd64 ~x86"
37 -fi
38 -
39 -DESCRIPTION="Linux real time system monitoring, done right!"
40 -HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/"
41 -
42 -LICENSE="GPL-3+ MIT BSD"
43 -SLOT="0"
44 -IUSE="caps +compression cpu_flags_x86_sse2 cups +dbengine ipmi mysql nfacct nodejs postgres +python tor xen"
45 -REQUIRED_USE="
46 - mysql? ( python )
47 - python? ( ${PYTHON_REQUIRED_USE} )
48 - tor? ( python )"
49 -
50 -# most unconditional dependencies are for plugins.d/charts.d.plugin:
51 -RDEPEND="
52 - acct-group/netdata
53 - acct-user/netdata
54 - app-misc/jq
55 - >=app-shells/bash-4:0
56 - || (
57 - net-analyzer/openbsd-netcat
58 - net-analyzer/netcat
59 - )
60 - net-misc/curl
61 - net-misc/wget
62 - sys-apps/util-linux
63 - virtual/awk
64 - caps? ( sys-libs/libcap )
65 - cups? ( net-print/cups )
66 - dbengine? (
67 - dev-libs/libuv
68 - app-arch/lz4
69 - dev-libs/judy
70 - dev-libs/openssl:=
71 - )
72 - compression? ( sys-libs/zlib )
73 - ipmi? ( sys-libs/freeipmi )
74 - nfacct? (
75 - net-firewall/nfacct
76 - net-libs/libmnl
77 - )
78 - nodejs? ( net-libs/nodejs )
79 - python? (
80 - ${PYTHON_DEPS}
81 - dev-python/pyyaml[${PYTHON_USEDEP}]
82 - mysql? (
83 - || (
84 - dev-python/mysqlclient[${PYTHON_USEDEP}]
85 - dev-python/mysql-python[${PYTHON_USEDEP}]
86 - )
87 - )
88 - postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
89 - tor? ( net-libs/stem[${PYTHON_USEDEP}] )
90 - )
91 - xen? (
92 - app-emulation/xen-tools
93 - dev-libs/yajl
94 - )"
95 -DEPEND="${RDEPEND}
96 - virtual/pkgconfig"
97 -
98 -FILECAPS=(
99 - 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin'
100 -)
101 -
102 -pkg_setup() {
103 - linux-info_pkg_setup
104 -}
105 -
106 -src_prepare() {
107 - default
108 - eautoreconf
109 -}
110 -
111 -src_configure() {
112 - econf \
113 - --localstatedir="${EPREFIX}"/var \
114 - --with-user=netdata \
115 - --disable-jsonc \
116 - $(use_enable cups plugin-cups) \
117 - $(use_enable dbengine) \
118 - $(use_enable nfacct plugin-nfacct) \
119 - $(use_enable ipmi plugin-freeipmi) \
120 - $(use_enable xen plugin-xenstat) \
121 - $(use_enable cpu_flags_x86_sse2 x86-sse) \
122 - $(use_with compression zlib)
123 -}
124 -
125 -src_install() {
126 - default
127 -
128 - rm -rf "${D}/var/cache" || die
129 -
130 - # Remove unneeded .keep files
131 - find "${ED}" -name ".keep" -delete || die
132 -
133 - fowners -Rc netdata:netdata /var/log/netdata
134 - keepdir /var/log/netdata
135 - fowners -Rc netdata:netdata /var/lib/netdata
136 - keepdir /var/lib/netdata
137 - keepdir /var/lib/netdata/registry
138 -
139 - fowners -Rc root:netdata /usr/share/${PN}
140 -
141 - newinitd system/netdata-openrc ${PN}
142 - systemd_dounit system/netdata.service
143 - insinto /etc/netdata
144 - doins system/netdata.conf
145 -}
146 -
147 -pkg_postinst() {
148 - if use xen ; then
149 - fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/xenstat.plugin'
150 - fi
151 -}