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: Wed, 01 Aug 2018 16:38:22
Message-Id: 1533141478.c3b1f35382fc6fef150c182cc9fdcb2c442cfb4b.candrews@gentoo
1 commit: c3b1f35382fc6fef150c182cc9fdcb2c442cfb4b
2 Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 1 16:36:10 2018 +0000
4 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 1 16:37:58 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3b1f353
7
8 net-analyzer/netdata: Drop old version
9
10 Package-Manager: Portage-2.3.44, Repoman-2.3.10
11
12 net-analyzer/netdata/netdata-1.10.0.ebuild | 107 -----------------------------
13 1 file changed, 107 deletions(-)
14
15 diff --git a/net-analyzer/netdata/netdata-1.10.0.ebuild b/net-analyzer/netdata/netdata-1.10.0.ebuild
16 deleted file mode 100644
17 index 5bde37d06a8..00000000000
18 --- a/net-analyzer/netdata/netdata-1.10.0.ebuild
19 +++ /dev/null
20 @@ -1,107 +0,0 @@
21 -# Copyright 1999-2018 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=6
25 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
26 -
27 -inherit autotools fcaps linux-info python-r1 systemd user
28 -
29 -if [[ ${PV} == *9999 ]] ; then
30 - EGIT_REPO_URI="https://github.com/firehol/${PN}.git"
31 - inherit git-r3
32 -else
33 - SRC_URI="https://github.com/firehol/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
34 - KEYWORDS="~amd64 ~x86"
35 -fi
36 -
37 -DESCRIPTION="Linux real time system monitoring, done right!"
38 -HOMEPAGE="https://github.com/firehol/netdata https://my-netdata.io/"
39 -
40 -LICENSE="GPL-3+ MIT BSD"
41 -SLOT="0"
42 -IUSE="caps +compression cpu_flags_x86_sse2 ipmi mysql nfacct nodejs postgres +python"
43 -REQUIRED_USE="
44 - mysql? ( python )
45 - python? ( ${PYTHON_REQUIRED_USE} )"
46 -# most unconditional dependencies are for plugins.d/charts.d.plugin:
47 -RDEPEND="
48 - >=app-shells/bash-4:0
49 - || (
50 - net-analyzer/netcat6
51 - net-analyzer/netcat
52 - )
53 - net-analyzer/tcpdump
54 - net-analyzer/traceroute
55 - net-misc/curl
56 - net-misc/wget
57 - sys-apps/util-linux
58 - virtual/awk
59 - caps? ( sys-libs/libcap )
60 - compression? ( sys-libs/zlib )
61 - ipmi? ( sys-libs/freeipmi )
62 - nfacct? (
63 - net-firewall/nfacct
64 - net-libs/libmnl
65 - )
66 - nodejs? ( net-libs/nodejs )
67 - python? (
68 - ${PYTHON_DEPS}
69 - dev-python/pyyaml[${PYTHON_USEDEP}]
70 - mysql? (
71 - || (
72 - dev-python/mysqlclient[${PYTHON_USEDEP}]
73 - dev-python/mysql-python[${PYTHON_USEDEP}]
74 - )
75 - )
76 - postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
77 - )"
78 -DEPEND="${RDEPEND}
79 - virtual/pkgconfig"
80 -
81 -: ${NETDATA_USER:=netdata}
82 -: ${NETDATA_GROUP:=netdata}
83 -
84 -FILECAPS=(
85 - 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin'
86 -)
87 -
88 -pkg_setup() {
89 - linux-info_pkg_setup
90 -
91 - enewgroup ${PN}
92 - enewuser ${PN} -1 -1 / ${PN}
93 -}
94 -
95 -src_prepare() {
96 - default
97 - eautoreconf
98 -}
99 -
100 -src_configure() {
101 - econf \
102 - --localstatedir="${EPREFIX}"/var \
103 - --with-user=${NETDATA_USER} \
104 - $(use_enable nfacct plugin-nfacct) \
105 - $(use_enable ipmi plugin-freeipmi) \
106 - $(use_enable cpu_flags_x86_sse2 x86-sse) \
107 - $(use_with compression zlib)
108 -}
109 -
110 -src_install() {
111 - default
112 -
113 - rm -rf "${D}/var/cache/netdata" || die
114 -
115 - # Remove unneeded .keep files
116 - find "${ED}" -name ".keep" -delete || die
117 -
118 - fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/log/netdata
119 - fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/lib/netdata
120 -
121 - fowners -Rc root:${NETDATA_GROUP} /usr/share/${PN}
122 -
123 - newinitd system/netdata-openrc ${PN}
124 - systemd_dounit system/netdata.service
125 - insinto /etc/netdata
126 - doins system/netdata.conf
127 -}