From cd8b6c60f3cbb06647bf3d03fb2ac29ccfc31c8f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 14 Nov 2023 10:30:49 +0000 Subject: gentoo auto-resync : 14:11:2023 - 10:30:49 --- .../openvas-scanner-20.8.1-rpath-qa-fix.patch | 14 --------- ...envas-scanner-7.0.1-disable-automagic-dep.patch | 33 ---------------------- ...penvas-scanner-7.0.1-fix-linking-with-lld.patch | 33 ---------------------- net-analyzer/openvas-scanner/files/openvas.conf | 1 - .../openvas-scanner/files/openvassd.logrotate | 13 --------- 5 files changed, 94 deletions(-) delete mode 100644 net-analyzer/openvas-scanner/files/openvas-scanner-20.8.1-rpath-qa-fix.patch delete mode 100644 net-analyzer/openvas-scanner/files/openvas-scanner-7.0.1-disable-automagic-dep.patch delete mode 100644 net-analyzer/openvas-scanner/files/openvas-scanner-7.0.1-fix-linking-with-lld.patch delete mode 100644 net-analyzer/openvas-scanner/files/openvas.conf delete mode 100644 net-analyzer/openvas-scanner/files/openvassd.logrotate (limited to 'net-analyzer/openvas-scanner/files') diff --git a/net-analyzer/openvas-scanner/files/openvas-scanner-20.8.1-rpath-qa-fix.patch b/net-analyzer/openvas-scanner/files/openvas-scanner-20.8.1-rpath-qa-fix.patch deleted file mode 100644 index 79e8692f4d6d..000000000000 --- a/net-analyzer/openvas-scanner/files/openvas-scanner-20.8.1-rpath-qa-fix.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 69c68375..5bc000c0 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -37,6 +37,8 @@ endif (NOT CMAKE_BUILD_TYPE) - - OPTION (ENABLE_COVERAGE "Enable support for coverage analysis" OFF) - -+set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) -+ - ## Retrieve git revision (at configure time) - include (GetGit) - - diff --git a/net-analyzer/openvas-scanner/files/openvas-scanner-7.0.1-disable-automagic-dep.patch b/net-analyzer/openvas-scanner/files/openvas-scanner-7.0.1-disable-automagic-dep.patch deleted file mode 100644 index fd3e4610f8a4..000000000000 --- a/net-analyzer/openvas-scanner/files/openvas-scanner-7.0.1-disable-automagic-dep.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff --git a/nasl/CMakeLists.txt b/nasl/CMakeLists.txt -index b594679c..81c5e4a9 100644 ---- a/nasl/CMakeLists.txt -+++ b/nasl/CMakeLists.txt -@@ -100,14 +100,20 @@ execute_process (COMMAND gpgme-config --cflags - OUTPUT_VARIABLE GPGME_CFLAGS - OUTPUT_STRIP_TRAILING_WHITESPACE) - --message (STATUS "Looking for netsnmp...") --find_library (SNMP netsnmp) --message (STATUS "Looking for netsnmp... ${SNMP}") --if (SNMP) -- execute_process (COMMAND net-snmp-config --libs -- OUTPUT_VARIABLE SNMP_LDFLAGS -- OUTPUT_STRIP_TRAILING_WHITESPACE) --endif (SNMP) -+option(BUILD_WITH_SNMP "Build with SNMP Support" ON) -+if (BUILD_WITH_SNMP) -+ message (STATUS "Looking for netsnmp...") -+ find_library (SNMP netsnmp) -+ message (STATUS "Looking for netsnmp... ${SNMP}") -+ if (SNMP) -+ execute_process (COMMAND net-snmp-config --libs -+ OUTPUT_VARIABLE SNMP_LDFLAGS -+ OUTPUT_STRIP_TRAILING_WHITESPACE) -+ endif (SNMP) -+ if (NOT SNMP) -+ message (SEND_ERROR " netsnmp not found") -+ endif(NOT SNMP) -+endif (BUILD_WITH_SNMP) - - message (STATUS "Looking for libgcrypt...") - find_library (GCRYPT gcrypt) diff --git a/net-analyzer/openvas-scanner/files/openvas-scanner-7.0.1-fix-linking-with-lld.patch b/net-analyzer/openvas-scanner/files/openvas-scanner-7.0.1-fix-linking-with-lld.patch deleted file mode 100644 index 2b31a7c7d22a..000000000000 --- a/net-analyzer/openvas-scanner/files/openvas-scanner-7.0.1-fix-linking-with-lld.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff --git a/nasl/CMakeLists.txt b/nasl/CMakeLists.txt -index b594679c..adf9a221 100644 ---- a/nasl/CMakeLists.txt -+++ b/nasl/CMakeLists.txt -@@ -87,6 +87,28 @@ endif (NOT KSBA) - message (STATUS "Looking for pcap...") - find_library (PCAP pcap) - -+message (STATUS "Looking for pcap... ${PCAP}") -+if (NOT PCAP) -+ message (SEND_ERROR "The pcap library is required.") -+endif (NOT PCAP) -+ -+message (STATUS "Looking for pcap-config...") -+find_program (PCAP_CONFIG pcap-config) -+ -+if (PCAP_CONFIG) -+ message (STATUS "Looking for pcap-config... ${PCAP_CONFIG}") -+ execute_process (COMMAND pcap-config --libs -+ OUTPUT_VARIABLE PCAP_LDFLAGS -+ OUTPUT_STRIP_TRAILING_WHITESPACE) -+ execute_process (COMMAND pcap-config --cflags -+ OUTPUT_VARIABLE PCAP_CFLAGS -+ OUTPUT_STRIP_TRAILING_WHITESPACE) -+else (PCAP_CONFIG) -+ message (STATUS "pcap-config not found, using defaults...") -+ set (PCAP_LDFLAGS "-L/usr/lib -lpcap") -+ set (PCAP_CFLAGS "-I/usr/include") -+endif (PCAP_CONFIG) -+ - find_library (GPGME gpgme) - message (STATUS "Looking for gpgme... ${GPGME}") - if (NOT GPGME) diff --git a/net-analyzer/openvas-scanner/files/openvas.conf b/net-analyzer/openvas-scanner/files/openvas.conf deleted file mode 100644 index 487e643834b8..000000000000 --- a/net-analyzer/openvas-scanner/files/openvas.conf +++ /dev/null @@ -1 +0,0 @@ -db_address = /tmp/redis.sock diff --git a/net-analyzer/openvas-scanner/files/openvassd.logrotate b/net-analyzer/openvas-scanner/files/openvassd.logrotate deleted file mode 100644 index 9cf47d54763d..000000000000 --- a/net-analyzer/openvas-scanner/files/openvassd.logrotate +++ /dev/null @@ -1,13 +0,0 @@ -# Copyright 1999-2019 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/openvassd.log { - compress - missingok - notifempty - sharedscripts - copytruncate - maxsize 10M -} -- cgit v1.2.3