summaryrefslogtreecommitdiff
path: root/net-analyzer/openvas-scanner
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-08 02:07:29 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-08 02:07:29 +0000
commit494168b06b81a32b889c3cb1f721f925d0a6824f (patch)
tree0ec763ffa61af808a83f365fb6680258d2e28a50 /net-analyzer/openvas-scanner
parent2198f8593ae0312add1bdccb49edfcb935e5f8a6 (diff)
gentoo auto-resync : 08:12:2024 - 02:07:28
Diffstat (limited to 'net-analyzer/openvas-scanner')
-rw-r--r--net-analyzer/openvas-scanner/Manifest6
-rw-r--r--net-analyzer/openvas-scanner/openvas-scanner-23.13.1.ebuild (renamed from net-analyzer/openvas-scanner/openvas-scanner-23.3.2.ebuild)2
-rw-r--r--net-analyzer/openvas-scanner/openvas-scanner-23.8.4.ebuild158
3 files changed, 3 insertions, 163 deletions
diff --git a/net-analyzer/openvas-scanner/Manifest b/net-analyzer/openvas-scanner/Manifest
index d1751e15a37c..0a2d141f6a75 100644
--- a/net-analyzer/openvas-scanner/Manifest
+++ b/net-analyzer/openvas-scanner/Manifest
@@ -5,10 +5,8 @@ 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-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.13.1.tar.gz 1474941 BLAKE2B 18f7afbdc6f6d0f800e2fc41a70cd9bf372289d1fb91291dc6f57e60f71e6da9b021c20baf34daec160d19770908cae1d37be3dc9b1e3fdc162784de2b2d04b9 SHA512 63d8ff8fbe3dc86c3753ae08dfb9e17dba16198b82d8bc8637cfd25f587f9797f3de7fae8cf7f9404aa8f56194017b1cfd7ffdb0cdd86609c9db1aca9de743fd
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 3651 BLAKE2B 8d2855780cb2d3fdff53c18c0a87c696e1f66de535bcc05cafebed489d8877726ec4814781121e4df4b96ad7be5a23dadab1d533c4ccc04f3391d4a383ac681d SHA512 44fed7d6e1c8aadaff21b220e0a2eb333de8c53ceea05beaa3c36f2ca191cb1add884d9ae6015e094429c9480f7547fa517618b72dc686ecdd670e6030ef7eeb
+EBUILD openvas-scanner-23.13.1.ebuild 3647 BLAKE2B 4a7a3171ddda1c26b72cb5aa6fe52f1836fa60f72a8d454a27b270deb931f67fe488a7e575ec836cc1b5e055ec4bf0587dadb93a0e7abcbd74c3bff8bb2ffd9e SHA512 6d326c61bd221c4afbc4f5e5d2bfb736da89c9cc8fd1fe44efea8230290ba792c102d15704f26a4738665f74421622b7f0bb42b888bf4e21d17404670a605971
EBUILD openvas-scanner-23.9.0.ebuild 3651 BLAKE2B 8d2855780cb2d3fdff53c18c0a87c696e1f66de535bcc05cafebed489d8877726ec4814781121e4df4b96ad7be5a23dadab1d533c4ccc04f3391d4a383ac681d SHA512 44fed7d6e1c8aadaff21b220e0a2eb333de8c53ceea05beaa3c36f2ca191cb1add884d9ae6015e094429c9480f7547fa517618b72dc686ecdd670e6030ef7eeb
MISC metadata.xml 959 BLAKE2B fd177b593dcda47b5dba68daa3790177288fe1ac1fc4af208b61a29da747528fb4b7bb679139f1d21fb6ff56e4bae9d5828291564597967dace2b341a066cc79 SHA512 43bbeeffff6f8d6eba3156a293d73be25786c5c7f1ab9b1167aa5ffe9cae57f894a2250f4e66b4fa79947f0cc4cc059857d262bb6af42095b7ec11d2b0badfce
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-23.3.2.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-23.13.1.ebuild
index b8b26ec02987..28fd9fc10e3a 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-23.3.2.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-23.13.1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
LICENSE="GPL-2 GPL-2+"
SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="~amd64"
IUSE="doc snmp test"
RESTRICT="!test? ( test )"
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-23.8.4.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-23.8.4.ebuild
deleted file mode 100644
index b8b26ec02987..000000000000
--- a/net-analyzer/openvas-scanner/openvas-scanner-23.8.4.ebuild
+++ /dev/null
@@ -1,158 +0,0 @@
-# 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
-}