summaryrefslogtreecommitdiff
path: root/net-analyzer
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-28 19:13:18 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-28 19:13:18 +0000
commit9173ac495b70d91abace8e732906b844522cdb3b (patch)
treed4dced96e0b1f492507e987b1ced7cf582a985e4 /net-analyzer
parentac4d0ec6279a51ce08af9e3293666bc339be6b6f (diff)
gentoo auto-resync : 28:03:2024 - 19:13:18
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/Manifest.gzbin43597 -> 43592 bytes
-rw-r--r--net-analyzer/netdata/Manifest4
-rw-r--r--net-analyzer/netdata/netdata-1.45.1.ebuild155
-rw-r--r--net-analyzer/netdata/netdata-9999.ebuild6
-rw-r--r--net-analyzer/shodan/Manifest2
-rw-r--r--net-analyzer/shodan/shodan-1.31.0.ebuild2
6 files changed, 164 insertions, 5 deletions
diff --git a/net-analyzer/Manifest.gz b/net-analyzer/Manifest.gz
index c1084a4d0bcb..1bc620e6104d 100644
--- a/net-analyzer/Manifest.gz
+++ b/net-analyzer/Manifest.gz
Binary files differ
diff --git a/net-analyzer/netdata/Manifest b/net-analyzer/netdata/Manifest
index 12c3393e66bd..2daac79a6ee8 100644
--- a/net-analyzer/netdata/Manifest
+++ b/net-analyzer/netdata/Manifest
@@ -1,7 +1,9 @@
AUX netdata-1.44.0-dbengine.patch 1703 BLAKE2B 50af2960a6bf44361a5d9a0bd916c6909874211e170bd986794d901503e841fc3dd7ff1cbb5d2d97a86506b84d0bdc1a1199e3da6615d6f3e94486fba53eac31 SHA512 5b223f522bb25f5ace9e1622cd7d23526343c5499dccf10ea2353524d089134742b5cdf11c7f2f813844b0a96b8f469c485cccb282f49bd07e097108da2f085c
DIST netdata-1.44.0.tar.gz 47423685 BLAKE2B 2b430d07abed1e49c5b7a3c24188446e929301eecc849d03ee9c33860f13942dbc06453401d166195b1aadd16e28e19b7533d16fc10e6f3eca51117b52485a85 SHA512 ef3534351504385ac33e18917a839c6506c377a4f25246d8819da916c6e46ae3d2d6f5422e8a685fd3aabbf851829233943abce8a8aeba0ce94db011ed406602
DIST netdata-1.45.0.tar.gz 74873918 BLAKE2B c7b255b25e48f3594c652f69b80a9b18ea836dfb11d1e82606240a83baf4d62d1f14a718e933f3c9455333971c9a5dac8b48f3cebd0bfcc52b0cb91a34af7920 SHA512 d6e3b3def40995fb25afc5cb6e6ce83b7f6a33e095351f16bf8a5279196638b62a2b4175cb513a262eb2b6981952c129c58302ecf6b9d0d720fb7e0f27d43d29
+DIST netdata-1.45.1.tar.gz 74875031 BLAKE2B 9d1f912288f316f2a08bb2d91b99a5e401107d27d8ff795806e93142a6f0dbaefdab9d0bef4a4790a4d3ab3c5820e5dd16e175543c1dcdbf5d010dfb68811eeb SHA512 f658f40084d2b7accbcfe59b853bb63f2701b65358ca29eff354447819eeff9309fde207b49bff1b02c9d8f23fa4ec74269bbd083840d6d3ac0e657600952f83
EBUILD netdata-1.44.0.ebuild 4211 BLAKE2B 7221dc851b930b76f7a90b8062025ee723fe5bff7f64a69afe3e857136d2277a0b0c51b516861b26848df9bd1fe9a0a12dc5c078a814e8c16bc42f63fa03641f SHA512 1d9249bbeddb683e00e2a0116e8452eaa62ca2fbcf78b38f89771e030cb6acd6e34bd610936018b2c63f643ecc425a20f4d30acd57d2b45a8c599086fb5a26a7
EBUILD netdata-1.45.0.ebuild 4121 BLAKE2B 49dfa6968028fd971988f81c8be6486320fb5495be24488699bd74a22eccb3c6bf7fcf39e80494c6a91977802fb2f73aaf6f104eddccacea55561373ed6bb814 SHA512 d5e3844698bad17c232301a399ac43a3b353381382c4992bfce3f6a30f8a97247c8bb8a6e945b2f9b5acd8d10ab6b1acdb8b650e017b32ee9de209cf14b3a7da
-EBUILD netdata-9999.ebuild 4032 BLAKE2B 1ca438fbb94842ff0d24a805e610b44e82754b5392bcb96ab8aa1cc3863c37d4fa2425f9d9ca32bc357c44a765d82345643459ee6f57cfb5c164841c3a3b1fa7 SHA512 c6a1311f67085ff05a3a2979280c21deb728f641ea8576cbbcd87ad76c7aabf6134795b55505d4e306a65f3b88d3a981f0a155827a7c9f30f374d29e7f50655e
+EBUILD netdata-1.45.1.ebuild 4121 BLAKE2B 49dfa6968028fd971988f81c8be6486320fb5495be24488699bd74a22eccb3c6bf7fcf39e80494c6a91977802fb2f73aaf6f104eddccacea55561373ed6bb814 SHA512 d5e3844698bad17c232301a399ac43a3b353381382c4992bfce3f6a30f8a97247c8bb8a6e945b2f9b5acd8d10ab6b1acdb8b650e017b32ee9de209cf14b3a7da
+EBUILD netdata-9999.ebuild 4121 BLAKE2B 49dfa6968028fd971988f81c8be6486320fb5495be24488699bd74a22eccb3c6bf7fcf39e80494c6a91977802fb2f73aaf6f104eddccacea55561373ed6bb814 SHA512 d5e3844698bad17c232301a399ac43a3b353381382c4992bfce3f6a30f8a97247c8bb8a6e945b2f9b5acd8d10ab6b1acdb8b650e017b32ee9de209cf14b3a7da
MISC metadata.xml 1512 BLAKE2B 321d3c1be16a0fd3c64d89f96c510d68ea82fca12730183d2724f7a0f30fdcb94c2be2749a6f9651ae7effdf7c250e977f95cf03c865a20e03e136456429c2b3 SHA512 4bd5583efd1fee4a0f221708fedf6dcf424639852842c8ba1089a2303a57ae58ccfd302fc5fcbfdada65a56efa8c7c949b95eedde0133a770ef68ca6688bbefd
diff --git a/net-analyzer/netdata/netdata-1.45.1.ebuild b/net-analyzer/netdata/netdata-1.45.1.ebuild
new file mode 100644
index 000000000000..2d2fe2aeb560
--- /dev/null
+++ b/net-analyzer/netdata/netdata-1.45.1.ebuild
@@ -0,0 +1,155 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python{3_9,3_10,3_11} )
+
+inherit cmake fcaps linux-info optfeature python-single-r1 systemd
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/netdata/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/netdata/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-v${PV}"
+ KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+fi
+
+DESCRIPTION="Linux real time system monitoring, done right!"
+HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/"
+
+LICENSE="GPL-3+ MIT BSD"
+SLOT="0"
+IUSE="aclk bpf cloud cups +dbengine ipmi mongodb mysql nfacct nodejs postgres prometheus +python systemd tor xen"
+REQUIRED_USE="
+ mysql? ( python )
+ python? ( ${PYTHON_REQUIRED_USE} )
+ tor? ( python )"
+
+# most unconditional dependencies are for plugins.d/charts.d.plugin:
+RDEPEND="
+ acct-group/netdata
+ acct-user/netdata
+ app-misc/jq
+ >=app-shells/bash-4:0
+ || (
+ net-analyzer/openbsd-netcat
+ net-analyzer/netcat
+ )
+ net-libs/libwebsockets
+ net-misc/curl
+ net-misc/wget
+ sys-apps/util-linux
+ app-alternatives/awk
+ sys-libs/libcap
+ cups? ( net-print/cups )
+ app-arch/lz4:=
+ app-arch/zstd:=
+ app-arch/brotli:=
+ dbengine? (
+ dev-libs/judy
+ dev-libs/openssl:=
+ )
+ dev-libs/libpcre2:=
+ dev-libs/libuv:=
+ dev-libs/libyaml
+ dev-libs/protobuf:=
+ bpf? ( virtual/libelf:= )
+ sys-libs/zlib
+ ipmi? ( sys-libs/freeipmi )
+ dev-libs/json-c:=
+ mongodb? ( dev-libs/mongo-c-driver )
+ nfacct? (
+ net-firewall/nfacct
+ net-libs/libmnl:=
+ )
+ nodejs? ( net-libs/nodejs )
+ prometheus? (
+ app-arch/snappy:=
+ dev-libs/protobuf:=
+ )
+ python? (
+ ${PYTHON_DEPS}
+ $(python_gen_cond_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]')
+ mysql? ( $(python_gen_cond_dep 'dev-python/mysqlclient[${PYTHON_USEDEP}]') )
+ postgres? ( $(python_gen_cond_dep 'dev-python/psycopg:2[${PYTHON_USEDEP}]') )
+ tor? ( $(python_gen_cond_dep 'net-libs/stem[${PYTHON_USEDEP}]') )
+ )
+ xen? (
+ app-emulation/xen-tools
+ dev-libs/yajl
+ )
+ systemd? ( sys-apps/systemd )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+FILECAPS=(
+ 'cap_dac_read_search,cap_sys_ptrace+ep'
+ 'usr/libexec/netdata/plugins.d/apps.plugin'
+ 'usr/libexec/netdata/plugins.d/debugfs.plugin'
+)
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+ linux-info_pkg_setup
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_DISABLE_FIND_PACKAGE_Git=TRUE
+ -DCMAKE_INSTALL_PREFIX=/
+ -DENABLE_ACLK=$(usex aclk)
+ -DENABLE_CLOUD=$(usex cloud)
+ -DENABLE_DBENGINE=$(usex dbengine)
+ -DENABLE_PLUGIN_CUPS=$(usex cups)
+ -DENABLE_PLUGIN_NFACCT=$(usex nfacct)
+ -DENABLE_PLUGIN_FREEIPMI=$(usex ipmi)
+ -DENABLE_EXPORTER_MONGODB=$(usex mongodb)
+ -DENABLE_EXPORTER_PROMETHEUS_REMOTE_WRITE=$(usex prometheus)
+ -DENABLE_PLUGIN_XENSTAT=$(usex xen)
+ -DENABLE_PLUGIN_EBPF=$(usex bpf)
+ -DENABLE_PLUGIN_GO=FALSE
+ -DENABLE_PLUGIN_SYSTEMD_JOURNAL=$(usex systemd)
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ rm -rf "${D}/var/cache" || die
+ rm -rf "${D}/var/run" || die
+
+ keepdir /var/log/netdata
+ fowners -Rc netdata:netdata /var/log/netdata
+ keepdir /var/lib/netdata
+ keepdir /var/lib/netdata/registry
+ keepdir /var/lib/netdata/cloud.d
+ fowners -Rc netdata:netdata /var/lib/netdata
+
+ newinitd "${D}/usr/lib/netdata/system/openrc/init.d/netdata" "${PN}"
+ newconfd "${D}/usr/lib/netdata/system/openrc/conf.d/netdata" "${PN}"
+ systemd_newunit "${D}/usr/lib/netdata/system/systemd/netdata.service.v235" netdata.service
+ systemd_dounit "${D}/usr/lib/netdata/system/systemd/netdata-updater.service"
+ systemd_dounit "${D}/usr/lib/netdata/system/systemd/netdata-updater.timer"
+ insinto /etc/netdata
+ doins system/netdata.conf
+}
+
+pkg_postinst() {
+ fcaps_pkg_postinst
+
+ if use nfacct ; then
+ fcaps 'cap_net_admin' 'usr/libexec/netdata/plugins.d/nfacct.plugin'
+ fi
+
+ if use xen ; then
+ fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/xenstat.plugin'
+ fi
+
+ if use ipmi ; then
+ fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/freeipmi.plugin'
+ fi
+
+ optfeature "go.d external plugin" net-analyzer/netdata-go-plugin
+}
diff --git a/net-analyzer/netdata/netdata-9999.ebuild b/net-analyzer/netdata/netdata-9999.ebuild
index 56ca10202a2c..2d2fe2aeb560 100644
--- a/net-analyzer/netdata/netdata-9999.ebuild
+++ b/net-analyzer/netdata/netdata-9999.ebuild
@@ -20,7 +20,7 @@ HOMEPAGE="https://github.com/netdata/netdata https://my-netdata.io/"
LICENSE="GPL-3+ MIT BSD"
SLOT="0"
-IUSE="aclk bpf cloud cups +dbengine ipmi mongodb mysql nfacct nodejs postgres prometheus +python tor xen"
+IUSE="aclk bpf cloud cups +dbengine ipmi mongodb mysql nfacct nodejs postgres prometheus +python systemd tor xen"
REQUIRED_USE="
mysql? ( python )
python? ( ${PYTHON_REQUIRED_USE} )
@@ -78,7 +78,8 @@ RDEPEND="
xen? (
app-emulation/xen-tools
dev-libs/yajl
- )"
+ )
+ systemd? ( sys-apps/systemd )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
@@ -108,6 +109,7 @@ src_configure() {
-DENABLE_PLUGIN_XENSTAT=$(usex xen)
-DENABLE_PLUGIN_EBPF=$(usex bpf)
-DENABLE_PLUGIN_GO=FALSE
+ -DENABLE_PLUGIN_SYSTEMD_JOURNAL=$(usex systemd)
)
cmake_src_configure
}
diff --git a/net-analyzer/shodan/Manifest b/net-analyzer/shodan/Manifest
index 7a578adce1ba..79f026b4ca5e 100644
--- a/net-analyzer/shodan/Manifest
+++ b/net-analyzer/shodan/Manifest
@@ -3,6 +3,6 @@ DIST shodan-1.30.1.tar.gz 57908 BLAKE2B 21ef6f4ae2fd6a487e478627f8623dde4e2092fe
DIST shodan-1.31.0.tar.gz 57939 BLAKE2B 7d22e8ec9e32669494838ddef76115ce80ba4600ca71e5c7e9e6c91d82bbf2a55e5e754d7fd4018545c9dbba01fd21bd9fd444d4f2090938f09c7b1610b98100 SHA512 fe66fdd4ae1088d165a2acd67f85a54a9fcbed8130ee5e2a5764d318fa0c50fb472fd5a76ce72f84fcfdb4c74c29ae2e14881f86468fb177ddc3191cb95d3b67
EBUILD shodan-1.30.0.ebuild 819 BLAKE2B fa78e42de212a3f459b1adb962e22b40257ebcf20f92f17f355c767602ab82c9aabd0d35c86ece72b127948189ccd30b01ff7316a3d8f21c79b2b753cab5237d SHA512 3d80b56547ab01f51fa62a26ae1916e24b5c43b21cc44538b445e989d42c97ce0716de90f5dcf5e58dc76e25cd28dcbe18551cdc8079190103a41dcfe5abaece
EBUILD shodan-1.30.1.ebuild 821 BLAKE2B 13d48076f9c15cccdff65a8493d95a622378a925ccee82280b9ae9dc7b88c57deb33546e756f4f728bbf66587a6b27838b429683e0c88a1f409624c79be1cfcc SHA512 5f00d584c7d813ce0b1bc186674c4a09748e156ae22b4a5111887f50f00d31b50055764466292da0242b57dde61d8ddcd5dcda3abe88f186c1cd5a3d337f354f
-EBUILD shodan-1.31.0.ebuild 821 BLAKE2B 7bbf311ec215fbfaaac49a3ba0d4c2c0ce23aad579f10d11181e523a15b468c81d7da0c80e0c665a36f53506468a65a104d4343da8c996848a9bfc980e829350 SHA512 8ed59ad170c1ebde8005c348af20ddc499d4af135aa24e5bd10a66bfa48ab2a902a1fae04d3132fa517e74937f1bcdc375aa7d7f7d84651c0b110aeae45c90ed
+EBUILD shodan-1.31.0.ebuild 819 BLAKE2B 7e998ccbd648bd02a3b04f42646a34b7b3d9d4425a4adb08955fa926afa810d4693339c7786cfc3487773e71a8edf9088093d3fec4f200fcef91033c1f57ee4c SHA512 72d64c749e17f3e964aee28f3d89e605758b63d1a7aa52be48a4e77e5d5576ffcf942317cc531153a3583f9b3b279535ac7924c482497a9508e578682ca92c80
EBUILD shodan-9999.ebuild 821 BLAKE2B 13d48076f9c15cccdff65a8493d95a622378a925ccee82280b9ae9dc7b88c57deb33546e756f4f728bbf66587a6b27838b429683e0c88a1f409624c79be1cfcc SHA512 5f00d584c7d813ce0b1bc186674c4a09748e156ae22b4a5111887f50f00d31b50055764466292da0242b57dde61d8ddcd5dcda3abe88f186c1cd5a3d337f354f
MISC metadata.xml 864 BLAKE2B 1eeb1a52185cac9195cc62b3e74d0dfb7df895666303bbbf562a4b75363b0179137de3cf99c8d650f59a13f972bfbdece972783ba282870a501289950d9cec6c SHA512 737b931e809418e0fe940ac6026d52edce42d0b5da30372394403210688caab00d8c99807b640de74383f3e4daafc3e09764bdde31e54d9898a11aff60f4f2c4
diff --git a/net-analyzer/shodan/shodan-1.31.0.ebuild b/net-analyzer/shodan/shodan-1.31.0.ebuild
index 3afaf54e6485..be21ef2b1735 100644
--- a/net-analyzer/shodan/shodan-1.31.0.ebuild
+++ b/net-analyzer/shodan/shodan-1.31.0.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} = "9999" ]]; then
EGIT_REPO_URI="https://github.com/achillean/shodan-python.git"
else
inherit pypi
- KEYWORDS="~amd64 ~loong ~x86"
+ KEYWORDS="amd64 ~loong x86"
fi
LICENSE="MIT"