diff options
Diffstat (limited to 'net-analyzer')
97 files changed, 1792 insertions, 803 deletions
diff --git a/net-analyzer/2ping/2ping-4.5.1-r1.ebuild b/net-analyzer/2ping/2ping-4.5.1-r1.ebuild index e26ab3b49f42..7b312eae9133 100644 --- a/net-analyzer/2ping/2ping-4.5.1-r1.ebuild +++ b/net-analyzer/2ping/2ping-4.5.1-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit bash-completion-r1 distutils-r1 DESCRIPTION="A bi-directional ping utility" diff --git a/net-analyzer/2ping/Manifest b/net-analyzer/2ping/Manifest index 57aa921e0a50..639a9e57a116 100644 --- a/net-analyzer/2ping/Manifest +++ b/net-analyzer/2ping/Manifest @@ -1,5 +1,5 @@ AUX 2pingd 692 BLAKE2B f393bc602a4e39f77970946926bae178f9181476f7331b9a91f1dddc689ba360d8479b28e9a0b16d25864954664e6b0915149077620aa9d0fec00a85ef68b257 SHA512 7d898b96e6888233b7628af7a9a0641a4ce2f6ebe38192b88bb7f479d99067f6d34843f1b43746eed03b7512782496534e35240abf8b866a4e8f00ee9421deb1 AUX 2pingd.conf 57 BLAKE2B 79c2a05661e342d5a5c3903071d42864d3185d6f387a6b73f129a70cadfadf081f43d9bdfea22281170b0ad27ec17f9b3612cf40b570390f44f845d7ca4555d0 SHA512 c8c666116e841b86a1f17a891453e6ea25976ad485b8299062971b45395420dd46ecc9ac36cb1de5000207372f8586850f62c6178ece5f70732bf17ae9ab4af9 DIST 2ping-4.5.1.tar.gz 77053 BLAKE2B e1255264dde4e0deb2d064e0acbaf96270e64a057334a0c0eea4e413e472cd52ffdf2181718dca4309eb8843791ef2bef866b7cf5642f9ff41e9916c3d7180e0 SHA512 13ab8c34d6b4e8d53bc0f1c33afa1c71bf61313d29350d2211a44557b244062cb090cf5d66cc6eed58f9f4c41a667bb24a8c1155243864e8343c741770b60cd6 -EBUILD 2ping-4.5.1-r1.ebuild 799 BLAKE2B 0eb8020ec1adf1c0ba55e61bfe32c05e686264c6e67c6961f46df9752baf20a430e3d094eae9fcd3d39a548e5999a39940b481183c31c8c81787a808a2080c27 SHA512 058812f1f5b41277a819a41e69175c880bea13aca22ce21e65b68664d1086a282c2d38097d5e96219730c1fb8ac83f105e9b04191fa45eb0d68cc6d8593d7e63 +EBUILD 2ping-4.5.1-r1.ebuild 800 BLAKE2B 9fc74af70b610c01c1a568014824c9b729a2c512a8f84395be6ee3fbc121a1df5395cf074c49f3d51e2c8e82676ff48dcf47f2f7dd4d078ca3db25b71859ce3b SHA512 34c07530b54839bf4f335f05ac580ea6e63044ce11ae2f98c044f424bb4a1e16e01b0ee6e9ae462a41537001fd99eecee104b445e44932839f16ec6feacdfbea MISC metadata.xml 347 BLAKE2B 40f37c70a9ffa3621005d0218294e5b3fbf375d09a39678a46915477f39ba4d1db5b1716eed9a456cb64ce5bc89650c418a43f9586fb70d7a80041455e2898f7 SHA512 c7cdbb41b1648208ef549ad2667488970f6be667747181357e787bc7d264803a3faaaeb1e8f72a242e17539191b7d71caf489aba9d07a1824d028623bf30e091 diff --git a/net-analyzer/Manifest.gz b/net-analyzer/Manifest.gz Binary files differindex 89de99dfa0d5..9fc1ee7cdee9 100644 --- a/net-analyzer/Manifest.gz +++ b/net-analyzer/Manifest.gz diff --git a/net-analyzer/boreas/Manifest b/net-analyzer/boreas/Manifest new file mode 100644 index 000000000000..f4f3845479e2 --- /dev/null +++ b/net-analyzer/boreas/Manifest @@ -0,0 +1,4 @@ +AUX boreas-22.5.0-fix-leading-withespaces-ldflags-libpcap.patch 527 BLAKE2B f5c91d97d33e3626c22e9fee5bc1a1b23804fe0c2b153ef91231270db9a6fde634ba5209384ea82f9bc47012d321a33760502f25ba61071aa7a5a9049b1d8497 SHA512 c37d49f0826d5d74964fa12599c5b722852a20a4e3d4dfaed3d377084a19c5118a4addb92f04b4d5aa68e12281a35450ce3639d54c29bf039a561a2927257ef2 +DIST boreas-22.5.0.tar.gz 128205 BLAKE2B eea2c1bc488c4d54cd678d081846b76789de225daffcd4157ff7b33e6286fcbf7cf6e7961cbfa53f8d849f50da2c12e0c97e44439861c4cb7d79eb8f047a36bc SHA512 46b4982b20e02826296da56415fac0ddfa2703e9154c46352a6140eedf62c57eb14a4d7423c6f2d6e38eef764b36e975aa03cd38987a1664978092dcaddbe7fc +EBUILD boreas-22.5.0.ebuild 1007 BLAKE2B 12e3533f36c38935c18fe76f38e8a92b12e7efc6075f4ca0dd00df66889e04a9f8908040fc409b06f0fdfff1fa15877da62053e41173180c0d43a7ac46195171 SHA512 8f4e10da43e2367d47bc058dd32ee4f20944285137bc77d84e43d992b6f41d5ea70545ffe613b0d52b979d6f6f603246975d699bd26b978c0e8f25bf6382e2fb +MISC metadata.xml 817 BLAKE2B 1b69e9833ca3928c840ba5f2a62b1f1006f1f56a0e1e187f330e7d9d11776aa7b7b8bd916d050e37ff4c55a92c73dcd71808470afe15af09bcbcadc7ca0fcbd5 SHA512 09ec88d099a7f5fc5172b21469125473450fb25db8dfe584c955e9118e31154382ae533d7354e40d0604ce6ac11bca72591f503b428c5f33db23eca72dee660d diff --git a/net-analyzer/boreas/boreas-22.5.0.ebuild b/net-analyzer/boreas/boreas-22.5.0.ebuild new file mode 100644 index 000000000000..98af841fb49b --- /dev/null +++ b/net-analyzer/boreas/boreas-22.5.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Greenbone Scanner for alive hosts" +HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/boreas" +SRC_URI="https://github.com/greenbone/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +DEPEND=" + >=dev-libs/glib-2.42:2 + >=net-analyzer/gvm-libs-22.4.1 + net-libs/libpcap +" +RDEPEND="${DEPEND}" + +BDEPEND=" + doc? ( + app-text/doxygen + app-text/xmltoman + ) + test? ( dev-libs/cgreen ) +" + +PATCHES=( + # Fix cmake error https://cmake.org/cmake/help/latest/policy/CMP0004.html + # PR upstream: https://github.com/greenbone/boreas/pull/66 + "${FILESDIR}"/boreas-22.5.0-fix-leading-withespaces-ldflags-libpcap.patch +) + +src_configure() { + local mycmakeargs=( + "-DLOCALSTATEDIR=${EPREFIX}/var" + "-DSYSCONFDIR=${EPREFIX}/etc" + "-DBINDIR=${EPREFIX}/usr/bin" + ) + cmake_src_configure +} diff --git a/net-analyzer/boreas/files/boreas-22.5.0-fix-leading-withespaces-ldflags-libpcap.patch b/net-analyzer/boreas/files/boreas-22.5.0-fix-leading-withespaces-ldflags-libpcap.patch new file mode 100644 index 000000000000..9196531765fe --- /dev/null +++ b/net-analyzer/boreas/files/boreas-22.5.0-fix-leading-withespaces-ldflags-libpcap.patch @@ -0,0 +1,14 @@ +Fixes leading withespaces in LDFLAGS for libpcap +From: Giuseppe Foti <foti.giuseppe@gmail.com> +Upstream PR: https://github.com/greenbone/boreas/pull/66 + +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -32,6 +32,7 @@ if (PCAP_CONFIG) + execute_process (COMMAND pcap-config --libs + OUTPUT_VARIABLE PCAP_LDFLAGS + OUTPUT_STRIP_TRAILING_WHITESPACE) ++ string(STRIP ${PCAP_LDFLAGS} PCAP_LDFLAGS) + execute_process (COMMAND pcap-config --cflags + OUTPUT_VARIABLE PCAP_CFLAGS + OUTPUT_STRIP_TRAILING_WHITESPACE) diff --git a/net-analyzer/boreas/metadata.xml b/net-analyzer/boreas/metadata.xml new file mode 100644 index 000000000000..4ef252b3f88b --- /dev/null +++ b/net-analyzer/boreas/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>foti.giuseppe@gmail.com</email> + <name>Giuseppe Foti</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription lang="en"> + Boreas is a command line tool to scan for alive hosts. It supports IPv4 and IPv6 address ranges and allows to exclude certain addresses from a range. + The alive ping tests support ICMP, TCP-ACK, TCP-SYN and ARP and any combination. + For TCP ping an individual port list can be applied. + </longdescription> + <upstream> + <remote-id type="github">greenbone/boreas</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-analyzer/check_mk_agent/Manifest b/net-analyzer/check_mk_agent/Manifest deleted file mode 100644 index 3ca4158255dd..000000000000 --- a/net-analyzer/check_mk_agent/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST check-mk-raw-1.4.0p31.cre.tar.gz 314212612 BLAKE2B 07c9bda8524250f949a21204427d455ef0ac0a323fe38b66c7c4f03b50f7677099b5c24dae22f55fe1e1a2e475d541e1b643169a2368925e960ea514a03fd6b2 SHA512 b1dfe22e54a3d6f9c7f76b408adeb7ca46aa4b21d933149c1681bf87dae7af8f5bf645ba19b225f30b0057d8d075f657756019e3b908d3090e1d14451e7fcc0b -EBUILD check_mk_agent-1.4.0_p31.ebuild 2034 BLAKE2B fd61fb106c900c9b74615d53b4440d33bfa5a8d1107ba978ca8168537dda76f2182b3c3750d4f4bd8d7fc356f32cc52f38d184f41cea06509bee9b4843ad82fc SHA512 ceb3fa02f5cff39d5f3c239d9594cb5a10ca5a050faa3595103aaa4b8b5a8f82a938371c00717b2fbb1f303b6761559192fa81f31f67c1feae057b938d3e7adf -MISC metadata.xml 1098 BLAKE2B b82812e7feade23a52a57926d24c17965d174f22001668d66dc8821713d029c373657c1b7dee7436e540b9c5756368e5735f706cd9e5785b1bab832e0093db56 SHA512 d2438dfbd7f825bc99a9d534bd8093dedec925556f0cc060fc00115360daa2b700bc2cab44e70cde8dacba70d039a7a162322451449f6bec4b9ec6318f128fa5 diff --git a/net-analyzer/check_mk_agent/check_mk_agent-1.4.0_p31.ebuild b/net-analyzer/check_mk_agent/check_mk_agent-1.4.0_p31.ebuild deleted file mode 100644 index c41c9b1f3484..000000000000 --- a/net-analyzer/check_mk_agent/check_mk_agent-1.4.0_p31.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit systemd - -DESCRIPTION="Agent to report data to Check_MK for monitoring" -HOMEPAGE="http://mathias-kettner.de/check_mk.html" - -MY_PV="${PV/_p/p}" -MY_P="check-mk-raw-${MY_PV}.cre" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="apache_status inventory logwatch mysql nfsexports oracle postgres smart +xinetd zypper" - -RDEPEND="!!net-analyzer/check_mk - app-shells/bash:* - xinetd? ( || ( sys-apps/xinetd sys-apps/systemd ) ) - " -DEPEND="${RDEPEND}" - -SRC_URI="http://mathias-kettner.de/support/${MY_PV}/${MY_P}.tar.gz" - -src_unpack() { - # check_mk is a tarball containing tarballs - unpack ${A} - unpack "${WORKDIR}"/${MY_P}/packages/check_mk/check_mk-${MY_PV}.tar.gz - mkdir -p "${S}" || die - cd "${S}" || die - unpack "${WORKDIR}"/check_mk-${MY_PV}/agents.tar.gz - mkdir -p "${S}"/doc || die - cd "${S}"/doc || die - unpack "${WORKDIR}"/check_mk-${MY_PV}/doc.tar.gz -} - -src_install() { - # Install agent related files - newbin check_mk_agent.linux check_mk_agent - - keepdir /usr/lib/check_mk_agent/local - dodir /usr/lib/check_mk_agent/plugins - dodir /etc/check_mk - - dodoc doc/{AUTHORS,COPYING,ChangeLog} - docompress - - if use xinetd; then - insinto /etc/xinetd.d - newins cfg_examples/xinetd.conf check_mk - systemd_dounit cfg_examples/systemd/check_mk{.socket,@.service} - fi - - # Install the check_mk_agent logwatch plugin - if use logwatch; then - insinto /etc/check_mk - doins cfg_examples/logwatch.cfg - exeinto /usr/lib/check_mk_agent/plugins - doexe plugins/mk_logwatch - fi - - # Install any other useflag-enabled agent plugins - exeinto /usr/lib/check_mk_agent/plugins - use inventory && newexe plugins/mk_inventory.linux mk_inventory - use smart && doexe plugins/smart - use mysql && doexe plugins/mk_mysql - use postgres && doexe plugins/mk_postgres - use apache_status && doexe plugins/apache_status - use zypper && doexe plugins/mk_zypper - use oracle && doexe plugins/mk_oracle - use nfsexports && doexe plugins/nfsexports -} diff --git a/net-analyzer/check_mk_agent/metadata.xml b/net-analyzer/check_mk_agent/metadata.xml deleted file mode 100644 index 89c9c6e274a7..000000000000 --- a/net-analyzer/check_mk_agent/metadata.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <longdescription lang="en"> - The agent, to gather and report system and other monitoring data to Check_MK enabled - Nagios/Icigna centralized monitoring servers. - </longdescription> - <use> - <flag name="inventory">Install check_mk-agent linux inventory plugin.</flag> - <flag name="logwatch">Install check_mk-agent logwatch plugin.</flag> - <flag name="smart">Install check_mk-agent S.M.A.R.T plugin.</flag> - <flag name="mysql">Install check_mk-agent mysql plugin.</flag> - <flag name="postgres">Install check_mk-agent postgres plugin.</flag> - <flag name="apache_status">Install check_mk-agent apache-status plugin.</flag> - <flag name="nfsexports">Install check_mk-agent nfsexports plugin.</flag> - <flag name="zypper">Install check_mk-agent zypper plugin.</flag> - </use> - <upstream> - <changelog>http://mathias-kettner.com/check_mk_download.html</changelog> - <doc>http://mathias-kettner.com/checkmk.html</doc> - </upstream> -</pkgmetadata> diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest index ef2131933761..f447748e1a18 100644 --- a/net-analyzer/fail2ban/Manifest +++ b/net-analyzer/fail2ban/Manifest @@ -4,9 +4,8 @@ AUX fail2ban-1.0.2-umask-tests.patch 1329 BLAKE2B a7535b515e5d3be56d6e842b34e37c AUX fail2ban-1.1.0-openssh-9.8.patch 2482 BLAKE2B 5ca3d572332470131ec93330a14676a988f85e7177d44441c36c25ecd3095d8c0ea34cf9535c64df258d211cddf22306119f4a055c8ec5fc19c49d4b5d2281b5 SHA512 c26efa8e4929ed8a3973e4176a8adb0ca3d34fdac550376b3b5da6788f8f0f0afffc7a9031b118e6ce70052af590ff4669ea191b09d34f97636abf3515fc548e DIST fail2ban-1.0.2.tar.gz 583295 BLAKE2B 84eb5e3487c4db734f4f0a36af142d520e1cc53c2960893ee2f05ff4e78133860be59ed9580fa0d972509a03c17e5d9458b8e3f6b470a4c3154f10911f94691e SHA512 688a84361b5794e1658f53d2d200ce752fe1e3320ddb1742c32c4b4b82a79ace16ae464e7ea3eeb94a0e862bcac73c2d3a0e61dd7b28e179a4c857f950d74dbb DIST fail2ban-1.1.0.tar.gz 603854 BLAKE2B f7c2d3a1e5b5cdca1f26d92cefe75958bb61b87ad1cf316380b91527c96f3261e5665478c5fbb053f6419956dda934c8ef3ce837af2819b1b1c8d162246fc15f SHA512 9bff7b9c41e58a953901800468e5c4153c9db6af01c7eb18111ad8620b40d03a0771020472fb759b2809d250e2bb45471e6c7e8283e72ea48290ecf7bf921821 -EBUILD fail2ban-1.0.2-r2.ebuild 3524 BLAKE2B f809eaaf425c548842f6b4c749f1f9613b4fd6e1c44aa6dbf5c3790e96b34ea9d14a62fb7b2d1e76afa31a9f05efdc840db5a3415f2af422cc9254b4afdd59ef SHA512 070ee0ef942c9fb8559afb7f60d188d91b83759bbb9c343ab31484292aee94fe55c3d1f1642e090d99fe2685f448e2f9048c095aebc05d47dd7030508dcd91fb EBUILD fail2ban-1.0.2-r3.ebuild 3817 BLAKE2B 350ebf2c9d0523009ed9f390548132367805742b20014c719fa396f3edf8df188b531374237922324b591238f4e8df5ff5fdade2505c32444e301a9b3f3d533b SHA512 9b42311a494d88f0f9ac71ed85ad1cc47917824f54858a13857176674c3ccaee66ff88b1f4fa63245556563274bcb0de891c8777f925deef3b4156e02f1c5c32 -EBUILD fail2ban-1.1.0-r1.ebuild 3737 BLAKE2B 2616f4c8f1c061274c620d8059d82cecd500d2a208edc582ccff60b3a1bbb6c71b1387d64412f6639533fc14d91a137293fa4be5c0da50d24f1e9516ba302942 SHA512 ddc09cb902df53beb1b162395b8366dfdd69b9834c44753b9a4cf2b57678ac08eb3756f58e55e5cbf2683e935c316ce9dc8c215d34447b44393c17cc253d7842 +EBUILD fail2ban-1.1.0-r1.ebuild 3737 BLAKE2B d281459ba8bff2bd7cc661294bf681ef203116bfd207eef2a86b8e8aee05367a3a4ecb9f2e047d0709a10a13734d8d92a427ee7096af1f1a685ba8752abbe773 SHA512 26e2f016396a43f521b26720be1b9a46a1e734478e123a5541a135e1b7d0be78bc1f15946a1bbb78d695ef19618315034164b69b0c889a799997c828a0c41656 EBUILD fail2ban-1.1.0.ebuild 3692 BLAKE2B 0185481423dd83d1ebbd22f249e483852a496f22208084840c59e67d86978452e956f66da4e8021cb9fe9322513bc9316b29ab412ed3c50ba3f8e14512355e0b SHA512 bd8c84d5976a2b6d7cb823f6090a5f4ab88b2a9588f1368d8a736ed62224ef72c803a308b5e23184d667ac93966763f4c1255a5b51423bb9f0091797bb5f1743 -EBUILD fail2ban-9999.ebuild 3692 BLAKE2B 0185481423dd83d1ebbd22f249e483852a496f22208084840c59e67d86978452e956f66da4e8021cb9fe9322513bc9316b29ab412ed3c50ba3f8e14512355e0b SHA512 bd8c84d5976a2b6d7cb823f6090a5f4ab88b2a9588f1368d8a736ed62224ef72c803a308b5e23184d667ac93966763f4c1255a5b51423bb9f0091797bb5f1743 +EBUILD fail2ban-9999.ebuild 3692 BLAKE2B b0ad9a842e3e4b623f48b5f7e69bd8c61c1828dd53e90cee72966b736561dd3105e692d9cbcb4318fa5af7f40a63dbb3c4eae46cb15c4bd09140a50e2da76080 SHA512 6bc8b3092090abffcbbc7594df86d48ca1503fcbd52f97a12495a7a290015de987bd4ea42c80dfa982bfd9f0716b2d22e7071bd53deb557a64f2cdfaea3f966f MISC metadata.xml 357 BLAKE2B a5dee8c760b80bbfad6bca9a7adae797eda34b9db80716db8842c6813b4ed25ed4707290756dc869a7db4163de1ff6114c1995fcc2c485df1bcc6cad9c9a8f14 SHA512 9877a507bd3617c33351036317c5dc7855a1024d8f04f76a57edb93bd80e62b2b7c4f35784f447e94497305eab33246ae5913ba36ea001aa9068d1f91aeee9f0 diff --git a/net-analyzer/fail2ban/fail2ban-1.0.2-r2.ebuild b/net-analyzer/fail2ban/fail2ban-1.0.2-r2.ebuild deleted file mode 100644 index bac3914820d3..000000000000 --- a/net-analyzer/fail2ban/fail2ban-1.0.2-r2.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python3_{10..11} ) - -inherit bash-completion-r1 distutils-r1 systemd tmpfiles - -DESCRIPTION="Scans log files and bans IPs that show malicious signs" -HOMEPAGE="https://www.fail2ban.org/" - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/fail2ban/fail2ban" - inherit git-r3 -else - SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="selinux systemd" - -RDEPEND=" - virtual/logger - virtual/mta - selinux? ( sec-policy/selinux-fail2ban ) - systemd? ( - $(python_gen_cond_dep ' - dev-python/python-systemd[${PYTHON_USEDEP}] - ') - ) -" - -DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt ) - -PATCHES=( - "${FILESDIR}"/${PN}-0.11.2-adjust-apache-logs-paths.patch - "${FILESDIR}"/${PN}-1.0.2-umask-tests.patch - "${FILESDIR}"/${P}-configreader-warning.patch -) - -python_prepare_all() { - distutils-r1_python_prepare_all - - # Replace /var/run with /run, but not in the top source directory - find . -mindepth 2 -type f -exec \ - sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die -} - -python_compile() { - ./fail2ban-2to3 || die - distutils-r1_python_compile -} - -python_test() { - # Skip testRepairDb for bug #907348 (didn't always fail..) - bin/fail2ban-testcases \ - --no-network \ - --no-gamin \ - --ignore databasetestcase.DatabaseTest.testRepairDb \ - --verbosity=4 || die "Tests failed with ${EPYTHON}" - - # Workaround for bug #790251 - rm -rf fail2ban.egg-info || die -} - -python_install_all() { - distutils-r1_python_install_all - - rm -rf "${ED}"/usr/share/doc/${PN} "${ED}"/run || die - - newconfd files/fail2ban-openrc.conf ${PN} - - # These two are placed in the ${BUILD_DIR} after being "built" - # in install_scripts(). - newinitd "${BUILD_DIR}/fail2ban-openrc.init" "${PN}" - systemd_dounit "${BUILD_DIR}/${PN}.service" - - dotmpfiles files/${PN}-tmpfiles.conf - - doman man/*.{1,5} - - # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d. - # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675 - insinto /etc/logrotate.d - newins files/${PN}-logrotate ${PN} - - keepdir /var/lib/${PN} - - newbashcomp files/bash-completion ${PN}-client - bashcomp_alias ${PN}-client ${PN}-server ${PN}-regex -} - -pkg_preinst() { - has_version "<${CATEGORY}/${PN}-0.7" - previous_less_than_0_7=$? -} - -pkg_postinst() { - tmpfiles_process ${PN}-tmpfiles.conf - - if [[ ${previous_less_than_0_7} == 0 ]] ; then - elog - elog "Configuration files are now in /etc/fail2ban/" - elog "You probably have to manually update your configuration" - elog "files before restarting Fail2Ban!" - elog - elog "Fail2Ban is not installed under /usr/lib anymore. The" - elog "new location is under /usr/share." - elog - elog "You are upgrading from version 0.6.x, please see:" - elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8" - fi - - if ! has_version dev-python/pyinotify ; then - elog "For most jail.conf configurations, it is recommended you install" - elog "dev-python/pyinotify to control how log file modifications are detected" - fi - - if ! has_version dev-lang/python[sqlite] ; then - elog "If you want to use ${PN}'s persistent database, then reinstall" - elog "dev-lang/python with USE=sqlite. If you do not use the" - elog "persistent database feature, then you should set" - elog "dbfile = :memory: in fail2ban.conf accordingly." - fi -} diff --git a/net-analyzer/fail2ban/fail2ban-1.1.0-r1.ebuild b/net-analyzer/fail2ban/fail2ban-1.1.0-r1.ebuild index 653e6d91c9c9..0035a85226e7 100644 --- a/net-analyzer/fail2ban/fail2ban-1.1.0-r1.ebuild +++ b/net-analyzer/fail2ban/fail2ban-1.1.0-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit bash-completion-r1 distutils-r1 systemd tmpfiles diff --git a/net-analyzer/fail2ban/fail2ban-9999.ebuild b/net-analyzer/fail2ban/fail2ban-9999.ebuild index 8f83d3ea20cf..45aad51f16eb 100644 --- a/net-analyzer/fail2ban/fail2ban-9999.ebuild +++ b/net-analyzer/fail2ban/fail2ban-9999.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit bash-completion-r1 distutils-r1 systemd tmpfiles diff --git a/net-analyzer/gnome-nettool/Manifest b/net-analyzer/gnome-nettool/Manifest index 31d9da1c5b2a..9ce6e886b7ff 100644 --- a/net-analyzer/gnome-nettool/Manifest +++ b/net-analyzer/gnome-nettool/Manifest @@ -1,4 +1,4 @@ AUX 42.0-meson-drop-unused-positional-arguments.patch 1307 BLAKE2B 59c086c1dbec1853be1272ec20542516f4a3c730db2ee70aa392377b9506d1a0936923dc41cf7eb282d0d3454a60da9974b9f3aa9c51c604d6161213b0403f18 SHA512 8ead1d57f68415eb323896fc5a9bb3e0f67f7a976c12f8ceaafd81cbc45cd259df7cd835e3ae9b2311a42ebd9c0c3b66982b7398a99711b71e308fab662a9ba7 DIST gnome-nettool-42.0.tar.xz 422880 BLAKE2B 847f14781865eb936f0ded28a3f45ffa4ed02a20d335aea95a623795a2bb40bf57a49ecb28b26088c2818d028a401b3ef346806ea60305022bcafc9972094f4e SHA512 a640cd7f2008be870c4c457d3f793e6d31a10457b826641ef3cb9b831ea1d80756abc2a39aef7cb093905adafe41f27ee3c5648b1a6a3a01aa3d3ee7988330ce -EBUILD gnome-nettool-42.0.ebuild 965 BLAKE2B 138f8b2c35b865db736b3682069a46bedb73f760607b7580030947288ebb0fe0516fe2101dcfb3ef426d5a9d2633d1914ecc2f61436f9aaea45fb2bfc3ef39ed SHA512 bf670cdcf7dd2d1b911b6e1a4e07a952b7bd705f1b7f1cc8f58e64721fe6b4f0bf1247e16a8d4db91769b8c7bcf49ea16f17e26c1b22ad1b25cbd3dbae1a01cd +EBUILD gnome-nettool-42.0.ebuild 966 BLAKE2B e4e0c8d9d8e315e71121218cfca34151772cfa6978acaf7ff0b5704a388388f36cfd904bdff076cd5a95c70e32ebddc38bb86870cc55ff182c22e722ac61bf72 SHA512 d1d18c4554576899bbfc1fc59f2528b04dc10daf51e932d6d7bef003083cc3e7a38991c67fc0bb838382821a187a665d43e6f24486a7650e3aad522c5491cc6b MISC metadata.xml 354 BLAKE2B 26120b86668ce8aed647eb8b40788fd21739a837c3adffb0a17a7cd7720a8e83c0f3d0f6b7216423f46f3d6a29a11b51c98bb601eef824e793267984f40860d4 SHA512 0ce236ae1cc287a6ffd5fbafa3b7161bcaee762de2c5578e64115f1043fe07ffc428014aa1dad98dc83851c45535a4b3610c7fe21f9b0fd6fa594575f5a5fb74 diff --git a/net-analyzer/gnome-nettool/gnome-nettool-42.0.ebuild b/net-analyzer/gnome-nettool/gnome-nettool-42.0.ebuild index 43103575b16d..ac2a289698d7 100644 --- a/net-analyzer/gnome-nettool/gnome-nettool-42.0.ebuild +++ b/net-analyzer/gnome-nettool/gnome-nettool-42.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit gnome.org gnome2-utils meson python-any-r1 xdg DESCRIPTION="Graphical front-ends to various networking command-line" diff --git a/net-analyzer/goaccess/Manifest b/net-analyzer/goaccess/Manifest index 102eadedb703..5a6159fdac85 100644 --- a/net-analyzer/goaccess/Manifest +++ b/net-analyzer/goaccess/Manifest @@ -1,12 +1,10 @@ AUX goaccess.confd 306 BLAKE2B 27f5a4a26fdcc4aff21bd2bb2a462e4875462c5b9a6f452b1d1acf0e1673eb95e429c8ff3ba258343905252e7428008c71fd8fbfc5f6abb7e4847471db4cf32d SHA512 fd77d490b3f08c38c01c34dfd050624bc3770ab0bf3d32b4cb226c152889ea8693b78af41a9ced4437d8961f621291ac7a0317a9f246f06b28ae79f25d4d5e4e -AUX goaccess.initd 372 BLAKE2B 8a232845fc9ba7f6e5e0481cad50fa04e58dd4113ceaad1612dff16ffe1e76db4e9f438e7a72debd531943e8fe54f311fb54e16513d31443a6f7446b546c476a SHA512 685843cbb7749cebdec22871f5a5db263040491c25c9c41986e31935d7e0c15887d0d456195228d5b89abc060af46ab0f52c27eecfe6db0e374fa32bfbd78b8f +AUX goaccess.initd 414 BLAKE2B 976843bc5fb3d2c75958dccab7f7d06ff49b97445fb7b02490d06f58164b50dde2d893e8b554017c86f23461023360a3127dd9f0f348aa0be945dd022cb33112 SHA512 d8c04e2fad46dfec673a4bf44560720cfbd31e7c7ab5c1658f4e3571e5fc17c01237a92b14c3bca59ced8aaad7a9af8dd52ca74782eac97fef4ce487e9e23a88 AUX goaccess.service 381 BLAKE2B ab4a4e2a35846f8bf7ed80539a7be38f2507ee25ecac63900a88dd625a0fd3a44dfcd6e7f60fb45186cc40063cd9cae95dd8a5ff366356209a2039cee2b2cd34 SHA512 3d5482bdf13c31116f53f0ba9af4aa282aba01f7e2b8916eb88067500be616ed6b3d107fdf2e079a0c78f75c8a894dd25e8866edcb02ff6e5bd268b802b46e7b AUX goaccess.tmpfile 40 BLAKE2B dd3595d9f1cca0c652a62fd19032d138aeeeb21523db4d05d2adff28ea8b65c16cca32c2e73b285ba15911470248868c200ce62307597e7e452ae8a9bc6e645a SHA512 47f95152cf575d74336340af898551a10c6ff9dcf197ca06ac799be77cc7fb69957c3277976f30cf0f10eee6c278abb1a823b9867f14aba9b6cb36d6a9b43700 -DIST goaccess-1.6.3.tar.gz 658827 BLAKE2B 48378235a75c11e7392bcaca98c64689032e74377696cf6fd3e0e230dd35a2e0f78e5f4283da2c4693ec072942ae6be4d3dc27f91f23d8390f81a330d9955c93 SHA512 7890fc35700db9ce1d3c720607cce6008a3140a14d143fcdd02f11a79f5344a26c648c9b7e6316a21d3ff07f588815bcdfb33072b5e0a18c429e9bfdb8bf99f4 -DIST goaccess-1.7.2.tar.gz 679321 BLAKE2B a423553fcbac76eb1358bffda9ec413da48241f9702d01872cede4999fa2baef60758f48ad621986789ddf2f514ca77ac72a4d367469ec493d792dea01c3f957 SHA512 0e057c9d49d5a9189af0b8f12e867d4402326ca0d2f562771b4d2c73fcfc2e5d79a826465ee56e03e036fbcddb7c6171005cd06ba28a2c25fc1683fe37bd59a7 DIST goaccess-1.8.1.tar.gz 740177 BLAKE2B cc1f17c72adeeaf50d3b6c7bef47a044a3bbf06fb44d73da9b1ae68ea71d8e276dbe02c6a89cf0a72f3327e817e8d59235f788d29aeb7c7c889bacf81b64292a SHA512 96f0b73f13cfb77ad57748bce7d8791f8486bfd5ce47420d1c0016826a4deb9ab2d2742f4afd5d8b0eed003f9b596aae51f232fa71bf47f823b6ff8119f91354 -EBUILD goaccess-1.6.3.ebuild 1708 BLAKE2B a99b4f5c179b78506836cef7a601f17aceb839d9fcfd97c07acc687a01c44d1cc2ac176b5cd78b33b8245b493bcf91505b4f3e0e359b2324e9e8a848bca46803 SHA512 da9f649abd865f3b9db71cc2f29cd0292e731ffd60646258eddad03d8479495e7880c078cffbe134df819be9dc7c71265f21ea23334ddee30b727fd3aef47f90 -EBUILD goaccess-1.7.2.ebuild 1720 BLAKE2B f26124290f2d3fa96cfc2d728437c1e806cb5a201c0ae5c894d8e88d7c15f850322f3855878daa08687ef18fcf87004b07ede550536dac1f7f43c575c9aa9c7b SHA512 062088ffffb615ddb7799015bd0ba9af1469758181f701b1f44609f94a1aa94486f745c6003a4c1d5ec2c5490ba96a35c2d0b089066f32ba7b1a0c2e6deca8a0 +DIST goaccess-1.9.3.tar.gz 821878 BLAKE2B 99a3a0f9b73a24bb871df2eb16be44dfefbe8fdcd9f10aec66beca98bae65a8b98085c58168c35407f53cf599cf33bc930247f7f7241742ca7750ef68236992e SHA512 6f838d006bec65819d42115b9ce6edb3d839c1bbb609353163960361684ae67c5ecb859e5c9e19eb3233aac4e97c18bdd4d19e1919b05695b3dfef3ca5e7a192 EBUILD goaccess-1.8.1.ebuild 1720 BLAKE2B f26124290f2d3fa96cfc2d728437c1e806cb5a201c0ae5c894d8e88d7c15f850322f3855878daa08687ef18fcf87004b07ede550536dac1f7f43c575c9aa9c7b SHA512 062088ffffb615ddb7799015bd0ba9af1469758181f701b1f44609f94a1aa94486f745c6003a4c1d5ec2c5490ba96a35c2d0b089066f32ba7b1a0c2e6deca8a0 -EBUILD goaccess-9999.ebuild 1736 BLAKE2B b2ee7fdeba32f061bac8d49d833c91800babdb0f608ed9e459e6d9f4d3eb9a2355a08fca59a5f7056303c4287c06a49e2490936ffa57933ffb3e9ab8dba8e95d SHA512 a559c2a02c18122318f85573c7e41125ea8b59dc9240cee42a033ac8e0df7b36eefb53f5f79c387232ef4aadeb9ae4612071362ed5d69e00c3e43817c306c51b +EBUILD goaccess-1.9.3.ebuild 1696 BLAKE2B 77aece7c7e30fe297057a93fa497ff934801e686524a5e36365c97fa38bae5f67bee8d63f479b1d47b4a5486606fb38ca5c6c4bd320fd6e55bd73be8948c1884 SHA512 3af141fa5831f37ade9362b1a7bca0195d8aacf2d2af9902b87b5b2b3e4a9e5d3d0584b8745a70ff94b85c77b75e4b6f355738cfb3df9c6d74ba630b56f6f129 +EBUILD goaccess-9999.ebuild 1713 BLAKE2B 9115fd6dcf2cb4d16e4813c26dc888d74ef67c77d9270c67eeb40da329ef7b2a36d96e18800c88658c291e125c3e3394bc6583000d3e822a2a822fbca10fe326 SHA512 0269660e6dd72efbfbad8bf71697c2adf9bc2fdb6802ed32046bc966aba0f541a97a4adb57c1f0e8f024c22d025b27de1fc0eae4ac4f99777a1a66b459c56336 MISC metadata.xml 968 BLAKE2B 9b84cc00a75dd00ea5563ef605475fdb6c4fae9ee303fe06d8a8f74a2c3db58794b468866fa0dc06080bcb1a20298969378c6ccfa16da5f9f0cf1582ca8272b8 SHA512 a2f894feb012129a86a85fe3a5c386b6f0fdbc6acc0fd76d53b5b0df90ce528f9ac438d4081ca54f0c05fa79796015d4e0b3429e5a68639b764d0a3f17dd1f05 diff --git a/net-analyzer/goaccess/files/goaccess.initd b/net-analyzer/goaccess/files/goaccess.initd index be0059588396..bd782952cfb4 100644 --- a/net-analyzer/goaccess/files/goaccess.initd +++ b/net-analyzer/goaccess/files/goaccess.initd @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 command="/usr/bin/goaccess" @@ -7,6 +7,7 @@ name="GoAccess" description="Real-time web log analyzer" config="${CONFIG:-/etc/goaccess/goaccess.conf}" command_args="--real-time-html --daemonize -p $config ${OPTS}" +pidfile="/run/goaccess/${RC_SVCNAME}.pid" start_stop_daemon_args="-q" depend() { diff --git a/net-analyzer/goaccess/goaccess-1.6.3.ebuild b/net-analyzer/goaccess/goaccess-1.6.3.ebuild deleted file mode 100644 index 52788637826a..000000000000 --- a/net-analyzer/goaccess/goaccess-1.6.3.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools optfeature systemd tmpfiles - -DESCRIPTION="A real-time web log analyzer and interactive viewer in a terminal" -HOMEPAGE="https://goaccess.io" -SRC_URI="https://tar.goaccess.io/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug geoip geoipv2 getline ssl unicode" -REQUIRED_USE="geoipv2? ( geoip )" - -RDEPEND="acct-group/goaccess - acct-user/goaccess - sys-libs/ncurses:=[unicode(+)?] - geoip? ( - !geoipv2? ( dev-libs/geoip ) - geoipv2? ( dev-libs/libmaxminddb:0= ) - ) - ssl? ( dev-libs/openssl:0= )" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -src_prepare() { - default - - # Enable log-format, define log file and db path, - # change path to GeoIP bases in config - sed -i -e '/log-format COMBINED/s/#//' \ - -e '/log-file/s/#//' \ - -e '/db-path/s|tmp|var/lib/goaccess|' \ - -e '/geoip-database/s|local/||' config/goaccess.conf \ - || die "sed failed for goaccess.conf" - - eautoreconf -} - -src_configure() { - local myeconfargs=() - readarray -t myeconfargs < <( - use_enable debug - use_enable geoip geoip "$(usex geoipv2 mmdb legacy)" - use_enable unicode utf8 - use_with getline - use_with ssl openssl - ) - econf "${myeconfargs[@]}" -} - -src_install() { - default - - newinitd "${FILESDIR}"/goaccess.initd goaccess - newconfd "${FILESDIR}"/goaccess.confd goaccess - systemd_dounit "${FILESDIR}"/goaccess.service - newtmpfiles "${FILESDIR}"/goaccess.tmpfile goaccess.conf - - diropts -o goaccess -g goaccess -m 0700 - keepdir /var/lib/goaccess/db /var/log/goaccess -} - -pkg_postinst() { - optfeature "update GeoIP databases" net-misc/geoipupdate - tmpfiles_process goaccess.conf -} diff --git a/net-analyzer/goaccess/goaccess-1.7.2.ebuild b/net-analyzer/goaccess/goaccess-1.9.3.ebuild index 483e675fa316..cd8029868ed2 100644 --- a/net-analyzer/goaccess/goaccess-1.7.2.ebuild +++ b/net-analyzer/goaccess/goaccess-1.9.3.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # shellcheck disable=SC2207 EAPI=8 -inherit autotools optfeature systemd tmpfiles +inherit optfeature systemd tmpfiles DESCRIPTION="A real-time web log analyzer and interactive viewer in a terminal" HOMEPAGE="https://goaccess.io" @@ -38,8 +38,6 @@ src_prepare() { -e '/db-path/s|tmp|var/lib/goaccess|' \ -e '/geoip-database/s|local/||' config/goaccess.conf \ || die "sed failed for goaccess.conf" - - eautoreconf } src_configure() { diff --git a/net-analyzer/goaccess/goaccess-9999.ebuild b/net-analyzer/goaccess/goaccess-9999.ebuild index f865c1c79c2b..58691f5c27b8 100644 --- a/net-analyzer/goaccess/goaccess-9999.ebuild +++ b/net-analyzer/goaccess/goaccess-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # shellcheck disable=SC2207 @@ -11,11 +11,9 @@ inherit autotools git-r3 optfeature systemd tmpfiles DESCRIPTION="A real-time web log analyzer and interactive viewer in a terminal" HOMEPAGE="https://goaccess.io" -SRC_URI="" LICENSE="MIT" SLOT="0" -KEYWORDS="" IUSE="debug geoip geoipv2 getline ssl unicode" REQUIRED_USE="geoipv2? ( geoip )" diff --git a/net-analyzer/greenbone-feed-sync/Manifest b/net-analyzer/greenbone-feed-sync/Manifest index cb3a53cf41b6..c16def7709f9 100644 --- a/net-analyzer/greenbone-feed-sync/Manifest +++ b/net-analyzer/greenbone-feed-sync/Manifest @@ -4,5 +4,5 @@ AUX greenbone-feed-sync.timer 183 BLAKE2B f91b69c6b2a5024c6cd9d678676071f7d5e175 DIST greenbone-feed-sync-23.10.0.tar.gz 63001 BLAKE2B 5566cef8649e578cb498f0a5bc1e41f237a3702698b2012f3a62d8f5f647e6b1e3253c7d92e4a9fc82ad7991de8010b94ba8c1194a820511c49e5f5262e471ff SHA512 fe5864c4e650f17a072cd6e4153779ea33ad8f0ac28e92114b40c465a04b70791b603ccbe82934dcdad13fce2003e2d9786cec75854efecf8aefa74c7ce178f4 DIST greenbone-feed-sync-24.3.0.tar.gz 58949 BLAKE2B 10260850dad8781682e9f3e3eb31faa4139080b3c5661261770fe28053df472b21b4e2ef98f258b5c634c26d543313da30bb01d9eadfdb8ea8e7b7b57205b7f5 SHA512 ac1ce1f0a2898997e5a330e9a186b6203b7593e5b847d23202c28e7b3b7be1556001cc6d8ba5abd7077d1b51e0f21640728f78659ecf9a60eede28ea483344b4 EBUILD greenbone-feed-sync-23.10.0.ebuild 1575 BLAKE2B abe5101d16ca2c904b36d622c49f3d3a4e43ae60d0ce36d76ae50522b39b694604c65d1a81fd6ee74813f697b3d21c130d4acf3f7fe98955537e4bf1a23b24e6 SHA512 fc7ffb5e2c7a155ba33952cd77fddaf7690001e25c1ba1ad4f5c6f640b1b12874c5bedaf61400155a6947d3ed8849a3d8b38f048c16ee9e8bf4c028c243b997a -EBUILD greenbone-feed-sync-24.3.0-r1.ebuild 2161 BLAKE2B c6e6cc113ed24cbe18f2eb1f8f2b7523dbe25df2880a2f9d20d0425fbcaf14fa33967a2aaf48f12c8c63a2ee19f1f6e9006fce1f9c187050e98d663a5c258321 SHA512 b9ed80c1ddf48eeb0f64a0c39d44b0a5161cfa24bd7d21e9ae15b639a1c52a0e19b4e575c8548733155e8eadf010df15f297ce0c2ab4934d917570eb93c58ac1 +EBUILD greenbone-feed-sync-24.3.0-r1.ebuild 2899 BLAKE2B 3446df8c1279879af963cff7b7b7e8276ce95c5d94c0078e89a87ac450ed5205cc5cf0f0d36dbac4f3fa8514c3bf778bdc504a4a32c2e8b068e301109c97e314 SHA512 be665b9db06e27ef29974a7f2008a068d6d7837a61b53b72e5674c9b5d1251bf3a113071f9e2f9e2f95ffab1af2e765b2b722e972030a78a52fddfcfb2e5d2fa MISC metadata.xml 822 BLAKE2B 6e48caf48d652d7892292654b2b55a1b200fedae3b34d03ed237259fda8a8c8013cda2c3ac93b080658424a21a13e9a3d4eb92c677621c17c2309cf7f7467c32 SHA512 9457919c66737a70c7cc58aa576102c46c1d296a616baf53559eb04bd89a7cc315d59980e7150afea1f9010344952e73deeb215ec5f776075b638072badf5983 diff --git a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0-r1.ebuild b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0-r1.ebuild index c5178e60a3c3..d62d82b0000a 100644 --- a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0-r1.ebuild +++ b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/greenbone/greenbone-feed-sync/archive/refs/tags/v${P LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="cron" COMMON_DEPEND=" @@ -38,6 +38,16 @@ RDEPEND=" distutils_enable_tests unittest src_test() { + # Make a copy of the original config + cp greenbone/feed/sync/config.py "${T}"/config.py.orig || die + + # Patch the config.py to not use files from /etc/gvm, as this may + # cause a PermissionError. See https://bugs.gentoo.org/932836#c10 + sed -i \ + -e 's:DEFAULT_CONFIG_FILE = "/etc/gvm/greenbone-feed-sync.toml":DEFAULT_CONFIG_FILE = "'"${WORKDIR}/${P}-${TARGET}"'/install/etc/gvm/greenbone-feed-sync.toml":' \ + -e 's:DEFAULT_ENTERPRISE_KEY_PATH = "/etc/gvm/greenbone-enterprise-feed-key":DEFAULT_ENTERPRISE_KEY_PATH = "'"${WORKDIR}/${P}-${TARGET}"'/install/etc/gvm/greenbone-enterprise-feed-key":' \ + greenbone/feed/sync/config.py || die + # Disable tests that require network access. sed -i \ -e 's:test_do_not_run_as_root:_&:' \ @@ -50,6 +60,9 @@ src_test() { tests/test_main.py || die distutils-r1_src_test + + # Restore config.py after test. + mv "${T}"/config.py.orig greenbone/feed/sync/config.py || die } python_install() { diff --git a/net-analyzer/gvm-libs/Manifest b/net-analyzer/gvm-libs/Manifest index 8ccabee11145..8a0156977077 100644 --- a/net-analyzer/gvm-libs/Manifest +++ b/net-analyzer/gvm-libs/Manifest @@ -1,9 +1,5 @@ -AUX gvm-libs-22.8.0-linking-math-library.patch 1171 BLAKE2B a061156df500eb851424f27d83f8ada161e93431efaa6ecb168b387d2bbd4548e42b6ec0bf6db84588f86fef98e56befea0eed1b7c848412bfdb4f58229a8591 SHA512 976496000fc39a81047fbfc66165d8b6541d024a28d7408b490bbac725b152ba94b9d29b09245d731183f0929dbcd897c63749e959baab65b4ddb77636624f64 -DIST gvm-libs-22.8.0.tar.gz 310304 BLAKE2B ed880ca924d5f9c6d376c1b6b0711adecb095b0b79c565da6d62bf53d71ef0f49892263dc7e28e08841d33db0c480d691f4d4d95b3883d4f0751088fcf0b1d90 SHA512 5daa9157399fc8cf52cdfbdfeffe5e10a282cbe2f7b8eb6a3fefb202984f9df3bca91ef80d1d9d1bf37307cc475bd41d4b64b4f1ad0644975b295b6f32b294a6 -DIST gvm-libs-22.9.0.tar.gz 314119 BLAKE2B 481ca7a977647a53ef21079b054ed1294c0ce081693abe373dc9bb241725a141c11ab54a4eb2716b7543c678400ca933f9611d9a6615c4d39a9877a8cb40406a SHA512 39049d0eea3cca632ed25f3a807d03568213cf0daac4e7ab8d088458212e76db881644421dd44a2b34f6490eab35c171339e52e6b4ba4204ff2d9b7422578876 +DIST gvm-libs-22.10.0.tar.gz 323677 BLAKE2B f6ace01ce3e1e240496e4edd0d07ee4f155ffa7a3eabdef6e5342cac7e7f94fd2048649a6f00b1bbb3bbe6801f09db28733a33b852ac59f873050c8859d934bc SHA512 dd4a5758ddd70b0a565879f61c913e2cc6c21e8982626058f80da07d1f3d04ad5680b6c850acac46b9b9deb46390985230c5b7b2140c81bdeeb9e8b5e4813c18 DIST gvm-libs-22.9.1.tar.gz 314228 BLAKE2B 117ddf5824f0a1f5788695074fa5044b21b5dcfb8d6235a9f423174fa76d9262f361371d1f6807e88979ce49cafab64f5aa9fd1d2e855395bfa103bf6b121ec8 SHA512 b06c21ced89dc9f14dd19b256b57af910f4d7e585bf9c90fb7e3c3497bb429294e3ffb64dc6ee710e8b3beeb4ca9ac6aecb9d5e4b25f0f9761fa0c9f18a8dfd1 -EBUILD gvm-libs-22.8.0-r1.ebuild 2782 BLAKE2B dd8b80eba08a0019ea70f20137a5c7a02af9eea1095b0c884f3dbd9fbe9794b8020aa2a4be3a22f4ca104010cb5c8b8bc6d0cb5613968c346f84865d36cb5b35 SHA512 cabf0fd5297ae345ca7a2d44e2cd9a06eeb2a93ac50a6444e7f66a22aab0aef8494dea377028967a8b15e94244775445d2f2bb537a53a4467d890e92cb408ff1 -EBUILD gvm-libs-22.8.0.ebuild 2638 BLAKE2B 38fb3a46c216e4340fd308cec7092846c1557d565df2fd2385037f897e70effdd2602973024ab17c8efd998fc56d8006763eeb2576442620fd81d87985091d4c SHA512 abe39d17d95095e0008cbe6519982a8acf9912996fef85a18b9002ca410fe6744fa72e5cf69a9dfd688b12bc85e6149efed63e8b0ece7c04d03c170cd05771fe -EBUILD gvm-libs-22.9.0.ebuild 2782 BLAKE2B dd8b80eba08a0019ea70f20137a5c7a02af9eea1095b0c884f3dbd9fbe9794b8020aa2a4be3a22f4ca104010cb5c8b8bc6d0cb5613968c346f84865d36cb5b35 SHA512 cabf0fd5297ae345ca7a2d44e2cd9a06eeb2a93ac50a6444e7f66a22aab0aef8494dea377028967a8b15e94244775445d2f2bb537a53a4467d890e92cb408ff1 -EBUILD gvm-libs-22.9.1.ebuild 2639 BLAKE2B 80f16ca14e7eaa0cea10de307704a6499fcbc0c81645dc927367eb46583c056b2c0ff84d9af6f7bc5ba23b7de829c52467090d7efe377639acc3b92e74f45ea2 SHA512 1fd7a0c0e83ea1a4d4cee7f2b85b9f58efb01994acfb87cc3ceb6b45e0ba4e03cd8a05e22ebd09d2fde0ccd5957f7e815c5ea44b8145a64afaff96b3df493a6c +EBUILD gvm-libs-22.10.0.ebuild 3064 BLAKE2B d1c8483ca08cdabacbacc08f1898502667769a42f32bb28b5883673d25c0b504ef05825a5d3665420fc755525f45b980e87ba3fd83603911712f0f3f7d990e13 SHA512 81d4c8d501b6a54093cdcdcb92b6ebb94c851fca8473b57be254c24ca92d1d9d3d8dba2ebb1a5edd557dd9897a6634dcb31368aa20130f3614b1f00f1807aa74 +EBUILD gvm-libs-22.9.1.ebuild 2638 BLAKE2B 38fb3a46c216e4340fd308cec7092846c1557d565df2fd2385037f897e70effdd2602973024ab17c8efd998fc56d8006763eeb2576442620fd81d87985091d4c SHA512 abe39d17d95095e0008cbe6519982a8acf9912996fef85a18b9002ca410fe6744fa72e5cf69a9dfd688b12bc85e6149efed63e8b0ece7c04d03c170cd05771fe MISC metadata.xml 877 BLAKE2B c60f3e763d17fabfe0260b1b7e9fe9fa738fb04fdac9b115f2263bae2d7407389cb6869e997947ec1e78644ebd92fe3be1d2ab446d46e4bbd80a39246235a4ad SHA512 74cc7cd53433c09c046241ba5a21795836bbd9b87556f1a2b4fa1cdc4a66238a6b224a948896c396fa68c6331b13037b8985e0ce3dff90886d24fb3bdf0cdfca diff --git a/net-analyzer/gvm-libs/files/gvm-libs-22.8.0-linking-math-library.patch b/net-analyzer/gvm-libs/files/gvm-libs-22.8.0-linking-math-library.patch deleted file mode 100644 index 11130f5c209d..000000000000 --- a/net-analyzer/gvm-libs/files/gvm-libs-22.8.0-linking-math-library.patch +++ /dev/null @@ -1,23 +0,0 @@ -Fixes underlinking math lib in base/CMakeLists.txt -Bug: https://bugs.gentoo.org/9889 -Upstream PR: https://github.com/greenbone/gvm-libs/pull/811 - ---- a/base/CMakeLists.txt -+++ b/base/CMakeLists.txt -@@ -37,6 +37,7 @@ set (HEADERS array.h credentials.h cvss.h drop_privileges.h hosts.h logging.h - if (BUILD_STATIC) - set (LIBGVM_BASE_NAME gvm_base_static) - add_library (gvm_base_static STATIC ${FILES}) -+ target_link_libraries(gvm_base_static m) - set_target_properties (gvm_base_static PROPERTIES OUTPUT_NAME "gvm_base") - set_target_properties (gvm_base_static PROPERTIES CLEAN_DIRECT_OUTPUT 1) - set_target_properties (gvm_base_static PROPERTIES PUBLIC_HEADER "${HEADERS}") -@@ -51,7 +52,7 @@ if (BUILD_SHARED) - set_target_properties (gvm_base_shared PROPERTIES VERSION "${CPACK_PACKAGE_VERSION}") - set_target_properties (gvm_base_shared PROPERTIES PUBLIC_HEADER "${HEADERS}") - -- target_link_libraries (gvm_base_shared LINK_PRIVATE ${GLIB_LDFLAGS} ${LINKER_HARDENING_FLAGS} ${SENTRY_LDFLAGS}) -+ target_link_libraries (gvm_base_shared LINK_PRIVATE ${GLIB_LDFLAGS} ${LINKER_HARDENING_FLAGS} ${SENTRY_LDFLAGS} m) - endif (BUILD_SHARED) - - set (LIBGVM_BASE_NAME diff --git a/net-analyzer/gvm-libs/gvm-libs-22.9.0.ebuild b/net-analyzer/gvm-libs/gvm-libs-22.10.0.ebuild index 337879f76695..a7da7de1491c 100644 --- a/net-analyzer/gvm-libs/gvm-libs-22.9.0.ebuild +++ b/net-analyzer/gvm-libs/gvm-libs-22.10.0.ebuild @@ -50,11 +50,15 @@ BDEPEND=" test? ( dev-libs/cgreen ) " -PATCHES=( - # Fix bug 925932 - # See https://github.com/greenbone/gvm-libs/pull/811 - "${FILESDIR}"/gvm-libs-22.8.0-linking-math-library.patch -) +pkg_setup() { + if tc-is-clang; then + local clang_major_version=$(clang-major-version); + if ! has_version "sys-libs/compiler-rt-sanitizers:${clang_major_version}[profile]"; then + eerror "Compiling this package with clang requires sys-libs/compiler-rt-sanitizers to be built with 'profile' USE flag enabled" + die "Clang detected, but sys-libs/compiler-rt-sanitizers not build with 'profile' USE flag enabled" + fi + fi +} src_prepare() { cmake_src_prepare diff --git a/net-analyzer/gvm-libs/gvm-libs-22.8.0-r1.ebuild b/net-analyzer/gvm-libs/gvm-libs-22.8.0-r1.ebuild deleted file mode 100644 index 337879f76695..000000000000 --- a/net-analyzer/gvm-libs/gvm-libs-22.8.0-r1.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake toolchain-funcs - -DESCRIPTION="Greenbone Vulnerability Management (GVM) libraries" -HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/gvm-libs/" -SRC_URI="https://github.com/greenbone/gvm-libs/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc ldap test radius" -RESTRICT="!test? ( test )" - -DEPEND=" - acct-user/gvm - >=app-crypt/gpgme-1.7.0:= - >=dev-libs/glib-2.42:2 - >=dev-libs/hiredis-0.10.1:= - dev-libs/libgcrypt:= - dev-libs/libgpg-error - >=dev-libs/libxml2-2.0:2 - >=net-libs/gnutls-3.2.15:= - net-libs/libnet:1.1 - net-libs/libpcap - >=net-libs/libssh-0.6.0:= - >=sys-apps/util-linux-2.25.0 - sys-libs/libxcrypt:= - >=sys-libs/zlib-1.2.8 - net-libs/paho-mqtt-c:1.3 - ldap? ( net-nds/openldap:= ) - radius? ( net-dialup/freeradius-client ) -" -RDEPEND="${DEPEND}" -BDEPEND=" - dev-vcs/git - app-alternatives/yacc - app-alternatives/lex - virtual/pkgconfig - doc? ( - app-text/doxygen[dot] - app-text/xmltoman - app-text/htmldoc - dev-perl/CGI - dev-perl/SQL-Translator - ) - test? ( dev-libs/cgreen ) -" - -PATCHES=( - # Fix bug 925932 - # See https://github.com/greenbone/gvm-libs/pull/811 - "${FILESDIR}"/gvm-libs-22.8.0-linking-math-library.patch -) - -src_prepare() { - cmake_src_prepare - # QA-Fix | Remove -Werror compiler flag | Bug: #909558 - sed -i -e "s/-Werror//" "${S}"/CMakeLists.txt || die - # QA-Fix | Remove doxygen warnings for !CLANG - if use doc; then - if ! tc-is-clang; then - local f - for f in doc/*.in; do - sed -i \ - -e "s*CLANG_ASSISTED_PARSING = NO*#CLANG_ASSISTED_PARSING = NO*g" \ - -e "s*CLANG_OPTIONS*#CLANG_OPTIONS*g" \ - "${f}" || die "couldn't disable CLANG parsing" - done - fi - fi - - #Remove tests that doesn't work in the network sandbox - if use test; then - sed -i 's/add_test (networking-test networking-test)/ /g' base/CMakeLists.txt || die - sed -i 's/add_test (util-test util-test)/ /g' boreas/CMakeLists.txt || die - fi -} - -src_configure() { - local mycmakeargs=( - "-DLOCALSTATEDIR=${EPREFIX}/var" - "-DSYSCONFDIR=${EPREFIX}/etc" - "-DGVM_RUN_DIR=${EPREFIX}/var/lib/gvm" - "-DBUILD_TESTS=$(usex test)" - "-DBUILD_WITH_RADIUS=$(usex radius)" - "-DBUILD_WITH_LDAP=$(usex ldap)" - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile - if use doc; then - cmake_build -C "${BUILD_DIR}" doc - cmake_build doc-full -C "${BUILD_DIR}" doc - fi - cmake_build rebuild_cache - if use test; then - cmake_build tests - fi -} - -src_install() { - if use doc; then - local HTML_DOCS=( "${BUILD_DIR}"/doc/generated/html/. ) - fi - cmake_src_install - - # Set proper permissions on required files/directories - keepdir /var/lib/gvm - if ! use prefix; then - fowners -R gvm:gvm /var/lib/gvm - fi -} diff --git a/net-analyzer/gvm-libs/gvm-libs-22.8.0.ebuild b/net-analyzer/gvm-libs/gvm-libs-22.8.0.ebuild deleted file mode 100644 index 5c0ad0faa80c..000000000000 --- a/net-analyzer/gvm-libs/gvm-libs-22.8.0.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake toolchain-funcs - -DESCRIPTION="Greenbone Vulnerability Management (GVM) libraries" -HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/gvm-libs/" -SRC_URI="https://github.com/greenbone/gvm-libs/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="doc ldap test radius" -RESTRICT="!test? ( test )" - -DEPEND=" - acct-user/gvm - >=app-crypt/gpgme-1.7.0:= - >=dev-libs/glib-2.42:2 - >=dev-libs/hiredis-0.10.1:= - dev-libs/libgcrypt:= - dev-libs/libgpg-error - >=dev-libs/libxml2-2.0:2 - >=net-libs/gnutls-3.2.15:= - net-libs/libnet:1.1 - net-libs/libpcap - >=net-libs/libssh-0.6.0:= - >=sys-apps/util-linux-2.25.0 - sys-libs/libxcrypt:= - >=sys-libs/zlib-1.2.8 - net-libs/paho-mqtt-c:1.3 - ldap? ( net-nds/openldap:= ) - radius? ( net-dialup/freeradius-client ) -" -RDEPEND="${DEPEND}" -BDEPEND=" - dev-vcs/git - app-alternatives/yacc - app-alternatives/lex - virtual/pkgconfig - doc? ( - app-text/doxygen[dot] - app-text/xmltoman - app-text/htmldoc - dev-perl/CGI - dev-perl/SQL-Translator - ) - test? ( dev-libs/cgreen ) -" - -src_prepare() { - cmake_src_prepare - # QA-Fix | Remove -Werror compiler flag | Bug: #909558 - sed -i -e "s/-Werror//" "${S}"/CMakeLists.txt || die - # QA-Fix | Remove doxygen warnings for !CLANG - if use doc; then - if ! tc-is-clang; then - local f - for f in doc/*.in; do - sed -i \ - -e "s*CLANG_ASSISTED_PARSING = NO*#CLANG_ASSISTED_PARSING = NO*g" \ - -e "s*CLANG_OPTIONS*#CLANG_OPTIONS*g" \ - "${f}" || die "couldn't disable CLANG parsing" - done - fi - fi - - #Remove tests that doesn't work in the network sandbox - if use test; then - sed -i 's/add_test (networking-test networking-test)/ /g' base/CMakeLists.txt || die - sed -i 's/add_test (util-test util-test)/ /g' boreas/CMakeLists.txt || die - fi -} - -src_configure() { - local mycmakeargs=( - "-DLOCALSTATEDIR=${EPREFIX}/var" - "-DSYSCONFDIR=${EPREFIX}/etc" - "-DGVM_RUN_DIR=${EPREFIX}/var/lib/gvm" - "-DBUILD_TESTS=$(usex test)" - "-DBUILD_WITH_RADIUS=$(usex radius)" - "-DBUILD_WITH_LDAP=$(usex ldap)" - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile - if use doc; then - cmake_build -C "${BUILD_DIR}" doc - cmake_build doc-full -C "${BUILD_DIR}" doc - fi - cmake_build rebuild_cache - if use test; then - cmake_build tests - fi -} - -src_install() { - if use doc; then - local HTML_DOCS=( "${BUILD_DIR}"/doc/generated/html/. ) - fi - cmake_src_install - - # Set proper permissions on required files/directories - keepdir /var/lib/gvm - if ! use prefix; then - fowners -R gvm:gvm /var/lib/gvm - fi -} diff --git a/net-analyzer/gvm-libs/gvm-libs-22.9.1.ebuild b/net-analyzer/gvm-libs/gvm-libs-22.9.1.ebuild index 445a62fcabeb..5c0ad0faa80c 100644 --- a/net-analyzer/gvm-libs/gvm-libs-22.9.1.ebuild +++ b/net-analyzer/gvm-libs/gvm-libs-22.9.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/greenbone/gvm-libs/archive/v${PV}.tar.gz -> ${P}.tar LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="doc ldap test radius" RESTRICT="!test? ( test )" diff --git a/net-analyzer/gvm-tools/Manifest b/net-analyzer/gvm-tools/Manifest index 5a65c000f119..ee1e2cd4e29b 100644 --- a/net-analyzer/gvm-tools/Manifest +++ b/net-analyzer/gvm-tools/Manifest @@ -1,5 +1,5 @@ DIST gvm-tools-24.1.0.tar.gz 218801 BLAKE2B ddc17406e5253696dca652c5e583fd5cc64505202f81496372d8b26ee7d4dafa1457cf4ae3249e7a183c123b3bd51b2de566ccdb2fa5f251d4edac90175e1b95 SHA512 6138c6c85421c7b011b73c2c857e9481cd46622ad3627a8d85c50563ebbd3c6d5cae80f43118ec85ef243fb965dcbe1cd7c1df29326f1d81b21c56ad117bef28 DIST gvm-tools-24.3.0.tar.gz 213334 BLAKE2B 0a09dc1e1c637996de306d5ecebed861f6a92caab16d6fa7d437886bc280ad078d3ef8bef019ba19541d9566a2a77ebf3e498b1bc0a6e956a649777cf78c5b6e SHA512 bf482a9bfdb9a65851ecf0ad2b66d773cb3dd3b5a0bace1b8ac7d52add4042134f83d95f41d275a426016d3bf21d2b64d42fcaa1ac84aa87ab6f73a5b0a1237f EBUILD gvm-tools-24.1.0.ebuild 622 BLAKE2B f3e2e0ce520f027ea0aa8e6cdbb8f27c17e4e4dc9566baaad12582c638a02f568fc43b0a2037ca4e24047fc281ac22e504920e3779c45a717708253bbb4a5926 SHA512 349f9fa812abda280cfc4f24d419167145444fe274f773ff17506495c03e96b41f19b94d26c65f093f880175ec845495bf019c32c3b4898a5220a99b035935ea -EBUILD gvm-tools-24.3.0.ebuild 629 BLAKE2B 28a3733a8adf81f57071c678302b9d17faa6950417c521bccaa6c077ae2b40b46272f614ac611e0f559b13fed821ba1d08f986d86778b64dbcb10271a57eb24c SHA512 6e2cc8b5ff07d829c029254c22e637d19cb374cee7e8f25cc6b6c9b69ce06aa975ba9e7a4e8629f3c5c1be41dd3d53ecdb85ee7b0ba6f9228e48af849ea456ad +EBUILD gvm-tools-24.3.0.ebuild 628 BLAKE2B f4ea480fa763b1b1a7eefc8ba673ee794a24fa41d5b30a62d01480d32686f29c369988e063eb9aab843467631fe21b0376331ffacefaf5e3788de3b38fb6c021 SHA512 126c7ba9c97596d8444baedd6c3d26cbbc658fb266e5dd6e144ce3bc590076679d634e25b0171f39dbf5375fe33139395e5fdbc935e3615606e1fa7d3a951bd0 MISC metadata.xml 1029 BLAKE2B 91595f8420740154d2823126b12f7b67740660a08dbf5b78b26fa59523b3a37238e64d0abbbfc4fdb3dc99cc741ea0c21160923ab67030a4a77b04f1b3a11481 SHA512 0b958ded9193e1acde6db72b15cea25bc9837afb82769cf12c5434afd0223874014a05dffee8680d0bbd27f263c2adb9b5b7f25b7dfddd9f79aa54b837482576 diff --git a/net-analyzer/gvm-tools/gvm-tools-24.3.0.ebuild b/net-analyzer/gvm-tools/gvm-tools-24.3.0.ebuild index ee65c28046f4..aa9122f4606a 100644 --- a/net-analyzer/gvm-tools/gvm-tools-24.3.0.ebuild +++ b/net-analyzer/gvm-tools/gvm-tools-24.3.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/greenbone/gvm-tools/archive/v${PV}.tar.gz -> ${P}.ta LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" RDEPEND=" >=net-analyzer/python-gvm-23.4.2[${PYTHON_USEDEP}] diff --git a/net-analyzer/gvm/Manifest b/net-analyzer/gvm/Manifest index 65356ed2f7db..db2c34bbc833 100644 --- a/net-analyzer/gvm/Manifest +++ b/net-analyzer/gvm/Manifest @@ -1,4 +1,4 @@ AUX gvm.init 547 BLAKE2B a9dd15fd123dc7a2a37b73651992b9ad56a0c8a1ae048f11d1ca82ecb4c085a9c5f395890bc1dc4883a00b9738647dfcdb996075b062463583c33491d0d7ff94 SHA512 d52f2b47ddafb012b76f0d4b96c73d358faba55259ed6718395328e1abfe391b09f4616053eac65f6de5bcf391e14ff3b5d4a4a5ad0f7ef87bf5fe3bd6b7b606 AUX gvm.target 338 BLAKE2B 215e2bf35ad1be674a77093db9b4a010f6145f295af172959db6b88b6d11616af1fa8b81744a5dcfc54b8a1bdcb9e5bad7c8b7ea969a0ce07cc4881ff98d05f5 SHA512 3999a33fb28bc30619fa8b39290c9f4545568bf5d15b518455d2e896c07d1002cad51ba6391627b26894dd653999ad571a7fb354a87e2ac707bbb1753e35e1a1 -EBUILD gvm-22.4-r1.ebuild 1125 BLAKE2B e544a63281f5b73f4643581282d2936bd05caedef1130b6ed981ce509c093f024b26a132993033ec9961d6d8ef128108c594e4b702f09677987cbeadc960df06 SHA512 49a8c67da414c89ce72a45a04381db956c69def7b5c8f4225dbe982824c5e33c418494b1b9f377fcd2fd62678ba7dbf3bef980e36258274682fadf0e861c5f09 +EBUILD gvm-22.4-r1.ebuild 1201 BLAKE2B 05b45e654ea915cf40eb8cf421140f40de1a46e7284f0cf5e281383a5e05453479e3072dd3022000d5ad5d3e6cab1593c4640ea7207aa664094ebf2c4c37a948 SHA512 c7dfedc8ca4779946646138314143f1d1c0a31bc50d95334825e237144b5d44cd7dd9821feee8aa49487519b3245546817a1680fb14749133a15a0ea054e48d4 MISC metadata.xml 1095 BLAKE2B 2c01e221dbde7b0a8d83c0c0b70af67eaebe273199d5411f2c5b3da246193ed26d9c45fa5f901be6f22c557cf866a18238a16ec16b2d9d39971d1f88ad1bdb52 SHA512 521b8ff80e4d0d13cc7c008009ed283a422126c1cd560f10063f09c301b6821d81dd59463cf90cbc3d245260150e12ec9682de513a8dcae238fb3ef5cd094b51 diff --git a/net-analyzer/gvm/gvm-22.4-r1.ebuild b/net-analyzer/gvm/gvm-22.4-r1.ebuild index 1fce1de5e626..f6cb62c19a7c 100644 --- a/net-analyzer/gvm/gvm-22.4-r1.ebuild +++ b/net-analyzer/gvm/gvm-22.4-r1.ebuild @@ -8,8 +8,8 @@ inherit optfeature systemd DESCRIPTION="Greenbone Vulnerability Management, previously named OpenVAS" HOMEPAGE="https://www.greenbone.net" -SLOT="0" LICENSE="AGPL-3+" +SLOT="0" KEYWORDS="amd64 ~x86" IUSE="cli doc +gsa ldap ospd snmp radius" @@ -37,4 +37,5 @@ pkg_postinst() { optfeature "IPsec VPN scanning, fingerprinting and testing tool" net-analyzer/ike-scan optfeature "port scanner" net-analyzer/nmap optfeature "create results from local security checks" net-analyzer/notus-scanner + optfeature "command line tool to scan for alive hosts" net-analyzer/boreas } diff --git a/net-analyzer/gvmd/Manifest b/net-analyzer/gvmd/Manifest index e81fb90398b7..a26a450839bc 100644 --- a/net-analyzer/gvmd/Manifest +++ b/net-analyzer/gvmd/Manifest @@ -8,5 +8,5 @@ DIST gvmd-23.6.2.tar.gz 1065818 BLAKE2B 65b999c42628eec4816aea984ba1ab0383a9147b EBUILD gvmd-23.1.0.ebuild 3231 BLAKE2B 85902d68a3c051b9fed5542a1fcd29a7ce00ea9b53959d5a0fad77747beea281c370e5164d44a556fa5de3363b6d6c4574f786df4deaf9ec1a051611d09b0e67 SHA512 05a4863b41b012730830a73a3bae507a2ae11e443f189b3058bd585c635d65d639a9c21671c65139f3c3916909d64e66cce01c34113be2cb261acd6380194d97 EBUILD gvmd-23.4.0.ebuild 3232 BLAKE2B f1e6d93401d0c1a4232f28216bd1d952e31d06e1d812c4136874d4126e41fa4aa55a8e6a3727ed4c0b493bb9665aaf5fcee397e4182e5c53d83e8d596efaf04a SHA512 f19e2801a61fc620c24e2dcd3799f0bd4d5af2b0375c1ab23586a43dd50213e71851f4c17b35085a293849225ffaecfc66bbedcf0fa8216004817eda28ddb44d EBUILD gvmd-23.5.2.ebuild 3232 BLAKE2B d9017f0cb42483e40cad245b756bc3fe0406cd217e2914dedc835970fb0b8f45eb63e3812952a6182b9625cd86fa3dfb2396c440f89d47afdaf45282b218c727 SHA512 ec18968eceffdd1035e1912dca90b608a0c39b1d174cf507c5b74634231de7dee948735d7464f8c11188ed777827a399755c6915e9bad8f5252c3530f93debcb -EBUILD gvmd-23.6.2.ebuild 3232 BLAKE2B 8fb8fa3baa61b26fa9b05d632583c5a9e854723beef24001c4d6e4bb0244a17949ac307a65dc502be7320516a3b746fe577f8d0a4845217f2538d4798b1bdbe0 SHA512 adb621428a2c177a68cb72d13d5e09fb230b2c999c66e35db9b41228bb12e8390992d08ae9047110699bd0ba68dd5afa8c52c4026751f1f92a3a0091c19c47b7 +EBUILD gvmd-23.6.2.ebuild 3231 BLAKE2B 4534e9760ef70c2e9086c5f5ad42c5e6910b4417486916d00e30c4f28a5d593259461aa189370674296f0de3b3596d13dc3231d245252ba66046a9db5d4c1dd7 SHA512 f2c65e7985c8e0480218e90f4ea300f24e88d96adb9df4f2841ac2413beb79478dafa6c71ddf145752c7140c30a139a0a21a4c159918ebf8c19543c7a5cd1d02 MISC metadata.xml 1138 BLAKE2B 5abfda85605cdc2bacbfc1295b9b443ceecda1a3bd51423a1c35c4799d42f8aec6c4d5c8bc29293a800193016bc0065361ff55616859064c061b105b31fb0f18 SHA512 f09448bd5acd5ed22611ac455c94a3ae0a0531a9aeec6bad638c48cfeb627fef5214c0734d04951ef18ee96046b8e89b812c198e6147fb21f8d5dd495ed4bb67 diff --git a/net-analyzer/gvmd/gvmd-23.6.2.ebuild b/net-analyzer/gvmd/gvmd-23.6.2.ebuild index cda404200d43..85facb7d6bcb 100644 --- a/net-analyzer/gvmd/gvmd-23.6.2.ebuild +++ b/net-analyzer/gvmd/gvmd-23.6.2.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/greenbone/gvmd/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="AGPL-3+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="doc test" RESTRICT="!test? ( test )" diff --git a/net-analyzer/monitoring-plugins/Manifest b/net-analyzer/monitoring-plugins/Manifest index 67c984ef8459..7b068c6fc60c 100644 --- a/net-analyzer/monitoring-plugins/Manifest +++ b/net-analyzer/monitoring-plugins/Manifest @@ -1,3 +1,3 @@ DIST monitoring-plugins-2.3.5.tar.gz 2876130 BLAKE2B 7029f6485ef73d29329bcb36e16cbbaa99c57ae20505f554af154b45cc1af6f623dabb35ee5b7f777d728bcae8eafd795f12aabc199cf1f45c9f2335f74b6d41 SHA512 bb04d547584a4aed82bfd605d129b652b45c7356c0610fb1da53a57b2ab889b67afccdd53998e2612ec06571bdc5fc238ef0d378b96e29ec072f657e74eabd55 -EBUILD monitoring-plugins-2.3.5.ebuild 3241 BLAKE2B b684d663604f3034d5789d099d732a75956fbd7b264667d015c4fb2b7364d947a3432874bbcb9f6317191711f222cd5ae0667219b16c84583b4f38b9de3ea073 SHA512 99ac5dfc8014cacc64baa2b53a177c75798427c032d0a5ef1ef296db2ac959e2bc607216a1d48f14582d9bdb9a149e853ef503594322fcec02fc42f05f99d312 +EBUILD monitoring-plugins-2.3.5.ebuild 3272 BLAKE2B c6d3c789dc96d478d044419f121bcac9dd09f0d697858509f3a2458d74f350be1567a6e118756bc590e9b77adf8dccb69df1daecc3e30233c627674278ddd922 SHA512 49073b7023da748a183a9cb3bad45f84c0840e361595619d8fd8517092478336446725d20756a604f9103f77f67808c1b7e99da5be2b65772d833f2ce299d4e8 MISC metadata.xml 1679 BLAKE2B e99ba6614df951268458260a1b8f02f40408dd2e41b65e77555fe1d1698bf4d5fbb8a35b5d640198c1feb74bdeb78c3efb9c2670c3d87bbadef16be66602d172 SHA512 1b24d36802f5efa30d4c289bbc231761d9a3a1149831ae913eea998d49782c9424e37d270ff2853a91a9d75d65e2991910aab986f7dc78e3a8132ca17be56d8a diff --git a/net-analyzer/monitoring-plugins/monitoring-plugins-2.3.5.ebuild b/net-analyzer/monitoring-plugins/monitoring-plugins-2.3.5.ebuild index b7b41a925869..b7666ec27696 100644 --- a/net-analyzer/monitoring-plugins/monitoring-plugins-2.3.5.ebuild +++ b/net-analyzer/monitoring-plugins/monitoring-plugins-2.3.5.ebuild @@ -58,10 +58,12 @@ RDEPEND="${DEPEND} RESTRICT="test" # These all come from gnulib and the ./configure checks are working as -# intended when the functions aren't present. Bug 921190. +# intended when the functions aren't present. Bugs 921190 and 936891. QA_CONFIG_IMPL_DECL_SKIP=( MIN + fpurge static_assert + statvfs64 alignof ) diff --git a/net-analyzer/munin/Manifest b/net-analyzer/munin/Manifest index de0cf5265098..4d63f59d6fc8 100644 --- a/net-analyzer/munin/Manifest +++ b/net-analyzer/munin/Manifest @@ -15,10 +15,9 @@ AUX patches/0003-master-make-it-possible-to-configure-the-default-cgi.patch 4207 AUX patches/0005-node-use-Net-Domain-hostfqdn-instead-of-Sys-Hostname.patch 1230 BLAKE2B f026b4feb3b6e2b9f1699528a3897af82eddf680724911702e66cf6db55d956cff5fdc04235735d4af9e4314665da4105e17065be026f37259227099e6d08dc2 SHA512 ecad6fd338f30a5ea2b74377a71792f492b7cba174b5488f1cfb68f5d09f578ef82930fe20039af0d11bd70b00dbbe408c57f8440bbd47c67f64c8379c0e028a AUX patches/0007-node-always-use-the-Effective-UID-not-just-the-UID.patch 5052 BLAKE2B 97734c5b3d4119861740f27b358fbef594357fdd303d4b6219ac366e0eb8e160253e802df9140a477be3ac3b2016992570009f389b64d23cf12493f0097b4bd3 SHA512 6547dfddac6de124c3cc10f623f7f97dae3206d413b16647c78c8be27d2ebf0e6908ce09fd75ab938f5599b581573ee3c580eeff77505bd6bc8b661bbfdc121e AUX patches/0009-perl-526.patch 849 BLAKE2B 4f38dedbe74e601dd67f44339dc1e64754f30284e368e4768db4f593749060a32923030a55811beb6ab2ed1e7b7fb1d817761656c0fff89adee3c518fb5e88ad SHA512 b20e6b7de057ea88cfe5420fe79520d1fbb23cfdf961096c355c6bd48384b6d78a74b7545e8ded47374eeb5b884f54b39556abf950577e025d8221f69ef43789 -DIST munin-2.0.73.tar.gz 2259959 BLAKE2B 2d2e4ce00b2df06f083280b9253f875ded100e42c991152f3f8e4b39e85d605367efc18df369e07e18eac38aabd78faa959c367752b153f97246bb47a9732f20 SHA512 4f1d59ff3f163c8fac883973ebba1221619d716c4cde506d9265544c52e73f43e8b587cda3fd00bcf779ceeaf8fef6e7780d9ea4be5b99894f0bb5047f24b935 DIST munin-2.0.75.tar.gz 2258514 BLAKE2B 689b436913a931c9002757267db236ba4ab1da947552c43ad2b96c2e5b26427499e681d0606d0045cfbbd90b70a69572b8550660a598d672babeba8388feacf5 SHA512 cceb47c27bfb3080980fd6342e805b5b9fecbef7033d6f2a83fe6c78d20f943961c9f1775ef5e464e49c25c9d246606594f2844827b38d34c04016f15dd68613 DIST munin-2.0.76.tar.gz 2258538 BLAKE2B 74d8d055be52f605b2d0f2551328bd425e9550a7dd86740479f7a6efd9a9d8be7a78b4075fe68a9c658981b2089d6277eb51b758fb8ba341c149117457ab4696 SHA512 e43d8f123cb6bf9a1b99dde4fe93440e256b3950ec1f79923998f83b14530bba24dab87ece1d3e7e5bf3afd645eafa6c1055d1119748e76230cfb29136712086 -EBUILD munin-2.0.73-r4.ebuild 12177 BLAKE2B 7023fd655d3626d0a47c4eb5220ace687cb52fc95f50c37eadc77fb8924bf27b8e2b6a4f4e4a0501112f94d6a70029395d586ad3d2a989661e7d1566597d0791 SHA512 b50591351bfed42d45b151d9cae5f2823a4375f5cd8209562536316609c92b2fa4de217040f6b3dd9b80a1f7b5f5906b20f6a6a4bbb428f178870a2fae443c41 EBUILD munin-2.0.75.ebuild 12156 BLAKE2B f94cbb66360ff3a8e5cd93e04cacbf90f81587c5db3f2f4925af624e3d6ce957201d321cccda9eed28ec8ce44f8aff3eccb27d6106ef9a15faee4560a5aaadb8 SHA512 5fac160af6a2fea96a383e6c57b8be2bfc50e39dfdbfc18a3870013859877a082360d167b0e32300151b9723c56e0a5a42c38b770712b539844bf4f768d5ce70 +EBUILD munin-2.0.76-r1.ebuild 12176 BLAKE2B b84ff2d1905516077bd00605f2f5e2da62f369fd071fb1540a814c97dbd1d58538cfabb20f7070db1307c10d118c2a056debaf71f5f0f29b621c472f74625e3c SHA512 9e7943180d69067dbc7d1413328817dcbdb4fa55773ec6d38212cb8b4162f89eba12846cf68b0a31bc1f0d2fca4772e10dbca7f023066abe3dc58b9331d22d29 EBUILD munin-2.0.76.ebuild 12161 BLAKE2B d3a50231300c773fa49be22ff5c48e604d8c94bc4948b6cac0a277b34f9783796c0dde52b3961ce21c6ac3a76b7358b8391d33f8f85477d578137178f5df1fa6 SHA512 e80b1ed648b1a92e83e08d64bab2aaa46d34d6e6a8e7b1fdd51af6bcdaf0c11612fabac6d78ca094866b1f0fa0f679021df8f457124ce3c72546c431628bcc33 MISC metadata.xml 3933 BLAKE2B e13958d477a85e5f2327ffb529567dc129e6531a114b304d930399fe9cb81e6581f1df9d884860294984580c5b3e4335dfb623fca85e18e1de818430476eacfb SHA512 f824ef7f1a950ab81c4e3f2e81f44c6b3a49dc56a4aab977fad14e5d757875f8cb4900d8cd528c16449fafc8d08ab3792be8dc5a2a820932add7ce03ca35102c diff --git a/net-analyzer/munin/munin-2.0.73-r4.ebuild b/net-analyzer/munin/munin-2.0.76-r1.ebuild index de992a88997d..b2482152f99b 100644 --- a/net-analyzer/munin/munin-2.0.73-r4.ebuild +++ b/net-analyzer/munin/munin-2.0.76-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ~ppc64 x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" IUSE="asterisk irc java ldap memcached minimal mysql postgres selinux ssl test cgi ipv6 syslog ipmi http dhcpd doc apache2" REQUIRED_USE="cgi? ( !minimal ) apache2? ( cgi )" RESTRICT="!test? ( test )" @@ -32,7 +32,6 @@ DEPEND_COM=" acct-group/munin dev-lang/perl:=[berkdb] dev-perl/DBI - dev-perl/Date-Manip dev-perl/File-Copy-Recursive dev-perl/List-MoreUtils dev-perl/Log-Log4perl @@ -148,6 +147,7 @@ src_configure() { LOGDIR=\$(DESTDIR)/var/log/munin PERLLIB=\$(DESTDIR)$(perl -V:vendorlib | cut -d"'" -f2) JCVALID=$(usex java yes no) + JFLAGS=-Xlint STATEDIR=\$(DESTDIR)/run/munin EOF } diff --git a/net-analyzer/nagios-plugins-linux-madrisan/Manifest b/net-analyzer/nagios-plugins-linux-madrisan/Manifest index 52f1cb036a47..dfe456836e9a 100644 --- a/net-analyzer/nagios-plugins-linux-madrisan/Manifest +++ b/net-analyzer/nagios-plugins-linux-madrisan/Manifest @@ -1,9 +1,9 @@ AUX nagios-plugins-linux-madrisan-32-rename-with-systemd.patch 3351 BLAKE2B 911021c3f6b566993a26ebc75359b86f8717fd6fb112e8f3fd749a149ca0eecb7fd3073b02d96eb9ce2361190946afaac0d4fb7bf3d2101b6cba04106ee2cbdd SHA512 dceb3f991d8d9ef3b7b05df5a39e444285401e5402874f0d5d3a7553a71238b7899141209739aef0af723929d8020363b10c4869f06f2d2650a7ecbf43c349e6 AUX nagios-plugins-linux-madrisan-32-x86-fixes.patch 5968 BLAKE2B 649c1224d5b426ed5434f802c1628a1502b7738d7c7cf7e5e114b23524ec00fe4923e1d8558239bacbf1113ddd6d6f9acacf4add605979616136fd53b57897b7 SHA512 98fb5e889600ce1b497021d0bda4711b089f877d97234607230d9e3bf83ed68444d9b109c7b50bf265453ee987029e85911851db43d3ea53834c9ef5756e6529 -DIST nagios-plugins-linux-madrisan-31.tar.xz 401556 BLAKE2B 5eca1e96f14b518d9ab5304bb2a54ba47f194bf22cea8445d7fef0769c3b14c800e4ed24c5c0ca32f0daf53aa81a0bd52234478c606a8d2d1a12e96abb90179c SHA512 34d8ae400766e9c7ddd246998f004a50c87ec9ad8dc13deb8e31fc6fcfa07fbe5af2f091d0523b93d06b26438d1a25240bd82d60946e5897bc257fff7c1b73d0 DIST nagios-plugins-linux-madrisan-32.tar.xz 402976 BLAKE2B ef66934315f3ddbee1a2d84723477773549c9a5ed731853780ef15b9f44ea462256f730f854d517415dce2b944a4bf0abcbfa0623a7a1faffef4b5bbf162af76 SHA512 42392c123961bb17192344f20973a3d26c74aeef112638384d5b7a687e7117a3378d6efdb07ad15a7309f5db621404602e9c2beb0dcc4e207924d0d3a466ab59 DIST nagios-plugins-linux-madrisan-33.tar.xz 397516 BLAKE2B 39e428d7b44104e01f8101ec33d250b8317c2ab9a5772bd815baf91c14eb1aeffc2aaaec1696e338d9aa31ebd9cb67d10a2049bc78a1bd8fea813761def36d26 SHA512 9b0df712d799ea5ae1eca8135089e41f167446e40416dbfe090ec855476318b26d8fdc3865470bf6cf54e7dcbce483d1f577a886ef35023e983e2508a307df70 -EBUILD nagios-plugins-linux-madrisan-31.ebuild 1108 BLAKE2B 2aca6ca84f1342ac0c5aa44e70ad6372d97650bd133335066980a707a0bf0607cba5ede1a8f1cd39c95cd7f3a4d7ed0106407b9d7dda2cffcf23e3756428a455 SHA512 026aa2ff3049aee60ee56d9ea0948cd5b4c0bbdd83be5c7f1a3674bbf39c41ded84f87d87da3b7034cb0a59499263a68d1d620d136c82488c4789dea94f424a8 +DIST nagios-plugins-linux-madrisan-34.tar.xz 399116 BLAKE2B f5fae6818c0aa87a140238cde28e7ea24fb19976274e301df03308c97d980e1ddfca51861d6302321b3959f67e426fdcf501787525d3a81ab6850ccaf4cc6d34 SHA512 a189135c590c5086bc7b3c1bb9f5ec1d15c55a542d39a578743abe62678dad961115b7180a62dfaf7ffc9f63679e33d0d2253b51feeae775fa1c5a3a7cd22149 EBUILD nagios-plugins-linux-madrisan-32-r1.ebuild 1273 BLAKE2B 81af8bb216bd268cb214c25ff30dcef47ea7e95b379ac718499aea7ecd6de1cf03dbbd676a05942cc4eb64a3ad0339cfa2c3599f4efb30d53979a729b9edbebf SHA512 ca24fe09ceae69662dc9094fe2fe387fb6f4e404dae5964da8ae55bc714fb7e383c380c89ca5341dd160bbbccbecf2615281cddc2641c31111debe17c217125c EBUILD nagios-plugins-linux-madrisan-33.ebuild 1106 BLAKE2B baa6a7f0a478f97a28ad6f4d9366f608caefe698acc4567c447e3200142f059ac6e415625639ee51c1261ba5fdaea3c41f44eadc02351e09e7c832b61675c768 SHA512 1b32495d82f4007f1819278aaf593b1d0077bbc01bb04666b619df5c03ed1752cedc8f90e05c07d7a3587d522d4610b37c509e77851d701864a570de219e74d7 +EBUILD nagios-plugins-linux-madrisan-34.ebuild 1106 BLAKE2B baa6a7f0a478f97a28ad6f4d9366f608caefe698acc4567c447e3200142f059ac6e415625639ee51c1261ba5fdaea3c41f44eadc02351e09e7c832b61675c768 SHA512 1b32495d82f4007f1819278aaf593b1d0077bbc01bb04666b619df5c03ed1752cedc8f90e05c07d7a3587d522d4610b37c509e77851d701864a570de219e74d7 MISC metadata.xml 616 BLAKE2B 948930a3cc0556ce70eef49561786c072333a30951c649c60c0a90a99b9ac961137ba038bcf5a374b883174a92e6f1e477c2f57b2e9af18d639cf2c61e8def7f SHA512 84ef2176edd30d81fa74f7362e5dfe6cc90b703d832a1fe3b70d238ddded0f68ba87e7a9f6686567f4344c615ff1eb019bffe00ee6afbf6405db4ed9fb7062d0 diff --git a/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-31.ebuild b/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-34.ebuild index 6e71445b286d..4cb8f2a417f3 100644 --- a/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-31.ebuild +++ b/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-34.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,12 +15,12 @@ S="${WORKDIR}/${MY_P}" LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="curl varlink" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="curl systemd" DEPEND=" curl? ( net-misc/curl:0= ) - varlink? ( dev-libs/libvarlink:= ) + systemd? ( sys-apps/systemd:= ) " RDEPEND="${DEPEND}" @@ -38,7 +38,7 @@ src_configure() { # Most options are already defaults for Gentoo --disable-hardening $(use_enable curl libcurl) - $(use_enable varlink libvarlink) + $(use_enable systemd) ) econf "${myconf[@]}" } diff --git a/net-analyzer/net-snmp/Manifest b/net-analyzer/net-snmp/Manifest index e444951f5b46..22eae0b8f659 100644 --- a/net-analyzer/net-snmp/Manifest +++ b/net-analyzer/net-snmp/Manifest @@ -19,6 +19,6 @@ DIST net-snmp-5.9.3.tar.gz 6646950 BLAKE2B b8e3de60e178ec16ad2848ad77f3bd4cbd35e DIST net-snmp-5.9.4.tar.gz 6681606 BLAKE2B 2f3dfdc4ce2f4d9a1a771a77e0b0c427a89e3de6dc217009df385baabc7d860ca7714fa76360a4d14521f1b88c9c13ad46b25d3975e33e8bc4bce3eb3b27b99d SHA512 a510fa91a21e9ddc86a12fd1d0bc6b356e63f3ea53f184d2e31439004d41d902390664134dc40b3b828eabb4282eaf3da628a07c4d480fa00eff7e700950c423 EBUILD net-snmp-5.9.3-r3.ebuild 6557 BLAKE2B 9d01524a05a781dd6a34ebde50b2d64657cae6916d9c9e71ee63f4434debe996691e78bfa0b868c21fba2be23c1caae7c67e9396561a668c0e9ef34e42d6e7c4 SHA512 7c08cbdd4e2ff57c92028d0f662490a241ee31e23be03fd458cb149e4ff2e19d0092f72cef1b4d96f8bf7f2bcd9fc927c75b36c1342450c0c2df7fb1c0eb0e51 EBUILD net-snmp-5.9.4-r1.ebuild 6563 BLAKE2B d64511baed96f27d6c7c0bd9311d5c997a7ac30a0046bcade50f0f0477bdeaf537c06ffa6cdc23a9a9285aeaebea64bba22635193ef559875fc18091d312c9e1 SHA512 c5d10fbe18ac82ec52078b5bad97ed044618e69ce43c152ad9ac2fc70f65910a0d1c05dce8e0875b2622276c109a14f0fc0951aa28d6a6562bdfddcf6dc0321c -EBUILD net-snmp-5.9.4.ebuild 6526 BLAKE2B a3c04658acf1708e979f4425dcb9ef64949001d02926552a18036395ec54917cb3515db13696a34aa4a1cfd5d5ededbd54e8605eb310dcb71234cabea9cba6b2 SHA512 014a169bf94f74d832646b5fc7c7c87aa54953cf8ab14c27b3b94b4dc65a39d419d88976bb437159bc8131dbc02bc79382a8b5c43e8b7e8545f80628f739224e +EBUILD net-snmp-5.9.4.ebuild 6519 BLAKE2B ce9427034e467683f5e06279736406109f42df4410b292a918bd7f022b1be90bcb9cb8f6def3c4a99688fb628a6ff9dc3053522544d3b709d05206b47f313cb7 SHA512 dd5f919db4a9469ce7f09d3152143c433c4d5eedcdb2799146a04c3b73348866f085225a2665c6935269563962dd8f9e40dce4e3389f6a6918946d6f009bbecc EBUILD net-snmp-9999.ebuild 6186 BLAKE2B 977c68c940ae1e1789ab42a46acf3d7a8fc0ea1e8503c72e3de409501a99d042b3c3d1e27d7336fa2675da1267539d0e76a435c8c8f9a72bf9aebce84e49dd79 SHA512 470e5993e1f659217fed0c97494e05633ac780fbbda0b7574a360070fb6cdcd86a76ed0381eb3a4ea7a697a615604ccb97e014102ccc600e4def9c15cf5bb2f9 MISC metadata.xml 1552 BLAKE2B 4e2f3ca85f76e2bd5992e87385485055dc61f2ff52ba7a6ccc6cf2a3e34557a0d98840cfd34a88ee3c1513ebd2609e294f2db68d5963fa884eb0eb940d8599e3 SHA512 b666ad1730772cc9856bde562ad43db51b7ae1b2b9865d5804dd3313a0ca9200989d036be4ac33eaf1f5b1eda9864d9b9be4f5a58bcca8b1455d6e508e534bc2 diff --git a/net-analyzer/net-snmp/net-snmp-5.9.4.ebuild b/net-analyzer/net-snmp/net-snmp-5.9.4.ebuild index 7445f870e6bc..379385b95d4b 100644 --- a/net-analyzer/net-snmp/net-snmp-5.9.4.ebuild +++ b/net-analyzer/net-snmp/net-snmp-5.9.4.ebuild @@ -20,7 +20,7 @@ else # https://github.com/net-snmp/net-snmp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz SRC_URI="https://downloads.sourceforge.net/${PN}/${PN}/${PV}/${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" fi SRC_URI+=" https://dev.gentoo.org/~jsmolic/distfiles/${PN}-5.7.3-patches-3.tar.xz" diff --git a/net-analyzer/netdata-go-plugin/Manifest b/net-analyzer/netdata-go-plugin/Manifest index 3fb8301a765b..6c78812e4615 100644 --- a/net-analyzer/netdata-go-plugin/Manifest +++ b/net-analyzer/netdata-go-plugin/Manifest @@ -1,4 +1,4 @@ DIST go.d.plugin-0.58.1-vendor.tar.gz 11165963 BLAKE2B 43b74ae6120806ee02b9d1d9247cd7b5bb752ebbcb21e2bd5427cad186e0facc5f04cc4484c39994d7a5727ca673610ebaa6dd01d9dd8335e7d0ad39721fe2bc SHA512 23134669204c9c68247077ec12f8789db39736158867587fb24006c2cebd9f1752553a786cc91b97f2ba8b73197987b19dbf69e4669a0f821eb1fb04db0f5034 DIST go.d.plugin-0.58.1.tar.gz 1601702 BLAKE2B d87402542fdac8683dc8a505634f6ce1eb2ebddeedeee6664d250b8774b8d1a76c189020362b1b87477bf21faf9caff28f41e396032d7548d0ec16ad8b5742e0 SHA512 acbfd7ee4a72cee0587936bd2d4e27a2b58894ee72a2218b96643c1fe0866990f9d6bfe1f754cda5f5443bc75e1406a6511300ea265a81e4be89f7f97b17664c -EBUILD netdata-go-plugin-0.58.1.ebuild 1158 BLAKE2B e1f6b189667ddd89dc37c23b861ebbaf0e30fcfdad39abd4809516028df25a3bc588031fbec5c61ac706e488023c6fe14f5569401a7c9cbf051529f81da65592 SHA512 319d2c1304eda1779cad75529abc5f7c7601e6bd78b44bd1fce8889e4676b7f3051ab930cc2f1a76aaca078edb048787e50b9a299e68e694367c276bbae2ec4b +EBUILD netdata-go-plugin-0.58.1-r1.ebuild 1148 BLAKE2B 3034ac0cff3fa75ab74b137f1b80f34c5fcc1a63a20e556b8451d4f4646cd6d8afaf243980ff125899e204034e74d49b2baf5d50c94431c95656bb4352440a32 SHA512 86f2baf8296c72af9df68f8d6139a162471a325308ad469a76b42a24a1073ebce9d78b0aacc942d7191178053207b2660e1a74766e55d64f210ed5ab3d09d22d MISC metadata.xml 330 BLAKE2B 01e6fc74fec6646f2f5d12deae7e9ce876030a6013aa0af991679e43b4b84c4d5e7b2ac1ea6087eb8c9d2bce8f915260959daf182f439b2891739ceac4b39d7b SHA512 5c82fe3eddb030df79eb8df1cef84f28bcc8049b59dfa74b9202c84f6875e959d99923ac8c6292e034a0cba7e524585ea194a2766c21b10b066d80df98e401d6 diff --git a/net-analyzer/netdata-go-plugin/netdata-go-plugin-0.58.1.ebuild b/net-analyzer/netdata-go-plugin/netdata-go-plugin-0.58.1-r1.ebuild index 70f99d0fda15..6d0271de009c 100644 --- a/net-analyzer/netdata-go-plugin/netdata-go-plugin-0.58.1.ebuild +++ b/net-analyzer/netdata-go-plugin/netdata-go-plugin-0.58.1-r1.ebuild @@ -46,6 +46,6 @@ src_install() { exeinto "/usr/libexec/netdata/plugins.d" newexe godplugin go.d.plugin - insinto "/usr/$(get_libdir)/netdata/conf.d" + insinto "/usr/lib/netdata/conf.d" doins -r config/* } diff --git a/net-analyzer/netdata/Manifest b/net-analyzer/netdata/Manifest index d907e63f0336..57190d89b754 100644 --- a/net-analyzer/netdata/Manifest +++ b/net-analyzer/netdata/Manifest @@ -1,6 +1,8 @@ DIST netdata-1.45.4.tar.gz 74881136 BLAKE2B e6184458a8b7e4430fb3e11543812f00652712c0c78d3ffb2f040adf649ceb4b01b4984165e489dfbea5c2207b702319fd5f3fb0d6d420e8973a20e54f3555b9 SHA512 44ab814c1dfb8c70880a363abbf29115189da366a49df953665dc2831da389e46ac2e33c288ebdbb10478f66180d0243d1b848a2f94043449198a87d9ad06340 DIST netdata-1.46.1.tar.gz 75135927 BLAKE2B 61ba35b4c61df47fd3aa03f08dc168dd02173b3c1ef0246bdf14555c50e9e573b0fa4b1bbca8b8f89f89a21a076630318acd21969be9060d1e7fba08cea85e22 SHA512 04d9f955129538cdd34175b6586fc548b80da1aa6d7cc7d8ecfb222e36ad184d51ad45c71b173ede7f8c1d948b9dafa3136b71cb47dfd8a73a0412445e6aae51 +DIST netdata-1.46.2.tar.gz 75133899 BLAKE2B 56fedb88071fffd906fbe7bd6eb78baab944e5fe4929e203e0cc29a0397c7ee71bb4718c372d82981d47ecb2caaa38fd071ed619c058a76165a6c02a2165f5cc SHA512 d38951df52638ed8a620e7b271e1ad9fb30b7de1a38b0080c36cdccdb6c64928ff63e6c631d0e762b887d16a94e603a8414eabc0b288cb82e839fadfd38accb3 EBUILD netdata-1.45.4.ebuild 4335 BLAKE2B af56d57f7c289c67b44cc7ba47349e1c2d62cd1c8288b259f80d9325ac4c68b9f096f93f4c854fb3dc70b889361d07ec55ab90d7b35e7d74cf44e96b7da7a41b SHA512 001e9411d8fded3b47f7ef3e3904b5c78433a5cb894bd90c7723d541c889d8b6a13734322f19b97b184c3510d40db5bb2848344565780e9840f8e3e411d0b0d8 EBUILD netdata-1.46.1.ebuild 4126 BLAKE2B d6fd416e82e28532ad08f13918a8c9f93ac6375f24e44047dc4596411bfc7b5338ac640ebf37d7de817ea9fe5693f295f1d9130e0801a62e617f7892bc25483a SHA512 00002d86adc18733f30edbcda871460b4fcdd27b27da11e259defa498a67620ffdde71aa0e24fda24e2fb619b6d4d21152fca79c007ea6231c90d88926cef6a4 +EBUILD netdata-1.46.2.ebuild 4126 BLAKE2B d6fd416e82e28532ad08f13918a8c9f93ac6375f24e44047dc4596411bfc7b5338ac640ebf37d7de817ea9fe5693f295f1d9130e0801a62e617f7892bc25483a SHA512 00002d86adc18733f30edbcda871460b4fcdd27b27da11e259defa498a67620ffdde71aa0e24fda24e2fb619b6d4d21152fca79c007ea6231c90d88926cef6a4 EBUILD netdata-9999.ebuild 4126 BLAKE2B d6fd416e82e28532ad08f13918a8c9f93ac6375f24e44047dc4596411bfc7b5338ac640ebf37d7de817ea9fe5693f295f1d9130e0801a62e617f7892bc25483a SHA512 00002d86adc18733f30edbcda871460b4fcdd27b27da11e259defa498a67620ffdde71aa0e24fda24e2fb619b6d4d21152fca79c007ea6231c90d88926cef6a4 MISC metadata.xml 1357 BLAKE2B d7b8f45aaa7dc92cc61e5452f883069997f571d6461572430786f85783d3ed42a23f079818da95495eb3a613eb7107ab3509eddda317f728a0a21e5f8dad98a9 SHA512 ee5f106689c754cb4dc679eba1a00d69c0df858146b168f5a02faac794a8b21cfcadee316e9fbfa26433ed16eb3c56ddb8cdc70d950882be1aada7433795d2d0 diff --git a/net-analyzer/netdata/netdata-1.46.2.ebuild b/net-analyzer/netdata/netdata-1.46.2.ebuild new file mode 100644 index 000000000000..2f9af0d43617 --- /dev/null +++ b/net-analyzer/netdata/netdata-1.46.2.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,3_12} ) + +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/nfdump/Manifest b/net-analyzer/nfdump/Manifest index ea46e8059406..6127300f820c 100644 --- a/net-analyzer/nfdump/Manifest +++ b/net-analyzer/nfdump/Manifest @@ -1,6 +1,9 @@ AUX nfcapd.confd 230 BLAKE2B b4ef656a10aeedf1ee9b11b2ac3d429fcf91e2cc6a84ca220e2adaa6a54536358e919065d1bd98a62b530ef698fed65be77749780320685f4f457718648bbcd3 SHA512 c9afa1d1629505e77f3a0ee282b0dec79572a9ac4dd31bb3161b36ed6036dd6a8345280c2db4a8f1fc763f88f86857d96edae997ecff8e540db448fbd9a4b101 AUX nfcapd.initd 1261 BLAKE2B 092b65523720ab0f4790650764e758da8504234dc888aadf8e6512b73f0c934eee27b00ccd717bd0944d2d4aa9574b9d2afe0f3aa7e071ab59e168c7e0cc0cf3 SHA512 5e4fff0829b992be9b1a318da4a77bdc87922a6f5257c87eff41590e32995b52b27efc7fa4e56aedf844c509430cb46103d902017cb3fc5f4885b8117e58feab AUX nfdump-1.6.19-libft.patch 815 BLAKE2B 8b82ce3c93214e016b63fa593e7e8d3c8960e1d2636a9ad0cebd75e9945c73d9d42ebfcf5afe82ec10d62ed3d4bc8334670aaf46f543782b5c86ac2f60d57db1 SHA512 884458ac127497e9c3c7b5f8ed4eca60278d052ba2749efad1d267446c6a62da4417a018aca758bac6633d09ab08e699b54163300ed176510271aabf0769d3c4 +AUX nfdump.service 365 BLAKE2B aae0d69b77b01e822430585988c148c0a497123b9a90421b8a3fda5c716b9022063aec9af1d3e6c302ba64d9b57421a3e5224eb6662374ac8277661543e1b076 SHA512 41eba6c45230957bb29c9d3325f5188c10a3123fe8580bf5da843757031ff930cede410ddb337c0899f70010d2b4937ab8a57831f395c80f40fc101e8f158a3c DIST nfdump-1.7.2.tar.gz 697405 BLAKE2B cf52f2cca5d80070bc00c7a7a87cc4820f04904ddeeebd4fc93cf3a2433bcf5798191daa86f0bfc7ee1f2f92e5d8bb087114d2c17e32b641a224189aeb54f822 SHA512 858d0aaae24f2e38f3708db9fd5cd40e99a6a50d5da5738c8ce4bf898fb153ce439c504d5fe8fb3c296d0069511a6f229ebdfc117f849a482e5ffdf457f06003 +DIST nfdump-1.7.4.tar.gz 756319 BLAKE2B 441fb5d3fcb4b83bfc42861eac67bf96ac7c7d6a44afd47c4e16615b22261e1628a1bffc645071817eb9085857ca3a3b632fd265dc897cf9af8fce2999f86787 SHA512 be65aeee9b982b30633102b3ca0f84eab280ca4fda4544be458a2387d051e62517127a2625bbc4329a844550a613df67f5015cc5a90a8e4b6a8c65d045650ee2 EBUILD nfdump-1.7.2.ebuild 1764 BLAKE2B 2926473aa8b71c4e1cc515174410fc8b67b5d82034e9c971a7c0d67172f3d03b933062fe91568c84fea23ef1c3a7519782ba69c460b09254ba090cd1f6bb55e1 SHA512 2d833098bfb8722079e54e29bb6448c7fe7657012d68e86099721d851f2bbd6570488499b93e73e45c558ead6a2e73ca5c892ba509e305bedc868ccfe5e7cbf9 +EBUILD nfdump-1.7.4.ebuild 2034 BLAKE2B cd5cbb4da3d87aa8b2e11e0636a469ae99411bf2ac0811ee83823b3b72a0aceb936a74dea34189b9c0529224b47bf2783112c97f08c6b6d0575521e3a95b801a SHA512 4a24a6fa5839d6738069df17c767e331f12a0ff684ac26ee47aaa51d968ab8f63311e202450a6f447f18cb2e5cd5bfde866f0b92ea66d5d2c0146ebe2ba07e51 MISC metadata.xml 1278 BLAKE2B ad9d73532114eb0942a2b5262fe8e5f2b787993950fcd7c8bcb926f9e9e8d93ab94476265976b2e0cc41f3ea46fc6699a0bbb591d0c929208ec5e85d1b399617 SHA512 0bdbda9ccce4611ab88b746f4907dbb0c96d1e5f0dac909e2318c8bdf77de87321f65baadbb886f0c2e1b231cc30c50c70e5363cc9084285d1eaf5897c6f38cd diff --git a/net-analyzer/nfdump/files/nfdump.service b/net-analyzer/nfdump/files/nfdump.service new file mode 100644 index 000000000000..03e8443077ae --- /dev/null +++ b/net-analyzer/nfdump/files/nfdump.service @@ -0,0 +1,16 @@ +[Unit] +Description=netflow capture daemon, %I instance +Documentation=man:nfcapd(1) +After=network.target auditd.service +PartOf=nfdump.service + +[Service] +Type=forking +Environment=options="-l /var/cache/nfdump -p 2055" +ExecStart=/usr/bin/nfcapd -D -P %t/nfcapd.%I.pid $options +PIDFile=%t/nfcapd.%I.pid +KillMode=process +Restart=no + +[Install] +WantedBy=multi-user.target diff --git a/net-analyzer/nfdump/nfdump-1.7.4.ebuild b/net-analyzer/nfdump/nfdump-1.7.4.ebuild new file mode 100644 index 000000000000..5bb38c317ad6 --- /dev/null +++ b/net-analyzer/nfdump/nfdump-1.7.4.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic toolchain-funcs systemd + +DESCRIPTION="A set of tools to collect and process netflow data" +HOMEPAGE="https://github.com/phaag/nfdump" +SRC_URI="https://github.com/phaag/nfdump/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="debug doc jnat ftconv nfpcapd nfprofile nftrack nsel readpcap sflow zstd" + +REQUIRED_USE="?? ( jnat nsel )" + +RDEPEND=" + app-arch/bzip2 + app-arch/lz4:= + sys-libs/zlib + elibc_musl? ( sys-libs/fts-standalone ) + ftconv? ( net-analyzer/flow-tools ) + nfpcapd? ( net-libs/libpcap ) + nfprofile? ( net-analyzer/rrdtool ) + nftrack? ( net-analyzer/rrdtool ) + readpcap? ( net-libs/libpcap ) + zstd? ( app-arch/zstd:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-alternatives/lex + app-alternatives/yacc + doc? ( + app-text/doxygen + media-gfx/graphviz + ) +" + +QA_CONFIG_IMPL_DECL_SKIP=( + # Not available on Linux, with fallback at src/libnffile/util.h, bug #904952 + htonll +) + +PATCHES=( + "${FILESDIR}"/${PN}-1.6.19-libft.patch +) + +DOCS=( AUTHORS ChangeLog README.md ) + +src_prepare() { + default + + eautoreconf + + if use doc; then + doxygen -u doc/Doxyfile.in || die + fi +} + +src_configure() { + tc-export CC + + # bug #853763 + use elibc_musl && append-libs "-lfts" + + # --without-ftconf is not handled well, bug #322201 + local myeconfargs=( + $(usex ftconv "--enable-ftconv --with-ftpath=/usr") + $(usex nfpcapd --enable-nfpcapd) + $(usex nfprofile --enable-nfprofile) + $(usex nftrack --enable-nftrack) + $(use_enable debug devel) + $(use_enable jnat) + $(use_enable nsel) + $(use_enable readpcap) + $(use_enable sflow) + $(use_with zstd zstdpath) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + + find "${ED}" -name '*.la' -type f -delete || die + + newinitd "${FILESDIR}"/nfcapd.initd nfcapd + newconfd "${FILESDIR}"/nfcapd.confd nfcapd + systemd_newunit "${FILESDIR}/nfdump.service" nfdump@.service + + if use doc; then + dodoc -r doc/html + fi +} diff --git a/net-analyzer/notus-scanner/Manifest b/net-analyzer/notus-scanner/Manifest index 4431f2981958..b05706153e62 100644 --- a/net-analyzer/notus-scanner/Manifest +++ b/net-analyzer/notus-scanner/Manifest @@ -6,4 +6,5 @@ DIST notus-scanner-22.6.2.tar.gz 316406 BLAKE2B c24ec5e4fd9f8fc181145d64580d04f7 DIST notus-scanner-22.6.3.tar.gz 293997 BLAKE2B 889416d2324088dc11f2df5146b3c88b276d1170552f55b2cb7ef49f4d8d855b98d6c0e53a1d49bd725b97b88c12df69a1997a38a614aa941dd699d0efb1de51 SHA512 fc3a05a3a9d61dd0b7a9913cfbbf507fec9dd3797a42a82283d14ab7fa8090fbc847487cf3a1d064f49572dda9acadba4bd7d30003fd32a179f572e327254546 EBUILD notus-scanner-22.6.2.ebuild 2131 BLAKE2B d754be7534a460285cddf9387039523f998e5342c71ad0db5780a0766d06e89402f36eee19de6d0621f2b1d94ded87086f66b508741f7a8b0b1e3e25d4f96198 SHA512 6be8b83e4a6a8edeb0511b03b387420c171349921ac4a38d260b72e26f51f71e98e99d930d034ae5177f7e0a917a62afe9b67e5b001a649f67f5dd4f84095531 EBUILD notus-scanner-22.6.3-r1.ebuild 2173 BLAKE2B 0fad1f1917dd51e37743a4b1775012f30388682abc34190cd117b482c1c410d7d241fe15e8892b1684882faec90f501141115bfcd5c5a4c4b050391fb49eb270 SHA512 5a428aa49b67720f5359cf5021288dbe1e6bf5ccf3a1496da5d2fec24675a283baaf8d187d98eb82d34706250236155d49cea7317a97000426539a7460dc54e2 +EBUILD notus-scanner-22.6.3-r2.ebuild 2172 BLAKE2B 837baebcbefe7fae784369e17da4b1a769bef21af599d029e11075834e093cf3d9cf30fa39ae29cec3e176e14f7249b1f178ff6dc3836ac600278870f2cfd3e4 SHA512 d14c86e099a5e7c6d72489b705984d27a404ebb0a3b6df41a25a6b44017fa76ff7ed416dc5bd30d704a7b0c521f05ed59eefdd85a8635c1c74740a0970d9d2aa MISC metadata.xml 735 BLAKE2B 78af413540fe6af7214b65b50b50aaf9cf59280037ada5228d38e529d90752b0516bf1d7514e7d9436edd93b50cd8a9dadc1e9fbf84a5c57a0ff0cb45b712cc8 SHA512 fdb4ce92c1eede58fe267ed2a4832dd1d4e7a1694591efb3d2ff372a621320275c4090317cb57c50724ceb7e386fa28965e45b724b311127ecd8665e2908cf92 diff --git a/net-analyzer/notus-scanner/notus-scanner-22.6.3-r2.ebuild b/net-analyzer/notus-scanner/notus-scanner-22.6.3-r2.ebuild new file mode 100644 index 000000000000..f183e1fe25a1 --- /dev/null +++ b/net-analyzer/notus-scanner/notus-scanner-22.6.3-r2.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} pypy3 ) +DISTUTILS_USE_PEP517=poetry +inherit distutils-r1 readme.gentoo-r1 systemd + +DESCRIPTION="Notus is a vulnerability scanner for creating results from local security checks" +HOMEPAGE="https://github.com/greenbone/notus-scanner" +SRC_URI="https://github.com/greenbone/notus-scanner/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="AGPL-3 AGPL-3+" +SLOT="0" +KEYWORDS="amd64 ~x86" + +DEPEND=" + acct-user/gvm + net-libs/paho-mqtt-c + >=dev-python/psutil-5.9[${PYTHON_USEDEP}] + >=dev-python/python-gnupg-0.5.1[${PYTHON_USEDEP}] + <dev-python/packaging-24.2[${PYTHON_USEDEP}] + >=dev-python/paho-mqtt-1.5.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + <dev-python/tomli-3[${PYTHON_USEDEP}] + ' 3.10) +" + +RDEPEND=" + ${DEPEND} + app-misc/mosquitto +" + +PATCHES=( + "${FILESDIR}"/notus-scanner-22.6.2-remove-tests.patch +) + +DOC_CONTENTS=" +For validating the feed content, a GnuPG keychain with the Greenbone Community Feed integrity key needs to be created. +Please, read here on how to create it: +https://greenbone.github.io/docs/latest/22.4/source-build/index.html#feed-validation +https://wiki.gentoo.org/wiki/Greenbone_Vulnerability_Management#Notus_Scanner + +To enable feed validation, edit /etc/gvm/${PN}.toml +and set +disable-hashsum-verification = false" +DISABLE_AUTOFORMATTING=true + +distutils_enable_tests unittest + +python_compile() { + distutils-r1_python_compile +} + +python_install() { + distutils-r1_python_install + + insinto /etc/gvm + use prefix || fowners -R gvm:gvm /etc/gvm + newins "${FILESDIR}/${PN}.toml" "${PN}.toml" + use prefix || fowners gvm:gvm "/etc/gvm/${PN}.toml" + + # Set proper permissions on required files/directories + keepdir /var/lib/notus + keepdir /var/lib/notus/products + keepdir /var/lib/notus/advisories + if ! use prefix; then + fowners -R gvm:gvm /var/lib/notus + fi + + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + + systemd_dounit config/${PN}.service + + systemd_install_serviced "${FILESDIR}/notus-scanner.service.conf" \ + ${PN}.service + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +} diff --git a/net-analyzer/nsca/Manifest b/net-analyzer/nsca/Manifest index 2a8c6600fbb8..235c7bc74453 100644 --- a/net-analyzer/nsca/Manifest +++ b/net-analyzer/nsca/Manifest @@ -1,5 +1,5 @@ AUX nsca.conf 219 BLAKE2B 0ce329240a846e3fc011b82322e2635aa396bfd5eecadf5834becb08b1085e32d30be337b174d777208a882dd2fdcc71939d3fed100534e0c6b431a4e11f9b5a SHA512 c7dda1f94611e028b52ae6bf330db1415b18a88590a8a7c54d1f862aaa326751b39e88380cd24217aab11f32ef5842c6b1d4a0333ca0310a5be0e94c573165b2 AUX nsca.init 645 BLAKE2B baa298df97c4c29fa563a1dde1ef6cf962acf2ec50797b68f073f744fd56eadf97b6163196c497e83d49b4daf8c2eac04378d8b4d00ffae32796e0f8e926ab3d SHA512 88fab799a388dc6f10a2eac94b1ee5d1a76687c408958cc8cf5c22219d10b439d0c9c64a9ae9f34211e19eccb95cb2417e4b972c5549d23ef4bdd5493cdaf224 DIST nsca-2.7.2.tar.gz 104953 BLAKE2B 74dce7b59149cd41fe316dc48588d744131efbbe8073d0defe3542a774ac7dd7429a23e5e7f6b2c9b9e45fa1938cdb2994bfcf93e745c12c8fb5bfbbeb627e6e SHA512 f84cac3613bbd0ded4ec700c1dadac71ed075544d0f48281a70946a67792b7f4bcdf6dc3bd5ccf1293cc6a0277638e0f034c33064bf9c05696b4f015e7f15010 -EBUILD nsca-2.7.2-r103.ebuild 2022 BLAKE2B 64eb7a6c4a9dd559bed13d14ffed87557f18473cba30fc76f5b13fa471573a87f88d1bfca0b329476502d9fcfe2137310cdaefee609db6c84ef3f3a3073c3ad9 SHA512 6a53b4c9d5403aed732b6e31adc7496b760537f35fbbb457bfbd4ab1b2208b271890848440aae610b0f7803fb7f7546fee9c818e9036d51585151fbbd7b1b873 +EBUILD nsca-2.7.2-r104.ebuild 2050 BLAKE2B 6bbaeb917cb7fb42d16fe5d6ad554817b9e6bf3c79c7a6d79df63d0f11d48c1f4142ebb9a54e45dc4782006fa42cbeb43bb4350360dcccde7f287f5f2a1b385b SHA512 d6b9cb5ac3caa7a90e9b61da625c7a920f6e67fe02deb6b582fc32a8f65e6d7ad15de9a2cf63cee6320458e24b688d95a0edc8afdbbf049aa67152638e0f17ca MISC metadata.xml 1733 BLAKE2B e7d987509bf4066ee0b6133dd34fdd98a0260ec436f3b24cad2f447584aee21568a1dae311fbadaaf47560bee8f3113e45fdfdea908934b5cb78d7300111be72 SHA512 24221ae962c2d500dac72c87186cd6e70adfaa04d3f2fd43638c0d1b1bf34d2ce7d564593023ef442c15302b8b2ddaf2b601a9c30bc05221722160aec4255251 diff --git a/net-analyzer/nsca/nsca-2.7.2-r103.ebuild b/net-analyzer/nsca/nsca-2.7.2-r104.ebuild index 2f5ddddd240f..6138ae9d1680 100644 --- a/net-analyzer/nsca/nsca-2.7.2-r103.ebuild +++ b/net-analyzer/nsca/nsca-2.7.2-r104.ebuild @@ -27,7 +27,7 @@ RDEPEND="${DEPEND} net-analyzer/nagios ) ) - sys-apps/openrc" + || ( sys-apps/openrc sys-apps/openrc-navi )" src_configure() { use tcpd || export ac_cv_lib_wrap_main=no diff --git a/net-analyzer/openbsd-netcat/Manifest b/net-analyzer/openbsd-netcat/Manifest index 25b587c2cc19..e6de05bf11b5 100644 --- a/net-analyzer/openbsd-netcat/Manifest +++ b/net-analyzer/openbsd-netcat/Manifest @@ -6,5 +6,5 @@ DIST netcat-openbsd_1.218.orig.tar.gz 22964 BLAKE2B 2dba29cc93ef5295ec24db763245 DIST netcat-openbsd_1.219-1.debian.tar.xz 52048 BLAKE2B 62c2e4a6446fbdb01ea34a70c10dc72a980e62b4d8e06e4564f05932b9fb291be73558a1b8c11f448c509b0fc3c5fe42381a1a9f0a14bba0c2e087dd1e6da9f1 SHA512 badc1afbe8a467c068fa1d3bf12817d568eae5bb9774f9f11d3b30c065eb3a8b39724bb456329d7153ea3160cd10fab159a6756f7eeafd9bfc8c5d78114f7da6 DIST netcat-openbsd_1.219.orig.tar.gz 22940 BLAKE2B 4e871124a22fec2ba572f2a614b7eb5134565acd5d952973f7e7f76ead6b22d0811efcc916726da1e7719c5d3014f94ea53ad09804a77b55c4b15fc571bf0e95 SHA512 9f6d531d33410457b8f1e6a3eb0d105dbd819d5e4fe9753d32d7fd4583680ceba102a60307a8b5ef26b47047492b207388742b725da3708d30d360d4a196f115 EBUILD openbsd-netcat-1.218_p5.ebuild 1738 BLAKE2B 07aa42fa2a1aeaf331c2699d9a9fb82c71543e894d5a7251f699bdefb606a0ebe9ce51bc8382c6b7aadb5c543a0ef9b0b08554f794d8951c3dc531647182e4c4 SHA512 d7baf7ec345471e61ba42a5e08825f84910250a3ab52f5b28cba8ccba76143c0ac6d2226d1f8a6a10fe369a18be43b11a52d3d1b75c653256a7d533b9d270f36 -EBUILD openbsd-netcat-1.219_p1.ebuild 1758 BLAKE2B 94c98cb2c43eaa6efd201e91776faa67e9e42246235d05b2bcc1df454fe1c27ed19d53e7879a7a988286e709354874ab133d93cbcd0843079b72c1136769d0be SHA512 04c8ca2687f50e35fb913304aa7a8cfd20ca553d9d56a10db1ccdf829f283f23c390ec7b18a0f30e31e9d0377ff92fcc928449a3776ca57c126f795e5f381f20 +EBUILD openbsd-netcat-1.219_p1.ebuild 1791 BLAKE2B 2e93efc618e66ce9020e881ce8c4283a6fbee019330e7f922280da1ce250d50348e6f4aa774268b7be82d4400c78c682138b328e151b99d299018909c588382b SHA512 d97bd51b9eeaeefd41b5d651de7af2b4bb9f47b79399e8e59ea031ffb239bebd264bd27815c54d06e733a755041edffd81a19a3e573ef3a243b90c36beb20b66 MISC metadata.xml 245 BLAKE2B ac72ef778f5d556deab2ebcf80116f69791bc0590fea00ad21d361df28a3d1b96fb42db2de7f7545ad6f38137b9c26510efa2a2a251ca5646f77476dfb27d339 SHA512 ad4d8a54ad37031eaf3e1f1a06d53b85f504bdeeda433eee0a6101c2ccbc5b8da2d33725c9b0dfd013c3c5ad218171f6010722f443f81124086bc8c54a216b06 diff --git a/net-analyzer/openbsd-netcat/openbsd-netcat-1.219_p1.ebuild b/net-analyzer/openbsd-netcat/openbsd-netcat-1.219_p1.ebuild index afe9a5ea3fbf..d07c4bf17e73 100644 --- a/net-analyzer/openbsd-netcat/openbsd-netcat-1.219_p1.ebuild +++ b/net-analyzer/openbsd-netcat/openbsd-netcat-1.219_p1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -47,7 +47,7 @@ src_prepare() { } src_compile() { - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" PKG_CONFIG="$(tc-getPKG_CONFIG)" } src_install() { diff --git a/net-analyzer/openvas-scanner/Manifest b/net-analyzer/openvas-scanner/Manifest index 5cf600ebce95..721b117392bd 100644 --- a/net-analyzer/openvas-scanner/Manifest +++ b/net-analyzer/openvas-scanner/Manifest @@ -14,5 +14,5 @@ DIST openvas-scanner-23.3.2.tar.gz 1416687 BLAKE2B 6d8b0ba5b0a6f503ef27962fc9007 EBUILD openvas-scanner-22.7.9.ebuild 3657 BLAKE2B 38af296726719db9d3c3727aa271475ae255296ac8a36151022cb25dcb8c8066e34c2dff6bdc00e8c8777163f4262dd38fda3b4887a08de3ad8113eb4777e7c8 SHA512 55a156026a45e02d50e4684c93d9284de88cbd1da725f6b1a17453f472c6dcc19e99dffc6b2780a23804a26db3743331c3e486e3290073e267a389620fdb3d04 EBUILD openvas-scanner-23.0.1.ebuild 3780 BLAKE2B bfefffbd95c2be01ae02aabc773ebc231ce372543199ff90d3baf2e0df6002692e5e4e99db38b0a2d5f2b3226e9756f1551a947e0c28f78f79c2124a3d94a7e2 SHA512 932807fc8f505db39f376dd9897c895bd9ccdc18870ca94a84036a30714a919e366da06f20bc24eb9b67ca7562f4075b287d8c70177e7524a403d9ad937b52ad EBUILD openvas-scanner-23.3.0.ebuild 3779 BLAKE2B 72df699aeb35d24116a4393ea9859800f2cd254a2056f95cf4424d6c9c0b87a311104f03e48ef4c9687217113d09c2165e8e144dc465f7af1151c73b03272e93 SHA512 63feacfddbcb042f57960457fc390fea1892564a0cd2111746fb2869e15dad818655b7e663849673faaeaa6128c2efffc2b7336a488e10afc4d17b501034747c -EBUILD openvas-scanner-23.3.2.ebuild 3652 BLAKE2B ac47a105e1970e5cf20c3e19322c44af5e5e8d9e42be927fe983e059bc00498a66467f10edc48bf17bc7727ae15e09c2038585114ce57a08d456445be8620935 SHA512 6ac5234552af6186b05cb8bc231e0f3d7c2442207c85e039038b63751781156076e968f3686092f3e6faeb039a0b77be2ca2fc55abb39e50772e552e8c5fc4bf +EBUILD openvas-scanner-23.3.2.ebuild 3651 BLAKE2B 8d2855780cb2d3fdff53c18c0a87c696e1f66de535bcc05cafebed489d8877726ec4814781121e4df4b96ad7be5a23dadab1d533c4ccc04f3391d4a383ac681d SHA512 44fed7d6e1c8aadaff21b220e0a2eb333de8c53ceea05beaa3c36f2ca191cb1add884d9ae6015e094429c9480f7547fa517618b72dc686ecdd670e6030ef7eeb MISC metadata.xml 1082 BLAKE2B a428b18c1fba3380a42e1120fc58c8c950900723f5cb11febdff5d86cd16bce0a17fcdb4c48867435a7c39243a7fa7e5c15ebb3fb0d6d44fc23ef56197530b6a SHA512 e41f348b1ae728e27efb71e5ebb9e468ac5d0b31526a4db922f1bc2d3f3029a5b75be2db6cbac14754107326c4af570e6673b2e66f44317677e319116daadaf6 diff --git a/net-analyzer/openvas-scanner/openvas-scanner-23.3.2.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-23.3.2.ebuild index 4437e7dc21b4..b8b26ec02987 100644 --- a/net-analyzer/openvas-scanner/openvas-scanner-23.3.2.ebuild +++ b/net-analyzer/openvas-scanner/openvas-scanner-23.3.2.ebuild @@ -15,7 +15,7 @@ SRC_URI=" LICENSE="GPL-2 GPL-2+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="doc snmp test" RESTRICT="!test? ( test )" diff --git a/net-analyzer/ospd-openvas/Manifest b/net-analyzer/ospd-openvas/Manifest index 40300b14f1ce..702a5b6c9040 100644 --- a/net-analyzer/ospd-openvas/Manifest +++ b/net-analyzer/ospd-openvas/Manifest @@ -8,5 +8,5 @@ DIST ospd-openvas-22.7.0.tar.gz 246142 BLAKE2B bb5ea9bdc82929958466d2002ce28e63e DIST ospd-openvas-22.7.1.tar.gz 250148 BLAKE2B 7840376790f451e9316ad33556bac49e9672c7911ac0e3813e4c3a182a06b2c603fa80fa6ac6d2822c87ca35df172d99a3b60d3e16649328387267080572a507 SHA512 ae7fe56a2b825efc33d9e29f2a51ab1034155ee70a5790d98f3b811a29f4b35830afabc27abd14593d74e1bcc5dac0ea1cd33ed46cc3ca459256a4b452e10552 EBUILD ospd-openvas-22.6.2.ebuild 2327 BLAKE2B 5e9b938d6a798e73f950420e291591bb0fe48cdb3086beff560289a986b3617c4d2d1cd69549b7624b15a5d9c938ec36a3f4abb4ca5acca5e479f555a358b6a2 SHA512 63fdd9ebb30fa44f1591711f123779022a635c59c21995ea5fb4a59c09cbe2fa863760185d0cff9caae20eedfaa8324c44a76c868bde5c99f0cecd4c9bd47abf EBUILD ospd-openvas-22.7.0.ebuild 2370 BLAKE2B b03060cfc3406090aa2cf3ff86e3ea19d2f17734942be0d9b4710511c88202376394ecb7a10c215341d4ee9ef8c4df92e67dd822c9b4fcc0dd26bfa7a6d77ba1 SHA512 502cebc84d27b9bb047c47091678702d78ce60ab7e152007bb34ef2153cfb65e3399baddc7eeae401e62f12e17ee4c09d360881c92405b3bb4198c4c1acb9b2f -EBUILD ospd-openvas-22.7.1.ebuild 2417 BLAKE2B 92fdcd2a2246226430842a9b6580391c72989a42894ef33db89dc5388c08e357b6ef78b23fdc4fbd3e810cd12a85454be0e8547470d9e2b193dd00da784f850c SHA512 584e0689da9fbc9d8ab73a5ba6e7c9c57ffa77ce9f591fb7e268ddd9cbecf3e1b58b29781c0529d41d18f1eae748a75d5de1d59b85c6bce56395c722d765484d +EBUILD ospd-openvas-22.7.1.ebuild 2416 BLAKE2B 180cedc78496f579797da43dfb0b823bf986274b3bac1605416ea8802a84774eba3e7703e3d8bf14127c8745908b5018fc4012b7e3d57ebb68ab49c5a8a519b3 SHA512 8d4b0c666185dd91355233ae2f77ad8e706fdb4a300e383c167c1b32b635a1e10db8857870950ca9555329defed9d68abe91f88689e82e9936fb1de377e7db49 MISC metadata.xml 1029 BLAKE2B 603e12bc771225baa50afc6e5254b64215055d9399c9d1862611150a49a74f397af610676ca273506f2359513b42d91786ef9f7c9100789437c00b8e59f6ccb2 SHA512 bf49f3444f277ae4b798a5c01d4c4dc5804187479774e85a9ea7481bae3b596df6f330979560ed43aa310cab72ba50dae4eeefe65a8e7dc6ada14659122ccaf7 diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.7.1.ebuild b/net-analyzer/ospd-openvas/ospd-openvas-22.7.1.ebuild index f44cbfea2e2c..11a57ec79a7b 100644 --- a/net-analyzer/ospd-openvas/ospd-openvas-22.7.1.ebuild +++ b/net-analyzer/ospd-openvas/ospd-openvas-22.7.1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/greenbone/ospd-openvas/archive/v${PV}.tar.gz -> ${P} LICENSE="AGPL-3+ GPL-2+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="doc +notus" DEPEND=" diff --git a/net-analyzer/pontos/Manifest b/net-analyzer/pontos/Manifest index 1d35db8c7b16..7a32847c9bbc 100644 --- a/net-analyzer/pontos/Manifest +++ b/net-analyzer/pontos/Manifest @@ -1,5 +1,5 @@ DIST pontos-24.1.2.tar.gz 379930 BLAKE2B b0c9fd02c17ca0fed7468e34264f8e41e87b4c50f6254d8d4d9ee5c7a8444a7acfbf3c113483e26831be68279d7c08bf412634fff5e3454dc0e7ec5273ddcdd6 SHA512 55fcb768d89b0fd478bbf14a435d7d42c6c9ae2ff2a834ce685e25b105ed071d156d1afbc0231d80dd8d5c844f33b648b08772a0aab943127c58f9a475f267d9 DIST pontos-24.3.2.tar.gz 378585 BLAKE2B cb6a89a2fbfefe1b038b5886dc7a278657d36a05bab818335efd029d6320b8b60defcd73c3e94df17008ab611434898b565cb7057e1f0198113bd8a7a0600934 SHA512 4ed6a79097197da01d35a660ce13edfa028c11b082626038ea037b99b1f365b054d2c07ae841c739735da057e2d8d9fc64b63f18ad3aa941e14ff725261dde80 EBUILD pontos-24.1.2.ebuild 1274 BLAKE2B 6f1619401dc82a4f0283f3e925a57db91a7b9e7d5f5604827b519071185579c4a07982d2ad6c860d75d2d7474e0762ae2a867043bde557f4f50fc1e1425e9002 SHA512 3ad731ebd0ccf1f218d4526abef414c5593bae4fd0f88958013e6a295d55f10796a962e18f781180ade52b17415906338eff0f340c57a5494d5ce5eea07b6244 -EBUILD pontos-24.3.2.ebuild 1325 BLAKE2B 11d2ab12b6403bc0775097e88d183c8af9426478167c1bb54b954afb6f7dab4ffa0813ec096413fa0c3fd38784e01b5b573d11cda5949184092231f60fb82197 SHA512 bf69c9a12d648e1d997727b036e1a4e2a18500ff36c67a08f9be7e848e418e3106c3bb4d7efe609dda5eb446dd05d7ecdf89c818951f2afed4494d1e6376ccc8 +EBUILD pontos-24.3.2.ebuild 1324 BLAKE2B 40ef2052cbbe117cb79c53309ae2b7e6ad090b99fbaf29b5d5185e7c34ed6f6099c17d2263e9ecc5e72d39f324ee50aa643e63b961684399f83fe0bf46e558a0 SHA512 47696ee8ff28d87259226039d8dc36a109df14635d23a7d3bbf77a8bfc0488eb55aeb6abcb9d35a6472ced2a7259888a71d041f546f5553cb3b4e3912b791887 MISC metadata.xml 731 BLAKE2B 3c04d3cc6cbf0398dbbefd010187d660a1070f6c65c8227f76c9b33525af61d1c5178a96557f9c160df530619607fc792faf0b5d9f6716339bef8976c60e725c SHA512 cc37e6efd9a25f6984c96607bc4deae3305e165368a5d80a9a306d3802c223109d4afdcf950ee19444ebd6e1c23954749c6f0c18f0ca8744e5671da4ceb1039c diff --git a/net-analyzer/pontos/pontos-24.3.2.ebuild b/net-analyzer/pontos/pontos-24.3.2.ebuild index bf8315f7c568..4960ceda8096 100644 --- a/net-analyzer/pontos/pontos-24.3.2.ebuild +++ b/net-analyzer/pontos/pontos-24.3.2.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/greenbone/pontos/archive/refs/tags/v${PV}.tar.gz -> SLOT="0" LICENSE="GPL-3+" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" RDEPEND=" >=dev-python/colorful-0.5.4[${PYTHON_USEDEP}] diff --git a/net-analyzer/pypacker/Manifest b/net-analyzer/pypacker/Manifest index bb8e7ed6b38a..8133d3937b8c 100644 --- a/net-analyzer/pypacker/Manifest +++ b/net-analyzer/pypacker/Manifest @@ -1,3 +1,3 @@ DIST pypacker-v5.2.tar.bz2 544026 BLAKE2B 3401b47a496e8c76d2b925e63c43838d2a05af01655a3e470ddfd0c2c57ab6b37ba1b9acd49386232b5c0fb4bc8d061f8992eac07f5729306502fa76413c51f5 SHA512 3ccb82ff2a352553819991c0e24fb6da8a26091f5cdced3d3358192ecf6598153fb3b36d48b1f51cdc1dd7f54e136c073e8e5a2f3fb050af24f83c77e1bda3b4 -EBUILD pypacker-5.2.ebuild 705 BLAKE2B 3d927a0a40949801612cf8bae21e23172be581fa13e432f98e5725bb786331c2ea4403c5bb3ea71bc2951543759979803002c27a46807373f94fdef77824b55f SHA512 808e9a63967b166e3a5bec2edd8e16237ac4309efbfbbb35e6f63295a80aec764a738b8fba44b166c8e9ccd47bbb3bb352364254c61eff57a5125bdc6963fbd3 +EBUILD pypacker-5.2.ebuild 706 BLAKE2B af72df213023345e491953cf30950b9cbc7b433659697bfc51d54c29abc76ffb079b9932579745fc47e52983db60dbb1f858e385fcab415aa4e97f0e7ca54a93 SHA512 2c3f16cdd7588de2f865324b25f30d74a3326b4bec31347fba147f43ab4aceb1a71e792780ef31c7fdebf943820baace131820aa5ecee03c28ea0c023c597d01 MISC metadata.xml 472 BLAKE2B 1c41ed1bc52f86d76dfc1496a381cb78288f817fce1e5cc2d4e6d89f9833b4940ec21bf9ccdbe94006efd23257e412a63de8ab311d6f07e9064e175fd64c7b75 SHA512 ed9530f6ffe8cbee6687b8be7b4f08e8ed9ba9547e285af0106ef830d8f1402f721242614e10a615799650d01ddad0ce50663a166a88f751127a2df7837f07df diff --git a/net-analyzer/pypacker/pypacker-5.2.ebuild b/net-analyzer/pypacker/pypacker-5.2.ebuild index 3de0dad76a97..abe584f3d460 100644 --- a/net-analyzer/pypacker/pypacker-5.2.ebuild +++ b/net-analyzer/pypacker/pypacker-5.2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 diff --git a/net-analyzer/python-gvm/Manifest b/net-analyzer/python-gvm/Manifest index 083d55b227e0..14674e4d0230 100644 --- a/net-analyzer/python-gvm/Manifest +++ b/net-analyzer/python-gvm/Manifest @@ -1,5 +1,5 @@ DIST python-gvm-24.1.0.tar.gz 287497 BLAKE2B 049154d5a516c56885c06e2a83884736c9e4009e1e69a817e541f1317d4fe0cb886f98ed1572bcb55bcfdd40ed7da6639ba52cc89b113731f24d941de3f6195b SHA512 d70d3c654aefb6e5949e35f68fd1585c243988a41165c9fefb54c8fe6dd24694391553201a95558d3fd4a6e8c88783a1fc4d2205ce9ae1a7d2fc2dafdf19825b DIST python-gvm-24.3.0.tar.gz 278134 BLAKE2B 0da2b7d33164f7db773b51d917755678639f58f63438c23fac95fc3ebeb0412e470ee834804d327b4b46b379672d8f3fd673e0cfdf93f7fc65fe31393a5f3509 SHA512 d6e9dcaf3e776309b18b11393049e2edd08884241a2d050806d9b82dcc91d12e2a121f532b311a83e8f9bf367694b41efe66a9a8eefbe1bfb7bb7453ce08715c EBUILD python-gvm-24.1.0.ebuild 844 BLAKE2B 6dbc21b1b5afcb2d948655b9bf5fbd5ae58a0cbd18f9640fca454c6cbf2b8fc554c1471afbb8e0432ea2f47b37980989167b0daa5522c296ffe83a6501f67f25 SHA512 fea784118a3aaa5332faa4d449742cd06d77fe3e7431255fc0acf0b2d8b37159bed260ba621f459b4623ac6c533dce02524be6afe69e21005ea651042fbeecd4 -EBUILD python-gvm-24.3.0.ebuild 907 BLAKE2B 3073f035c572edf7b8b1b4d1878bf0beeb803d73aff31d71a7d64a473dfb0553739fad11a1fca50c9d3b544bf34be1f6531d4882bdcd6e7266e018a606b7e80d SHA512 ebce11aa1373e3a6993d25ad9ec514d733339380ef6611575aea1ad53eeef3f822f002d3c0aea2858cf37a4cb934068d526db75bfb8e0be0864daf3517974b3c +EBUILD python-gvm-24.3.0.ebuild 906 BLAKE2B 1eba57eef610e2eef1a1069a2bb27fb2ba7c29727472a0d65de59f964b9689e4784d117f404e455f4419c98634c5da1c0759d7b889732da587e7a0f4e3022307 SHA512 ff809e94c4ec57be4f4cb7fafcfa1bb116e09f0d5d8ba628bb9030d9e9c69a4b5c6c2e895be749743a1840f220a8ed8262e5c5a2c16ba494de05e8b696b0de66 MISC metadata.xml 1037 BLAKE2B c16435b2519ae601cc1430aa2e06937961f6fc86db1f8d0fa0800d8e81139f54e29e2d71f5fcb077161df603c2d03562d4e578fdad2acc78f215279dfa17a1e6 SHA512 575bdcf9e2cf9165398c55b82d623e6af0e3019bc0c26c3e1f6b56aacdae49cd6a9959ccb405ff9b075a44e5e7a241116a8921dda2155b81e8eccf3d0a7f5a16 diff --git a/net-analyzer/python-gvm/python-gvm-24.3.0.ebuild b/net-analyzer/python-gvm/python-gvm-24.3.0.ebuild index 1f81a8089e3f..bb9e77bab56b 100644 --- a/net-analyzer/python-gvm/python-gvm-24.3.0.ebuild +++ b/net-analyzer/python-gvm/python-gvm-24.3.0.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/greenbone/python-gvm/archive/v${PV}.tar.gz -> ${P}.t LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" RDEPEND=" >=dev-python/defusedxml-0.6[${PYTHON_USEDEP}] diff --git a/net-analyzer/rrdtool/Manifest b/net-analyzer/rrdtool/Manifest index 33de2736cb29..60ea1c8abdd2 100644 --- a/net-analyzer/rrdtool/Manifest +++ b/net-analyzer/rrdtool/Manifest @@ -5,5 +5,7 @@ AUX rrdtool-1.7.1-configure.ac.patch 257 BLAKE2B 9aa11b7b0392cb2427d686b888c29b0 AUX rrdtool-1.8.0-configure-clang16.patch 1435 BLAKE2B 15d1788f77b7aa5a52a7306ffacf865afa01fc58fdcb8e836980fb00a688d83b93398f3d1b1385f3f30b42adf8378fc222dad6c44712bfb2695ae7949ecb704d SHA512 8a60fdf7843ef294a933bfb268e976ad0bab09a9c7c9101b608998f968b2d2e9f081256498526e11bcc8c28bdcb446179c4ec8dc6790c83ca27f946e20ba5fa1 DIST rrdtool-1.8.0-gcc14.patch.gz 10775 BLAKE2B 9b8eeb829acec097bf06e3cad2fb4ca37a5d351fb3eca5767066d8cfb70c176c9d3b9265a721958b97e02f1c267b8b3a4b61ad35b0ca06199cc45c8c92f7dc09 SHA512 576be3d94a56edbc8738a32b934d30d8e45eb3e801854f73a3a77f5bd22bdd4618f68ea079f37992f38a9b756cac96e6cb48eeb5cceb4ff30139a2d77c9b0afe DIST rrdtool-1.8.0.tar.gz 2955398 BLAKE2B d821d662af432c53760bc0e9636b84d9209933a810fa71091fc4c2b44518c89c7ad509bde7955d952279ee41464c3bfa4f631662dde61b6fff46699bb382653f SHA512 8ae6f94d119e8d0e1ba7f2d0738f1ba008a4880d1022f1c0c5436f662d961fceec5c42e01c241493ece3d6f55c60fd7d1d264f93e678f3cf1251201dcde027c1 +DIST rrdtool-1.9.0.tar.gz 2972593 BLAKE2B a5633b1bcacf53823f95f7899872e67d9941faec235c56546de8b66faf15a958a7c0d6a86d569c078e11a478dc272b1fbe784c3d3d9d45e8c3de696f0d6e378a SHA512 ebeb1fd9e1eed8e01d4d08a4f07aa22c272cc95ac87852f81a892690e6f446b5398bf64689ea99622779cba490722d97b325bda2d2a6d4dfc0719929b2a4c041 EBUILD rrdtool-1.8.0-r4.ebuild 5775 BLAKE2B aec297dd0fd7dd87caa1ceeb2a4a771d8c751fdc18bebac6440beeb96a4702369e1620472633a0746827a6bfb5e9ced42fc1352d0dffe6184095027787c01920 SHA512 98dbacde469b7a4ff087241ab06784edd4f2250dccb94f11771e906f87b50f9fd41b8ce33113494748451a079c983e377f32504dd694cd47be664b83cd3ab4f7 +EBUILD rrdtool-1.9.0.ebuild 5614 BLAKE2B 7c4c3dc04a3f1b029747c4a6f74aa340b1fa74f82d5b7e1d8192391baf88449b62b73b3b52e6899597f4f1ec6bf31746ea47c6d1cec6b82203ee493ef798d51b SHA512 b335810745aaed03ac19b930dc5f4fa2fa8a0416bc85f0e834b7626b300eb147ef6b49dd513ac23a4f641251bb15005595fa5ae8b90b41033833c1228df5d95e MISC metadata.xml 767 BLAKE2B 12dd8f6fc7192dd214acb9b7ab3cb2bdfdd601ad768587ca0133ea132a2ffbc4aace5c7943c933b0b8e13d200ff5129882f9b47931421db9db2c017a398870ff SHA512 afca7f1c6ff9209ee1fe4977f5e9a063e37e3ee00a5a3ecd560e71fdf86df7daed526742bcd592d145df4b26ac206672135845fe67f8d2a64d5ae536113aa22f diff --git a/net-analyzer/rrdtool/rrdtool-1.9.0.ebuild b/net-analyzer/rrdtool/rrdtool-1.9.0.ebuild new file mode 100644 index 000000000000..bb6d0e943413 --- /dev/null +++ b/net-analyzer/rrdtool/rrdtool-1.9.0.ebuild @@ -0,0 +1,253 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} luajit ) +PYTHON_COMPAT=( python3_{9..13} ) +DISTUTILS_EXT=1 +DISTUTILS_OPTIONAL="true" +DISTUTILS_SINGLE_IMPL="true" +DISTUTILS_USE_PEP517="setuptools" +GENTOO_DEPEND_ON_PERL="no" +MY_P="${P/_/-}" + +inherit autotools lua perl-module distutils-r1 flag-o-matic + +DESCRIPTION="A data logging and graphing system for time series data" +HOMEPAGE="https://oss.oetiker.ch/rrdtool/" +SRC_URI=" + https://github.com/oetiker/${PN}-1.x/releases/download/v${PV}/${P}.tar.gz +" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2" +SLOT="0/8.0.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="dbi doc examples graph lua perl python rados rrdcached rrdcgi ruby static-libs tcl tcpd test" + +RESTRICT="!test? ( test )" +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) + lua? ( + ${LUA_REQUIRED_USE} + test? ( graph ) + ) + test? ( graph rrdcached ) +" + +PDEPEND="ruby? ( ~dev-ruby/rrdtool-bindings-${PV} )" + +RDEPEND=" + dev-libs/glib:2[static-libs(+)?] + dev-libs/libxml2:2[static-libs(+)?] + dbi? ( dev-db/libdbi[static-libs(+)?] ) + graph? ( + media-libs/libpng:0=[static-libs(+)?] + x11-libs/cairo[svg(+),static-libs(+)?] + x11-libs/pango + ) + lua? ( ${LUA_DEPS} ) + perl? ( dev-lang/perl:= ) + python? ( ${PYTHON_DEPS} ) + rados? ( sys-cluster/ceph ) + rrdcached? ( + acct-group/rrdcached + acct-user/rrdcached + ) + tcl? ( dev-lang/tcl:0= ) + tcpd? ( sys-apps/tcp-wrappers ) +" + +DEPEND="${RDEPEND}" + +BDEPEND=" + ${DISTUTILS_DEPS} + sys-apps/groff + virtual/pkgconfig + app-alternatives/awk + python? ( $(python_gen_cond_dep 'dev-python/setuptools[${PYTHON_USEDEP}]') ) + test? ( + app-alternatives/bc + lua? ( ${LUA_DEPS} ) + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.7.0-disable-rrd_graph-cgi.patch + "${FILESDIR}"/${PN}-1.7.1-configure.ac.patch +) + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + + # Bug #456810 + local mysedargs=( + -e 's|$LUA_CFLAGS|IGNORE_THIS_BAD_TEST|g' + -e 's|^sleep 1$||g' + -e '/^dnl.*png/s|^dnl||g' + -i configure.ac + ) + + sed "${mysedargs[@]}" || die + + # Python bindings are built and installed manually + local mysedargs=( + -e '/^all-local:/s| @COMP_PYTHON@||' + -i bindings/Makefile.am + ) + + sed "${mysedargs[@]}" || die + + # Makefile needs to be adjusted for disabling 'graph' feature + if ! use graph ; then + local mysedargs=( + -e '2s:rpn1::; 2s:rpn2::; 6s:create-with-source-4::;' + -e '7s:xport1::; 7s:dcounter1::; 7s:vformatter1::' + -e 's|graph1||g' + -i tests/Makefile.am + ) + + sed "${mysedargs[@]}" || die + fi + + # Temporarily disable rpn test, will be enabled with > 1.8.0 release. + sed -e 's/rpn2//' -i tests/Makefile.am || die + + eautoreconf +} + +src_configure() { + export rd_cv_gcc_flag__Werror=no + export rd_cv_ms_async=ok + export RRDDOCDIR="${EPREFIX}/usr/share/doc/${PF}" + + # Bug #260380 + [[ ${CHOST} == *-solaris* ]] && append-flags -D__EXTENSIONS__ + + # Enabling '-ffast-math' is known to cause problems. + filter-flags -ffast-math + + # We will handle Lua bindings ourselves, upstream is not multi-impl-ready + # and their Lua-detection logic depends on having the right version of the Lua + # interpreter available at build time. + local myeconfargs=( + --disable-lua + --disable-ruby + --disable-ruby-site-install + $(usex !dbi '--disable-libdbi' '') + $(usex !examples '--disable-examples' '') + $(use_enable graph rrd_graph) + $(use_enable perl perl-site-install) + $(use_enable perl) + $(use_enable python) + $(usex !rados '--disable-librados' '') + $(usex !rrdcached '--disable-rrdcached' '') + $(use_enable rrdcgi) + $(use_enable static-libs static) + $(usex !tcpd '--disable-libwrap' '') + $(use_enable tcl) + $(use_enable tcl tcl-site) + $(use_with tcl tcllib "${EPREFIX}"/usr/$(get_libdir)) + --with-perl-options="INSTALLDIRS=vendor" + ) + + econf "${myeconfargs[@]}" +} + +lua_src_compile() { + pushd "${BUILD_DIR}"/bindings/lua || die + + # We do need the CMOD-dir path here, otherwise libtool complains. + # Use the real one (i.e. not within ${ED}) just in case. + local myemakeargs=( + LUA_CFLAGS="$(lua_get_CFLAGS)" + LUA_INSTALL_CMOD="$(lua_get_cmod_dir)" + ) + + emake "${myemakeargs[@]}" + + popd || die +} + +python_compile() { + cd bindings/python || die + distutils-r1_python_compile +} + +src_compile() { + default + + # Only copy sources now so that we do not + # trigger librrd compilation multiple times. + if use lua; then + lua_copy_sources + lua_foreach_impl lua_src_compile + fi + + use python && distutils-r1_src_compile +} + +lua_src_test() { + pushd "${BUILD_DIR}"/bindings/lua || die + LUA_CPATH="${PWD}/.libs/?.so" emake LUA="${LUA}" test + popd || die +} + +src_test() { + export LC_ALL=C + default + + if use lua; then + lua_foreach_impl lua_src_test + fi +} + +lua_src_install() { + pushd "${BUILD_DIR}"/bindings/lua || die + + # This time we must prefix the CMOD-dir path with ${ED}, + # so that make does not try to violate the sandbox. + local myemakeargs=( + LUA_INSTALL_CMOD="${ED}/$(lua_get_cmod_dir)" + ) + + emake "${myemakeargs[@]}" install + + popd || die +} + +python_install() { + cd bindings/python || die + distutils-r1_python_install +} + +src_install() { + default + + if ! use doc; then + rm -rf "${ED}"/usr/share/doc/"${PF}"/{html,txt} || die + fi + + if use lua; then + lua_foreach_impl lua_src_install + fi + + if use perl; then + perl_delete_localpod + perl_delete_packlist + fi + + use python && distutils-r1_src_install + + if use rrdcached; then + newconfd "${FILESDIR}"/rrdcached.confd-r1 rrdcached + newinitd "${FILESDIR}"/rrdcached.init-r1 rrdcached + fi + + find "${ED}" -name '*.la' -delete || die +} diff --git a/net-analyzer/shodan/Manifest b/net-analyzer/shodan/Manifest index 79f026b4ca5e..88c8f1a3c2d6 100644 --- a/net-analyzer/shodan/Manifest +++ b/net-analyzer/shodan/Manifest @@ -1,8 +1,4 @@ -DIST shodan-1.30.0.tar.gz 57790 BLAKE2B 1c3c030e84d31dc79ad737b71e63ce6c9218441be04ec94b4144013545e0d7dd79f1e25e51af1811cdd624f2f32b128e5aeb7dbc8d71b21741712733ca4b6d39 SHA512 996555945f4d874cb0fa3c596e6fad9298f7af396c0e94d75b8e9e103d4a2d7dd33ed8af24a218c753117231a0713caa971106f2152bc429d7c8b5c07b00dbc6 -DIST shodan-1.30.1.tar.gz 57908 BLAKE2B 21ef6f4ae2fd6a487e478627f8623dde4e2092fe9dec893e443fc27e94dc3e65a3483317c6819c947f053542414babcfa57ddb82c40f8a83d43bd9e2d9e84d44 SHA512 498d9057271e112940f00dda76a0ecb80a30ea66df84cfecb6e4b77197225714dc1a22d848e6b14a71a48bb4ded5e77a0924bc3915b552acb4ee35f3444cf558 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 819 BLAKE2B 7e998ccbd648bd02a3b04f42646a34b7b3d9d4425a4adb08955fa926afa810d4693339c7786cfc3487773e71a8edf9088093d3fec4f200fcef91033c1f57ee4c SHA512 72d64c749e17f3e964aee28f3d89e605758b63d1a7aa52be48a4e77e5d5576ffcf942317cc531153a3583f9b3b279535ac7924c482497a9508e578682ca92c80 -EBUILD shodan-9999.ebuild 821 BLAKE2B 13d48076f9c15cccdff65a8493d95a622378a925ccee82280b9ae9dc7b88c57deb33546e756f4f728bbf66587a6b27838b429683e0c88a1f409624c79be1cfcc SHA512 5f00d584c7d813ce0b1bc186674c4a09748e156ae22b4a5111887f50f00d31b50055764466292da0242b57dde61d8ddcd5dcda3abe88f186c1cd5a3d337f354f +EBUILD shodan-1.31.0.ebuild 819 BLAKE2B 81b4df8dade06a7966fd73ea33072f9b47fee5179799683bbcbc1a36b4d57a5b1a9c891042b7a34dd4d89d47b71698196ea24b84604a3db8f3eccf5c6ff3ff2e SHA512 4e21c853159e432a3098dda5e24ec72e7951e4fdfe6f362489286859065d8f420848f07ec4403181438480dc60e035bc10447d418bfd3f56b18069a01854dfb7 +EBUILD shodan-9999.ebuild 821 BLAKE2B b483f14d402681524f9ca56b8a8d41064a4a6116109e5d69de2d8797a04e7ef5811c1808769b0a127d6fc3584f54823c58944c2aa3751d00b9471ed9e707031e SHA512 0f244407f3a7019f36f373f46b892c9185b2721df7757bdecd6dff588fd2cac7f01f1594ecd51516930aaea40e44224006115ad4a631f37d5f50306128054354 MISC metadata.xml 864 BLAKE2B 1eeb1a52185cac9195cc62b3e74d0dfb7df895666303bbbf562a4b75363b0179137de3cf99c8d650f59a13f972bfbdece972783ba282870a501289950d9cec6c SHA512 737b931e809418e0fe940ac6026d52edce42d0b5da30372394403210688caab00d8c99807b640de74383f3e4daafc3e09764bdde31e54d9898a11aff60f4f2c4 diff --git a/net-analyzer/shodan/shodan-1.30.0.ebuild b/net-analyzer/shodan/shodan-1.30.0.ebuild deleted file mode 100644 index e934d6ec63e7..000000000000 --- a/net-analyzer/shodan/shodan-1.30.0.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) -inherit distutils-r1 - -DESCRIPTION="The official Python library for Shodan" -HOMEPAGE="https://github.com/achillean/shodan-python" - -MY_PN="${PN}-python" - -if [[ ${PV} = "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/achillean/shodan-python.git" -else - inherit pypi - KEYWORDS="amd64 ~loong x86" -fi - -LICENSE="MIT" -SLOT="0" - -RDEPEND=" - dev-python/click[${PYTHON_USEDEP}] - dev-python/click-plugins[${PYTHON_USEDEP}] - dev-python/colorama[${PYTHON_USEDEP}] - >=dev-python/requests-2.2.1[${PYTHON_USEDEP}] - dev-python/tldextract[${PYTHON_USEDEP}] - dev-python/xlsxwriter[${PYTHON_USEDEP}] -" - -# Test requires API key -RESTRICT="test" diff --git a/net-analyzer/shodan/shodan-1.30.1.ebuild b/net-analyzer/shodan/shodan-1.30.1.ebuild deleted file mode 100644 index bc9092e7acc5..000000000000 --- a/net-analyzer/shodan/shodan-1.30.1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) -inherit distutils-r1 - -DESCRIPTION="The official Python library for Shodan" -HOMEPAGE="https://github.com/achillean/shodan-python" - -MY_PN="${PN}-python" - -if [[ ${PV} = "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/achillean/shodan-python.git" -else - inherit pypi - KEYWORDS="~amd64 ~loong ~x86" -fi - -LICENSE="MIT" -SLOT="0" - -RDEPEND=" - dev-python/click[${PYTHON_USEDEP}] - dev-python/click-plugins[${PYTHON_USEDEP}] - dev-python/colorama[${PYTHON_USEDEP}] - >=dev-python/requests-2.2.1[${PYTHON_USEDEP}] - dev-python/tldextract[${PYTHON_USEDEP}] - dev-python/xlsxwriter[${PYTHON_USEDEP}] -" - -# Test requires API key -RESTRICT="test" diff --git a/net-analyzer/shodan/shodan-1.31.0.ebuild b/net-analyzer/shodan/shodan-1.31.0.ebuild index be21ef2b1735..5e83b0982eb6 100644 --- a/net-analyzer/shodan/shodan-1.31.0.ebuild +++ b/net-analyzer/shodan/shodan-1.31.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 DESCRIPTION="The official Python library for Shodan" diff --git a/net-analyzer/shodan/shodan-9999.ebuild b/net-analyzer/shodan/shodan-9999.ebuild index bc9092e7acc5..3b43e45a96fc 100644 --- a/net-analyzer/shodan/shodan-9999.ebuild +++ b/net-analyzer/shodan/shodan-9999.ebuild @@ -1,10 +1,10 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 DESCRIPTION="The official Python library for Shodan" diff --git a/net-analyzer/ssldump/Manifest b/net-analyzer/ssldump/Manifest index 8b49703275ca..3a00a5bb512a 100644 --- a/net-analyzer/ssldump/Manifest +++ b/net-analyzer/ssldump/Manifest @@ -1,3 +1,5 @@ DIST ssldump-1.5.tar.gz 129388 BLAKE2B 9877bf604690911a3680cf4edfe0115a8a8e2ddf14abc260a99fdcc181bd727c5f3bfb0aa8864f502ff560ccab76e27a22266a3ed78eb516f019ed7cb44bef69 SHA512 4eb84744591539fdaf9b2454d23c917f5e97cb2e5f03e0c38393327caecc72dfc77ee7b734519b1f224a5e3a132185b8fccfeb9186fc9f1b586444fc748a3814 +DIST ssldump-1.8.tar.gz 188219 BLAKE2B e6cff9598e6818eb2192450c0958a7f9bf003d79ad74dd9e60b1af2e977b27a6b3667a5d7ed6fdb1fa836a51c4ab7a6dc2f0c5afb1dbd8b3b08af3cd145a872e SHA512 5435187fa851cddd167a5ee7e79f8051752780512873195b215e8695430282338f22719e6ddd32bd4eae3cc9a385abd44a4b369f93dc201908696aaed214b9bc EBUILD ssldump-1.5.ebuild 654 BLAKE2B 3af3a8f2fb39fdfb6d43dee01b578e25618c8583c756f8898cb5750213e624d45625ed83cc9e6fe6670a9ee91751b2a8c42703dea74925aa5b4a22ac6b80c885 SHA512 f8a004e5ec9656a287231d8a3570456119c2bccc9e517c94eb88714284598fdcaae623b4bd33b68fe4f5abe8f05e2cbe2c2afc9f057bad27a5bb128433d148e3 +EBUILD ssldump-1.8.ebuild 594 BLAKE2B 3477f873809922df3db49ea30c82d9a0e674d29bebb0cac3f0b111bfedfef48d51636fb4696c84d4090cf7f6284b3676273d934cb7480cc1c2acd0306d1a69a1 SHA512 f5de6234767e67dcdc4e29252bba24566efa5acc6b03f7ea4e1667ab7654e3422b8305a6519af4c7493e5e55012d3f1c021fbf7b7c30fca97a20cbbc8bce81f4 MISC metadata.xml 360 BLAKE2B 6ac7a889c97606efc797c9d6d0dcfc72e7895c30df8002ec0b00dab180f15ba9f70f6b817885582743c6af623a8d703fa98317fb8b5f87feac502fa9fb331ffb SHA512 f5d603f9c61d05aba6727f1870357fc05036a27296418ba68f86c307854463554d7261a6dc0b0c601ffbdfced40da3b1e58f89717237ae6ac3aa604a59013a2d diff --git a/net-analyzer/ssldump/ssldump-1.8.ebuild b/net-analyzer/ssldump/ssldump-1.8.ebuild new file mode 100644 index 000000000000..7cf1c12dd469 --- /dev/null +++ b/net-analyzer/ssldump/ssldump-1.8.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="An SSLv3/TLS network protocol analyzer" +HOMEPAGE="https://github.com/adulau/ssldump/" +SRC_URI="https://github.com/adulau/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" + +RDEPEND="dev-libs/json-c:= + dev-libs/openssl:= + net-libs/libnet:1.1 + net-libs/libpcap" +DEPEND="${RDEPEND}" + +src_install() { + dosbin "${BUILD_DIR}"/${PN} + doman ${PN}.1 + einstalldocs +} diff --git a/net-analyzer/tcping/Manifest b/net-analyzer/tcping/Manifest index e581fb37b656..dc861b1dd025 100644 --- a/net-analyzer/tcping/Manifest +++ b/net-analyzer/tcping/Manifest @@ -1,3 +1,5 @@ DIST tcping-1.3.6.tar.gz 3329 BLAKE2B cd69e259d930532810bf3b19d22db981d644051e472d6356e442df2074ebd6fe675b62540190f465127bdcd0c248f329b3e5c167a6c4408acfef029297b5e181 SHA512 74c65f292d6521dfbf8784ae9e1988a12ad224c81f6575ada1cae55b079cf9c13707be52cb9147abe02c8787ebbedb0d9fca1f2c27fb57c32eea5817c7042992 +DIST tcping-2.1.0.tar.gz 6532 BLAKE2B 8d154b36480180ae6fd2a644b98ee0ed569e1d7491a2fe5a5ced9a3ad2470d8a34cbbed499ba93661816075617cdb00f83c1469866f3bf63871fbbc6f67168ca SHA512 d39c30390a7ab7a345f3b8fc2731afa817b104460a65ad47f1e535d1a5242eed7eb5b8c416b898dd4eedc87cf16af7bbb0630c63731b12513fa4f95eb9dfaed0 EBUILD tcping-1.3.6.ebuild 607 BLAKE2B bcae82fc256d7613feb531bf7f4a97c43e5cedd104d0d50818d69cefd26b2d37d591e1f1054d282409d832c58f3a5e7af3fbf13221d575955971d8e244025967 SHA512 459e834f548c0d19a82ea64afc729615c5695c60857941625e8b79f63e442f20506e502477a42334454b1ecf4882a75d250eba0989d3f337f3bdb9c87f109dea +EBUILD tcping-2.1.0.ebuild 608 BLAKE2B 72dd0c28f7c75da52ebe81f11498484346e7bb156f95594e0423464b07ef47587efce270c236efa0c674bda80046c117d6d2dba51938073bba48869eb4588ae2 SHA512 640aafeb3b1545d7fe9b89dbd2a70a25a088d41def4e1e389173261d1a46023b3f1f856ee55001c61323dd2f68dc6e5585a457c77cf7d7f18fa7f3d499a557fe MISC metadata.xml 296 BLAKE2B c7a0a02851f1344fd5c9852074f94fb93f966f5f0a091f9c5c0cdfffa60e2b65b29b045fad75ac1658df51d497bbe3855bde55a386ddb828b51649f587176668 SHA512 133f5e79d1244d7ce871cabf1b4ce6bba3909506fe806a89ddec075815fed812978632745d764522f2ea2c538b4230583b4fa23c1e90554a54ef36a42f92c1a2 diff --git a/net-analyzer/tcping/tcping-2.1.0.ebuild b/net-analyzer/tcping/tcping-2.1.0.ebuild new file mode 100644 index 000000000000..b7f426393c4b --- /dev/null +++ b/net-analyzer/tcping/tcping-2.1.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Check if a desired port is reachable via TCP" +HOMEPAGE="https://github.com/mkirchner/tcping" +SRC_URI="https://github.com/mkirchner/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +src_prepare() { + default + sed -e '/^CC=/s:=:?=:' \ + -e '/^CCFLAGS/s:=:+=:' \ + -e 's/$(CCFLAGS)/$(CCFLAGS) $(LDFLAGS)/' \ + -i Makefile || die + tc-export CC + export CCFLAGS="${CFLAGS}" +} + +src_install() { + dobin tcping + dodoc README +} diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest index 1d0f3aa517b3..bfd22470c665 100644 --- a/net-analyzer/tcpreplay/Manifest +++ b/net-analyzer/tcpreplay/Manifest @@ -1,7 +1,9 @@ AUX tcpreplay-4.3.0-enable-pcap_findalldevs.patch 333 BLAKE2B 1beb39a7263bf8491998760e4a62ac8908300e28c43500812d37d2512f9d63fcd175b93c1b384e03e9570e741dd95dea09ead017a014a4b62b3449833fe9b248 SHA512 3d035736c0656f6ace85b45af595866e06c8464641023e9d1606c288e598cde18eb96b1be8300514f6f31bc83756ae76b436402666036456571201ca38fe5026 DIST tcpreplay-4.4.3.tar.xz 750072 BLAKE2B 218fe1c5faab0fdd75a031afce8f468c85886a4cf21a4d9bd34089bd106756ee0e65e0df605efecb3260ccff266553a44d8ee10249b35524a044c6c5db86fcc7 SHA512 d8186a5faf3fbe5505da34cfc466c0375c4f298c997fe85505ea898c8c1241c16f98269596b682983a3e5cbd8493882334c925ff750d95995f3b13c5b83357cf DIST tcpreplay-4.4.4.tar.xz 748344 BLAKE2B 05f586c9d68e1ee47fc5dfdbf14d866ccbd921a5734a52de4ba6c1f33f37628e510eddbf9059130c9858207690ec2c14dfbf3819f923436aa64fcc3fc2ce074d SHA512 a6907c98779c96b2acf53e2f13e832f2c9a7ee840acc40d23c7290c2ceefb5885d314453dec9463069218011bee86bb7df057966120aacd6cddda942821aea9b +DIST tcpreplay-4.5.1.tar.xz 809628 BLAKE2B 38c61646b86ff9ed740372fe9e40d85beab4b8feda5c5281fb00e45ceca441192389611885f209931accf079aca43d3dee214e66fefc188e539836cff5097a10 SHA512 8cc5fda16077051d7f4cd078567eb35b8f4ad7d0e04542ae12ec10b86899c804d3d929c37f9f0325f19f3ed651e767d5a6fe140d42e04151591cee6c1337b8df EBUILD tcpreplay-4.4.3.ebuild 2131 BLAKE2B 07d302b1b525d49b2ca6a89faca08a55458ee6444e66914e73310aa749ba1934fff2bec38e01d986acfeefb2def4215ff7802042219527a2938adf7a32a6726b SHA512 727a8f56c3390ed18f54e89a14a0a2a066e0436522fc332d5f7a433e9c52a7671b7965efddb572c542004e06af847cf31d3a5c333a02879fc07de4465e63af6b EBUILD tcpreplay-4.4.4.ebuild 2131 BLAKE2B 07d302b1b525d49b2ca6a89faca08a55458ee6444e66914e73310aa749ba1934fff2bec38e01d986acfeefb2def4215ff7802042219527a2938adf7a32a6726b SHA512 727a8f56c3390ed18f54e89a14a0a2a066e0436522fc332d5f7a433e9c52a7671b7965efddb572c542004e06af847cf31d3a5c333a02879fc07de4465e63af6b -EBUILD tcpreplay-9999.ebuild 2133 BLAKE2B 24055b46b8746954e05cfaf88695389ef7e17171ba16f4b6de166f40e23ce3a7ef5f82f2915fc016bd6cc637ecf473fc90ed791111e87e7d905f83d0ca380629 SHA512 033159087ec5edb13a1c87a94489ffcf30b085b58707581b1de8d5f176511204a1e907e19c70b1aa46ec81678c0cb16b7bf086eb4d6c0f0562a6d74218d02718 +EBUILD tcpreplay-4.5.1.ebuild 2214 BLAKE2B 36606fb4ed524873fe41855fb02111a3c0e89f45d02dc468bb5a4bf8f2b58810517e27e3ef4d49bf02ba166fb1e649af0971fcbd718c161ded121f056815160f SHA512 8fd0d2e8b4196e03ba11fab70aafd0567417d533241927c2e3e457a5ef756a6902826fd374612e7dc7203ff9281e1fd99a65abc0a7387708c498f0d111d46975 +EBUILD tcpreplay-9999.ebuild 2239 BLAKE2B f8973388a5573c722400e2146019b97977aee68d7b29173bbd8588279541ad9f82aae477ef706957bf045b9849decbcef955a48a8f075e69a70f80d16525f3e0 SHA512 211a287e34b3b82082174a12172f37acdb5bcb826c51e17d12406ef82f527f3806f68a0888829a4d4c131ac6280cb725598a3e07d69fb9403024858c0ba43e15 MISC metadata.xml 1117 BLAKE2B f269c4d3da94e3fb52ad80b840c6d5b8d4acb0181dd1c370bedd88bcf75e6933f21f304f3ed5435dc601978acbef6396410d9beb96e4ec1ba1a7a53458b540c9 SHA512 bff9425e1ae71f5d106a5b2c844591db726192f356f54c6347fb9a6c10fef6b7b11cc59695b4f712d87f0359112b98ec514ce481fd824d6e343975631b105ea5 diff --git a/net-analyzer/tcpreplay/tcpreplay-4.5.1.ebuild b/net-analyzer/tcpreplay/tcpreplay-4.5.1.ebuild new file mode 100644 index 000000000000..4a2240e9cef4 --- /dev/null +++ b/net-analyzer/tcpreplay/tcpreplay-4.5.1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +DESCRIPTION="Utilities for editing and replaying previously captured network traffic" +HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay" +if [[ ${PV} == *9999* ]] ; then + EGIT_REPO_URI="https://github.com/appneta/tcpreplay" + inherit git-r3 +else + SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~sparc ~x86" +fi + +LICENSE="BSD GPL-3" +SLOT="0" +IUSE="debug pcapnav +tcpdump" + +# libpcapnav for pcapnav-config +BDEPEND=" + net-libs/libpcapnav + >=sys-devel/autogen-5.18.4[libopts] +" +DEPEND=" + dev-libs/libdnet + >=net-libs/libpcap-0.9 + elibc_musl? ( sys-libs/fts-standalone ) + pcapnav? ( net-libs/libpcapnav ) + tcpdump? ( net-analyzer/tcpdump ) +" +RDEPEND="${DEPEND}" + +QA_CONFIG_IMPL_DECL_SKIP=( + pathfind # sun/solaris only command, bug 900040 +) + +DOCS=( docs/{CHANGELOG,CREDIT,HACKING,TODO} ) + +PATCHES=( + "${FILESDIR}"/${PN}-4.3.0-enable-pcap_findalldevs.patch +) + +src_prepare() { + default + + sed -i \ + -e 's|#include <dnet.h>|#include <dnet/eth.h>|g' \ + src/common/sendpacket.c || die + sed -i \ + -e 's|@\([A-Z_]*\)@|$(\1)|g' \ + -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \ + -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \ + src/Makefile.am || die + + eautoreconf +} + +src_configure() { + use elibc_musl && append-flags "-lfts" + # By default it uses static linking. Avoid that, bug #252940 + local myeconfargs=( + $(use_enable debug) + $(use_with pcapnav pcapnav-config "${BROOT}"/usr/bin/pcapnav-config) + $(use_with tcpdump tcpdump "${ESYSROOT}"/usr/sbin/tcpdump) + --enable-dynamic-link + --enable-local-libopts + --enable-shared + --with-libdnet + --with-testnic2=lo + --with-testnic=lo + ) + + econf "${myeconfargs[@]}" +} + +src_test() { + if [[ ! ${EUID} -eq 0 ]] ; then + ewarn "Some tests were disabled due to FEATURES=userpriv" + ewarn "To run all tests issue the following command as root:" + ewarn " # make -C ${S}/test" + emake -j1 -C test tcpprep + else + emake -j1 test || { + ewarn "Note that some tests require eth0 iface to be up." + die "self test failed - see ${S}/test/test.log" + } + fi +} diff --git a/net-analyzer/tcpreplay/tcpreplay-9999.ebuild b/net-analyzer/tcpreplay/tcpreplay-9999.ebuild index 28758be51d1b..12b855475582 100644 --- a/net-analyzer/tcpreplay/tcpreplay-9999.ebuild +++ b/net-analyzer/tcpreplay/tcpreplay-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -35,6 +35,10 @@ DEPEND=" " RDEPEND="${DEPEND}" +QA_CONFIG_IMPL_DECL_SKIP=( + pathfind # sun/solaris only command, bug 900040 +) + DOCS=( docs/{CHANGELOG,CREDIT,HACKING,TODO} ) PATCHES=( @@ -59,16 +63,19 @@ src_prepare() { src_configure() { use elibc_musl && append-flags "-lfts" # By default it uses static linking. Avoid that, bug #252940 - econf \ - $(use_enable debug) \ - $(use_with pcapnav pcapnav-config "${BROOT}"/usr/bin/pcapnav-config) \ - $(use_with tcpdump tcpdump "${ESYSROOT}"/usr/sbin/tcpdump) \ - --enable-dynamic-link \ - --enable-local-libopts \ - --enable-shared \ - --with-libdnet \ - --with-testnic2=lo \ + local myeconfargs=( + $(use_enable debug) + $(use_with pcapnav pcapnav-config "${BROOT}"/usr/bin/pcapnav-config) + $(use_with tcpdump tcpdump "${ESYSROOT}"/usr/sbin/tcpdump) + --enable-dynamic-link + --enable-local-libopts + --enable-shared + --with-libdnet + --with-testnic2=lo --with-testnic=lo + ) + + econf "${myeconfargs[@]}" } src_test() { diff --git a/net-analyzer/testssl/Manifest b/net-analyzer/testssl/Manifest index f594f82a291e..fe7b3948acc4 100644 --- a/net-analyzer/testssl/Manifest +++ b/net-analyzer/testssl/Manifest @@ -1,3 +1,5 @@ DIST testssl-3.0.8.tar.gz 9372229 BLAKE2B cf463236fb0812c2bc5fd5673d0d2d395fc405697817827ee8c660c96d789601a090b57febd48400e33fd9f28b23d42d432734b176b23a8e8ddf710c9b275485 SHA512 4634bc5dc57ad8910ca097b22d86511a26e855fb4dc7bef9550a795cb1f53a959b8472008756b40a670d7433ad56236b5a36fe0c88c15de99fdf586e9919b080 +DIST testssl-3.0.9.tar.gz 9381651 BLAKE2B 424569411022b68f105a20ad5b60db7c8994d1170482612ae7aed741230bd3fca43cd853dfb00660d5ba7cfdc717fa887a2fe9b6c59bbcef881f8f6473ccad3e SHA512 006180d175492f1cba6d056a92a57247725d4b68cddbebeea80a5d339d542f5103ddc8226f3a554775cb83bbef836a5d5bfc1bcf4fba7b18b9541473122ff720 EBUILD testssl-3.0.8.ebuild 1521 BLAKE2B 377253f88b6625e808870f4c23fc82feaefdda48a8826e23c7966c94d6c348475b75874158975476ced07275b9084743726e44214b0490c3df903d765746e363 SHA512 431a1cd03d774629f95208d690b50b076c92e67a2fac2df7864e50bc30bd337fb7985d056b09c7ea0c77d186bfef5793e3ce07f207e58e21ead72fa5144c511e +EBUILD testssl-3.0.9.ebuild 1524 BLAKE2B c2b5f30234bed067112c810bd2210d1e214852db2f782b171d537058e01987ecf67ae6640706c34ccf74f251abc7d1d5b5228a873baa991430b233bea2997824 SHA512 1c3beb2b9eccb3fef6f07eb1540f608856d95514a42149b3914f2573718ad6f98dcc5b3bd376c360201feab1f6590ce29d02eca57ea3f9bb4dfc0af6e5112d1a MISC metadata.xml 374 BLAKE2B a4554be687cb1b711340474d9b08b97cc2b5b5a54b4556010deef35d67a408118ccea72caa48a076d9bcf87b230b196f362757137fb9e6e9115f35b8fac026b2 SHA512 efd06f3175b36a607e4bbf97dd26802b09cad1442a2e0d3cdacf28a98db99e93aebb97687212122723d78b03dfd98082cb955c1a8de88bdf405210cdb3ff0e6f diff --git a/net-analyzer/testssl/testssl-3.0.9.ebuild b/net-analyzer/testssl/testssl-3.0.9.ebuild new file mode 100644 index 000000000000..9912fcbe13ac --- /dev/null +++ b/net-analyzer/testssl/testssl-3.0.9.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="${PN}.sh" +MY_PV="${PV/_p/-}" + +DESCRIPTION="Tool to check TLS/SSL cipher support" +HOMEPAGE="https://testssl.sh/" +SRC_URI="https://github.com/drwetter/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" +S=${WORKDIR}/${MY_PN}-${MY_PV} + +LICENSE="GPL-2 bundled-openssl? ( openssl )" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="bundled-openssl kerberos" + +RDEPEND=" + app-shells/bash[net] + net-dns/bind-tools + sys-apps/util-linux + sys-libs/ncurses:0 + sys-process/procps + bundled-openssl? ( + kerberos? ( + sys-libs/zlib + virtual/krb5 + ) + ) + !bundled-openssl? ( dev-libs/openssl:0 ) +" + +QA_PREBUILT="opt/${PN}/*" + +pkg_setup() { + if use amd64; then + if use kerberos; then + BUNDLED_OPENSSL="openssl.Linux.x86_64.krb" + else + BUNDLED_OPENSSL="openssl.Linux.x86_64" + fi + elif use x86; then + BUNDLED_OPENSSL="openssl.Linux.i686" + fi +} + +src_prepare() { + default + sed -i ${PN}.sh \ + -e 's|TESTSSL_INSTALL_DIR="${TESTSSL_INSTALL_DIR:-""}"|TESTSSL_INSTALL_DIR="/"|' \ + -e 's|$TESTSSL_INSTALL_DIR/etc/|&testssl/|g' || die + + if use bundled-openssl; then + sed -i ${PN}.sh \ + -e "/find_openssl_binary()/a OPENSSL=\"/opt/${PN}/${BUNDLED_OPENSSL}\"" || die + fi +} + +src_install() { + dodoc CHANGELOG.md CREDITS.md Readme.md + dodoc openssl-iana.mapping.html + + dobin ${PN}.sh + + insinto /etc/${PN} + doins etc/* + + if use bundled-openssl; then + exeinto /opt/${PN} + use amd64 && doexe bin/${BUNDLED_OPENSSL} + fi +} diff --git a/net-analyzer/trippy/Manifest b/net-analyzer/trippy/Manifest index 6644529fd171..3ff78f5df264 100644 --- a/net-analyzer/trippy/Manifest +++ b/net-analyzer/trippy/Manifest @@ -336,6 +336,6 @@ DIST zerocopy-0.7.26.crate 128648 BLAKE2B cd26ca75197d2f74e091359f72743b8b0c9277 DIST zerocopy-0.7.32.crate 151096 BLAKE2B 12c7c329ec0e0865467af08306ff4b55ce1e39fd77b094ee48ed9c6e266dfa807bda9ea72a3f7ea989916327f4d9e803d8868995728bfe2fb1c2dc1e5ecff78e SHA512 6729b05eb88029555b88c75feff4f8bc28ad9675edb02b07486381f775c8650c95e2e59612906bd9c34c5e390fd339857ca91573ee9f9ca7948572cff4171c82 DIST zerocopy-derive-0.7.26.crate 528381 BLAKE2B 4be2168e3af5a5c541be49159f7d37405eceaa9e914d670899c814076e7240781d580007d906f8433e469ffad8e7abed3e18dc8b5e80ec09837f13a28976af57 SHA512 1e28e957d1a9cb5164bc839750ecad26ccd280dc9f5ee58a02a09d2135dc097991be2755d7b87f360863f1ab030f772963677d61861f7d33699a631eb9026829 DIST zerocopy-derive-0.7.32.crate 37623 BLAKE2B 8b583d39d7bf9c3dbbba578120751c664f87363c5ba3fc45f6506a4059b9e599c43d9fc7bd498a257ff7c9d872af77d39bebdb0e65fb8009eaa2ae9903dece46 SHA512 3ce8528871fd18d6abe92b98503927451d25791c9c4af0ba39a3b6ba2006030bdc137084d080e9b1ac8b5ddf5f2121e0a3ef34bb2033a040f2c72c8149a9fc0d -EBUILD trippy-0.10.0.ebuild 5688 BLAKE2B f276e9b43d879e244474d2d44a71e2c91f1e292c6ae5a5b82448c7aee658e3833d6238ca637ff2259eed6af075cdbb7d26e85e889ac3b920921036dec81beccd SHA512 4a4910cac8d03ffc45a5bd1c78d888a7082e8210af87a6511c331498d99aeca53945e4fd47bf2666dc112009d4a7c7e6ce5d292cd7ed1813fd5f6c3cc02d5f07 +EBUILD trippy-0.10.0.ebuild 5687 BLAKE2B 62ea3f16cea51b948d951cfae5caaa924a7839aed2df3ad148e493da8ee199b455be5440f7aa23417bf10cb7995203d52d2b634d0fb31c3a66f10890f6020c45 SHA512 92002611131778c44558b10692404385138c6abd4ad6a21bc734bec6780e59d8baeaa6863f8e1f6c3ceca9e30fa673d40302b1117934ea0776b9e48bce01e78a EBUILD trippy-0.9.0.ebuild 4869 BLAKE2B 4185bf0e26aa3caec7b999254d44cd666e0e67647cdb0c82ae8c6a326cc7204e38a7972486da10847fe2cdd2375e9e6ece3d1afda10a48acb8b32ed182dfdd39 SHA512 93005f9c3cf72d6ca194c5f4ffcd3226e33c01e93e62ecf7e4815de8b064df14c806578c76029ae0ded5a992ba74f50d0060503ec06ab04c124683f654d2187d MISC metadata.xml 331 BLAKE2B 0b725e265ac12ec00974951e8c3e87cb814c37a0458afeddfe64ddd08747ad90a97f086b2765088388e5e8c5cbbe6a66959864bc07fa2a7e64b0180a4abae717 SHA512 0de10b9f3938acd7c5272e67005f35af6b82a0453c38b8efa92125ea93c1483395a755cc39be22728a6893e22a47c043b1a495b000e573a20d45b0fd0aaffb91 diff --git a/net-analyzer/trippy/trippy-0.10.0.ebuild b/net-analyzer/trippy/trippy-0.10.0.ebuild index a8d923a31031..bfddd7c17757 100644 --- a/net-analyzer/trippy/trippy-0.10.0.ebuild +++ b/net-analyzer/trippy/trippy-0.10.0.ebuild @@ -278,7 +278,7 @@ LICENSE+=" ISC MIT Unicode-DFS-2016 WTFPL-2 " SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="suid" FILECAPS=( cap_net_raw+p usr/bin/trip ) diff --git a/net-analyzer/wireshark/Manifest b/net-analyzer/wireshark/Manifest index 6f27eae9ed52..e0b7ce90ea54 100644 --- a/net-analyzer/wireshark/Manifest +++ b/net-analyzer/wireshark/Manifest @@ -10,9 +10,12 @@ DIST wireshark-4.2.4-signatures.txt 2706 BLAKE2B 169c7eea2d89f4eedc58e833512cf81 DIST wireshark-4.2.4.tar.xz 44986232 BLAKE2B 03806a167a4b055409fadbc54ba338c9d2790df3ac2b9fb547c640c67d7bee6a3f8f19d30549228e494cabf8d303cef42ff098a9e1f45b092589643e568632f5 SHA512 963ac6938c08c6526240c270977057eeff7814686e11d1f3c6641a4838eb66f8d4349e48aa7373d25a8ca8911ad12eb8162f1c55af043f571d74979ddf4fd9a6 DIST wireshark-4.2.5-signatures.txt 2706 BLAKE2B d10f6e9b4d8bcd8f0a30501bbbfee9ee696d82c7ca95957532f6614905e7836e5865d1b7093ca6aab2ebc1da5365648803f8b20508c95cdf5b42e8ac8e288f65 SHA512 050cb90e8958b73428fc7dc6c9801ba3b361f8cf4df8f22505789d759edf7967867915a0cbf351fa251d4d28b211920a3fb34e8fa209d475a10b4bcd2957fcc0 DIST wireshark-4.2.5.tar.xz 45014156 BLAKE2B 536743a7e402f7a511d7612454d9770f0e67a0f2ebc1ab49912b12965e605f2082eff37f41f7642b89859257926ce13d88728194b79cbe5dcf6b15d72516c5fc SHA512 92a8fb08af5a1da30ca469fa45bd982638069907d289fa716068ac71141b7d9726ca0b01adc2910da4c928db23760da75a1c6a7c2eb795ac66ba003a90abb87b +DIST wireshark-4.2.6-signatures.txt 2706 BLAKE2B b9666d6aaef774e08ec903bbda90067adaa357cee65cdd6b711b6caef7b1cd540290a93d80d2f3f29c861d212c97793303e51fc8f297d7945c379a237acfa3f8 SHA512 287342d1ccb36326a9bab5e50c48442a41b599e258611e9046eedb078a84f2840d16f29f91b1259b3b4d37486e48d85596192ea5c6b9d1fa7ad3e78543193e0b +DIST wireshark-4.2.6.tar.xz 45015272 BLAKE2B 880acf82c7e535b89ce8b41293c90197825ffe1132720337e77b3dcee0eaf476cb3faa6f9b42d3864e9f6892e624d0b286afdaf6bbe7e6b60483296d087a4bc3 SHA512 265bbc50787ba15646a8a4602e2598bb58494aee496b14a2392293862725320674f7084c7c00de5f9db41dbfc2eb23d88fd8e6b72f3c4036067192b44da22516 EBUILD wireshark-4.0.11.ebuild 8629 BLAKE2B 570d1896cdc2a12deca6e12740fd6db574ba4591191541e329c9a9e71bbcd71cf3bc547ef8be4584ee5d7d39715ea4498f6bd558b5169e623cf4f3f68f17a49d SHA512 f8c4693e14e9d7b60832ffacf70b79ecb387abee9abab3f02292ef06f08a270b3580a9e0a7569d27404b22a05adf6159027f6f494bb9c81bccff57fc389befe9 EBUILD wireshark-4.0.15.ebuild 8629 BLAKE2B 570d1896cdc2a12deca6e12740fd6db574ba4591191541e329c9a9e71bbcd71cf3bc547ef8be4584ee5d7d39715ea4498f6bd558b5169e623cf4f3f68f17a49d SHA512 f8c4693e14e9d7b60832ffacf70b79ecb387abee9abab3f02292ef06f08a270b3580a9e0a7569d27404b22a05adf6159027f6f494bb9c81bccff57fc389befe9 EBUILD wireshark-4.2.4-r1.ebuild 8904 BLAKE2B 3d9d741806defe5c9d87d6ecf240632cb4a18561aaa9c5c59672ce351c04d8d601e26694e2bd25a82a19a110099bcc982286dad2f0c2b0ba2f829b44ccb69079 SHA512 6b22e258580abc67c34da5ab9b8430cbd9533c5c026bbf46ffbe61966f218dba7e6797769ae43800400664ca3ced3606c976ea60cb0f8a8a8e6beeadc129cb27 EBUILD wireshark-4.2.5.ebuild 8839 BLAKE2B 316ed65d419e409f389a30b8ddf57481352c75ee75a39115d7a61a1aca6dbe1888cfb29b02885d329d663f4f977da4b66561d1527fa445347a50ffaa59cfd843 SHA512 96122ad547d122cc897c86f66061a0ed860ccc4b8b7360ba3998b409af6a92bc7758eb300381abaca199d83893a0eea145817439cf89d609df718f9ff877cfde -EBUILD wireshark-9999.ebuild 8818 BLAKE2B 6abcff955a4a038252f5ef742c39b98f35ed912f519916c7ff8c008fa133fae0d71fb66f726d85334f80d85d4b342710b3864245a1db399816bda946d98bdaf1 SHA512 f1549fe351261b790f3bfddf4ec1331e10195e1fda7047686d04c590cec3fd490fcd09d61b586e0edec74ac33db1d73f762f488dd8d80c896dbb4f88ac6f3cf5 +EBUILD wireshark-4.2.6.ebuild 8812 BLAKE2B 9ab4129a8459e5cf853d71007c3049b4db8280e0b08a7f4b88983f8db93463a3c8593183b99eea9a4489dd9cc4e5f7ef2336a5019e0aee98f7b201b1b3b8905b SHA512 c68912c703692723c0cc7287c2b712a7389e210a8bfd2afa6a2eb50899ed51c3439344741dd7031a0303e62c16ceaec4f8c7bcb54e269a375176b7413644b2fd +EBUILD wireshark-9999.ebuild 8812 BLAKE2B 9ab4129a8459e5cf853d71007c3049b4db8280e0b08a7f4b88983f8db93463a3c8593183b99eea9a4489dd9cc4e5f7ef2336a5019e0aee98f7b201b1b3b8905b SHA512 c68912c703692723c0cc7287c2b712a7389e210a8bfd2afa6a2eb50899ed51c3439344741dd7031a0303e62c16ceaec4f8c7bcb54e269a375176b7413644b2fd MISC metadata.xml 5352 BLAKE2B 319ae9385ccf49cf52abdc3bb2292a6181f8bad974eecb1863b69dc248e8e1b17d95de5c7267e4e70ee28809bffc82a13f06de3e7d15541d32e2e2ab7ada638f SHA512 15580364ef3f86e9d4020c8b7e2e765a2be97742dc398d11697b87e15085e1a95e951d0200eea71484fb8d124d54b86da8542921c0b8f29d064a26681192d919 diff --git a/net-analyzer/wireshark/wireshark-4.2.6.ebuild b/net-analyzer/wireshark/wireshark-4.2.6.ebuild new file mode 100644 index 000000000000..63bc4eeebbb0 --- /dev/null +++ b/net-analyzer/wireshark/wireshark-4.2.6.ebuild @@ -0,0 +1,346 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..2} ) +# TODO: check cmake/modules/UseAsn2Wrs.cmake for 3.12 +PYTHON_COMPAT=( python3_{10..13} ) + +inherit fcaps flag-o-matic lua-single python-any-r1 qmake-utils xdg cmake + +DESCRIPTION="Network protocol analyzer (sniffer)" +HOMEPAGE="https://www.wireshark.org/" + +if [[ ${PV} == *9999* ]] ; then + EGIT_REPO_URI="https://gitlab.com/wireshark/wireshark" + inherit git-r3 +else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/wireshark.asc + inherit verify-sig + + SRC_URI="https://www.wireshark.org/download/src/all-versions/${P/_/}.tar.xz" + SRC_URI+=" verify-sig? ( https://www.wireshark.org/download/SIGNATURES-${PV}.txt -> ${P}-signatures.txt )" + S="${WORKDIR}/${P/_/}" + + if [[ ${PV} != *_rc* ]] ; then + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~riscv ~x86" + fi +fi + +LICENSE="GPL-2" +SLOT="0/${PV}" +IUSE="androiddump bcg729 brotli +capinfos +captype ciscodump +dftest doc dpauxmon" +IUSE+=" +dumpcap +editcap +gui http2 http3 ilbc kerberos libxml2 lua lz4 maxminddb" +IUSE+=" +mergecap +minizip +netlink opus +plugins +pcap qt6 +randpkt" +IUSE+=" +randpktdump +reordercap sbc selinux +sharkd smi snappy spandsp sshdump ssl" +IUSE+=" sdjournal test +text2pcap tfshark +tshark +udpdump wifi zlib +zstd" + +REQUIRED_USE=" + lua? ( ${LUA_REQUIRED_USE} ) +" + +RESTRICT="!test? ( test )" + +# bug #753062 for speexdsp +RDEPEND=" + acct-group/pcap + >=dev-libs/glib-2.50.0:2 + dev-libs/libpcre2 + >=net-dns/c-ares-1.13.0:= + >=dev-libs/libgcrypt-1.8.0:= + media-libs/speexdsp + bcg729? ( media-libs/bcg729 ) + brotli? ( app-arch/brotli:= ) + ciscodump? ( >=net-libs/libssh-0.6:= ) + filecaps? ( sys-libs/libcap ) + http2? ( >=net-libs/nghttp2-1.11.0:= ) + http3? ( net-libs/nghttp3 ) + ilbc? ( media-libs/libilbc:= ) + kerberos? ( virtual/krb5 ) + libxml2? ( dev-libs/libxml2 ) + lua? ( ${LUA_DEPS} ) + lz4? ( app-arch/lz4:= ) + maxminddb? ( dev-libs/libmaxminddb:= ) + minizip? ( sys-libs/zlib[minizip] ) + netlink? ( dev-libs/libnl:3 ) + opus? ( media-libs/opus ) + pcap? ( net-libs/libpcap ) + gui? ( + x11-misc/xdg-utils + qt6? ( + dev-qt/qtbase:6[concurrent,dbus,gui,widgets] + dev-qt/qt5compat:6 + dev-qt/qtmultimedia:6 + ) + !qt6? ( + dev-qt/qtcore:5 + dev-qt/qtconcurrent:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtprintsupport:5 + dev-qt/qtwidgets:5 + ) + ) + sbc? ( media-libs/sbc ) + sdjournal? ( sys-apps/systemd:= ) + smi? ( net-libs/libsmi ) + snappy? ( app-arch/snappy:= ) + spandsp? ( media-libs/spandsp:= ) + sshdump? ( >=net-libs/libssh-0.6:= ) + ssl? ( >=net-libs/gnutls-3.5.8:= ) + wifi? ( >=net-libs/libssh-0.6:= ) + zlib? ( sys-libs/zlib ) + zstd? ( app-arch/zstd:= ) +" +DEPEND=" + ${RDEPEND} + gui? ( + !qt6? ( + dev-qt/qtdeclarative:5 + ) + ) +" +# TODO: 4.0.0_rc1 release notes say: +# "Perl is no longer required to build Wireshark, but may be required to build some source code files and run code analysis checks." +BDEPEND=" + ${PYTHON_DEPS} + dev-lang/perl + app-alternatives/lex + sys-devel/gettext + virtual/pkgconfig + doc? ( + app-text/doxygen + dev-ruby/asciidoctor + dev-libs/libxslt + ) + gui? ( + qt6? ( + dev-qt/qttools:6[linguist] + ) + !qt6? ( + dev-qt/linguist-tools:5 + ) + ) + test? ( + $(python_gen_any_dep ' + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ') + ) +" +RDEPEND=" + ${RDEPEND} + gui? ( virtual/freedesktop-icon-theme ) + selinux? ( sec-policy/selinux-wireshark ) +" + +if [[ ${PV} != *9999* ]] ; then + BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-wireshark )" +fi + +python_check_deps() { + use test || return 0 + + python_has_version -b "dev-python/pytest[${PYTHON_USEDEP}]" && + python_has_version -b "dev-python/pytest-xdist[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use lua && lua-single_pkg_setup + + python-any-r1_pkg_setup +} + +src_unpack() { + if [[ ${PV} == *9999* ]] ; then + git-r3_src_unpack + else + if use verify-sig ; then + cd "${DISTDIR}" || die + verify-sig_verify_signed_checksums \ + ${P}-signatures.txt \ + openssl-dgst \ + ${P}.tar.xz + cd "${WORKDIR}" || die + fi + + default + fi +} + +src_configure() { + local mycmakeargs + + python_setup + + # Workaround bug #213705. If krb5-config --libs has -lcrypto then pass + # --with-ssl to ./configure. (Mimics code from acinclude.m4). + if use kerberos ; then + case $(krb5-config --libs) in + *-lcrypto*) + ewarn "Kerberos was built with ssl support: linkage with openssl is enabled." + ewarn "Note there are annoying license incompatibilities between the OpenSSL" + ewarn "license and the GPL, so do your check before distributing such package." + mycmakeargs+=( -DENABLE_GNUTLS=$(usex ssl) ) + ;; + esac + fi + + if use gui ; then + append-cxxflags -fPIC -DPIC + fi + + # crashes at runtime + # https://bugs.gentoo.org/754021 + filter-lto + + mycmakeargs+=( + -DPython3_EXECUTABLE="${PYTHON}" + -DCMAKE_DISABLE_FIND_PACKAGE_{Asciidoctor,DOXYGEN}=$(usex !doc) + + # Force bundled lemon (bug 933119) + -DLEMON_EXECUTABLE= + + -DRPMBUILD_EXECUTABLE= + -DGIT_EXECUTABLE= + -DENABLE_CCACHE=OFF + + $(use androiddump && use pcap && echo -DEXTCAP_ANDROIDDUMP_LIBPCAP=yes) + $(usex gui LRELEASE=$(qt5_get_bindir)/lrelease '') + $(usex gui MOC=$(qt5_get_bindir)/moc '') + $(usex gui RCC=$(qt5_get_bindir)/rcc '') + $(usex gui UIC=$(qt5_get_bindir)/uic '') + + -DBUILD_androiddump=$(usex androiddump) + -DBUILD_capinfos=$(usex capinfos) + -DBUILD_captype=$(usex captype) + -DBUILD_ciscodump=$(usex ciscodump) + -DBUILD_dftest=$(usex dftest) + -DBUILD_dpauxmon=$(usex dpauxmon) + -DBUILD_dumpcap=$(usex dumpcap) + -DBUILD_editcap=$(usex editcap) + -DBUILD_mergecap=$(usex mergecap) + -DBUILD_mmdbresolve=$(usex maxminddb) + -DBUILD_randpkt=$(usex randpkt) + -DBUILD_randpktdump=$(usex randpktdump) + -DBUILD_reordercap=$(usex reordercap) + -DBUILD_sdjournal=$(usex sdjournal) + -DBUILD_sharkd=$(usex sharkd) + -DBUILD_sshdump=$(usex sshdump) + -DBUILD_text2pcap=$(usex text2pcap) + -DBUILD_tfshark=$(usex tfshark) + -DBUILD_tshark=$(usex tshark) + -DBUILD_udpdump=$(usex udpdump) + + -DBUILD_wireshark=$(usex gui) + -DUSE_qt6=$(usex qt6) + + -DENABLE_WERROR=OFF + -DENABLE_BCG729=$(usex bcg729) + -DENABLE_BROTLI=$(usex brotli) + -DENABLE_CAP=$(usex filecaps caps) + -DENABLE_GNUTLS=$(usex ssl) + -DENABLE_ILBC=$(usex ilbc) + -DENABLE_KERBEROS=$(usex kerberos) + -DENABLE_LIBXML2=$(usex libxml2) + # only appends -flto + -DENABLE_LTO=OFF + -DENABLE_LUA=$(usex lua) + -DLUA_FIND_VERSIONS="${ELUA#lua}" + -DENABLE_LZ4=$(usex lz4) + -DENABLE_MINIZIP=$(usex minizip) + -DENABLE_NETLINK=$(usex netlink) + -DENABLE_NGHTTP2=$(usex http2) + -DENABLE_NGHTTP3=$(usex http3) + -DENABLE_OPUS=$(usex opus) + -DENABLE_PCAP=$(usex pcap) + -DENABLE_PLUGINS=$(usex plugins) + -DENABLE_PLUGIN_IFDEMO=OFF + -DENABLE_SBC=$(usex sbc) + -DENABLE_SMI=$(usex smi) + -DENABLE_SNAPPY=$(usex snappy) + -DENABLE_SPANDSP=$(usex spandsp) + -DBUILD_wifidump=$(usex wifi) + -DENABLE_ZLIB=$(usex zlib) + -DENABLE_ZSTD=$(usex zstd) + ) + + cmake_src_configure +} + +src_test() { + cmake_build test-programs + + # https://www.wireshark.org/docs/wsdg_html_chunked/ChTestsRunPytest.html + epytest \ + --disable-capture \ + --skip-missing-programs=all \ + --program-path "${BUILD_DIR}"/run +} + +src_install() { + # bug #928577 + # https://gitlab.com/wireshark/wireshark/-/commit/fe7bfdf6caac9204ab5f34eeba7b0f4a0314d3cd + cmake_src_install install-headers + + # FAQ is not required as is installed from help/faq.txt + dodoc AUTHORS ChangeLog NEWS README* doc/randpkt.txt doc/README* + + # install headers + insinto /usr/include/wireshark + doins "${BUILD_DIR}"/config.h + + # If trying to remove this, try build e.g. libvirt first! + # At last check, Fedora is still doing this too. + local dir dirs=( + epan + epan/crypt + epan/dfilter + epan/dissectors + epan/ftypes + wiretap + wsutil + wsutil/wmem + ) + + for dir in "${dirs[@]}" ; do + insinto /usr/include/wireshark/${dir} + doins ${dir}/*.h + done + + if use gui ; then + local s + + for s in 16 32 48 64 128 256 512 1024 ; do + insinto /usr/share/icons/hicolor/${s}x${s}/apps + newins resources/icons/wsicon${s}.png wireshark.png + done + + for s in 16 24 32 48 64 128 256 ; do + insinto /usr/share/icons/hicolor/${s}x${s}/mimetypes + newins resources/icons//WiresharkDoc-${s}.png application-vnd.tcpdump.pcap.png + done + fi + + if [[ -d "${ED}"/usr/share/appdata ]] ; then + rm -r "${ED}"/usr/share/appdata || die + fi +} + +pkg_postinst() { + xdg_pkg_postinst + + # Add group for users allowed to sniff. + chgrp pcap "${EROOT}"/usr/bin/dumpcap + + if use dumpcap && use pcap ; then + fcaps -o 0 -g pcap -m 4710 -M 0710 \ + cap_dac_read_search,cap_net_raw,cap_net_admin \ + "${EROOT}"/usr/bin/dumpcap + fi + + ewarn "NOTE: To capture traffic with wireshark as normal user you have to" + ewarn "add yourself to the pcap group. This security measure ensures" + ewarn "that only trusted users are allowed to sniff your traffic." +} diff --git a/net-analyzer/wireshark/wireshark-9999.ebuild b/net-analyzer/wireshark/wireshark-9999.ebuild index 173fb4221235..63bc4eeebbb0 100644 --- a/net-analyzer/wireshark/wireshark-9999.ebuild +++ b/net-analyzer/wireshark/wireshark-9999.ebuild @@ -5,7 +5,7 @@ EAPI=8 LUA_COMPAT=( lua5-{1..2} ) # TODO: check cmake/modules/UseAsn2Wrs.cmake for 3.12 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit fcaps flag-o-matic lua-single python-any-r1 qmake-utils xdg cmake @@ -24,7 +24,7 @@ else S="${WORKDIR}/${P/_/}" if [[ ${PV} != *_rc* ]] ; then - KEYWORDS="~amd64 ~arm64 ~hppa" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~riscv ~x86" fi fi @@ -139,11 +139,6 @@ if [[ ${PV} != *9999* ]] ; then BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-wireshark )" fi -PATCHES=( - "${FILESDIR}"/${PN}-2.6.0-redhat.patch - "${FILESDIR}"/${PN}-4.2.5-http2-test.patch -) - python_check_deps() { use test || return 0 @@ -207,6 +202,10 @@ src_configure() { # Force bundled lemon (bug 933119) -DLEMON_EXECUTABLE= + -DRPMBUILD_EXECUTABLE= + -DGIT_EXECUTABLE= + -DENABLE_CCACHE=OFF + $(use androiddump && use pcap && echo -DEXTCAP_ANDROIDDUMP_LIBPCAP=yes) $(usex gui LRELEASE=$(qt5_get_bindir)/lrelease '') $(usex gui MOC=$(qt5_get_bindir)/moc '') diff --git a/net-analyzer/wtfis/Manifest b/net-analyzer/wtfis/Manifest index 4873a6eae134..25ca6b2108a7 100644 --- a/net-analyzer/wtfis/Manifest +++ b/net-analyzer/wtfis/Manifest @@ -1,8 +1,6 @@ -DIST wtfis-0.7.1.gh.tar.gz 548395 BLAKE2B fbcc19358a0a357fdc9f4b5f27d4bda60e20a118c3c3b7cdfd90fad956d2ef0375efe4f0c8a3a94bfa8a6657d5bb710eaacb403b8c3d446921b963e3e8909442 SHA512 9a77c17e1e922e6d17aba9c6cc7364c8b65bc401cbca311280a4eef958056238aef87c2a8891c1bce5848083d1a7e5e00b0b63ead5ffefdea80ae7baee40c845 -DIST wtfis-0.8.0.gh.tar.gz 576810 BLAKE2B ac4573893aacc2533fe9ed3248613d3bf5ffb390a2dcbf01fd0590093a7bf753ee8da6e67b60142111726d55928a7913bb3f7ae1a22474876dec1cb3d81d3a3c SHA512 b709948d0ccd75472d9ccc0bfc4cec943700e57eccc42cc486075b8b89516fff054b6df92d6b23999987bab97b80db755de575cba4b56e2bd01a6bf24f058798 +DIST wtfis-0.10.0.gh.tar.gz 591068 BLAKE2B 6d47ed65c8d215a29e81c74050fb4b2b30f9d55f96709779ac1c52e1031813fda56c5ef35956a6bdc0bbd295ac15b23f601553d3156dc773aa4da6238adb3bc3 SHA512 95f544a752fb836b45511dd4fb8f8bbde3ba1edba1f4bd5a90a29c5ae25d94f2ca7ed2dc400274cdb5fa7c2e2734574d496889501ab56ea761d7c20c64e737c8 DIST wtfis-0.9.1.gh.tar.gz 590558 BLAKE2B e4d1b70bd979b1cdf5c09e9adcf2e9484eb15a8986dc4c1f88d29af830f18a6974a6f5ec5cbb808c039df85aad708dec822ccdd8c765507c1a62084d6173e1c0 SHA512 72b6725c62d7345440021e57144c637e0c5503cfd870a8626707508428dc0ba24ae183b11836c726a58de6f2103e57cb7a3be4d132f7c8b758f88463d195dcc2 -EBUILD wtfis-0.7.1.ebuild 1016 BLAKE2B a9751f147f070de2960fe03ce51b2fb28447acea7d0bfb2fb3c2224a07c8f43255494e6fd6924e40e6bc003f9e091462c0760920ccee4bb7bf6a948e14da269c SHA512 db099cde7121278f5a33818acc58c78beb3aac3d61b92262c28b6a980dcf135ac5b7b1e62f78f75aebba33c3c9f63340974372c56b1f718e1b3fc820f8914ae8 -EBUILD wtfis-0.8.0.ebuild 1016 BLAKE2B a9751f147f070de2960fe03ce51b2fb28447acea7d0bfb2fb3c2224a07c8f43255494e6fd6924e40e6bc003f9e091462c0760920ccee4bb7bf6a948e14da269c SHA512 db099cde7121278f5a33818acc58c78beb3aac3d61b92262c28b6a980dcf135ac5b7b1e62f78f75aebba33c3c9f63340974372c56b1f718e1b3fc820f8914ae8 -EBUILD wtfis-0.9.1.ebuild 975 BLAKE2B ae7f266879f8b807e75fb3344d946ae2fe16d35b0e82801b818b5ba8180fc0fbcc627d3fcc745668cc2abc56a52f0781240bbaaa1e42d6055fe599f97321de9a SHA512 a9d29b63120685e4c70a9163a2a6be5c3d8e1d448876d8ec9c29f8a7a2ea33f2f3b1fa4fd0a4e8d69aea7df9b7dc5f5fa17a2dd18b5a21e376c8b71354f20b94 -EBUILD wtfis-9999.ebuild 975 BLAKE2B ae7f266879f8b807e75fb3344d946ae2fe16d35b0e82801b818b5ba8180fc0fbcc627d3fcc745668cc2abc56a52f0781240bbaaa1e42d6055fe599f97321de9a SHA512 a9d29b63120685e4c70a9163a2a6be5c3d8e1d448876d8ec9c29f8a7a2ea33f2f3b1fa4fd0a4e8d69aea7df9b7dc5f5fa17a2dd18b5a21e376c8b71354f20b94 +EBUILD wtfis-0.10.0.ebuild 975 BLAKE2B de506b946b1fec99060c33e69b56413308f07d5a3fd24a9dbc0d54650a7f8e68be12bf204e1424d09fc66e8cae23c2bcba45dff1e7d892157edd6a53c3e47674 SHA512 0b09a6b6066f26d51fc71d61d8cc2b978dfefe3f557d1df73064d2f6114ac389b664d07fb0408951db454683e4853003761526697a08f3dd048ed85a8814314f +EBUILD wtfis-0.9.1.ebuild 973 BLAKE2B 91704be353628cb6052cb5717abf83539ff2c5edc0c7db58cbb36b7d7e3f00b5a8ebed898db0899a7fe94405b3d6a5021e994b5e12d4fffe376918d4f5c9a10f SHA512 1a55ee1780847df2e2dd5a923e62ef0fe8a7dcce4c61ed0f207d61ea8699f79850055487f33d0873ce8a62334d35872cbb3838f44b4be4950ee0accbb6a77124 +EBUILD wtfis-9999.ebuild 975 BLAKE2B de506b946b1fec99060c33e69b56413308f07d5a3fd24a9dbc0d54650a7f8e68be12bf204e1424d09fc66e8cae23c2bcba45dff1e7d892157edd6a53c3e47674 SHA512 0b09a6b6066f26d51fc71d61d8cc2b978dfefe3f557d1df73064d2f6114ac389b664d07fb0408951db454683e4853003761526697a08f3dd048ed85a8814314f MISC metadata.xml 855 BLAKE2B 552b9998e0eada39d9a0f0e092c566e9a75c5ac2e2360df66d9b7334e663a9fb4a82be51f31623f31644e2863d78570405dc94e36769be7cbbcc3539cf49d920 SHA512 56593e8b58a019e4cdbf23946331c34f66fc72e318271916b33f3f63ccfb2d7a546dcbf05fcd0bd0bce9e5e0ce8f7b0cfd621b4b938c0eed135c34d025fdfc32 diff --git a/net-analyzer/wtfis/wtfis-0.7.1.ebuild b/net-analyzer/wtfis/wtfis-0.10.0.ebuild index 08106d305363..ffc1de3aaabe 100644 --- a/net-analyzer/wtfis/wtfis-0.7.1.ebuild +++ b/net-analyzer/wtfis/wtfis-0.10.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 DESCRIPTION="Passive hostname, domain and IP lookup tool for non-robots" @@ -15,19 +15,18 @@ if [[ ${PV} = "9999" ]]; then EGIT_REPO_URI="https://github.com/pirxthepilot/wtfis.git" else SRC_URI="https://github.com/pirxthepilot/wtfis/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" - KEYWORDS="amd64 ~loong x86" + KEYWORDS="~amd64 ~loong ~x86" fi LICENSE="MIT" SLOT="0" RDEPEND=" - >=dev-python/pydantic-2.0.3[${PYTHON_USEDEP}] - >=dev-python/python-dotenv-1.0.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.31.0[${PYTHON_USEDEP}] - >=dev-python/rich-13.4.2[${PYTHON_USEDEP}] - <dev-python/rich-13.5.0[${PYTHON_USEDEP}] - >=net-analyzer/shodan-1.29.1[${PYTHON_USEDEP}] + >=dev-python/pydantic-2.7.2[${PYTHON_USEDEP}] + >=dev-python/python-dotenv-1.0.1[${PYTHON_USEDEP}] + >=dev-python/requests-2.32.3[${PYTHON_USEDEP}] + >=dev-python/rich-13.7.1[${PYTHON_USEDEP}] + >=net-analyzer/shodan-1.31.0[${PYTHON_USEDEP}] " BDEPEND=" test? ( diff --git a/net-analyzer/wtfis/wtfis-0.8.0.ebuild b/net-analyzer/wtfis/wtfis-0.8.0.ebuild deleted file mode 100644 index 08106d305363..000000000000 --- a/net-analyzer/wtfis/wtfis-0.8.0.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} ) -inherit distutils-r1 - -DESCRIPTION="Passive hostname, domain and IP lookup tool for non-robots" -HOMEPAGE="https://github.com/pirxthepilot/wtfis" - -if [[ ${PV} = "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/pirxthepilot/wtfis.git" -else - SRC_URI="https://github.com/pirxthepilot/wtfis/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" - KEYWORDS="amd64 ~loong x86" -fi - -LICENSE="MIT" -SLOT="0" - -RDEPEND=" - >=dev-python/pydantic-2.0.3[${PYTHON_USEDEP}] - >=dev-python/python-dotenv-1.0.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.31.0[${PYTHON_USEDEP}] - >=dev-python/rich-13.4.2[${PYTHON_USEDEP}] - <dev-python/rich-13.5.0[${PYTHON_USEDEP}] - >=net-analyzer/shodan-1.29.1[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/rich[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/net-analyzer/wtfis/wtfis-0.9.1.ebuild b/net-analyzer/wtfis/wtfis-0.9.1.ebuild index 5982358071db..26827deac662 100644 --- a/net-analyzer/wtfis/wtfis-0.9.1.ebuild +++ b/net-analyzer/wtfis/wtfis-0.9.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 DESCRIPTION="Passive hostname, domain and IP lookup tool for non-robots" @@ -15,7 +15,7 @@ if [[ ${PV} = "9999" ]]; then EGIT_REPO_URI="https://github.com/pirxthepilot/wtfis.git" else SRC_URI="https://github.com/pirxthepilot/wtfis/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" - KEYWORDS="~amd64 ~loong ~x86" + KEYWORDS="amd64 ~loong x86" fi LICENSE="MIT" diff --git a/net-analyzer/wtfis/wtfis-9999.ebuild b/net-analyzer/wtfis/wtfis-9999.ebuild index 5982358071db..ffc1de3aaabe 100644 --- a/net-analyzer/wtfis/wtfis-9999.ebuild +++ b/net-analyzer/wtfis/wtfis-9999.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 DESCRIPTION="Passive hostname, domain and IP lookup tool for non-robots" @@ -22,9 +22,9 @@ LICENSE="MIT" SLOT="0" RDEPEND=" - >=dev-python/pydantic-2.7.1[${PYTHON_USEDEP}] + >=dev-python/pydantic-2.7.2[${PYTHON_USEDEP}] >=dev-python/python-dotenv-1.0.1[${PYTHON_USEDEP}] - >=dev-python/requests-2.31.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.32.3[${PYTHON_USEDEP}] >=dev-python/rich-13.7.1[${PYTHON_USEDEP}] >=net-analyzer/shodan-1.31.0[${PYTHON_USEDEP}] " diff --git a/net-analyzer/zabbix/Manifest b/net-analyzer/zabbix/Manifest index 10d269d6f68d..1b90a858ea0a 100644 --- a/net-analyzer/zabbix/Manifest +++ b/net-analyzer/zabbix/Manifest @@ -20,26 +20,29 @@ AUX zabbix-server.service 429 BLAKE2B 1727ad52441b8e1ef31ee0f7faaa9d9964ee4ca5e2 AUX zabbix-server.tmpfiles 35 BLAKE2B 98e917ef03bd6dc5d73e5cbdb140c7e115c7593d5cebf2df9bf3d15713b16c6a44b165a3f68fd36a9119163144a2761457d16ce318bd094ed76ae6040c8b09df SHA512 3c63a2791e6ac77cb3144eb47a275cc8748f5c8943a076052300d6964994b95b18d60f504584fdcb683739dc514261402895e3f30ae2fbdb218acbc42c3d72df DIST zabbix-5.0.42-go-deps.tar.xz 27792520 BLAKE2B 900f47dd211d761204d9b47ad386974512a9d51761407893b5be986b3a8f577a8bc12fb8f3d7b7c6c2cd2af1170080901875f6fdb5697089d08f6843d5af6eb0 SHA512 eee469e4b638c50a375fc6802676c76d138295545b41118cd6cd36d8dbec626ae16b05844f74d3ea7f4e3f96d48653a53c4332cc7bc668154c060da0e07b7d07 DIST zabbix-5.0.42.tar.gz 21825176 BLAKE2B 378b740ec70d29156b4a9cf4b67436ff63057513bcd9ad596f3da2c2737cff16a5b88e84763f94c621e549a8749ef8995b4d51d578e533d62b9e07842bbe4dea SHA512 305b2d1873aad091aeb893e82f5c9aeb253c71683a1a95f7711c824fe0b9b29c7c6e96a17a727f9eb0f512d0983bb7d62bfb32e9a50b7ff2e7b0e9bf7d9ff42e -DIST zabbix-6.0.29-go-deps.tar.xz 30833084 BLAKE2B 8d856dba3bcfce88c0ec68461b1de39b7d106303fc7d2997b9f508ad7ab32673ac08b7f6b2d0a99f3d9303afe02e60cb75764d47f2fde5f381405116bc6c0d75 SHA512 ecc7df70e5be5517295c83a688c22fa3fa74a58653900083caf9f1a9de3f3f33b0f261add4601175f289fd9c77975ad7a5ed5a2df039b67123cb14d0779b4698 -DIST zabbix-6.0.29.tar.gz 44962896 BLAKE2B dbf1031435b155c6122018fdeb18012bb7828c65b36f9384fb4c1bf90d703c939e68546749307fe76b9648633b050f1f1718c3dd20021fe642462347b5b5c848 SHA512 3189a534e250a02f7661340700d6c6d852eeae552db8a15f94e6d917aea84f7292660a22580d6fc59479498aedecdbf58b19c51b649266a9de229f0d0c35c3e0 DIST zabbix-6.0.30-go-deps.tar.xz 30833644 BLAKE2B 0b15f210c16dd8ab6bef0fbcb1926dee99aa73716ebe2285c69e9630723c5a85d1083c380c192707cf56c5ff04d3064320eda12d568c08e104f629dc256d696c SHA512 c5074ed89a60b5491a823015126a15d4e58f1964887d15b5e7ca9ecaea3ff2c026f4e2554db25bb26367a66adfc981a7debb89c08fb90927241e7f018fd2ab11 DIST zabbix-6.0.30.tar.gz 45039653 BLAKE2B 5446a15c5fa3400d78eef47cced6cbd0bc884b6b1f14e267321f562b5891e21de41179bb615a733b49ee0ae334aadede32d931db400b9148ec9bc6636ac71e5a SHA512 8e49b53a30d4c9450ea00600144542cc1c709b2a11f3716462eefedee4d47b59c99334002bfd6644c6c49afaba0a268c86f9824ac7d45305c95b55681fd82eee DIST zabbix-6.0.31-go-deps.tar.xz 31203888 BLAKE2B e4b2a8a0f505f01b58dc0dd6baf5ea243cbba0fe996aa022a64248a1b698f8919aead95540e05dad71c7b3610cc86ba40dcb685960a0f234d1dc04739ed69f38 SHA512 ef6813f7e29aaf5b2361952fe5373fdbbb2b9a9c39a2314cd3daf8e4f8233f8ded31f29c3efe1f8a9fecb79c4872d5fb7ffdc846c7dd6bbdfb95f683f936e48a DIST zabbix-6.0.31.tar.gz 45176869 BLAKE2B d00a02d764f3f8800a87ef5763fff3cd27b5e6c8ed57bd07b23da809e9b4dd61a1b575c7717ff39311b16bba4906256a48ab01e8f2b4b594bcfde25ae003ed73 SHA512 75488e47ac32758f41ebe76d2e6a0e7f165e3921e04b9ac8304dc72a97718739aef06c42baa3d474066bd6f10c944547131c25ef4d553df9cbd13b797ea3d586 -DIST zabbix-6.4.14-go-deps.tar.xz 33272120 BLAKE2B 1554414dd9ed837938d6d560b01c14d63c49cbb7e927d9c15bbd8ec62246b808be27834c48a2e255a3d13bc0cb3062929ca48deafa8a6cf1bda84a0a7538acd5 SHA512 619c77dbbb26f0d5f7018fa5d80bdad4678f30cf2fe6127e6d3d37d21c28db41dcdf4b741fe8a27f98d2f7859a7db1b55824f808a9d147dba6ef0678a6443840 -DIST zabbix-6.4.14.tar.gz 46517773 BLAKE2B 5036019a051b6a84209a695b1a0aa33b65800e21ee77e61a80edd113999230c0566741b27cdc2c973051cfe8b87af446dd08ce1b92e6e1a71f844c16b17f8202 SHA512 fa1f404a509d0e7f78f195807469cedb049e06a9e6bd6afe53fa7f87bda008ad80158116b13558ef537ce25cb1974a920d73c6338cade9903b2d4d6d02b83317 +DIST zabbix-6.0.32-go-deps.tar.xz 31197844 BLAKE2B 91d99f94ed189c0e8f08d01c5b88835588c7797d33c54b0c60d593afe8d6f14aa481a6036db840ca7b2782ac4440dcaf757306a52ef11fce1408714c8face139 SHA512 63d9804563c12aac7fed4de28b6c1726f1bdfe338170a5d6c82413736920b082287dbb1fd7d64b7db84d013403dde2f5518783135495ff7e2563e927e6e213f9 +DIST zabbix-6.0.32.tar.gz 45340574 BLAKE2B 7b6b7db112184691e9584a7017776c14023ee94f6228c21b9b2c4a1e6e822454e8c1847d51ba4ac71b984e40d4d80e64b77155c64ea2fe45f00c2b02dcc6a215 SHA512 f19fe303b5377fbdc78c63016e7af1395a07e96b1ae394afe73fc9c7669b6eccb599942e9aebe7e173d827bc3c48284c918e9867dded00f4f0da74cb60653221 DIST zabbix-6.4.15-go-deps.tar.xz 33572368 BLAKE2B 2065ede50e7682b180387e08b2b2e9893fde4dd5316d2087aa7931a0e08b100558a47b49e9e5204f60ad9e0ce480dce9787e7a43d3841a67b9ea96db80fd1703 SHA512 347b51492147e203a2d7966fd8fe8f2b044fecd45948a767fcf4f79c96cebe8774643a1d0940a76103d25eecf852770a3a7c156d371a3de2cfef2121de5c076a DIST zabbix-6.4.15.tar.gz 46631895 BLAKE2B 3f9c23db6e8d0895b1fb5566b2cd9877d1e219c17ebea7dc5057621313c9b6f7ecd5cf1bedd3f759dfa4a429a87b50b06b97bb663d756817027c2f04ce3a625a SHA512 2fb032a02e3c507807dde140fdb17ad453ba199c724f3eb7e0e053d64df3c4f57bbc63b794eedfb3b5000f23bcabb5d6aa89039fa6f1a118c70f5cd44fd5ff02 DIST zabbix-6.4.16-go-deps.tar.xz 33766756 BLAKE2B 24ce0f3febbdeaf16f54eb351861ba8adbd59e9a54ab898882eab80741f34b7f255d226f4a61df2f8b5c4ac9e36160fa14ce872ab0c55c811eb4f5529c5213db SHA512 925344d69da4cadf9ea4fd27a1f991c14a6b77d0c58f3884e4c4e0b29f5ab2427507d2cce3d81085feafc88b87e6c1c1885813cd97543af28b0c0cf4246b5988 DIST zabbix-6.4.16.tar.gz 46717893 BLAKE2B 69212ba902195cabc38a14c9c0865d3f613662b58c5d21b654f030e888d9a33eec8c2149478b1e28af2bcfae07c9f34d5bc2531d17fd15f095916dfb64d76e64 SHA512 1688ac2fa6f3361f866f93e39b38c898e2460c510b982301b67899bcf42fb3949c843918fd0b566c5c1126ef8cb39407d5b73d22c6a0fd7a8404506df0544e33 +DIST zabbix-6.4.17-go-deps.tar.xz 34014892 BLAKE2B d3e4710fb1cb86a8842cef4fb66a9d68df6738cf6cf4c9a9d219f6af16e4829627c668fefca79d7face897b529b76182f0068629f4278ed68af8c97e49a204a7 SHA512 96b58aba2b14b5f9c89aeb65efbc30304fab1e276d2cb2b23cac90510b71ab6ce7dec4520ebe5c1dc244e95475dfa259e320390078b10aaaf8042d8039342bdb +DIST zabbix-6.4.17.tar.gz 46879401 BLAKE2B 957ae298e09debeb962d6b902569eb083cd3b6f93371984c7adb4464e4c1547292bf9df6ced5440c775b81e7b3276d8ec124f844de7d3bc68639a7bab1e41c2a SHA512 ef0840427c1814c6292debbabaa0754f377d1b4ad8c36474acabfd5d474cc3d0ceef36daccf2aa545ccda66e42b674ca3fe038eea9569127adc08cbfacf87b55 DIST zabbix-7.0.0-go-deps.tar.xz 33347940 BLAKE2B 7da8c3ff2bb74c31c551d61fa3d5ffc6d6a330361eea178dffc5379412da2fce9330acfe35bef2ae1c515a47ecef3ff24f54f17692cb32226d928b4f1d2072e8 SHA512 a365da2fb5dc3ecdaa2a4c4ee53aa022b298ded16e150814cc0cbd3b9dbaa12d5f163130724ba2ac6a129acc99386b7fd81ca3834d69fb856bdc805d90c0d3c2 DIST zabbix-7.0.0.tar.gz 47919968 BLAKE2B dc6736a1e433b5f0d742ec9e908b47a0094da77f69103d566b7476379a28819e46d9327d53e388b9ccfeb7b3b4d976fb47ba94a02057ab62ef8294e19af00188 SHA512 3302f6f7b8731e25c87d1582f897d25b8e9b5eeeddb3632aea57e39bb7a47acbaa5e74e175e83166ea3476e7e932f3282b6cc353104cdfc87dea3d4976fbc703 +DIST zabbix-7.0.2-go-deps.tar.xz 33723108 BLAKE2B a1a726e81d92c536ac1398c0573912477ec8fc88b95672da2dc972f68399cd4364438a8e4d0c8ea10666a0861d2ba652fa32921ce5bada990627f256858e0c6e SHA512 76949158cc8281b35a2ddfb1c2c9b36f1a4dbaea05fb6add0b20f31a59f32ace641de789a1f819eb73a56353f7e456785a69763cea960aaa46ef9d6ba9b34d7c +DIST zabbix-7.0.2.tar.gz 48162883 BLAKE2B a6323e2e8960e9df0127f1f688cfb3ff4cdde7edcfce189176aa1fa3cfed847beb67d35415df18a18ed1da674496e1f60a2c45269ee6dff34fd83cbb424c9221 SHA512 3f5aca53d767630b5bb48a1075ddbb841b2052eb63a775e8aae8eed749f521b397f648c5dca918e3c56680f280aef99280c129c2ab1073794257ff074afadfd8 EBUILD zabbix-5.0.42-r1.ebuild 9819 BLAKE2B 7be0b02fa0842b250033f883c48f41963d6a0998054fa443ef26c910ffb77c1c1e40e54628fd90de8a8a24c20f45783d7570408a40e6eef727a1fd0ecaabfc3b SHA512 793e988e130abde40652ef3e9d594c46918332aa11da855b68196f23ffd206d237a21d031b21a836ab2ec19b1bdd860b21f8733631f9b2874b51787dc9b681d3 -EBUILD zabbix-6.0.29.ebuild 9934 BLAKE2B 82ced7b4693f61272cd933c319188ee41934b7be0494c1ff81312e1426f54180bd32dd267fd8073cd10f054b17dbb4204924f379c9b3b5a77eb82a8109002895 SHA512 fb1cebac60d5f86d5073f09ca85b48de0e42639eb622a49e8be4774edc4d6f25c7c4150c98611945eebff92a09dd5058329a7506386a178cc8e3d905ff2bf9cf EBUILD zabbix-6.0.30.ebuild 9934 BLAKE2B 82ced7b4693f61272cd933c319188ee41934b7be0494c1ff81312e1426f54180bd32dd267fd8073cd10f054b17dbb4204924f379c9b3b5a77eb82a8109002895 SHA512 fb1cebac60d5f86d5073f09ca85b48de0e42639eb622a49e8be4774edc4d6f25c7c4150c98611945eebff92a09dd5058329a7506386a178cc8e3d905ff2bf9cf EBUILD zabbix-6.0.31.ebuild 9935 BLAKE2B 709f063488c60e870ca41ae8e4fad65d56745d0cf0434ee63015b52508910f98c4eed268ca59c4a5cf0ec00591ebe74e1653f0ff0491c0b5421719a9a2945ad2 SHA512 fadde9d5c32db0c9d7ac9102542093b7168e1b4b2bd1f5ce4515f5186b3cf94de244cf5f54066308a25f6836dc5b3ed4c00c89c3a7528c5e937e3fc1c95d2662 -EBUILD zabbix-6.4.14.ebuild 10086 BLAKE2B 4d6704bafa8c9370856f7980be82929fdc45906af1b66b4f51934abc88c635847728a5a8680e6db88cf38883dedbcd64e28f4b70eb2b82e7f58fdbd75e6edaaa SHA512 dc9a6c4d50b64a9298889f1acedeba11c4e3a5d4292d8e796d17643deb79c860fe30b927a760adf14b447537875a02e5c8e9532a8470430625a367e0e0043773 +EBUILD zabbix-6.0.32.ebuild 9935 BLAKE2B 709f063488c60e870ca41ae8e4fad65d56745d0cf0434ee63015b52508910f98c4eed268ca59c4a5cf0ec00591ebe74e1653f0ff0491c0b5421719a9a2945ad2 SHA512 fadde9d5c32db0c9d7ac9102542093b7168e1b4b2bd1f5ce4515f5186b3cf94de244cf5f54066308a25f6836dc5b3ed4c00c89c3a7528c5e937e3fc1c95d2662 EBUILD zabbix-6.4.15.ebuild 10086 BLAKE2B 4d6704bafa8c9370856f7980be82929fdc45906af1b66b4f51934abc88c635847728a5a8680e6db88cf38883dedbcd64e28f4b70eb2b82e7f58fdbd75e6edaaa SHA512 dc9a6c4d50b64a9298889f1acedeba11c4e3a5d4292d8e796d17643deb79c860fe30b927a760adf14b447537875a02e5c8e9532a8470430625a367e0e0043773 EBUILD zabbix-6.4.16.ebuild 10087 BLAKE2B 3de8cedfa2081795d888bd0d922457bb35decbdd4fbae7b276e3f16208893405e9449b66ae6fc3a12b99eb00ed21b6add86b6f4229402d88db3ef75d3c207343 SHA512 5148088dca96b51e8fc2ab86d129dbb3d3d76f0b898aa53d43be1be2e5cb859bd435c31f538d6cd81c56b30ed65c02beae0824ac1b0a5d4f4d71f085abbecf93 -EBUILD zabbix-7.0.0.ebuild 9414 BLAKE2B 79733c3971e69775e6ad25790bd91f7b4ac9263b081cab82b8f70f8d7647c31a3ab927d29f0ff868a1cf5005c28904f7b619a30926f663f83d1e163ac1e0d0d5 SHA512 d51f336ba57e8e3088f3881f2c2efda169a9059852abe1564f37902392000d3ff34c7a5782ef652065e3c99391e7656cc06fd7ed111d60f0af94aa7ae899cbb9 +EBUILD zabbix-6.4.17.ebuild 10036 BLAKE2B c38223752b0afba1c5398215a842bec17ec8c96b0dbb5c60542578a71ad76d60a9b788b706577aa1915ed4a6569a33ca4c3f11619db141a1d9a0fd6f934c81a8 SHA512 e587a9af5800306ede457d139860ccbbe38214ed26007fbc60d2fe7cbfb288f562a225c04dca05655c1f3ccbf1c3f97b1347e86cd4a4e32269ef950f0a51a772 +EBUILD zabbix-7.0.0.ebuild 9420 BLAKE2B be62ab9eb32ac89befbdf7013693618ab92f59be3b45c2224b0ffef09e8c72eab4e500c4f5aab183dc4cdfff941277cf08bfb12cce3a5704a96234b408266573 SHA512 df875c9c34db86b64570d3d7f624bf9b4da3e8e076ca1e6272cd5b99b1bbafc91c665b1d376b04ab0a1974286ea9695239b0f586c85638c286afcad2b779aafc +EBUILD zabbix-7.0.2.ebuild 9370 BLAKE2B 079db2c877ab72c17e6aa1794bf489f71c6a2cbd0eb7db7451ae0e14509d31e2e7acff543f39805f667a4d5c56e03f2209921c9de54520f588616bf89c4b8375 SHA512 147268f1938367a5aa6a7fdf42a0237e1d4dcdc122ad03da7898d728f41fef2120d2abb3ecd98ded16bdbad3536a658e76481f1e75d327e5c6ae26ff18de83a8 MISC metadata.xml 1576 BLAKE2B 877e83a97b492fe256f3459332dacb4680b2ddeaaab34c077f1ead5eb387d8f5ef6f7cca85435eedc85cdb0db7243a805a8b49c5ef7b1b7dce39a9213b401eae SHA512 77d805096f0bcf2f3650216c69cb33c7dbbcdfc8b7c56066463ce5436af30dd0e9b8c6d124b59bfdbdac4c18aa628c92f78722920284622065af0ddb6448cd3d diff --git a/net-analyzer/zabbix/zabbix-6.0.29.ebuild b/net-analyzer/zabbix/zabbix-6.0.32.ebuild index 7cbc451d3735..44884d9f45ff 100644 --- a/net-analyzer/zabbix/zabbix-6.0.29.ebuild +++ b/net-analyzer/zabbix/zabbix-6.0.32.ebuild @@ -26,7 +26,7 @@ S=${WORKDIR}/${MY_P} LICENSE="GPL-2" SLOT="0/$(ver_cut 1-2)" WEBAPP_MANUAL_SLOT="yes" -KEYWORDS="amd64 ~x86" +KEYWORDS="~amd64 ~x86" IUSE="agent +agent2 curl frontend gnutls ipv6 java ldap libxml2 mysql odbc openipmi +openssl oracle +postgres proxy selinux server snmp sqlite ssh static" REQUIRED_USE="|| ( agent agent2 frontend proxy server ) ?? ( gnutls openssl ) diff --git a/net-analyzer/zabbix/zabbix-6.4.14.ebuild b/net-analyzer/zabbix/zabbix-6.4.17.ebuild index 44b5abc0f52e..1cf14aab3662 100644 --- a/net-analyzer/zabbix/zabbix-6.4.14.ebuild +++ b/net-analyzer/zabbix/zabbix-6.4.17.ebuild @@ -26,7 +26,7 @@ S=${WORKDIR}/${MY_P} LICENSE="GPL-2" SLOT="0/$(ver_cut 1-2)" WEBAPP_MANUAL_SLOT="yes" -KEYWORDS="amd64 ~x86" +KEYWORDS="~amd64 ~x86" IUSE="agent +agent2 curl frontend gnutls ipv6 java ldap libxml2 mysql odbc openipmi +openssl oracle +postgres proxy selinux server snmp sqlite ssh static" REQUIRED_USE="|| ( agent agent2 frontend proxy server ) ?? ( gnutls openssl ) @@ -121,7 +121,6 @@ PATCHES=( "${FILESDIR}/${PN}-4.0.18-modulepathfix.patch" "${FILESDIR}/${PN}-3.0.30-security-disable-PidFile.patch" "${FILESDIR}/${PN}-6.4.0-configure-sscanf.patch" - "${FILESDIR}/${PN}-6.4.6-clang16-build-fix.patch" ) ZABBIXJAVA_BASE="opt/zabbix_java" diff --git a/net-analyzer/zabbix/zabbix-7.0.0.ebuild b/net-analyzer/zabbix/zabbix-7.0.0.ebuild index cc85d52f0b50..77e7e44907a5 100644 --- a/net-analyzer/zabbix/zabbix-7.0.0.ebuild +++ b/net-analyzer/zabbix/zabbix-7.0.0.ebuild @@ -26,7 +26,7 @@ S=${WORKDIR}/${MY_P} LICENSE="AGPL-3" SLOT="0/$(ver_cut 1-2)" WEBAPP_MANUAL_SLOT="yes" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" IUSE="agent +agent2 curl frontend gnutls ipv6 java ldap libxml2 mysql odbc openipmi +openssl +postgres proxy selinux server snmp sqlite ssh static" REQUIRED_USE="|| ( agent agent2 frontend proxy server ) ?? ( gnutls openssl ) diff --git a/net-analyzer/zabbix/zabbix-7.0.2.ebuild b/net-analyzer/zabbix/zabbix-7.0.2.ebuild new file mode 100644 index 000000000000..f90e2783580f --- /dev/null +++ b/net-analyzer/zabbix/zabbix-7.0.2.ebuild @@ -0,0 +1,371 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# To create the go modules tarball: +# cd src/go +# GOMODCACHE="${PWD}"/go-mod go mod download -modcacherw +# tar -acf $(pwd | grep -Eo 'zabbix-[0-9.]+')-go-deps.tar.xz go-mod + +EAPI=8 + +GO_OPTIONAL="yes" +# needed to make webapp-config dep optional +WEBAPP_OPTIONAL="yes" +inherit autotools webapp java-pkg-opt-2 systemd tmpfiles toolchain-funcs go-module user-info + +DESCRIPTION="ZABBIX is software for monitoring of your applications, network and servers" +HOMEPAGE="https://www.zabbix.com/" +MY_P=${P/_/} +MY_PV=${PV/_/} +SRC_URI="https://cdn.zabbix.com/${PN}/sources/stable/$(ver_cut 1-2)/${P}.tar.gz + agent2? ( https://dev.gentoo.org/~fordfrog/distfiles/${P}-go-deps.tar.xz ) +" + +S=${WORKDIR}/${MY_P} + +LICENSE="AGPL-3" +SLOT="0/$(ver_cut 1-2)" +WEBAPP_MANUAL_SLOT="yes" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="agent +agent2 curl frontend gnutls ipv6 java ldap libxml2 mysql odbc openipmi +openssl +postgres proxy selinux server snmp sqlite ssh static" +REQUIRED_USE="|| ( agent agent2 frontend proxy server ) + ?? ( gnutls openssl ) + agent2? ( !gnutls ) + proxy? ( ^^ ( mysql postgres sqlite ) ) + server? ( ^^ ( mysql postgres ) !sqlite ) + static? ( !snmp )" + +COMMON_DEPEND=" + curl? ( net-misc/curl ) + gnutls? ( net-libs/gnutls:0= ) + java? ( >=virtual/jdk-1.8:* ) + ldap? ( + =dev-libs/cyrus-sasl-2* + net-libs/gnutls:= + net-nds/openldap:= + ) + libxml2? ( dev-libs/libxml2 ) + mysql? ( dev-db/mysql-connector-c:= ) + odbc? ( dev-db/unixODBC ) + openipmi? ( sys-libs/openipmi ) + openssl? ( dev-libs/openssl:=[-bindist(-)] ) + postgres? ( dev-db/postgresql:* ) + proxy? ( + dev-libs/libevent:= + sys-libs/zlib + ) + server? ( + dev-libs/libevent:= + sys-libs/zlib + ) + snmp? ( net-analyzer/net-snmp:= ) + sqlite? ( dev-db/sqlite ) + ssh? ( net-libs/libssh2 ) +" + +RDEPEND="${COMMON_DEPEND} + acct-group/zabbix + acct-user/zabbix + java? ( >=virtual/jre-1.8:* ) + mysql? ( virtual/mysql ) + proxy? ( + dev-libs/libpcre2:= + net-analyzer/fping[suid] + ) + selinux? ( sec-policy/selinux-zabbix ) + server? ( + app-admin/webapp-config + dev-libs/libpcre2:= + net-analyzer/fping[suid] + ) + frontend? ( + app-admin/webapp-config + dev-lang/php:*[bcmath,ctype,sockets,gd,truetype,xml,session,xmlreader,xmlwriter,nls,sysvipc,unicode] + media-libs/gd[png] + virtual/httpd-php:* + mysql? ( dev-lang/php[mysqli] ) + odbc? ( dev-lang/php[odbc] ) + postgres? ( dev-lang/php[postgres] ) + sqlite? ( dev-lang/php[sqlite] ) + ) +" +DEPEND="${COMMON_DEPEND} + static? ( + curl? ( net-misc/curl[static-libs] ) + ldap? ( + =dev-libs/cyrus-sasl-2*[static-libs] + net-libs/gnutls[static-libs] + net-nds/openldap[static-libs] + ) + libxml2? ( dev-libs/libxml2[static-libs] ) + mysql? ( dev-db/mysql-connector-c[static-libs] ) + odbc? ( dev-db/unixODBC[static-libs] ) + postgres? ( dev-db/postgresql:*[static-libs] ) + sqlite? ( dev-db/sqlite[static-libs] ) + ssh? ( net-libs/libssh2 ) + ) +" +BDEPEND=" + virtual/pkgconfig + agent2? ( + >=dev-lang/go-1.12 + app-arch/unzip + ) +" + +# upstream tests fail for agent2 +RESTRICT="test" + +PATCHES=( + "${FILESDIR}/${PN}-4.0.18-modulepathfix.patch" + "${FILESDIR}/${PN}-3.0.30-security-disable-PidFile.patch" + "${FILESDIR}/${PN}-6.4.0-configure-sscanf.patch" +) + +ZABBIXJAVA_BASE="opt/zabbix_java" + +pkg_setup() { + if use frontend; then + webapp_pkg_setup + fi + + java-pkg-opt-2_pkg_setup +} + +src_prepare() { + default + + # Since we patch configure.ac with e.g., ${PN}-6.4.0-configure-sscanf.patch". + eautoreconf +} + +src_configure() { + local econf_args=( + --with-libpcre2 + "$(use_enable agent)" + "$(use_enable agent2)" + "$(use_enable ipv6)" + "$(use_enable java)" + "$(use_enable proxy)" + "$(use_enable server)" + "$(use_enable static)" + "$(use_with curl libcurl)" + "$(use_with gnutls)" + "$(use_with ldap)" + "$(use_with libxml2)" + "$(use_with mysql)" + "$(use_with odbc unixodbc)" + "$(use_with openipmi openipmi)" + "$(use_with openssl)" + "$(use_with postgres postgresql)" + "$(use_with snmp net-snmp)" + "$(use_with sqlite sqlite3)" + "$(use_with ssh ssh2)" + ) + + econf ${econf_args[@]} +} + +src_compile() { + if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then + emake AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" + fi +} + +src_install() { + local dirs=( + /etc/zabbix + /var/lib/zabbix + /var/lib/zabbix/home + /var/lib/zabbix/scripts + /var/lib/zabbix/alertscripts + /var/lib/zabbix/externalscripts + /var/log/zabbix + ) + + for dir in "${dirs[@]}"; do + keepdir "${dir}" + done + + if use server; then + insinto /etc/zabbix + doins "${S}"/conf/zabbix_server.conf + fperms 0640 /etc/zabbix/zabbix_server.conf + fowners root:zabbix /etc/zabbix/zabbix_server.conf + + newinitd "${FILESDIR}"/zabbix-server-r1.init zabbix-server + + dosbin src/zabbix_server/zabbix_server + + insinto /usr/share/zabbix + doins -r "${S}"/database/ + + systemd_dounit "${FILESDIR}"/zabbix-server.service + newtmpfiles "${FILESDIR}"/zabbix-server.tmpfiles zabbix-server.conf + fi + + if use proxy; then + insinto /etc/zabbix + doins "${S}"/conf/zabbix_proxy.conf + fperms 0640 /etc/zabbix/zabbix_proxy.conf + fowners root:zabbix /etc/zabbix/zabbix_proxy.conf + + newinitd "${FILESDIR}"/zabbix-proxy.init zabbix-proxy + + dosbin src/zabbix_proxy/zabbix_proxy + + insinto /usr/share/zabbix + doins -r "${S}"/database/ + + systemd_dounit "${FILESDIR}"/zabbix-proxy.service + newtmpfiles "${FILESDIR}"/zabbix-proxy.tmpfiles zabbix-proxy.conf + fi + + if use agent; then + insinto /etc/zabbix + doins "${S}"/conf/zabbix_agentd.conf + fperms 0640 /etc/zabbix/zabbix_agentd.conf + fowners root:zabbix /etc/zabbix/zabbix_agentd.conf + + newinitd "${FILESDIR}"/zabbix-agentd.init zabbix-agentd + + dosbin src/zabbix_agent/zabbix_agentd + dobin \ + src/zabbix_sender/zabbix_sender \ + src/zabbix_get/zabbix_get + + systemd_dounit "${FILESDIR}"/zabbix-agentd.service + newtmpfiles "${FILESDIR}"/zabbix-agentd.tmpfiles zabbix-agentd.conf + fi + if use agent2; then + insinto /etc/zabbix + doins "${S}"/src/go/conf/zabbix_agent2.conf + fperms 0640 /etc/zabbix/zabbix_agent2.conf + fowners root:zabbix /etc/zabbix/zabbix_agent2.conf + keepdir /etc/zabbix/zabbix_agent2.d/plugins.d + + newinitd "${FILESDIR}"/zabbix-agent2.init zabbix-agent2 + + dosbin src/go/bin/zabbix_agent2 + + systemd_dounit "${FILESDIR}"/zabbix-agent2.service + newtmpfiles "${FILESDIR}"/zabbix-agent2.tmpfiles zabbix-agent2.conf + fi + + fowners root:zabbix /etc/zabbix + fowners zabbix:zabbix \ + /var/lib/zabbix \ + /var/lib/zabbix/home \ + /var/lib/zabbix/scripts \ + /var/lib/zabbix/alertscripts \ + /var/lib/zabbix/externalscripts \ + /var/log/zabbix + fperms 0750 \ + /etc/zabbix \ + /var/lib/zabbix \ + /var/lib/zabbix/home \ + /var/lib/zabbix/scripts \ + /var/lib/zabbix/alertscripts \ + /var/lib/zabbix/externalscripts \ + /var/log/zabbix + + dodoc README INSTALL NEWS ChangeLog \ + conf/zabbix_agentd.conf \ + conf/zabbix_proxy.conf \ + conf/zabbix_agentd/userparameter_examples.conf \ + conf/zabbix_agentd/userparameter_mysql.conf \ + conf/zabbix_server.conf + + if use frontend; then + webapp_src_preinst + cp -R ui/* "${D}/${MY_HTDOCSDIR}" + webapp_configfile \ + "${MY_HTDOCSDIR}"/include/db.inc.php \ + "${MY_HTDOCSDIR}"/include/config.inc.php + webapp_src_install + fi + + if use java; then + dodir \ + /${ZABBIXJAVA_BASE} \ + /${ZABBIXJAVA_BASE}/bin \ + /${ZABBIXJAVA_BASE}/lib + keepdir /${ZABBIXJAVA_BASE} + exeinto /${ZABBIXJAVA_BASE}/bin + doexe src/zabbix_java/bin/zabbix-java-gateway-"${MY_PV}".jar + exeinto /${ZABBIXJAVA_BASE}/lib + doexe \ + src/zabbix_java/lib/logback-classic-1.2.9.jar \ + src/zabbix_java/lib/logback-console.xml \ + src/zabbix_java/lib/logback-core-1.2.9.jar \ + src/zabbix_java/lib/logback.xml \ + src/zabbix_java/lib/android-json-4.3_r3.1.jar \ + src/zabbix_java/lib/slf4j-api-1.7.32.jar + newinitd "${FILESDIR}"/zabbix-jmx-proxy.init zabbix-jmx-proxy + newconfd "${FILESDIR}"/zabbix-jmx-proxy.conf zabbix-jmx-proxy + fi +} + +pkg_postinst() { + if use server || use proxy ; then + elog + elog "You may need to configure your database for Zabbix" + elog "if you have not already done so." + elog + + zabbix_homedir=$(egethome zabbix) + if [ -n "${zabbix_homedir}" ] && \ + [ "${zabbix_homedir}" != "/var/lib/zabbix/home" ]; then + ewarn + ewarn "The user 'zabbix' should have his homedir changed" + ewarn "to /var/lib/zabbix/home if you want to use" + ewarn "custom alert scripts." + ewarn + ewarn "A real homedir might be needed for configfiles" + ewarn "for custom alert scripts." + ewarn + ewarn "To change the homedir use:" + ewarn " usermod -d /var/lib/zabbix/home zabbix" + ewarn + fi + fi + + if use server; then + tmpfiles_process zabbix-server.conf + + elog + elog "For distributed monitoring you have to run:" + elog + elog "zabbix_server -n <nodeid>" + elog + elog "This will convert database data for use with Node ID" + elog "and also adds a local node." + elog + fi + + if use proxy; then + tmpfiles_process zabbix-proxy.conf + fi + + if use agent; then + tmpfiles_process zabbix-agentd.conf + fi + + if use agent2; then + tmpfiles_process zabbix-agent2.conf + fi + + elog "--" + elog + elog "You may need to add these lines to /etc/services:" + elog + elog "zabbix-agent 10050/tcp Zabbix Agent" + elog "zabbix-agent 10050/udp Zabbix Agent" + elog "zabbix-trapper 10051/tcp Zabbix Trapper" + elog "zabbix-trapper 10051/udp Zabbix Trapper" + elog +} + +pkg_prerm() { + (use frontend || use server) && webapp_pkg_prerm +} |