From 511da2e8215301136bf13531af2329e9703addaf Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 1 Dec 2023 11:06:48 +0000 Subject: gentoo auto-resync : 01:12:2023 - 11:06:48 --- net-analyzer/Manifest.gz | Bin 43249 -> 43257 bytes net-analyzer/gsa/Manifest | 6 +- net-analyzer/gsa/gsa-22.9.0.ebuild | 49 ------- net-analyzer/gsa/gsa-22.9.1.ebuild | 49 +++++++ net-analyzer/openvas-scanner/Manifest | 4 +- .../openvas-scanner/openvas-scanner-22.7.7.ebuild | 158 --------------------- .../openvas-scanner/openvas-scanner-22.7.8.ebuild | 158 +++++++++++++++++++++ 7 files changed, 212 insertions(+), 212 deletions(-) delete mode 100644 net-analyzer/gsa/gsa-22.9.0.ebuild create mode 100644 net-analyzer/gsa/gsa-22.9.1.ebuild delete mode 100644 net-analyzer/openvas-scanner/openvas-scanner-22.7.7.ebuild create mode 100644 net-analyzer/openvas-scanner/openvas-scanner-22.7.8.ebuild (limited to 'net-analyzer') diff --git a/net-analyzer/Manifest.gz b/net-analyzer/Manifest.gz index bca2f7416f61..bab0b0091c44 100644 Binary files a/net-analyzer/Manifest.gz and b/net-analyzer/Manifest.gz differ diff --git a/net-analyzer/gsa/Manifest b/net-analyzer/gsa/Manifest index 949f28530d85..84d9ac00c5b1 100644 --- a/net-analyzer/gsa/Manifest +++ b/net-analyzer/gsa/Manifest @@ -1,4 +1,4 @@ -DIST gsa-22.9.0.tar.gz 3604871 BLAKE2B 921d49187d78e8704c254f043f68eff1e404680a031ec6bd9e20f1772287b411081251b556ecf778a83478d92935bfe2f9c23d48d9da42732544b0d9370b758c SHA512 8086d7ebd62a74f0205c6bd19cb3616ec8bc878ddfbda06210a1767848b550023d253adf0ab7439b8947bf0300e4285b20f7a218eeb627fba54b44ef79e33cd8 -DIST gsa-node-modules-22.9.0.tar.xz 27901620 BLAKE2B 0a2341bba5dde975dc825dfa660da2ca309c3a274d0d5486737577d1748fa09b576c8c22deab1bc1929ed2cd49cf6ba890ad1d2704e1fccb7350d3190df6a02b SHA512 f94e10c9d2ecb645fe919fc66adca45ee01299e93d6f6eb51f45d5a4193da334518f1f4ed9fddcf84cac81fa6d1a6a81d626bd1aca71c60bf2b9493255fc1d3a -EBUILD gsa-22.9.0.ebuild 1273 BLAKE2B 455b03001915ba69b8b8677a5aab5857876ebc1ad2897950797357e26464d744ea18414a6832cd80da410b4655c1bde626ff5b3d1e8b9870e2a6c9c379bc050b SHA512 665932d9e0a5ad1a0946c520a956bb490ea1ebfe78fe8ffb022f5ce9f5cd4b56f0c8862d00a843e312c8c2197abd280c7635e89c1f0e71c375a0f8feea98b04e +DIST gsa-22.9.1.tar.gz 3605240 BLAKE2B 188a44972687bea584e9c5ec4dde882357dacf891a4edd5362a71c0dbe0b0eb6ab7ac5ca7bfe43fbb5b00d3b19e56ff865f98d26beba6166d414dc7db8dcffad SHA512 8c3d2f46bfb33cc1bf4e2faa4be88c1c0d60fe3bc726fb0652b075424a1ce0fa1b52b010d3d1a4fad8b1eeeaae1c07818abf53c739da207757f80e3cf743f8b3 +DIST gsa-node-modules-22.9.1.tar.xz 27697328 BLAKE2B 51dd5e7948a17b514b58d3cc09717799553beced4a60c490b161901188620ce61f1ba396def95d568d4b745e1945a2908f2adabb8d9d861c189fb5b327af6b98 SHA512 d2a2a1bbe3ce30f6671435b55d88bcd9157141576a66690c9fd37f019520b36795353527f8e9af0cf126307eac2cab73bbd1ea2474e24bc7ae55019fbfecdf20 +EBUILD gsa-22.9.1.ebuild 1273 BLAKE2B 455b03001915ba69b8b8677a5aab5857876ebc1ad2897950797357e26464d744ea18414a6832cd80da410b4655c1bde626ff5b3d1e8b9870e2a6c9c379bc050b SHA512 665932d9e0a5ad1a0946c520a956bb490ea1ebfe78fe8ffb022f5ce9f5cd4b56f0c8862d00a843e312c8c2197abd280c7635e89c1f0e71c375a0f8feea98b04e MISC metadata.xml 971 BLAKE2B 92a5deb08a91782bb2de586d1aa5dde2365748bfab065b310c369cbdab1e468d6ea4ab57df8e0a97a02f8b96613302cd8ec9c878c2ddacdf922fd5973f759643 SHA512 623adaaee62c9c2e27be7a6741edab7a770ab49902eb094bc71711fc822e3108d851fe0420c6744ed9ef91c8da7c57e518c884381e6f3952387c6e2636e46f5e diff --git a/net-analyzer/gsa/gsa-22.9.0.ebuild b/net-analyzer/gsa/gsa-22.9.0.ebuild deleted file mode 100644 index 783646bfe714..000000000000 --- a/net-analyzer/gsa/gsa-22.9.0.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2023 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 -" - -SLOT="0" -LICENSE="AGPL-3+" -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/gsa/gsa-22.9.1.ebuild b/net-analyzer/gsa/gsa-22.9.1.ebuild new file mode 100644 index 000000000000..783646bfe714 --- /dev/null +++ b/net-analyzer/gsa/gsa-22.9.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 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 +" + +SLOT="0" +LICENSE="AGPL-3+" +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/openvas-scanner/Manifest b/net-analyzer/openvas-scanner/Manifest index ece9ab9147c7..3d67d03e5bd8 100644 --- a/net-analyzer/openvas-scanner/Manifest +++ b/net-analyzer/openvas-scanner/Manifest @@ -5,6 +5,6 @@ AUX redis-openvas.confd 527 BLAKE2B 84bc4461630b19b02c724f72d22b0b4d04dd63a22575 AUX redis-openvas.initd 809 BLAKE2B bed6e09975c82fa190fa9caa833a49632085686c5d2b57e229b1fbede98676fe451010de08ef4f2a338f6878685982905bb8edb4ec467988e0c36a746e07dcc9 SHA512 aef62b465f0adc2958fcad81a579a8af337d2fac55e1c4efc1e82ccb1f609f96c0582e18f447c8272e2684fd2498f7bd9beee5cac6d19337afd42a1634d3c93b AUX redis-openvas.service 280 BLAKE2B 9a11408cec88a57ae71fc4a4fced63dc3d35157c979409f4db5037a9cca1c386b0521d30064a741fe5d6e8891c84bf561fcf609ef35082c6ca34ce98f4a1ee31 SHA512 3afd6b57efcbc9bd90fc88a9021094a0fc7f27bd0805077e71df1ba94de8d1687a209ac730f0014f9c3af5ddbd8a77b85ac07dd09bd98551a24f10a0791b24d1 AUX redis-openvas.tmpfiles 63 BLAKE2B 8e3d29cef1ae0f815f7ef4da76b14168168675be4174ed1435521c26633a1f76088ab3cba5283e0c03d9f1e03abb085fdcfdb83d741f9132096df317f7f19c11 SHA512 936613951d7249c5536b4b20128bc4aef66fc05de95bece6cf2436117ed95d5dfba81cc7e16db9f765708b618a74ad83fcc52c7ccb8ccf480dd3cb4ce64cc986 -DIST openvas-scanner-22.7.7.tar.gz 1058142 BLAKE2B 0c9d658b594ea5bb639554da74fdc609742114b7727091044104ca657db5957f5839e25d654bf5acb6132a2cf41bd75208b5ac65d15327c624976c34e5468ec2 SHA512 8253584313c569aeafdfae6198347bde0dc04f68753f9febaa1d8803e87144308ec83881d4555cbbba22f994a8f08fe621609b543f7284a4a1d1171c08062bc7 -EBUILD openvas-scanner-22.7.7.ebuild 3650 BLAKE2B 852468f718e9abfeaa2b3cc06dc5c5b5f1680c7b89103ab6a11af2e5d9f3a2146e1a6f050f94a5464b706c816caf3977b1146b8677dd4f0d94d88be46b4f51ea SHA512 4b89e41abc56df5025845f51d53fa6eb83aaf35b91295d32fad52f6762449cf03dc5846904662ea63e3fb31e549c9ac355a1c240d6068db369d49bb0b471fcd1 +DIST openvas-scanner-22.7.8.tar.gz 1069693 BLAKE2B 7b046102efe81092102933d3aa50479e4d3dca3a376d94cef4305519335e4e01add8971485272a0f79cb10ef7cfebf12657b13832e4e6eb7860df3a05c99259f SHA512 acd2dd738f0f5ccda7bea248decaf68e571864666c6749e372dac1f0ec152dcfa2945adb98fad509d4f00dc09f34b91b3dc1760c22f6458ca45eeeb6af2c886b +EBUILD openvas-scanner-22.7.8.ebuild 3650 BLAKE2B 852468f718e9abfeaa2b3cc06dc5c5b5f1680c7b89103ab6a11af2e5d9f3a2146e1a6f050f94a5464b706c816caf3977b1146b8677dd4f0d94d88be46b4f51ea SHA512 4b89e41abc56df5025845f51d53fa6eb83aaf35b91295d32fad52f6762449cf03dc5846904662ea63e3fb31e549c9ac355a1c240d6068db369d49bb0b471fcd1 MISC metadata.xml 1082 BLAKE2B a428b18c1fba3380a42e1120fc58c8c950900723f5cb11febdff5d86cd16bce0a17fcdb4c48867435a7c39243a7fa7e5c15ebb3fb0d6d44fc23ef56197530b6a SHA512 e41f348b1ae728e27efb71e5ebb9e468ac5d0b31526a4db922f1bc2d3f3029a5b75be2db6cbac14754107326c4af570e6673b2e66f44317677e319116daadaf6 diff --git a/net-analyzer/openvas-scanner/openvas-scanner-22.7.7.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-22.7.7.ebuild deleted file mode 100644 index f4a3f9ef0ac0..000000000000 --- a/net-analyzer/openvas-scanner/openvas-scanner-22.7.7.ebuild +++ /dev/null @@ -1,158 +0,0 @@ -# Copyright 1999-2023 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 -" - -SLOT="0" -LICENSE="GPL-2 GPL-2+" -KEYWORDS="~amd64 ~x86" -IUSE="doc snmp test" -RESTRICT="!test? ( test )" - -DEPEND=" - acct-user/gvm - >=dev-db/redis-5.0.3 - >=dev-libs/glib-2.42:2 - >=dev-libs/json-glib-1.4.4 - >=net-libs/gnutls-3.2.15:= - >=net-analyzer/gvm-libs-22.4 - net-libs/libpcap - app-crypt/gpgme:= - >=dev-libs/libgcrypt-1.6:= - dev-libs/libgpg-error - >=dev-libs/libksba-1.0.7 - >=net-libs/libssh-0.6.0:= - dev-libs/libbsd - snmp? ( net-analyzer/net-snmp:= ) -" -RDEPEND="${DEPEND}" -BDEPEND=" - >=sys-devel/bison-2.5 - sys-devel/flex - virtual/pkgconfig - doc? ( - app-doc/doxygen[dot] - app-doc/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" - "-DINSTALL_OLD_SYNC_SCRIPT=OFF" - "-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/openvas-scanner/openvas-scanner-22.7.8.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-22.7.8.ebuild new file mode 100644 index 000000000000..f4a3f9ef0ac0 --- /dev/null +++ b/net-analyzer/openvas-scanner/openvas-scanner-22.7.8.ebuild @@ -0,0 +1,158 @@ +# Copyright 1999-2023 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 +" + +SLOT="0" +LICENSE="GPL-2 GPL-2+" +KEYWORDS="~amd64 ~x86" +IUSE="doc snmp test" +RESTRICT="!test? ( test )" + +DEPEND=" + acct-user/gvm + >=dev-db/redis-5.0.3 + >=dev-libs/glib-2.42:2 + >=dev-libs/json-glib-1.4.4 + >=net-libs/gnutls-3.2.15:= + >=net-analyzer/gvm-libs-22.4 + net-libs/libpcap + app-crypt/gpgme:= + >=dev-libs/libgcrypt-1.6:= + dev-libs/libgpg-error + >=dev-libs/libksba-1.0.7 + >=net-libs/libssh-0.6.0:= + dev-libs/libbsd + snmp? ( net-analyzer/net-snmp:= ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + >=sys-devel/bison-2.5 + sys-devel/flex + virtual/pkgconfig + doc? ( + app-doc/doxygen[dot] + app-doc/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" + "-DINSTALL_OLD_SYNC_SCRIPT=OFF" + "-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 +} -- cgit v1.2.3