diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
| commit | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /net-analyzer/openvas-scanner | |
| parent | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff) | |
| download | baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip | |
Adding metadata
Diffstat (limited to 'net-analyzer/openvas-scanner')
12 files changed, 0 insertions, 474 deletions
diff --git a/net-analyzer/openvas-scanner/Manifest b/net-analyzer/openvas-scanner/Manifest deleted file mode 100644 index a0e4f37fb456..000000000000 --- a/net-analyzer/openvas-scanner/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST openvas-scanner-23.26.1.tar.gz 1617204 BLAKE2B c21c7d82bd1e5d7325422a8e3c467da2caa0cbbd9f44102fbd7aeacc5eafc452676f8f520eda18ad767901a982e937074cb1ff3942217aa63a4f07ceefbfe565 SHA512 67f99e6f35b8afa7aea8384400110d1e5e1f544f5f9c9545e386f6bdb542a76269153075459be3e1c919178967a822243a32147a19b6cbf1d2ea0fd58cafc27a -DIST openvas-scanner-23.40.0.tar.gz 2432069 BLAKE2B 7396a2178a842543db7236f81cb32727f26e75f5e914e472853cb78f7c67ad7daa7b8aa3ab4e727754abfff8d7d7357b08c1453cfd425b30bee1e60cf7c28622 SHA512 f5f486093fd9bcafe793e27122bd2e357d2b77c6c225a08fd0ddf4b7b2f414caf5431bbfa8427dde9a29d65fd9835f308b8650fa87c524b11cfcc402bb867165 diff --git a/net-analyzer/openvas-scanner/files/README.gentoo b/net-analyzer/openvas-scanner/files/README.gentoo deleted file mode 100644 index 16547c23c7b4..000000000000 --- a/net-analyzer/openvas-scanner/files/README.gentoo +++ /dev/null @@ -1,3 +0,0 @@ -The redis configuration file is located in: -/etc/gvm/redis-openvas.conf -Please apply your changes to the new configuration files. diff --git a/net-analyzer/openvas-scanner/files/openvas-scanner-23.40.0-remove-unworking-tests.patch b/net-analyzer/openvas-scanner/files/openvas-scanner-23.40.0-remove-unworking-tests.patch deleted file mode 100644 index 8715a32e78ff..000000000000 --- a/net-analyzer/openvas-scanner/files/openvas-scanner-23.40.0-remove-unworking-tests.patch +++ /dev/null @@ -1,54 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -193,7 +193,7 @@ configure_file (src/openvas_log_conf.cmake_in src/openvas_log.conf) - enable_testing () - - add_custom_target (tests -- DEPENDS attack-test pcap-test ipc-openvas-test lsc-test) -+ DEPENDS attack-test ipc-openvas-test lsc-test) - - ## Program - ---- a/misc/CMakeLists.txt -+++ b/misc/CMakeLists.txt -@@ -156,6 +156,7 @@ set (ALIVEDETECTION_TEST_LINKER_WRAP_OPTIONS - "-Wl,-wrap,socket,-wrap,setsockopt") - - # pcap-tests -+#[===[ - add_executable (pcap-test EXCLUDE_FROM_ALL pcap_tests.c) - add_test (pcap-test pcap-test) - target_include_directories (pcap-test PRIVATE ${CGREEN_INCLUDE_DIRS}) -@@ -174,7 +175,7 @@ set_tests_properties( - ) - add_custom_target (tests-pcap - DEPENDS pcap-test) -- -+]===] - # ipc-openvas-tests - add_executable (ipc-openvas-test EXCLUDE_FROM_ALL ipc_openvas_tests.c) - add_test (ipc-openvas-test ipc-openvas-test) ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -156,17 +156,17 @@ add_executable (attack-test - - set_target_properties (attack-test PROPERTIES LINKER_LANGUAGE C) - --target_compile_options(attack-test PRIVATE "-fsanitize=address") --target_link_options(attack-test PRIVATE "-fsanitize=address") -+#target_compile_options(attack-test PRIVATE "-fsanitize=address") -+#target_link_options(attack-test PRIVATE "-fsanitize=address") - - add_test (attack-test attack-test) -- -+#[===[ - set_tests_properties( - attack-test - PROPERTIES - ENVIRONMENT "ASAN_OPTIONS=detect_leaks=1:halt_on_error=1:abort_on_error=1" - ) -- -+]===] - target_link_libraries (attack-test openvas_nasl_shared cgreen - ${LIBOPENVAS_NASL_LDFLAGS} - ${LIBOPENVAS_MISC_LDFLAGS} diff --git a/net-analyzer/openvas-scanner/files/openvas.conf-22 b/net-analyzer/openvas-scanner/files/openvas.conf-22 deleted file mode 100644 index b2d964ff4b53..000000000000 --- a/net-analyzer/openvas-scanner/files/openvas.conf-22 +++ /dev/null @@ -1 +0,0 @@ -db_address = /run/redis-openvas/redis.sock diff --git a/net-analyzer/openvas-scanner/files/openvas.logrotate b/net-analyzer/openvas-scanner/files/openvas.logrotate deleted file mode 100644 index 7d116f6fbbc0..000000000000 --- a/net-analyzer/openvas-scanner/files/openvas.logrotate +++ /dev/null @@ -1,13 +0,0 @@ -# Copyright 1999-2023 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/openvas.log { - compress - missingok - notifempty - sharedscripts - copytruncate - maxsize 10M -} diff --git a/net-analyzer/openvas-scanner/files/redis-openvas.confd b/net-analyzer/openvas-scanner/files/redis-openvas.confd deleted file mode 100644 index 6a75dfdc7d28..000000000000 --- a/net-analyzer/openvas-scanner/files/redis-openvas.confd +++ /dev/null @@ -1,20 +0,0 @@ -# Redis user. -REDIS_USER="gvm" - -# Redis group. -REDIS_GROUP="gvm" - -# Redis configuration file. -REDIS_CONF="/etc/gvm/redis-openvas.conf" - -# Redis dump directory. -REDIS_DIR="/var/lib/openvas/redis" - -# Redis options. -# (Redis expects the first argument to be the configuration file.) -REDIS_OPTS="${REDIS_CONF}" - -# Specify the network service that corresponds to the "bind" setting -# in your redis.conf. For example, if you bind to 127.0.0.1, this should -# be set to "net.lo" which provides the loopback interface. -rc_need="net.lo" diff --git a/net-analyzer/openvas-scanner/files/redis-openvas.initd b/net-analyzer/openvas-scanner/files/redis-openvas.initd deleted file mode 100644 index 0841942eac6d..000000000000 --- a/net-analyzer/openvas-scanner/files/redis-openvas.initd +++ /dev/null @@ -1,29 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -: ${REDIS_DIR:=/var/lib/openvas/redis} -: ${REDIS_CONF:=/etc/gvm/redis-openvas.conf} -: ${REDIS_OPTS:="${REDIS_CONF}"} -: ${REDIS_USER:=gvm} -: ${REDIS_GROUP:=gvm} -: ${REDIS_TIMEOUT:=30} - -# https://bugs.gentoo.org/631002#c10 -# Force '--daemonize no' to override the config file -command="/usr/sbin/redis-server" -command_args="${REDIS_OPTS} --daemonize no" -command_background="true" -command_user="${REDIS_USER}:${REDIS_GROUP}" -pidfile="/run/${RC_SVCNAME}/redis-server.pid" -retry="${REDIS_TIMEOUT}" -directory="${REDIS_DIR}" - -start_post() { - checkpath -f --mode 0644 --owner ${REDIS_USER}:${REDIS_GROUP} /var/log/gvm/openvas.log -} - -depend() { - use localmount logger - after keepalived -} diff --git a/net-analyzer/openvas-scanner/files/redis-openvas.service b/net-analyzer/openvas-scanner/files/redis-openvas.service deleted file mode 100644 index 5eb8dd29e287..000000000000 --- a/net-analyzer/openvas-scanner/files/redis-openvas.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=A persistent key-value database -After=syslog.target network.target -PartOf=gvm.target - -[Service] -Type=forking -PIDFile=/run/redis-openvas/redis-server.pid -ExecStart=/usr/sbin/redis-server /etc/gvm/redis-openvas.conf -User=gvm - -[Install] -WantedBy=multi-user.target diff --git a/net-analyzer/openvas-scanner/files/redis-openvas.tmpfiles b/net-analyzer/openvas-scanner/files/redis-openvas.tmpfiles deleted file mode 100644 index 6dea2932cc0b..000000000000 --- a/net-analyzer/openvas-scanner/files/redis-openvas.tmpfiles +++ /dev/null @@ -1,2 +0,0 @@ -# redis runtime directory -d /run/redis-openvas 0755 gvm root - diff --git a/net-analyzer/openvas-scanner/metadata.xml b/net-analyzer/openvas-scanner/metadata.xml deleted file mode 100644 index 177d061aa8be..000000000000 --- a/net-analyzer/openvas-scanner/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 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> - <use> - <flag name="snmp">Build againts <pkg>net-analyzer/net-snmp</pkg> for "improved SNMP support"</flag> - </use> - <longdescription lang="en"> - Open Vulnerability Assessment System (OpenVAS) Scanner is the Greenbone Vulnerability Management (GVM) Solution. - It is used for the Greenbone Security Manager appliances and is a full-featured scan engine that executes a continuously - updated and extended feed of Network Vulnerability Tests (NVTs). - </longdescription> - <upstream> - <remote-id type="github">greenbone/openvas-scanner</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-analyzer/openvas-scanner/openvas-scanner-23.26.1.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-23.26.1.ebuild deleted file mode 100644 index 65685bbb734a..000000000000 --- a/net-analyzer/openvas-scanner/openvas-scanner-23.26.1.ebuild +++ /dev/null @@ -1,157 +0,0 @@ -# Copyright 1999-2026 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" -IUSE="doc snmp test" -RESTRICT="!test? ( test )" - -DEPEND=" - acct-user/gvm - app-crypt/gpgme:= - app-crypt/mit-krb5:= - >=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 - 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/openvas-scanner/openvas-scanner-23.40.0.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-23.40.0.ebuild deleted file mode 100644 index f3e5a9725103..000000000000 --- a/net-analyzer/openvas-scanner/openvas-scanner-23.40.0.ebuild +++ /dev/null @@ -1,157 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake systemd tmpfiles toolchain-funcs greadme 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" -IUSE="doc snmp test" -RESTRICT="!test? ( test )" - -DEPEND=" - acct-user/gvm - app-crypt/gpgme:= - app-crypt/mit-krb5:= - >=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 - virtual/pandoc - ) - test? ( dev-libs/cgreen ) -" - -PATCHES=( - # Remove tests that don't work in the network sandbox - "${FILESDIR}/${P}-remove-unworking-tests.patch" -) - -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 -} - -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 - - greadme_file "${FILESDIR}/README.gentoo" -} - -pkg_postinst() { - tmpfiles_process redis-openvas.conf - optfeature "port scanner" net-analyzer/nmap - greadme_pkg_postinst -} |
