diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-14 12:32:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-14 12:32:28 +0100 |
commit | e8aa09f74c8ba0c9e1c5ae3ab49f93b6a0820330 (patch) | |
tree | 14ad0b4141ec6704388a9130b87976ed75435984 /net-analyzer | |
parent | 6fcdccbe589d724b6c268b49f66414e40eb0d807 (diff) |
gentoo auto-resync : 14:09:2024 - 12:32:27
Diffstat (limited to 'net-analyzer')
25 files changed, 513 insertions, 339 deletions
diff --git a/net-analyzer/Manifest.gz b/net-analyzer/Manifest.gz Binary files differindex b7698c0847e0..a6aa24f2db64 100644 --- a/net-analyzer/Manifest.gz +++ b/net-analyzer/Manifest.gz diff --git a/net-analyzer/gsa/Manifest b/net-analyzer/gsa/Manifest index 64ad04b95c8c..70070c0383bc 100644 --- a/net-analyzer/gsa/Manifest +++ b/net-analyzer/gsa/Manifest @@ -1,4 +1,7 @@ DIST gsa-23.0.0.tar.gz 3605974 BLAKE2B c3797a20427754e0bee32d6e64599f04d1ed474435172efdeb0f3200aaec0d7a7dae0d80c035a762e3b6483f6b629a32e5225737ba521047ef90d564f2d1a036 SHA512 d2dfe12777a8b7610ebc1e7eceb079d38ae1f83085c5a411c115950e55254c82151f77ce16d12342d40b457999f50348a48e66f236a83d145697f68ef9caf993 +DIST gsa-23.3.0.tar.gz 3508732 BLAKE2B 13aa2c7922778c16bc0c2349fb638fbbc96bb9fc2c005310815f0e0b9194b2afb7648cb7efe7f9e9b18b1756224d964c3feba53334d71a9f5f26156cde0a6fde SHA512 d9eaa282ba4babf3f42939f4918b5726fa539e4c4fe64e89ae77cf1887b2f10d5a97f085b168264e7b23c468f194e0c58c565ee86458812065947a4d96c43788 DIST gsa-node-modules-23.0.0.tar.xz 28474728 BLAKE2B f16b863d4a052cfbbc2758d66ca7f7715b2d0a303b916c149e562e9b2f4c2eeb9696447613fa382cc951d72c54758ea285402149f77793c94a0b39f71c39379d SHA512 ab3aedc50f1f9802b2a986a6b2e905b858f42722ef821d9b6d5aac44f113c62142a22292ce90badeb588276391ae64d68de177da727dcf09279105a9b635f4ab +DIST gsa-node-modules-23.3.0.tar.xz 23747600 BLAKE2B 85a5e30f7c74fa572da26437ac224126cbd657c1b8fc81dddbb0ab037ea0d9ece90cafb2a9678770017e837d1a914ae662cebddcfef9aeeaf9285aaebc1cab8b SHA512 3b03791d775b2318e91db27f49d199dc70d420242751568a663f3cff43cd11610cb3e46664ff8dd295bed974559d815b84421c72643af86ab540d1114c958d80 EBUILD gsa-23.0.0.ebuild 1272 BLAKE2B 90c2a5504a81e71f1bf91ac06cc3b695ce85f932306bab88f279e5586521a168a2e125f6fe29db46e8817e989eda3ee7f552b04a0373753346a4576a2ba64f6a SHA512 dc78788af0a4734170d02b81711d127f71352d18dea51f8befa309d993d9fde62068b5345e258ce09c4f7569b7908a22689bce3e782244285c369587187b83f9 +EBUILD gsa-23.3.0.ebuild 1273 BLAKE2B 0829c98cba9348b17a37f576fc9ef9c41f94b7635868f323ccf3b516902f2d9925ad97b1ef853a74f89504401e311243b6071d9af6025150099e44fe629a5a90 SHA512 a5c5b7dffdc26a1f48b6280bebebb9ba7f479bb8781372aefeca456a49093694438c6d3b968a5882b523de03471e383e63ffc574bb292647ba87139e220f90cc MISC metadata.xml 848 BLAKE2B 49d7577db6edee952e547955740310dc2066f35472d0c61d0ce4eb634161e7e8420a2d65adad1afb86b0e354b1e99d4c786fb67a697181742833e94e59599b51 SHA512 abda40fcd8d265ddbb0070d53a994205e3a282c0a844c5f0c060175229a7560bda6a55314f7faef4856e7b3a94a0636186c5e3ceb34375a13662e84c7422b53c diff --git a/net-analyzer/gsa/gsa-23.3.0.ebuild b/net-analyzer/gsa/gsa-23.3.0.ebuild new file mode 100644 index 000000000000..c88164c79281 --- /dev/null +++ b/net-analyzer/gsa/gsa-23.3.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_NODE_N="node-modules" +MY_NODE_D="node_modules" +MY_NODE_PV="${PV}" + +DESCRIPTION="Greenbone Security Assistant" +HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/gsa" +SRC_URI=" + https://github.com/greenbone/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/greenbone/${PN}/releases/download/v${PV}/${PN}-${MY_NODE_N}-${PV}.tar.xz +" + +LICENSE="AGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + >=net-libs/nodejs-18.0.0[ssl] + >=sys-apps/yarn-1.22 +" + +MY_NODE_DIR="${S}/${MY_NODE_D}/" + +src_prepare() { + default + # We will use pre-generated npm stuff. + mv "${WORKDIR}/${MY_NODE_D}" "${MY_NODE_DIR}" || die "couldn't move node_modules" + + # Make SVGR not traverse the path up to / looking for a + # configuration file. Fixes + # Error: EACCES: permission denied, open '/.config/svgrrc' + # in case a directory /.config exists, see https://bugs.gentoo.org/909731 + echo "runtimeConfig: false" > .svgrrc.yml || die +} + +src_compile() { + # setting correct PATH for finding react-js + NODE_ENV=production PATH="${PATH}:${MY_NODE_DIR}/.bin/" \ + yarn --offline build || die +} + +src_install() { + insinto "usr/share/gvm/gsad/web" + doins -r build/* +} diff --git a/net-analyzer/gsad/Manifest b/net-analyzer/gsad/Manifest index 079421ddf748..6509bef958a8 100644 --- a/net-analyzer/gsad/Manifest +++ b/net-analyzer/gsad/Manifest @@ -1,8 +1,8 @@ AUX gsad-22.init 863 BLAKE2B 874b4883bcc57cd40a12fe88ea11a8c63e935fb87ff5bf73ab3725f04f55f9fd677bd90f37a1ef8c8fadb35767eaa4aa87bba0668a07e9da68a614da965c22e1 SHA512 00f0e87de505678eb8fbb2086a3f8426c46eb1ec227da3a28a9ff12ef16b8ac2b612e135f779579778bf545724b7c4ada0ca54a49c70d5e49a0dca44e5b2882e AUX gsad-daemon.conf 428 BLAKE2B 5fdd58c878769245535cb46e2715fb14253bfe303d302a6e5a0efb655a30e92250582e2cfe4043afac79a718d178f350c91507c069bdf40e80fd7c688d47e270 SHA512 8ee1aca3d3e7f154eb5db21e256f7be68eca66bee0931a84a8187c49bc557b93255a842050bebe29b197746291fb40553b6bcde10adc871fb9aac2b27fb02f3d AUX gsad.service.conf 25 BLAKE2B fb1972cc41f5f8970717136ef71c81b74cb1abb6c0419d3c8f7f51a9f54f933eb1c1551cfb56149bc7b5e2c68dd11d731b556a7ba2da678b02f24cf143810b4f SHA512 ece2d5838f743a820dd732a5e5b17d91e85ce07655173a0143740ef6bcd20156d6aebfcf8c43d53caa7713402607d88acc0328499326f6921e3b057bd0ef9d66 -DIST gsad-22.9.0.tar.gz 224735 BLAKE2B da1ee149f6937ef2bb6d23391bf8594b776c8396d2a9fb0733b6d6933e1bd002ae560c178f8c300a09fd0d73c92615b750728fe8302f00b91e11926fe1a15aaa SHA512 ffe146a0dc87d2d95835dfa9b8eaeb2825a24aabe0f97e2ebd525235f96b23907476154fa52789c1d30d53daaf256743a4723db06e94bf6d4db98aaa57f08004 +DIST gsad-22.12.0.tar.gz 225704 BLAKE2B 77ae7ea7a281143ad756adafebead664286f87680d11109562551d305d65b9ec665a6335bc1a058ea457f81f5fa8aba2d0c663a2001a2097bc72d212001b07e7 SHA512 5cf49dbbda1742bb7d215d879a30cf04c083b8a6bde8d6225fe3149426ec3cd2d4abba8ebbdc29817fa2db7c38b8a9a5eafa32d20b0d79e685ae87daa2247405 DIST gsad-22.9.1.tar.gz 222663 BLAKE2B e65c8ecfa613a1653d36234d00e95da690e32c1c7ffc8904f509d568533079138115fcd389aaafa6d6cb96d5df42c9071e04edbbc95ea77731627ab7036adbde SHA512 25592b7e07357ff41f142cf926132491af20757a404773f3d532bafbf6e75d98b259103860920f657512d16a120351478767d347b01bef122ea1177c685d0d5b -EBUILD gsad-22.9.0.ebuild 2242 BLAKE2B 14d740eb322d174b219ffc0b77b9d4910ef430fbb05c74c385e2c965c4c748b5f08e005a53580f9423ef5019c0c84aef8f7ee9c42d29bd9bdaf232705472706a SHA512 396b5763b69d952911bc6d6ba84cfd931daf8bc694f6481b34c4bd93dba870f3fb8e02b8b634eca972ae7765531fdc6e55b1d03d8384ce00ed397e54fd8742e7 +EBUILD gsad-22.12.0.ebuild 2242 BLAKE2B 4a958f3de24f12244cd8da889c97d024976fee73225288d551e7ea60cdf56429fe98af31d9fac550f8b3ecbdd590024448e09c0d711684f0c29e569e09a9ee24 SHA512 31dd957378c5313b4f404eecb8e5700e2e9c4bfe32dacacefbba376cc8a2bf5ba8cd3f5fcca3243953c009ff95aa42dae2c8d401c697dce6ffb0964b6ee94f63 EBUILD gsad-22.9.1.ebuild 2241 BLAKE2B 0e556841fca80f8749d065fb8a9d43ef30dff136e9f931f595dba0c62a16f97692ad06fb06bc48946296efcddc229721a9f0b93d81fef5ee2af11345fbefc7cc SHA512 24a03b6ce591589332ab674cb753850066fbe193d68d84b2f886da1c932de624baec286afa4d86c76a284d978f1682ba2f8032195a727c6d1fdc17286de4f0f5 MISC metadata.xml 479 BLAKE2B 95dfeecb7f7865b4f5c338347eddf868d70647e160d18332f93e50400e35bbae526dd77cab06bc8c9a39e05e79a792b6e36d8492fbad426085040fbd5f848e83 SHA512 8c0c042e28660bc0ec186893daab2b2f97490b2694a557072b2f4517028e34a44711e203810c3bbe5065dc4b2423b3ec2f9d56e1ef288b21f2578b604737cbb7 diff --git a/net-analyzer/gsad/gsad-22.9.0.ebuild b/net-analyzer/gsad/gsad-22.12.0.ebuild index 2230d3f5a627..8598a1817e03 100644 --- a/net-analyzer/gsad/gsad-22.9.0.ebuild +++ b/net-analyzer/gsad/gsad-22.12.0.ebuild @@ -9,8 +9,8 @@ DESCRIPTION="Greenbone Security Assistant" HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/gsad" SRC_URI="https://github.com/greenbone/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -SLOT="0" LICENSE="AGPL-3+" +SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="brotli doc" @@ -19,7 +19,7 @@ DEPEND=" >=net-libs/libmicrohttpd-0.9.0:= dev-libs/libxml2:2 >=dev-libs/glib-2.42:2 - >=net-analyzer/gvm-libs-22.6 + >=net-analyzer/gvm-libs-22.8 >=net-libs/gnutls-3.2.15:= >=sys-libs/zlib-1.2 dev-libs/libgcrypt:0= diff --git a/net-analyzer/gvm-libs/Manifest b/net-analyzer/gvm-libs/Manifest index d099b1d36ca8..e5b18c0b304f 100644 --- a/net-analyzer/gvm-libs/Manifest +++ b/net-analyzer/gvm-libs/Manifest @@ -1,5 +1,7 @@ DIST gvm-libs-22.10.0.tar.gz 323677 BLAKE2B f6ace01ce3e1e240496e4edd0d07ee4f155ffa7a3eabdef6e5342cac7e7f94fd2048649a6f00b1bbb3bbe6801f09db28733a33b852ac59f873050c8859d934bc SHA512 dd4a5758ddd70b0a565879f61c913e2cc6c21e8982626058f80da07d1f3d04ad5680b6c850acac46b9b9deb46390985230c5b7b2140c81bdeeb9e8b5e4813c18 +DIST gvm-libs-22.11.0.tar.gz 331231 BLAKE2B 0dbd92f1d87b711a08941851dea7044d4d285ec9010ddc48025a3c67ff9a75e32d956c0f1111c6e0904f51634312625f004447611f9ac59c2a2431f665cdc2c2 SHA512 379e0145baddf78b22ac540fbbd900e03bd9b7acbb1d233b8c101b287257638a0ca4d02d8ab73d1d289e2676e9da358f5e1d5ffe0258819b31619e7427ca50ee DIST gvm-libs-22.9.1.tar.gz 314228 BLAKE2B 117ddf5824f0a1f5788695074fa5044b21b5dcfb8d6235a9f423174fa76d9262f361371d1f6807e88979ce49cafab64f5aa9fd1d2e855395bfa103bf6b121ec8 SHA512 b06c21ced89dc9f14dd19b256b57af910f4d7e585bf9c90fb7e3c3497bb429294e3ffb64dc6ee710e8b3beeb4ca9ac6aecb9d5e4b25f0f9761fa0c9f18a8dfd1 EBUILD gvm-libs-22.10.0.ebuild 3063 BLAKE2B 91aa7bf6f9472b6d6da4f8081e0b9cca201f9864437ea13d05bd1aadd2b4097ee04ee2d38115c63a817a96d07b903b2df24be29ab02e3f51cf9e9c49cfb6c13b SHA512 23015073ceae376371d76465f7743deb99a46d8b2c125220b0daa19a81fbaa2accc84ebb969afdfad8b998cacc3b15adbfd81ceef1dac04dfd09bfe83631fd17 +EBUILD gvm-libs-22.11.0.ebuild 3089 BLAKE2B b53615d06175c988ec87ec65e53e8470e30a1b37b9f996aa4f89a434608fd36ebadc42e1c52df3c37122defc9ff2347aa0cc3831ec11ba3a8db719d79cd592b8 SHA512 6d4654eafd5cc7bcf5ad896197103e4234ebfff54cff427bd2556017650c40addf7bbeb7b45289a637dcaf0b76c432790dc796764b401e1b38ae53c15bca7758 EBUILD gvm-libs-22.9.1.ebuild 2638 BLAKE2B 38fb3a46c216e4340fd308cec7092846c1557d565df2fd2385037f897e70effdd2602973024ab17c8efd998fc56d8006763eeb2576442620fd81d87985091d4c SHA512 abe39d17d95095e0008cbe6519982a8acf9912996fef85a18b9002ca410fe6744fa72e5cf69a9dfd688b12bc85e6149efed63e8b0ece7c04d03c170cd05771fe MISC metadata.xml 754 BLAKE2B 9f902ba7eec9d518751d3011ca10d5d54d0e32aaaa63336eed197b42022703326aa73882b934190cb2961a39adc2abdac31001de1d64aefb06853916854f227d SHA512 28fa6727b0464a3b798ccda307bfe49a7e84cd1dcb256953dc6db46c8d17f119e7082506301ed9a37dfd6cdb9f265537f6801f4df02e70e9b9eb5a46a4bbe49e diff --git a/net-analyzer/gvm-libs/gvm-libs-22.11.0.ebuild b/net-analyzer/gvm-libs/gvm-libs-22.11.0.ebuild new file mode 100644 index 000000000000..c7a5babad1f9 --- /dev/null +++ b/net-analyzer/gvm-libs/gvm-libs-22.11.0.ebuild @@ -0,0 +1,123 @@ +# 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/cJSON-1.7.14 + >=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 ) +" + +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 + # 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-tools/Manifest b/net-analyzer/gvm-tools/Manifest index c45dcb42f1ee..0b9824111bc7 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 +DIST gvm-tools-24.8.0.tar.gz 241845 BLAKE2B 8f8d94c1dfc23d59ad5fc9cc9b165a875acb8503d3a38d0be2938d2cecdf07167ddd49420c29e316db6623ccd877afb5c22fa891fcfed8cc1bfb6aa1eb66fa4a SHA512 4434410424521f80adeb52785ba5c8f9a6548f9bfc9e7798f127c92b238b747485d6b1599f5f944f359cbf2327bf6a564250430aac3ac317f2847b61863fb829 EBUILD gvm-tools-24.3.0.ebuild 628 BLAKE2B f4ea480fa763b1b1a7eefc8ba673ee794a24fa41d5b30a62d01480d32686f29c369988e063eb9aab843467631fe21b0376331ffacefaf5e3788de3b38fb6c021 SHA512 126c7ba9c97596d8444baedd6c3d26cbbc658fb266e5dd6e144ce3bc590076679d634e25b0171f39dbf5375fe33139395e5fdbc935e3615606e1fa7d3a951bd0 +EBUILD gvm-tools-24.8.0.ebuild 629 BLAKE2B 28a3733a8adf81f57071c678302b9d17faa6950417c521bccaa6c077ae2b40b46272f614ac611e0f559b13fed821ba1d08f986d86778b64dbcb10271a57eb24c SHA512 6e2cc8b5ff07d829c029254c22e637d19cb374cee7e8f25cc6b6c9b69ce06aa975ba9e7a4e8629f3c5c1be41dd3d53ecdb85ee7b0ba6f9228e48af849ea456ad MISC metadata.xml 906 BLAKE2B 14ad7500a606fc905fb68739b5b36a69502ea54a56d666eb2a054ee235489c14569262d2b75ec902c777f1e59cfe87b6f323104221839136f870df4e4dfa7586 SHA512 b794f27993b95ce7ec037077430e315a813199e709d233666fe18e1f085f366886344b9c3cd227ce67cdd0be7b8e71e0a2df8ba6e78950be95ab9cc1696725c5 diff --git a/net-analyzer/gvm-tools/gvm-tools-24.1.0.ebuild b/net-analyzer/gvm-tools/gvm-tools-24.8.0.ebuild index 486de1f6273a..ee65c28046f4 100644 --- a/net-analyzer/gvm-tools/gvm-tools-24.1.0.ebuild +++ b/net-analyzer/gvm-tools/gvm-tools-24.8.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..12} pypy3 ) DISTUTILS_USE_PEP517=poetry inherit distutils-r1 @@ -11,9 +11,9 @@ DESCRIPTION="Remote control for Greenbone Vulnerability Manager, previously name HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/gvm-tools/" SRC_URI="https://github.com/greenbone/gvm-tools/archive/v${PV}.tar.gz -> ${P}.tar.gz" -SLOT="0" LICENSE="GPL-3" -KEYWORDS="amd64 ~x86" +SLOT="0" +KEYWORDS="~amd64 ~x86" RDEPEND=" >=net-analyzer/python-gvm-23.4.2[${PYTHON_USEDEP}] diff --git a/net-analyzer/gvmd/Manifest b/net-analyzer/gvmd/Manifest index 0230567e585b..d55131516d80 100644 --- a/net-analyzer/gvmd/Manifest +++ b/net-analyzer/gvmd/Manifest @@ -1,12 +1,8 @@ AUX gvmd-22.init 879 BLAKE2B 74c091d08deffb53ff9b94f08acea24ea8ff4ff5c763fcd38dff1d387fc25213531dc594bdf1beccd388f89b5684d7d09b8b75f80734c772018e47e17a8ebe47 SHA512 cdde77c51a8f42a6551356c56010ee8fa5d64e6b73f8040318b5dfcd738ad8e3c442a3c01ff786def9d5dfe6a3f01951143ea60cc4305c0b74d25c086259c447 AUX gvmd-daemon-22.conf 892 BLAKE2B 1b8c15d6c889e471d86d6a12f7795c0d126f905c55e2588937299868154ae402a8aeb4d71f0492920df738076d4dff41c372bef22432de69bf3f499da8f58028 SHA512 dcee0ad72e86b7822ca1dec11a60da9cfcfc7db50d1e179b3f819ed14e93b88e552b4b18a30fdac3423dfb913637e307e55da0aac73903ee6e736c41cde41454 AUX gvmd.service.conf 608 BLAKE2B 95845701a20d93c1e09c960b912f32b063f9bdf90c955bf7483661f2cce7788367458480f3800abc7f4904702a0dfb7124fff0c5f38f7d495e0fa3d89e5ae9d0 SHA512 5c67480ac44f619fc0d88ec2140a1e4c6b7defdba2c18338df05f72db1c8c642d1a91a2ca35fcf3cef8719cd360cdf335a4010f932607cbcc2a4a3ce660ce3a7 -DIST gvmd-23.1.0.tar.gz 1050719 BLAKE2B 9ff3e679ac4c4ff0e4a5eb1ee9ed4c9d243a96b5c4d63934576ec86d70f15f6ff6dee839e29c0de50af3a829e141fa416ac993935f0a683ca135f68f17e1489a SHA512 77d08067a168065bb3b4fd10ba94c48a3207378c9b8c0be42a9570c390c92b985ebf94c53cbbe04f78c2a802de430d599593e1971bc7b93d3f0652bfe59022a4 -DIST gvmd-23.4.0.tar.gz 1064194 BLAKE2B a74ed75c69f3f793058133ec6aca93ddba34efc51267b20333916d7291484f1b1eefa5527f3bb34137584a290e4d7d150d799f9f9b0f1473dfa8c3b4d83f9cfb SHA512 0c5b0d933444d25253e234f387e9063ebbeb379d330cab9ca4eaaddc0effe6fbda312b8de51b5f9784141d149f83b6f0069d7e1f72674857b8d041ab9bff6dfd -DIST gvmd-23.5.2.tar.gz 1064064 BLAKE2B 84d2861f274a71b8a681cb1bfff01ee06f6bc9ab8ae0cb430e65b3f36e9f75076365efa9d5b5d6a5954d328fbc5e3aa6b942a4e1e875ca640ac814dbcc8d98be SHA512 4708fe0033d5244a988560ca9cbe8b0d5be0006690cc5c943eec3cd534329d776a556766a57257a07d40132fa5239455b9f71b4d0e9a5a4ba66d63436c2bc9f4 DIST gvmd-23.6.2.tar.gz 1065818 BLAKE2B 65b999c42628eec4816aea984ba1ab0383a9147ba04f934b21b5763db10dac2679cfab821520e69be42accdaad061fbb0692c9d6cd8f30db592d9466c3cdc351 SHA512 935af9a842d7b82a8467ccbb9edf1c9e8ea05c4f8a4e263c3692a2d8993209312af3d760943e32c77f8c12d2220771b9731b10dba59c89d2570682a3e363767d -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 +DIST gvmd-23.9.0.tar.gz 1087527 BLAKE2B a65ebf9aec0f5a29ade63b4aadcecdbbe0e342642b30c426257ef4de0f901b40a1ceaf0586a6ced38d94f4e404913da1b8eb53d8704e6c4ffe5c9791c70be011 SHA512 07c72679ed62f05e001c40f20eda8c5eef7512176d4eba1371047c4f1a0371625f1e380e81e306f7f764f918658f8223c8209b19a1a271f129e0677862517971 EBUILD gvmd-23.6.2.ebuild 3231 BLAKE2B 4534e9760ef70c2e9086c5f5ad42c5e6910b4417486916d00e30c4f28a5d593259461aa189370674296f0de3b3596d13dc3231d245252ba66046a9db5d4c1dd7 SHA512 f2c65e7985c8e0480218e90f4ea300f24e88d96adb9df4f2841ac2413beb79478dafa6c71ddf145752c7140c30a139a0a21a4c159918ebf8c19543c7a5cd1d02 +EBUILD gvmd-23.9.0.ebuild 3258 BLAKE2B 40c580403f6c79fafbca386ff0520a51392f121507f4639ebd8588dca8b38ce6b11629da232018866d2ddd3bf40f75b58ae18eba6146ed8e069f5666aff96769 SHA512 0e27a0c55cbc0479817b95ddb8afddb2841dd6ab51a71dab923dd41dbf41cdc08787361cd5d678c6adfaaad2158624365feadfbcc3d8327096923f9c8a79ffb4 MISC metadata.xml 1015 BLAKE2B 02f3f87588b78a5ec9114298b527d3a0731d993583c20e4988e4ce97fd95a00324c3692000b5572494fc4f6dc33aeb603f25c146c98cfdffa3cefd1ae77ac7ee SHA512 f99e5727c4b40ae8184f471045059a95df54deea829ba01d3d948ca90586ab9745dbeca90d826f088963a15396099a5fdb9583c3aecf47fd72f1e8760eda1aac diff --git a/net-analyzer/gvmd/gvmd-23.1.0.ebuild b/net-analyzer/gvmd/gvmd-23.1.0.ebuild deleted file mode 100644 index 0730bd7ff8ed..000000000000 --- a/net-analyzer/gvmd/gvmd-23.1.0.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake systemd toolchain-funcs - -DESCRIPTION="Greenbone vulnerability manager, previously named openvas-manager" -HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/gvmd/" -SRC_URI="https://github.com/greenbone/gvmd/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -SLOT="0" -LICENSE="AGPL-3+" -KEYWORDS="amd64 ~x86" -IUSE="doc test" -RESTRICT="!test? ( test )" - -DEPEND=" - acct-user/gvm - app-crypt/gpgme:1= - dev-libs/libbsd - >=dev-db/postgresql-9.6:=[uuid] - >=dev-libs/glib-2.42:2 - >=dev-libs/libical-1.0.0:= - >=net-analyzer/gvm-libs-22.7 - >=net-libs/gnutls-3.2.15:=[tools] -" - -# gvmd (optionally) uses xml_split from XML-Twig at runtime. And texlive -# and xmlstartlet are used for (PDF) report generator at runtime. -RDEPEND=" - ${DEPEND} - app-text/xmlstarlet - dev-perl/XML-Twig - dev-texlive/texlive-latexextra - >=net-analyzer/ospd-openvas-22.4 - >=dev-db/pg-gvm-22.4 -" -BDEPEND=" - app-alternatives/yacc - app-alternatives/lex - virtual/pkgconfig - doc? ( - app-text/doxygen[dot] - app-text/xmltoman - app-text/htmldoc - dev-libs/libxslt - ) - test? ( dev-libs/cgreen ) -" - -src_prepare() { - cmake_src_prepare - # QA-Fix | Use correct FHS/Gentoo policy paths for 9.0.0 - sed -i -e "s*share/doc/gvm/html/*share/doc/${PF}/html/*g" doc/CMakeLists.txt || die - sed -i -e "s*/doc/gvm/*/doc/${PF}/*g" CMakeLists.txt || die - # QA-Fix | Remove !CLANG Doxygen warnings for 9.0.0 - 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 -} - -src_configure() { - local mycmakeargs=( - "-DLOCALSTATEDIR=${EPREFIX}/var" - "-DSYSCONFDIR=${EPREFIX}/etc" - "-DLIBDIR=${EPREFIX}/usr/$(get_libdir)" - "-DSBINDIR=${EPREFIX}/usr/bin" - "-DSYSTEMD_SERVICE_DIR=$(systemd_get_systemunitdir)" - "-DGVM_DEFAULT_DROP_USER=gvm" - ) - 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 - if use test; then - cmake_build tests - fi - cmake_build rebuild_cache -} - -src_install() { - if use doc; then - local HTML_DOCS=( "${BUILD_DIR}"/doc/generated/html/. ) - fi - cmake_src_install - - insinto /etc/gvm/sysconfig - newins "${FILESDIR}/${PN}-daemon-22.conf" "${PN}-daemon.conf" - if ! use prefix; then - fowners -R gvm:gvm /etc/gvm - fi - - newinitd "${FILESDIR}/${PN}-22.init" "${PN}" - newconfd "${FILESDIR}/${PN}-daemon-22.conf" "${PN}" - - # Set proper permissions on required files/directories - keepdir /var/lib/gvm/gvmd - if ! use prefix; then - fowners -R gvm:gvm /var/lib/gvm - fi - - systemd_install_serviced "${FILESDIR}/gvmd.service.conf" \ - ${PN}.service -} - -pkg_postinst() { - elog "If you are upgrading from a previous version, you need to update the database version." - elog "Please, create the running directory and give write permission to the database user" - elog "then run gvmd as the gvm user with --migrate option:" - elog "~# mkdir /run/gvmd" - elog "~# setfacl -m u:gvm:rwx /run/gvmd/" - elog "~# sudo -u gvm gvmd --migrate" -} diff --git a/net-analyzer/gvmd/gvmd-23.4.0.ebuild b/net-analyzer/gvmd/gvmd-23.4.0.ebuild deleted file mode 100644 index f9f321120a6e..000000000000 --- a/net-analyzer/gvmd/gvmd-23.4.0.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake systemd toolchain-funcs - -DESCRIPTION="Greenbone vulnerability manager, previously named openvas-manager" -HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/gvmd/" -SRC_URI="https://github.com/greenbone/gvmd/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -SLOT="0" -LICENSE="AGPL-3+" -KEYWORDS="~amd64 ~x86" -IUSE="doc test" -RESTRICT="!test? ( test )" - -DEPEND=" - acct-user/gvm - app-crypt/gpgme:1= - dev-libs/libbsd - >=dev-db/postgresql-9.6:=[uuid] - >=dev-libs/glib-2.42:2 - >=dev-libs/libical-1.0.0:= - >=net-analyzer/gvm-libs-22.8 - >=net-libs/gnutls-3.2.15:=[tools] -" - -# gvmd (optionally) uses xml_split from XML-Twig at runtime. And texlive -# and xmlstartlet are used for (PDF) report generator at runtime. -RDEPEND=" - ${DEPEND} - app-text/xmlstarlet - dev-perl/XML-Twig - dev-texlive/texlive-latexextra - >=net-analyzer/ospd-openvas-22.4 - >=dev-db/pg-gvm-22.4 -" -BDEPEND=" - app-alternatives/yacc - app-alternatives/lex - virtual/pkgconfig - doc? ( - app-text/doxygen[dot] - app-text/xmltoman - app-text/htmldoc - dev-libs/libxslt - ) - test? ( dev-libs/cgreen ) -" - -src_prepare() { - cmake_src_prepare - # QA-Fix | Use correct FHS/Gentoo policy paths for 9.0.0 - sed -i -e "s*share/doc/gvm/html/*share/doc/${PF}/html/*g" doc/CMakeLists.txt || die - sed -i -e "s*/doc/gvm/*/doc/${PF}/*g" CMakeLists.txt || die - # QA-Fix | Remove !CLANG Doxygen warnings for 9.0.0 - 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 -} - -src_configure() { - local mycmakeargs=( - "-DLOCALSTATEDIR=${EPREFIX}/var" - "-DSYSCONFDIR=${EPREFIX}/etc" - "-DLIBDIR=${EPREFIX}/usr/$(get_libdir)" - "-DSBINDIR=${EPREFIX}/usr/bin" - "-DSYSTEMD_SERVICE_DIR=$(systemd_get_systemunitdir)" - "-DGVM_DEFAULT_DROP_USER=gvm" - ) - 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 - if use test; then - cmake_build tests - fi - cmake_build rebuild_cache -} - -src_install() { - if use doc; then - local HTML_DOCS=( "${BUILD_DIR}"/doc/generated/html/. ) - fi - cmake_src_install - - insinto /etc/gvm/sysconfig - newins "${FILESDIR}/${PN}-daemon-22.conf" "${PN}-daemon.conf" - if ! use prefix; then - fowners -R gvm:gvm /etc/gvm - fi - - newinitd "${FILESDIR}/${PN}-22.init" "${PN}" - newconfd "${FILESDIR}/${PN}-daemon-22.conf" "${PN}" - - # Set proper permissions on required files/directories - keepdir /var/lib/gvm/gvmd - if ! use prefix; then - fowners -R gvm:gvm /var/lib/gvm - fi - - systemd_install_serviced "${FILESDIR}/gvmd.service.conf" \ - ${PN}.service -} - -pkg_postinst() { - elog "If you are upgrading from a previous version, you need to update the database version." - elog "Please, create the running directory and give write permission to the database user" - elog "then run gvmd as the gvm user with --migrate option:" - elog "~# mkdir /run/gvmd" - elog "~# setfacl -m u:gvm:rwx /run/gvmd/" - elog "~# sudo -u gvm gvmd --migrate" -} diff --git a/net-analyzer/gvmd/gvmd-23.5.2.ebuild b/net-analyzer/gvmd/gvmd-23.9.0.ebuild index 963a13a3b4ad..f76b9fa25c3d 100644 --- a/net-analyzer/gvmd/gvmd-23.5.2.ebuild +++ b/net-analyzer/gvmd/gvmd-23.9.0.ebuild @@ -9,8 +9,8 @@ DESCRIPTION="Greenbone vulnerability manager, previously named openvas-manager" HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/gvmd/" SRC_URI="https://github.com/greenbone/gvmd/archive/v${PV}.tar.gz -> ${P}.tar.gz" -SLOT="0" LICENSE="AGPL-3+" +SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="doc test" RESTRICT="!test? ( test )" @@ -20,9 +20,10 @@ DEPEND=" app-crypt/gpgme:1= dev-libs/libbsd >=dev-db/postgresql-9.6:=[uuid] + >=dev-libs/cJSON-1.7.14 >=dev-libs/glib-2.42:2 >=dev-libs/libical-1.0.0:= - >=net-analyzer/gvm-libs-22.9 + >=net-analyzer/gvm-libs-22.10 >=net-libs/gnutls-3.2.15:=[tools] " diff --git a/net-analyzer/notus-scanner/Manifest b/net-analyzer/notus-scanner/Manifest index b05706153e62..107f79e8a674 100644 --- a/net-analyzer/notus-scanner/Manifest +++ b/net-analyzer/notus-scanner/Manifest @@ -1,10 +1,13 @@ AUX notus-scanner-22.6.2-remove-tests.patch 2971 BLAKE2B fea309c613fc54a387639e000acc9ba65f364439c9bec3357a0e098544fd735510d2e1bbc52a405b9f5d39080343e815f79bedee83a801a1c620383b38ab2048 SHA512 9125ba1ce257236fb91ccdf62a04fc2b56fbd075270df757c74a45bf3733f0c601dac798f63e1521e8f6e08cfe91163f9bcc3cdfd4fdb60bfb375c5444a2154d AUX notus-scanner.initd 749 BLAKE2B 7297894e9bb740ed842870b9a09ed838eada8e5be16b5553d0e7fbc80cc082b4ed72d15df5a40213dcd5e982b5a9810666ce9c7b7a6b97e829e56e1a3d45ec31 SHA512 86102907c4b14eef442f16dd1e5fef9dd6a7a3f9c442aad95333f1059de676974498f7be4b3308bfef2242faf2cda22d61af768b7842fa6b1a34c206722118df +AUX notus-scanner.logrotate 334 BLAKE2B 2b8bd9a2285eb418b26d3cf182ce27b68dc717309eaa5861f7701dbd140e921e88388006f5e5e7e8051d6d36b53e373cb0c35b944ab52c6fc9abda4bb36c2344 SHA512 81c6bb01315cfb2b2a787b88a8f1b0b3c74def31e85d80a246ad2f6115189560dd517a3a4283a044764300107c5d3e66fae990f85646dbcbbb51f786968cf5fd AUX notus-scanner.service.conf 93 BLAKE2B 17030f4836aa96f45fdc9be67fb1b1924680ec29193bfc03d470bc45bf973542ca1b2bbb13253eb20c1618132b4b07c3fcaadd39451cb583d4c8f6fcd6e26c65 SHA512 36d5fbe95cd02b728d048a0baeed03448899696d0b3344a166afc9eecd6620e8af347ecc86c014ec9211ce72cc55a202a84b9ea68a7662c268378c37a734b08f AUX notus-scanner.toml 272 BLAKE2B 41cd9a81754ee06604373e8d4644362167ed7165c36d2c1c6b2b991bdf5efdea3f620a83ee489f113b9b3500e638d516565b3f8dd830df14a3abb551399dae20 SHA512 476d795b53ce5ef1eabc335122298b2a8c23b5476822cc7f062a6849ecb0e322cd73fabf8d1928c30e557109c08a1c920413da73fade7d5e68c55511bd2d1f6d DIST notus-scanner-22.6.2.tar.gz 316406 BLAKE2B c24ec5e4fd9f8fc181145d64580d04f7045ccf1a7570f855f0a8a79bcea842fe7a73d91fadecd61c10b94cb3ee68ecae98b0f91b4059b84258765be98c95057f SHA512 ecbbb79950908641c2b83d379d141b189b8e0e27cac17753cbb381a5f4ebf28d7100f60bd24fc284c2681abc889f6fee36a64f469ac0b37323940eaeae7e7522 DIST notus-scanner-22.6.3.tar.gz 293997 BLAKE2B 889416d2324088dc11f2df5146b3c88b276d1170552f55b2cb7ef49f4d8d855b98d6c0e53a1d49bd725b97b88c12df69a1997a38a614aa941dd699d0efb1de51 SHA512 fc3a05a3a9d61dd0b7a9913cfbbf507fec9dd3797a42a82283d14ab7fa8090fbc847487cf3a1d064f49572dda9acadba4bd7d30003fd32a179f572e327254546 +DIST notus-scanner-22.6.4.tar.gz 293607 BLAKE2B 75bdbd9d6247a2b9afaf7b049b8b80b2a44714ad4d6c951c9d14898c8bce319c39c4a19162fe1a380ef638164f025c210346ee5659ed1caefdb91bef2a0906d7 SHA512 5a3f23425a1945636c6fd9dd7b3ad39cf6f02920c33aaa35e3aa7ae1dfb8962d60f8e8519047e631c0e72a1a75c56ac5350c9dd291c20947fac2d4cdbb7f6387 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 +EBUILD notus-scanner-22.6.3-r3.ebuild 2427 BLAKE2B a011c779de18e74f16e436e667de15900183a53a79ec2e7a69b122600ffa9b1564733ea3152ae6191e79f7c8e76e81acd290aa62153906da2faea1d7226773c0 SHA512 1e88c7733583a16b2a1f6676a19480d27eab5371e4bd1970477ef6e5391866f443c3fa912135ccaa289ed8c2d1f510d8bed60c874105f0686084786a2cfa769c +EBUILD notus-scanner-22.6.4.ebuild 2392 BLAKE2B d2084c50adc0ad3a35d4d241fa62b932b985a7d573040afcdecf82b6934832f53bd4a5c62510ddf86e3ab3b39d0a5aa0e02c562ed3d991cc73908ecd7781310a SHA512 e4525f98fa3fceedb10e606713cefde8f738bc8c4a568f83636c5424f8dfbe3ccded783f5a559a8fb308db1eb0dc443aeea842d08b83c9b52e2cf95ec899b107 MISC metadata.xml 735 BLAKE2B 78af413540fe6af7214b65b50b50aaf9cf59280037ada5228d38e529d90752b0516bf1d7514e7d9436edd93b50cd8a9dadc1e9fbf84a5c57a0ff0cb45b712cc8 SHA512 fdb4ce92c1eede58fe267ed2a4832dd1d4e7a1694591efb3d2ff372a621320275c4090317cb57c50724ceb7e386fa28965e45b724b311127ecd8665e2908cf92 diff --git a/net-analyzer/notus-scanner/files/notus-scanner.logrotate b/net-analyzer/notus-scanner/files/notus-scanner.logrotate new file mode 100644 index 000000000000..195611c2959e --- /dev/null +++ b/net-analyzer/notus-scanner/files/notus-scanner.logrotate @@ -0,0 +1,13 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +# Daemon ignore HUP so we use 'copytruncate' instead of 'create' +# with safe file size to prevent losing log entries. + +/var/log/gvm/notus-scanner.log { + compress + missingok + notifempty + sharedscripts + copytruncate + maxsize 10M +} diff --git a/net-analyzer/notus-scanner/notus-scanner-22.6.3-r1.ebuild b/net-analyzer/notus-scanner/notus-scanner-22.6.3-r3.ebuild index 9ac39d6372b9..3e9f94355696 100644 --- a/net-analyzer/notus-scanner/notus-scanner-22.6.3-r1.ebuild +++ b/net-analyzer/notus-scanner/notus-scanner-22.6.3-r3.ebuild @@ -20,7 +20,7 @@ DEPEND=" 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.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}] @@ -69,6 +69,16 @@ python_install() { fowners -R gvm:gvm /var/lib/notus fi + # Adding notus-scanner.log to logrotate + insinto /etc/logrotate.d + newins "${FILESDIR}/${PN}.logrotate" "${PN}" + + # Set proper permissions on required files/directories + keepdir /var/log/gvm + if ! use prefix; then + fowners -R gvm:gvm /var/log/gvm + fi + newinitd "${FILESDIR}/${PN}.initd" "${PN}" systemd_dounit config/${PN}.service diff --git a/net-analyzer/notus-scanner/notus-scanner-22.6.4.ebuild b/net-analyzer/notus-scanner/notus-scanner-22.6.4.ebuild new file mode 100644 index 000000000000..43056ee11d51 --- /dev/null +++ b/net-analyzer/notus-scanner/notus-scanner-22.6.4.ebuild @@ -0,0 +1,91 @@ +# 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-6.0[${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}] + <dev-python/tomli-3[${PYTHON_USEDEP}] +" + +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 + + # Adding notus-scanner.log to logrotate + insinto /etc/logrotate.d + newins "${FILESDIR}/${PN}.logrotate" "${PN}" + + # Set proper permissions on required files/directories + keepdir /var/log/gvm + if ! use prefix; then + fowners -R gvm:gvm /var/log/gvm + 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/openvas-scanner/Manifest b/net-analyzer/openvas-scanner/Manifest index 5a251daecca5..746bef358b3a 100644 --- a/net-analyzer/openvas-scanner/Manifest +++ b/net-analyzer/openvas-scanner/Manifest @@ -7,6 +7,8 @@ AUX redis-openvas.service 280 BLAKE2B 9a11408cec88a57ae71fc4a4fced63dc3d35157c97 AUX redis-openvas.tmpfiles 63 BLAKE2B 8e3d29cef1ae0f815f7ef4da76b14168168675be4174ed1435521c26633a1f76088ab3cba5283e0c03d9f1e03abb085fdcfdb83d741f9132096df317f7f19c11 SHA512 936613951d7249c5536b4b20128bc4aef66fc05de95bece6cf2436117ed95d5dfba81cc7e16db9f765708b618a74ad83fcc52c7ccb8ccf480dd3cb4ce64cc986 DIST openvas-scanner-23.3.2.tar.gz 1416687 BLAKE2B 6d8b0ba5b0a6f503ef27962fc9007f5538ecc6747aa713baec402acb20c5f7da01743a055173ed736ea90beb6d62f54ad8db8bffc915ce946416553f953b9842 SHA512 045a0811b5480170e52a218c8005d01acf064658aa0c3999ec9c07df9a0da47c53ad3de17565c1542c6f13521153e0477e9fdf92dee5f05e6723e29915cebc15 DIST openvas-scanner-23.8.4.tar.gz 1448233 BLAKE2B 6ee681ebae29cecfdb237ac9e60959bc8cdaa5acf04af7e4d8b3de587a72f827101a6609e7434a34459b12842d555da2ecaf30c571609bdf7359e7d9c406b7c1 SHA512 63a5301610f16d046b709849dfe4c8a3cc57f551de0c8c30ae701cb278ba4ade964b1007efd14d74eedf1077537ae05b4fd6f84dd62a730240ee12fc85397a9b +DIST openvas-scanner-23.9.0.tar.gz 1462868 BLAKE2B 2214dfaeac0d9b900379816c6c984ab762249d5a6cc571635b9ac690eb63c1835cab91e076296a60ca6fe43a0b9d8c3bf4d7399f784f65eb09dd08a78da264e0 SHA512 820510e7ae7c738796809d010ef5d177f002cd6dfe2c36354e47e1bda8f32ecd1c4bdc1779d4ff3bdc5d9ab31fe4e8330b0142206b54132c84dfc5f8b37bd87e EBUILD openvas-scanner-23.3.2.ebuild 3651 BLAKE2B 8d2855780cb2d3fdff53c18c0a87c696e1f66de535bcc05cafebed489d8877726ec4814781121e4df4b96ad7be5a23dadab1d533c4ccc04f3391d4a383ac681d SHA512 44fed7d6e1c8aadaff21b220e0a2eb333de8c53ceea05beaa3c36f2ca191cb1add884d9ae6015e094429c9480f7547fa517618b72dc686ecdd670e6030ef7eeb EBUILD openvas-scanner-23.8.4.ebuild 3652 BLAKE2B ac47a105e1970e5cf20c3e19322c44af5e5e8d9e42be927fe983e059bc00498a66467f10edc48bf17bc7727ae15e09c2038585114ce57a08d456445be8620935 SHA512 6ac5234552af6186b05cb8bc231e0f3d7c2442207c85e039038b63751781156076e968f3686092f3e6faeb039a0b77be2ca2fc55abb39e50772e552e8c5fc4bf +EBUILD openvas-scanner-23.9.0.ebuild 3652 BLAKE2B ac47a105e1970e5cf20c3e19322c44af5e5e8d9e42be927fe983e059bc00498a66467f10edc48bf17bc7727ae15e09c2038585114ce57a08d456445be8620935 SHA512 6ac5234552af6186b05cb8bc231e0f3d7c2442207c85e039038b63751781156076e968f3686092f3e6faeb039a0b77be2ca2fc55abb39e50772e552e8c5fc4bf MISC metadata.xml 959 BLAKE2B fd177b593dcda47b5dba68daa3790177288fe1ac1fc4af208b61a29da747528fb4b7bb679139f1d21fb6ff56e4bae9d5828291564597967dace2b341a066cc79 SHA512 43bbeeffff6f8d6eba3156a293d73be25786c5c7f1ab9b1167aa5ffe9cae57f894a2250f4e66b4fa79947f0cc4cc059857d262bb6af42095b7ec11d2b0badfce diff --git a/net-analyzer/openvas-scanner/openvas-scanner-23.9.0.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-23.9.0.ebuild new file mode 100644 index 000000000000..4437e7dc21b4 --- /dev/null +++ b/net-analyzer/openvas-scanner/openvas-scanner-23.9.0.ebuild @@ -0,0 +1,158 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake systemd tmpfiles toolchain-funcs readme.gentoo-r1 optfeature + +MY_DN="openvas" + +DESCRIPTION="Open Vulnerability Assessment Scanner" +HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/openvas-scanner/" +SRC_URI=" + https://github.com/greenbone/openvas-scanner/archive/v${PV}.tar.gz -> ${P}.tar.gz +" + +LICENSE="GPL-2 GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc snmp test" +RESTRICT="!test? ( test )" + +DEPEND=" + acct-user/gvm + app-crypt/gpgme:= + >=dev-db/redis-5.0.3 + >=dev-libs/glib-2.42:2 + >=dev-libs/libgcrypt-1.6:= + dev-libs/libgpg-error + >=dev-libs/libksba-1.0.7 + dev-libs/libbsd + >=net-libs/libssh-0.6.0:= + >=dev-libs/json-glib-1.4.4 + >=net-analyzer/gvm-libs-22.4 + >=net-libs/gnutls-3.6.4:= + net-libs/libpcap + >=net-misc/curl-7.74.0[ssl] + snmp? ( net-analyzer/net-snmp:= ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + >=sys-devel/bison-2.5 + app-alternatives/lex + virtual/pkgconfig + doc? ( + app-text/doxygen[dot] + app-text/xmltoman + app-text/htmldoc + dev-perl/CGI + dev-perl/SQL-Translator + virtual/pandoc + ) + test? ( dev-libs/cgreen ) +" + +src_prepare() { + cmake_src_prepare + # QA-Fix | Remove -Werror compiler flag + sed -i -e "s/-Werror//" "${S}"/CMakeLists.txt || die #909560 + # QA-Fix | Remove !CLANG doxygen warnings for 7.0.0 + 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 (pcap-test pcap-test)/ /g' misc/CMakeLists.txt || die + fi +} + +src_configure() { + local mycmakeargs=( + "-DLOCALSTATEDIR=${EPREFIX}/var" + "-DSYSCONFDIR=${EPREFIX}/etc" + "-DSBINDIR=${EPREFIX}/usr/bin" + "-DOPENVAS_FEED_LOCK_PATH=${EPREFIX}/var/lib/openvas/feed-update.lock" + "-DOPENVAS_RUN_DIR=/run/ospd" + "-DBUILD_WITH_NETSNMP=$(usex snmp)" + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile + if use doc; then + cmake_build -C "${BUILD_DIR}" doxygen-full manual + fi + cmake_build rebuild_cache + if use test; then + cmake_build tests + fi +} + +src_install() { + if use doc; then + mv "${BUILD_DIR}"/doc/html "${BUILD_DIR}"/doc/html-manual || die + local HTML_DOCS=( + "${BUILD_DIR}"/doc/generated/html/. + "${BUILD_DIR}"/doc/html-manual + ) + fi + cmake_src_install + + insinto /etc/logrotate.d + newins "${FILESDIR}/${MY_DN}.logrotate" "${MY_DN}" + + # Set proper permissions on required files/directories + keepdir /var/log/gvm + if ! use prefix; then + fowners gvm:gvm /var/log/gvm + fi + + keepdir /var/lib/openvas/{gnupg,plugins} + if ! use prefix; then + fowners -R gvm:gvm /var/lib/openvas + fi + + insinto /etc/openvas + newins "${FILESDIR}/openvas.conf-22" openvas.conf + + systemd_newunit "${FILESDIR}/redis-openvas.service" redis-openvas.service + newtmpfiles "${FILESDIR}/redis-openvas.tmpfiles" redis-openvas.conf + + insinto /etc/gvm + doins config/redis-openvas.conf + if ! use prefix; then + fowners -R gvm:gvm /etc/gvm /etc/gvm/redis-openvas.conf + fi + + fperms 0750 /etc/gvm + fperms 0640 /etc/gvm/redis-openvas.conf + + newconfd "${FILESDIR}/redis-openvas.confd" redis-openvas + newinitd "${FILESDIR}/redis-openvas.initd" redis-openvas + + if use prefix; then + diropts -m0750 + else + diropts -m0750 -o gvm -g gvm + fi + keepdir /var/lib/openvas/redis + + readme.gentoo_create_doc +} + +pkg_postinst() { + tmpfiles_process redis-openvas.conf + optfeature "port scanner" net-analyzer/nmap + readme.gentoo_print_elog +} diff --git a/net-analyzer/pontos/Manifest b/net-analyzer/pontos/Manifest index 7a32847c9bbc..2313972c47ce 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 +DIST pontos-24.9.0.tar.gz 392185 BLAKE2B 2322e2713b18af49a61bd176c0c7272a7948ffb84a9d135a9ea51183b05758e1a832931dd95c6fd8a79fca608eb9e9858c1cc71cafe3c90516e6ce90780870d9 SHA512 1b78ead31551d9a5ce343bd482853086c3e81425a03ac429352851ef91703462723d3d258c27cb003b93c61ab8258f98f2abade40e0d9c3ce973f224821fcff0 EBUILD pontos-24.3.2.ebuild 1324 BLAKE2B 40ef2052cbbe117cb79c53309ae2b7e6ad090b99fbaf29b5d5185e7c34ed6f6099c17d2263e9ecc5e72d39f324ee50aa643e63b961684399f83fe0bf46e558a0 SHA512 47696ee8ff28d87259226039d8dc36a109df14635d23a7d3bbf77a8bfc0488eb55aeb6abcb9d35a6472ced2a7259888a71d041f546f5553cb3b4e3912b791887 +EBUILD pontos-24.9.0.ebuild 1325 BLAKE2B 664353e001bb33862861990df8f2c9097b76e4dab2c63349a9ebd4b1870060d40f49b973641444532e687ac43226670bf1c8c22e482572e80c24f4871fc8d6d3 SHA512 7505231c6a914606748fef250d4281bda6a85db4adf0c594e0619eeddae0aee61228c635b4b28c807897b8c1c45af89795e8f04c49692071d6a082fff624b367 MISC metadata.xml 731 BLAKE2B 3c04d3cc6cbf0398dbbefd010187d660a1070f6c65c8227f76c9b33525af61d1c5178a96557f9c160df530619607fc792faf0b5d9f6716339bef8976c60e725c SHA512 cc37e6efd9a25f6984c96607bc4deae3305e165368a5d80a9a306d3802c223109d4afdcf950ee19444ebd6e1c23954749c6f0c18f0ca8744e5671da4ceb1039c diff --git a/net-analyzer/pontos/pontos-24.1.2.ebuild b/net-analyzer/pontos/pontos-24.9.0.ebuild index 251e78ef2d3a..ba609ad6e6d5 100644 --- a/net-analyzer/pontos/pontos-24.1.2.ebuild +++ b/net-analyzer/pontos/pontos-24.9.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..12} pypy3 ) DISTUTILS_USE_PEP517=poetry inherit distutils-r1 @@ -17,9 +17,9 @@ HOMEPAGE=" SRC_URI="https://github.com/greenbone/pontos/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -SLOT="0" LICENSE="GPL-3+" -KEYWORDS="amd64 ~x86" +SLOT="0" +KEYWORDS="~amd64 ~x86" RDEPEND=" >=dev-python/colorful-0.5.4[${PYTHON_USEDEP}] @@ -30,6 +30,7 @@ RDEPEND=" >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}] >=dev-python/semver-2.13[${PYTHON_USEDEP}] >=dev-python/lxml-4.9.0[${PYTHON_USEDEP}] + >=dev-python/shtab-1.7.0[${PYTHON_USEDEP}] " DEPEND="${RDEPEND}" diff --git a/net-analyzer/python-gvm/Manifest b/net-analyzer/python-gvm/Manifest index c5bc2225d718..a6cb68ad0ff0 100644 --- a/net-analyzer/python-gvm/Manifest +++ b/net-analyzer/python-gvm/Manifest @@ -1,5 +1,7 @@ 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 +DIST python-gvm-24.8.0.tar.gz 289907 BLAKE2B d7e5a962f4d714406595e6bc8c939b7526389613e78dd5bc5b641ef2dc17eb33e42c51798f2c280e1a7af5a65ae0fa6ac3d059e1243b5adcdb27ce900cbcfe6d SHA512 dbc3dee750299f6e39417a442551ffc82939073cf1c4fd46076dcf05f9c59c2568bf8fc075607b36950387e11b021eb75c542c022329ff8e7ac42293f8489db9 EBUILD python-gvm-24.1.0.ebuild 844 BLAKE2B 6dbc21b1b5afcb2d948655b9bf5fbd5ae58a0cbd18f9640fca454c6cbf2b8fc554c1471afbb8e0432ea2f47b37980989167b0daa5522c296ffe83a6501f67f25 SHA512 fea784118a3aaa5332faa4d449742cd06d77fe3e7431255fc0acf0b2d8b37159bed260ba621f459b4623ac6c533dce02524be6afe69e21005ea651042fbeecd4 EBUILD python-gvm-24.3.0.ebuild 906 BLAKE2B 1eba57eef610e2eef1a1069a2bb27fb2ba7c29727472a0d65de59f964b9689e4784d117f404e455f4419c98634c5da1c0759d7b889732da587e7a0f4e3022307 SHA512 ff809e94c4ec57be4f4cb7fafcfa1bb116e09f0d5d8ba628bb9030d9e9c69a4b5c6c2e895be749743a1840f220a8ed8262e5c5a2c16ba494de05e8b696b0de66 +EBUILD python-gvm-24.8.0.ebuild 804 BLAKE2B e818c5d4d3d801ea179fb8593a8b8345c87c6ac7456b056029423686a8d8806b6d1e5aa6ffe64b1c090ac03a3cb24a18c747d585fc2a85d9ef446145385fd10b SHA512 fa58860ece1b9b8c11330766abec66f58d2e673e7ac750720006a0b9f08885662ea45ab96a7aa69b450ffd8ed96b8da6884c70ad551675a3750e104d9d11bc36 MISC metadata.xml 914 BLAKE2B d5d52afa2071ff4905a6e2d283b340e04c16ba51e33f7472057a8d6632c6404f0481bcfe27bccd5b6f7bd5fbc5f3b5cf2bd0afda7161b569c4e09d61d67e36e0 SHA512 0774147ab63f1164969e06ee4d1c6233aa55bf857bf42898ef6c34bf41401c98a8a1806c49abd8da5325bfcd20ea5aa05758f9d356d7bb1b9793cb3b90db70ea diff --git a/net-analyzer/python-gvm/python-gvm-24.8.0.ebuild b/net-analyzer/python-gvm/python-gvm-24.8.0.ebuild new file mode 100644 index 000000000000..bd120077c062 --- /dev/null +++ b/net-analyzer/python-gvm/python-gvm-24.8.0.ebuild @@ -0,0 +1,35 @@ +# 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 + +DESCRIPTION="Greenbone Vulnerability Management Python Library" +HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/python-gvm/" +SRC_URI="https://github.com/greenbone/python-gvm/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/lxml-4.5.0[${PYTHON_USEDEP}] + >=dev-python/paramiko-2.7.1[${PYTHON_USEDEP}] + test? ( + >=net-analyzer/pontos-22.7.2[${PYTHON_USEDEP}] + ) +" +DEPEND="${RDEPEND}" + +distutils_enable_tests unittest + +src_prepare() { + distutils-r1_src_prepare + + # drop connection tests + rm -r tests/connections || die +} diff --git a/net-analyzer/zabbix/Manifest b/net-analyzer/zabbix/Manifest index f6ffb9a5a066..92ceb864e9c9 100644 --- a/net-analyzer/zabbix/Manifest +++ b/net-analyzer/zabbix/Manifest @@ -3,7 +3,6 @@ AUX zabbix-4.0.18-modulepathfix.patch 258 BLAKE2B d799f91c72a0f184a425d38af9ea45 AUX zabbix-5.0.22-system.sw.packages.patch 1204 BLAKE2B 6f0381abf86b07827bb8f90a30390e2818b083aee8b2e9f9786377406c6c893baedab20f9e8b16487167eb37e04f0a48ed9aac6e18b2bfd6b667c1384def632c SHA512 79832e266d2e13737a263fdc2d832a95da40ee4ccd9ac80642d1c6e466335f26730512a26e97e033a784c54dc8847e80037205c52c3018d751b689fe925fccd8 AUX zabbix-6.0.3-system.sw.packages.patch 1204 BLAKE2B 07326c6762c2cf8655f0555628f42b89826881cfa246923aab181f7c491ddfeada7f2c1091fe63869c46a131aaf795af77aac8c78fcd8bea3d745af654519669 SHA512 e929586d74e5f77644ec03476bd78203bae405d37257ebd7c128f5d95433ac600175b2b1dfa6d0e32442600dc5ce8a931d5eb7d818c39a001924b1321b052a97 AUX zabbix-6.4.0-configure-sscanf.patch 305 BLAKE2B 1a1a7f47e75f0f21ec313ce785acd6af2cf8790774b5dc058c83e6f55104b6740ecf55f00e62d1beb3b88e22f7549fc009a45d538c68b39784308299238538d2 SHA512 c659ef9e257d90cbe5c7050bb9e31ccb2591c377d00ae0e5ef250fb516e36d11830134be7473dabf1a5cee70e3b91819d588f452d2049dcb33fe76726b8a170d -AUX zabbix-6.4.6-clang16-build-fix.patch 2514 BLAKE2B 0f6fdd5004476f041a0c64d3c28c9295e2172458bfdd8adade5ad27314e5f8f44a1cb7e06d3d63057225ee4683af32af6fc434c71d41a2dd2f1a4c5578252ba4 SHA512 46e020358ec0dd7ce8c804546874b050f2ee21c8bda8817234a98ddf38d58fa8a820b3b1b2bfa38f92d80a0091cc131a81dd1b37d8eb6b0c7c65bc1c5e1f3900 AUX zabbix-agent2.init 507 BLAKE2B 6235831aca66cb2b097c0260ba8c0151c4a98fadc836cff14a248a77f5a0d013b5e6cf56605f63c9b41541daad4f842da74d80658f0a20b38be507909605af77 SHA512 91eaac170c9234229f2969b0d899dc7ffc21aa99aa8b3593b91f52afe786f6cc81c1279bf78b4456c8e462cea924630ee87e4ce7d6f2128c42e778907751e98e AUX zabbix-agent2.service 277 BLAKE2B 46ec792441c57c6fb7cad391d736672a3d93cbb9c92c5e3d90de3a5c7502a789359bd9752b8740fd73a626e4ed96272231730a87b179a4e0d13f8fb48571f606 SHA512 8f467e9d7a4ce82dc387ef1ef6ac8c39e943d0bbce938e186bdfa7e207959d9159a9d446b30d39d627b7400ceeb9c4d322b06ad063b42d0edc5bbef4043230f7 AUX zabbix-agent2.tmpfiles 35 BLAKE2B 98e917ef03bd6dc5d73e5cbdb140c7e115c7593d5cebf2df9bf3d15713b16c6a44b165a3f68fd36a9119163144a2761457d16ce318bd094ed76ae6040c8b09df SHA512 3c63a2791e6ac77cb3144eb47a275cc8748f5c8943a076052300d6964994b95b18d60f504584fdcb683739dc514261402895e3f30ae2fbdb218acbc42c3d72df diff --git a/net-analyzer/zabbix/files/zabbix-6.4.6-clang16-build-fix.patch b/net-analyzer/zabbix/files/zabbix-6.4.6-clang16-build-fix.patch deleted file mode 100644 index 4160a42ee6eb..000000000000 --- a/net-analyzer/zabbix/files/zabbix-6.4.6-clang16-build-fix.patch +++ /dev/null @@ -1,58 +0,0 @@ -https://github.com/zabbix/zabbix/pull/110 -From: Brahmajit Das <brahmajit.xyz@gmail.com> -Date: Sun, 24 Sep 2023 14:40:05 +0000 -Subject: [PATCH] Fix incompatible pointer to integer conversion initializing - -Makes struct members explicit. - -First found on Gentoo linux, with MUSL LLVM profile. Most probably due -to newer compilers (like Clang 16 and GCC 14) have turned various errors -on by default and we get build errors such as: - -``` -net.c:115:79: error: incompatible pointer to integer conversion initializing 'int' with an expression of type 'void *' [-Wint-conversion] - struct msghdr s_msg = { (void *)&s_sa, sizeof(struct sockaddr_nl), s_io, 1, NULL, 0, 0}; - ^~~~ -/usr/include/unistd.h:25:14: note: expanded from macro 'NULL' - ^~~~~~~~~~ -net.c:121:79: error: incompatible pointer to integer conversion initializing 'int' with an expression of type 'void *' [-Wint-conversion] - struct msghdr r_msg = { (void *)&r_sa, sizeof(struct sockaddr_nl), r_io, 1, NULL, 0, 0}; - ^~~~ -/usr/include/unistd.h:25:14: note: expanded from macro 'NULL' -``` - -Bug: https://bugs.gentoo.org/897840 -Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> ---- a/src/libs/zbxsysinfo/linux/net.c -+++ b/src/libs/zbxsysinfo/linux/net.c -@@ -112,13 +112,25 @@ static int find_tcp_port_by_state_nl(unsigned short port, int state, int *found) - - struct sockaddr_nl s_sa = { AF_NETLINK, 0, 0, 0 }; - struct iovec s_io[1] = { { &request, sizeof(request) } }; -- struct msghdr s_msg = { (void *)&s_sa, sizeof(struct sockaddr_nl), s_io, 1, NULL, 0, 0}; -+ struct msghdr s_msg = { .msg_name = (void *)&s_sa, -+ .msg_namelen = sizeof(struct sockaddr_nl), -+ .msg_iov = s_io, -+ .msg_iovlen = 1, -+ .msg_control = NULL, -+ .msg_controllen = 0, -+ .msg_flags = 0}; - - char buffer[BUFSIZ] = { 0 }; - - struct sockaddr_nl r_sa = { AF_NETLINK, 0, 0, 0 }; - struct iovec r_io[1] = { { buffer, BUFSIZ } }; -- struct msghdr r_msg = { (void *)&r_sa, sizeof(struct sockaddr_nl), r_io, 1, NULL, 0, 0}; -+ struct msghdr r_msg = { .msg_name = (void *)&r_sa, -+ .msg_namelen = sizeof(struct sockaddr_nl), -+ .msg_iov = r_io, -+ .msg_iovlen = 1, -+ .msg_control = NULL, -+ .msg_controllen = 0, -+ .msg_flags = 0}; - - struct nlmsghdr *r_hdr; - --- -2.42.0 - |