diff options
author | Craig Andrews <candrews@gentoo.org> | 2017-12-18 20:47:08 -0500 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2017-12-18 20:47:21 -0500 |
commit | e530c96b2f07ed9eddfadd1ac638a12b90452313 (patch) | |
tree | 842a124e6bea7358c860a085227136834c2468ff /net-analyzer/netdata | |
parent | profiles: Fix app-i18n/kimera last-rites date (diff) | |
download | gentoo-e530c96b2f07ed9eddfadd1ac638a12b90452313.tar.gz gentoo-e530c96b2f07ed9eddfadd1ac638a12b90452313.tar.bz2 gentoo-e530c96b2f07ed9eddfadd1ac638a12b90452313.zip |
net-analyzer/netdata: Cleanup old versions
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'net-analyzer/netdata')
-rw-r--r-- | net-analyzer/netdata/Manifest | 6 | ||||
-rw-r--r-- | net-analyzer/netdata/files/netdata-1.4.0-glibc-sysmacros.patch | 21 | ||||
-rw-r--r-- | net-analyzer/netdata/netdata-1.2.0-r1.ebuild | 80 | ||||
-rw-r--r-- | net-analyzer/netdata/netdata-1.3.0.ebuild | 94 | ||||
-rw-r--r-- | net-analyzer/netdata/netdata-1.4.0-r1.ebuild | 102 | ||||
-rw-r--r-- | net-analyzer/netdata/netdata-1.5.0.ebuild | 101 | ||||
-rw-r--r-- | net-analyzer/netdata/netdata-1.6.0.ebuild | 103 | ||||
-rw-r--r-- | net-analyzer/netdata/netdata-1.7.0.ebuild | 103 | ||||
-rw-r--r-- | net-analyzer/netdata/netdata-1.8.0.ebuild | 103 |
9 files changed, 0 insertions, 713 deletions
diff --git a/net-analyzer/netdata/Manifest b/net-analyzer/netdata/Manifest index 43dae45a3503..e3fc1c503179 100644 --- a/net-analyzer/netdata/Manifest +++ b/net-analyzer/netdata/Manifest @@ -1,8 +1,2 @@ -DIST netdata-1.2.0.tar.xz 1254000 BLAKE2B 1da38cfe5316c3d0036a7bea0f0abd1d8305d1a77204701ed7c57091259c958fb40b16e61ccde4091c6c7ddc63ca0c16c3fda39bdd87b09958a8411fe7b0fb3d SHA512 0c43e89c7cb52a5dde2aec13b06496ffb70fcb1952cf74156bd4400f3520b4136a94b5390077a4e5e3278a8e175dcc14505a456efafec5fdf0759af4846e03f4 -DIST netdata-1.3.0.tar.xz 1647708 BLAKE2B 637f1259ac5dad11f7987c085828cea46a907c1a78735ec5b00a449e6d17423f8b35b02b072ece2adf7cdb8d2c25d3fd48e1c8cd416c1418e5b9761f55abe2fc SHA512 0e96f12cbeb7aeecb07b885a0f10940022741633e5cfd76d9f79c9efe3bce2583d96ae18995831fc48d6724f65357929dc5a4220521230ecfb8517f15e779217 -DIST netdata-1.4.0.tar.xz 1801440 BLAKE2B 2d0b3feb4d1e66ca160f4bdb5b3e28edd99727148d7e0d9c2b3ced323a6c6514cd0f80767b49016dff7cdf912de0807dea3fd5bd11cbc7f8287cf85e780dfe20 SHA512 b5f60931372f0c6a437d1340bd9bb07557d8a9ffb478381715495c09c9b9bcf71f287c2e47be40945149a268e0f666289c75cc4eb1d1ab6fc73988f6b71daaf3 -DIST netdata-1.5.0.tar.gz 2257299 BLAKE2B bbfcd418329db1268173c9ff3f89632ebebb59f61200ef63fbc3055459c744417baaf0a747eb49de35f65742e006ad1165b1c3e691cb82e7f60aa00ab78c79f9 SHA512 54477c0f9fe2c920580e2e6c3f6c12828f3be2c3dfc1fee47ad98cab51ae3652cb3f223413e9de9399487a35ce844d502ce12fbf615102c0e1962b7dc96a9d95 -DIST netdata-1.6.0.tar.gz 2526589 BLAKE2B 209913f3ffc3afee30c24bf95eba8d1ff3f12154e9b5b8af3f311de2386d8aa1cde08ecf40464cdc5b0321511f0ec61fe9192b54aa15bb4291e8c99bea5b634b SHA512 9514fd320fc944897961f9581c123f37fb956dc3ae324a879744fabb0d853e8c6a1d62faf7a486f89a0507b2179f746e8dd0943443eb4744311e905a8c06aed6 -DIST netdata-1.7.0.tar.gz 2646936 BLAKE2B fbd0dd17e26e79f993e5daad5dfe55c84ba58e0f4a2f67015ab53729234b2a814bcd8132210819a7c39864d80f34ef505c6c5e5f2b21013d4ed580bbe414e08e SHA512 f7204d77963c06c010b91fb9df47b79cc03070a730f0c09d599a0ec606510f449bab3c8429db2df1494e4cee330c2229300de010c3ec705fe91376d92adf48fd DIST netdata-1.8.0.tar.gz 2779648 BLAKE2B 537d39c3f24ec53fbc7156663cf842143c560b8f8b40647d68e3ad0772bea441a70c7550da213bb0c5d75e0a0d685f32388f95f36e1e1101a0d619f44523c9f4 SHA512 8bb21f49ce1fcf3d199eabd18f65d5005ef784b227f08cd8efe91e5cab2ae980cf0aea4bcaa3aca1dc666c10845684deca48257510ad574bd948ecd019afcdaf DIST netdata-1.9.0.tar.gz 2483847 BLAKE2B 7f1bcc9cc5768a91b39c39cac04f877472d008630dfa3da97c0893c3cceeed721fb2982fce1f377267cf76e2a9ea70cca650d53bdd442e944820b0356f2700ea SHA512 d17112e2222e48a7d06704d03598e6020b6172f93a6f19e5577657fc5ffe902b8a0472f53b880552eb653e855da3e743a863db446520af008d3b75fb1b438e90 diff --git a/net-analyzer/netdata/files/netdata-1.4.0-glibc-sysmacros.patch b/net-analyzer/netdata/files/netdata-1.4.0-glibc-sysmacros.patch deleted file mode 100644 index 7722af2e1a8c..000000000000 --- a/net-analyzer/netdata/files/netdata-1.4.0-glibc-sysmacros.patch +++ /dev/null @@ -1,21 +0,0 @@ -From 471d1b5404cd60ea638450e39554ae2878fd5b0d Mon Sep 17 00:00:00 2001 -From: Costa Tsaousis <costa@tsaousis.gr> -Date: Tue, 20 Dec 2016 20:31:24 +0200 -Subject: [PATCH] added sys/sysmacros.h; fixes #1408 - ---- - src/common.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/common.h b/src/common.h -index c92c049..70cb4d6 100644 ---- a/src/common.h -+++ b/src/common.h -@@ -64,6 +64,7 @@ - #include <sys/syscall.h> - #include <sys/time.h> - #include <sys/types.h> -+#include <sys/sysmacros.h> // #1408 - #include <sys/wait.h> - #include <time.h> - #include <unistd.h> diff --git a/net-analyzer/netdata/netdata-1.2.0-r1.ebuild b/net-analyzer/netdata/netdata-1.2.0-r1.ebuild deleted file mode 100644 index 02c65adda6e2..000000000000 --- a/net-analyzer/netdata/netdata-1.2.0-r1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit linux-info systemd user fcaps - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://github.com/firehol/${PN}.git" - inherit git-r3 autotools - SRC_URI="" - KEYWORDS="" -else - SRC_URI="https://firehol.org/download/${PN}/releases/v${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="Linux real time system monitoring, done right!" -HOMEPAGE="https://github.com/firehol/netdata https://my-netdata.io/" - -LICENSE="GPL-3+ MIT BSD" -SLOT="0" -IUSE="+compression nfacct nodejs" - -# most unconditional dependencies are for plugins.d/charts.d.plugin: -RDEPEND=" - >=app-shells/bash-4:0 - net-misc/curl - net-misc/wget - virtual/awk - compression? ( sys-libs/zlib ) - nfacct? ( - net-firewall/nfacct - net-libs/libmnl - ) - nodejs? ( - net-libs/nodejs - )" - -DEPEND="${RDEPEND} - virtual/pkgconfig" - -: ${NETDATA_USER:=netdata} -: ${NETDATA_GROUP:=netdata} - -FILECAPS=( - 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin' -) - -pkg_setup() { - linux-info_pkg_setup - - enewgroup ${PN} - enewuser ${PN} -1 -1 / ${PN} -} - -src_prepare() { - default - [[ ${PV} == "9999" ]] && eautoreconf -} - -src_configure() { - econf \ - --localstatedir=/var \ - --with-user=${NETDATA_USER} \ - $(use_enable nfacct plugin-nfacct) \ - $(use_with compression zlib) -} - -src_install() { - default - - fowners ${NETDATA_USER}:${NETDATA_GROUP} /var/log/netdata - fowners ${NETDATA_USER}:${NETDATA_GROUP} /var/cache/netdata - - chown -Rc ${NETDATA_USER}:${NETDATA_GROUP} "${ED}"/usr/share/${PN} || die - - newinitd system/netdata-openrc ${PN} - systemd_dounit system/netdata.service -} diff --git a/net-analyzer/netdata/netdata-1.3.0.ebuild b/net-analyzer/netdata/netdata-1.3.0.ebuild deleted file mode 100644 index e7e9b14a560b..000000000000 --- a/net-analyzer/netdata/netdata-1.3.0.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python{2_7,3_4,3_5} ) - -inherit fcaps linux-info python-r1 systemd user - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://github.com/firehol/${PN}.git" - inherit git-r3 autotools - SRC_URI="" - KEYWORDS="" -else - SRC_URI="https://firehol.org/download/${PN}/releases/v${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="Linux real time system monitoring, done right!" -HOMEPAGE="https://github.com/firehol/netdata https://my-netdata.io/" - -LICENSE="GPL-3+ MIT BSD" -SLOT="0" -IUSE="+compression mysql nfacct nodejs +python" -REQUIRED_USE=" - mysql? ( python ) - python? ( ${PYTHON_REQUIRED_USE} )" -# most unconditional dependencies are for plugins.d/charts.d.plugin: -RDEPEND=" - >=app-shells/bash-4:0 - net-misc/curl - net-misc/wget - virtual/awk - net-libs/libmnl - || ( net-analyzer/netcat6 net-analyzer/netcat ) - net-analyzer/tcpdump - net-analyzer/traceroute - compression? ( sys-libs/zlib ) - python? ( - ${PYTHON_DEPS} - dev-python/pyyaml[${PYTHON_USEDEP}] - mysql? ( - || ( dev-python/mysqlclient[${PYTHON_USEDEP}] dev-python/mysql-python[${PYTHON_USEDEP}] ) - ) - ) - nfacct? ( - net-firewall/nfacct - net-libs/libmnl - ) - nodejs? ( - net-libs/nodejs - )" - -DEPEND="${RDEPEND} - virtual/pkgconfig" - -: ${NETDATA_USER:=netdata} -: ${NETDATA_GROUP:=netdata} - -FILECAPS=( - 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin' -) - -pkg_setup() { - linux-info_pkg_setup - - enewgroup ${PN} - enewuser ${PN} -1 -1 / ${PN} -} - -src_prepare() { - default - [[ ${PV} == "9999" ]] && eautoreconf -} - -src_configure() { - econf \ - --localstatedir=/var \ - --with-user=${NETDATA_USER} \ - $(use_enable nfacct plugin-nfacct) \ - $(use_with compression zlib) -} - -src_install() { - default - - fowners ${NETDATA_USER}:${NETDATA_GROUP} /var/log/netdata - fowners ${NETDATA_USER}:${NETDATA_GROUP} /var/cache/netdata - - fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /usr/share/${PN} - - newinitd system/netdata-openrc ${PN} - systemd_dounit system/netdata.service -} diff --git a/net-analyzer/netdata/netdata-1.4.0-r1.ebuild b/net-analyzer/netdata/netdata-1.4.0-r1.ebuild deleted file mode 100644 index fa90f4bdc014..000000000000 --- a/net-analyzer/netdata/netdata-1.4.0-r1.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python{2_7,3_4,3_5} ) - -inherit fcaps linux-info python-r1 systemd user - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://github.com/firehol/${PN}.git" - inherit git-r3 autotools - SRC_URI="" - KEYWORDS="" -else - SRC_URI="https://firehol.org/download/${PN}/releases/v${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="Linux real time system monitoring, done right!" -HOMEPAGE="https://github.com/firehol/netdata https://my-netdata.io/" - -LICENSE="GPL-3+ MIT BSD" -SLOT="0" -IUSE="+compression cpu_flags_x86_sse2 mysql nfacct nodejs +python" -REQUIRED_USE=" - mysql? ( python ) - python? ( ${PYTHON_REQUIRED_USE} )" -# most unconditional dependencies are for plugins.d/charts.d.plugin: -RDEPEND=" - >=app-shells/bash-4:0 - net-misc/curl - net-misc/wget - virtual/awk - net-libs/libmnl - || ( net-analyzer/netcat6 net-analyzer/netcat ) - net-analyzer/tcpdump - net-analyzer/traceroute - compression? ( sys-libs/zlib ) - python? ( - ${PYTHON_DEPS} - dev-python/pyyaml[${PYTHON_USEDEP}] - mysql? ( - || ( dev-python/mysqlclient[${PYTHON_USEDEP}] dev-python/mysql-python[${PYTHON_USEDEP}] ) - ) - ) - nfacct? ( - net-firewall/nfacct - net-libs/libmnl - ) - nodejs? ( - net-libs/nodejs - )" - -DEPEND="${RDEPEND} - virtual/pkgconfig" - -: ${NETDATA_USER:=netdata} -: ${NETDATA_GROUP:=netdata} - -FILECAPS=( - 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin' -) - -PATCHES=( - "${FILESDIR}"/${P}-glibc-sysmacros.patch -) - -pkg_setup() { - linux-info_pkg_setup - - enewgroup ${PN} - enewuser ${PN} -1 -1 / ${PN} -} - -src_prepare() { - default - [[ ${PV} == "9999" ]] && eautoreconf -} - -src_configure() { - econf \ - --localstatedir=/var \ - --with-user=${NETDATA_USER} \ - $(use_enable nfacct plugin-nfacct) \ - $(use_enable cpu_flags_x86_sse2 x86-sse) \ - $(use_with compression zlib) -} - -src_install() { - default - - fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/log/netdata - fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/cache/netdata - fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/lib/netdata - - fowners -Rc root:${NETDATA_GROUP} /usr/share/${PN} - - newinitd system/netdata-openrc ${PN} - systemd_dounit system/netdata.service - insinto /etc/netdata - doins system/netdata.conf -} diff --git a/net-analyzer/netdata/netdata-1.5.0.ebuild b/net-analyzer/netdata/netdata-1.5.0.ebuild deleted file mode 100644 index f8e7926d3d72..000000000000 --- a/net-analyzer/netdata/netdata-1.5.0.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python{2_7,3_4,3_5} ) - -inherit autotools fcaps linux-info python-r1 systemd user - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://github.com/firehol/${PN}.git" - inherit git-r3 - SRC_URI="" - KEYWORDS="" -else - SRC_URI="https://github.com/firehol/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="Linux real time system monitoring, done right!" -HOMEPAGE="https://github.com/firehol/netdata https://my-netdata.io/" - -LICENSE="GPL-3+ MIT BSD" -SLOT="0" -IUSE="+compression cpu_flags_x86_sse2 mysql nfacct nodejs postgres +python" -REQUIRED_USE=" - mysql? ( python ) - python? ( ${PYTHON_REQUIRED_USE} )" -# most unconditional dependencies are for plugins.d/charts.d.plugin: -RDEPEND=" - >=app-shells/bash-4:0 - net-misc/curl - net-misc/wget - virtual/awk - net-libs/libmnl - || ( net-analyzer/netcat6 net-analyzer/netcat ) - net-analyzer/tcpdump - net-analyzer/traceroute - compression? ( sys-libs/zlib ) - python? ( - ${PYTHON_DEPS} - dev-python/pyyaml[${PYTHON_USEDEP}] - mysql? ( - || ( dev-python/mysqlclient[${PYTHON_USEDEP}] dev-python/mysql-python[${PYTHON_USEDEP}] ) - ) - postgres? ( - dev-python/psycopg:2[${PYTHON_USEDEP}] - ) - ) - nfacct? ( - net-firewall/nfacct - net-libs/libmnl - ) - nodejs? ( - net-libs/nodejs - )" - -DEPEND="${RDEPEND} - virtual/pkgconfig" - -: ${NETDATA_USER:=netdata} -: ${NETDATA_GROUP:=netdata} - -FILECAPS=( - 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin' -) - -pkg_setup() { - linux-info_pkg_setup - - enewgroup ${PN} - enewuser ${PN} -1 -1 / ${PN} -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf \ - --localstatedir="${EPREFIX}"/var \ - --with-user=${NETDATA_USER} \ - $(use_enable nfacct plugin-nfacct) \ - $(use_enable cpu_flags_x86_sse2 x86-sse) \ - $(use_with compression zlib) -} - -src_install() { - default - - fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/log/netdata - fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/cache/netdata - fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/lib/netdata - - fowners -Rc root:${NETDATA_GROUP} /usr/share/${PN} - - newinitd system/netdata-openrc ${PN} - systemd_dounit system/netdata.service - insinto /etc/netdata - doins system/netdata.conf -} diff --git a/net-analyzer/netdata/netdata-1.6.0.ebuild b/net-analyzer/netdata/netdata-1.6.0.ebuild deleted file mode 100644 index e2948db1d764..000000000000 --- a/net-analyzer/netdata/netdata-1.6.0.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) - -inherit autotools fcaps linux-info python-r1 systemd user - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/firehol/${PN}.git" - inherit git-r3 -else - SRC_URI="https://github.com/firehol/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="Linux real time system monitoring, done right!" -HOMEPAGE="https://github.com/firehol/netdata https://my-netdata.io/" - -LICENSE="GPL-3+ MIT BSD" -SLOT="0" -IUSE="caps +compression cpu_flags_x86_sse2 ipmi mysql nfacct nodejs postgres +python" -REQUIRED_USE=" - mysql? ( python ) - python? ( ${PYTHON_REQUIRED_USE} )" -# most unconditional dependencies are for plugins.d/charts.d.plugin: -RDEPEND=" - >=app-shells/bash-4:0 - || ( - net-analyzer/netcat6 - net-analyzer/netcat - ) - net-analyzer/tcpdump - net-analyzer/traceroute - net-misc/curl - net-misc/wget - sys-apps/util-linux - virtual/awk - caps? ( sys-libs/libcap ) - compression? ( sys-libs/zlib ) - ipmi? ( sys-libs/freeipmi ) - nfacct? ( - net-firewall/nfacct - net-libs/libmnl - ) - nodejs? ( net-libs/nodejs ) - python? ( - ${PYTHON_DEPS} - dev-python/pyyaml[${PYTHON_USEDEP}] - mysql? ( - || ( - dev-python/mysqlclient[${PYTHON_USEDEP}] - dev-python/mysql-python[${PYTHON_USEDEP}] - ) - ) - postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] ) - )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -: ${NETDATA_USER:=netdata} -: ${NETDATA_GROUP:=netdata} - -FILECAPS=( - 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin' -) - -pkg_setup() { - linux-info_pkg_setup - - enewgroup ${PN} - enewuser ${PN} -1 -1 / ${PN} -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf \ - --localstatedir="${EPREFIX}"/var \ - --with-user=${NETDATA_USER} \ - $(use_enable nfacct plugin-nfacct) \ - $(use_enable ipmi plugin-freeipmi) \ - $(use_enable cpu_flags_x86_sse2 x86-sse) \ - $(use_with compression zlib) -} - -src_install() { - default - - fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/log/netdata - fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/cache/netdata - fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/lib/netdata - - fowners -Rc root:${NETDATA_GROUP} /usr/share/${PN} - - newinitd system/netdata-openrc ${PN} - systemd_dounit system/netdata.service - insinto /etc/netdata - doins system/netdata.conf -} diff --git a/net-analyzer/netdata/netdata-1.7.0.ebuild b/net-analyzer/netdata/netdata-1.7.0.ebuild deleted file mode 100644 index e2948db1d764..000000000000 --- a/net-analyzer/netdata/netdata-1.7.0.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) - -inherit autotools fcaps linux-info python-r1 systemd user - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/firehol/${PN}.git" - inherit git-r3 -else - SRC_URI="https://github.com/firehol/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="Linux real time system monitoring, done right!" -HOMEPAGE="https://github.com/firehol/netdata https://my-netdata.io/" - -LICENSE="GPL-3+ MIT BSD" -SLOT="0" -IUSE="caps +compression cpu_flags_x86_sse2 ipmi mysql nfacct nodejs postgres +python" -REQUIRED_USE=" - mysql? ( python ) - python? ( ${PYTHON_REQUIRED_USE} )" -# most unconditional dependencies are for plugins.d/charts.d.plugin: -RDEPEND=" - >=app-shells/bash-4:0 - || ( - net-analyzer/netcat6 - net-analyzer/netcat - ) - net-analyzer/tcpdump - net-analyzer/traceroute - net-misc/curl - net-misc/wget - sys-apps/util-linux - virtual/awk - caps? ( sys-libs/libcap ) - compression? ( sys-libs/zlib ) - ipmi? ( sys-libs/freeipmi ) - nfacct? ( - net-firewall/nfacct - net-libs/libmnl - ) - nodejs? ( net-libs/nodejs ) - python? ( - ${PYTHON_DEPS} - dev-python/pyyaml[${PYTHON_USEDEP}] - mysql? ( - || ( - dev-python/mysqlclient[${PYTHON_USEDEP}] - dev-python/mysql-python[${PYTHON_USEDEP}] - ) - ) - postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] ) - )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -: ${NETDATA_USER:=netdata} -: ${NETDATA_GROUP:=netdata} - -FILECAPS=( - 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin' -) - -pkg_setup() { - linux-info_pkg_setup - - enewgroup ${PN} - enewuser ${PN} -1 -1 / ${PN} -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf \ - --localstatedir="${EPREFIX}"/var \ - --with-user=${NETDATA_USER} \ - $(use_enable nfacct plugin-nfacct) \ - $(use_enable ipmi plugin-freeipmi) \ - $(use_enable cpu_flags_x86_sse2 x86-sse) \ - $(use_with compression zlib) -} - -src_install() { - default - - fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/log/netdata - fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/cache/netdata - fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/lib/netdata - - fowners -Rc root:${NETDATA_GROUP} /usr/share/${PN} - - newinitd system/netdata-openrc ${PN} - systemd_dounit system/netdata.service - insinto /etc/netdata - doins system/netdata.conf -} diff --git a/net-analyzer/netdata/netdata-1.8.0.ebuild b/net-analyzer/netdata/netdata-1.8.0.ebuild deleted file mode 100644 index e2948db1d764..000000000000 --- a/net-analyzer/netdata/netdata-1.8.0.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) - -inherit autotools fcaps linux-info python-r1 systemd user - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/firehol/${PN}.git" - inherit git-r3 -else - SRC_URI="https://github.com/firehol/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="Linux real time system monitoring, done right!" -HOMEPAGE="https://github.com/firehol/netdata https://my-netdata.io/" - -LICENSE="GPL-3+ MIT BSD" -SLOT="0" -IUSE="caps +compression cpu_flags_x86_sse2 ipmi mysql nfacct nodejs postgres +python" -REQUIRED_USE=" - mysql? ( python ) - python? ( ${PYTHON_REQUIRED_USE} )" -# most unconditional dependencies are for plugins.d/charts.d.plugin: -RDEPEND=" - >=app-shells/bash-4:0 - || ( - net-analyzer/netcat6 - net-analyzer/netcat - ) - net-analyzer/tcpdump - net-analyzer/traceroute - net-misc/curl - net-misc/wget - sys-apps/util-linux - virtual/awk - caps? ( sys-libs/libcap ) - compression? ( sys-libs/zlib ) - ipmi? ( sys-libs/freeipmi ) - nfacct? ( - net-firewall/nfacct - net-libs/libmnl - ) - nodejs? ( net-libs/nodejs ) - python? ( - ${PYTHON_DEPS} - dev-python/pyyaml[${PYTHON_USEDEP}] - mysql? ( - || ( - dev-python/mysqlclient[${PYTHON_USEDEP}] - dev-python/mysql-python[${PYTHON_USEDEP}] - ) - ) - postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] ) - )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -: ${NETDATA_USER:=netdata} -: ${NETDATA_GROUP:=netdata} - -FILECAPS=( - 'cap_dac_read_search,cap_sys_ptrace+ep' 'usr/libexec/netdata/plugins.d/apps.plugin' -) - -pkg_setup() { - linux-info_pkg_setup - - enewgroup ${PN} - enewuser ${PN} -1 -1 / ${PN} -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf \ - --localstatedir="${EPREFIX}"/var \ - --with-user=${NETDATA_USER} \ - $(use_enable nfacct plugin-nfacct) \ - $(use_enable ipmi plugin-freeipmi) \ - $(use_enable cpu_flags_x86_sse2 x86-sse) \ - $(use_with compression zlib) -} - -src_install() { - default - - fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/log/netdata - fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/cache/netdata - fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/lib/netdata - - fowners -Rc root:${NETDATA_GROUP} /usr/share/${PN} - - newinitd system/netdata-openrc ${PN} - systemd_dounit system/netdata.service - insinto /etc/netdata - doins system/netdata.conf -} |