mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
security/openvas: Update to 22.4.1
ChangeLog at: https://github.com/greenbone/openvas-scanner/releases/tag/v22.4.1
This commit is contained in:
parent
1af9c01de5
commit
582d4d2778
@ -1,7 +1,6 @@
|
||||
PORTNAME= openvas
|
||||
DISTVERSION= 22.4.0
|
||||
DISTVERSION= 22.4.1
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= security
|
||||
|
||||
MAINTAINER= acm@FreeBSD.org
|
||||
@ -39,9 +38,6 @@ GROUPS= ${USERS}
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|g_pattern_match_string|g_pattern_spec_match_string|g' ${WRKSRC}/misc/strutils.c
|
||||
.if ${OSVERSION} < 1301000
|
||||
@${REINPLACE_CMD} -e 's|-Wunused-but-set-variable|-Wunused-variable|g' ${WRKSRC}/nasl/nasl_grammar.y
|
||||
.endif
|
||||
@${REINPLACE_CMD} -e 's|#include <bsd/unistd.h>||g' ${WRKSRC}/src/attack.c ${WRKSRC}/src/nasl_plugins.c
|
||||
@${REINPLACE_CMD} -e 's|#include <bsd/unistd.h>|#include <unistd.h>|g' ${WRKSRC}//src/pluginload.c
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1659314127
|
||||
SHA256 (greenbone-openvas-scanner-v22.4.0_GH0.tar.gz) = 232a64206f2ce17633ea16951b91d5d8743b174afd521f6318961353aadf8268
|
||||
SIZE (greenbone-openvas-scanner-v22.4.0_GH0.tar.gz) = 478488
|
||||
TIMESTAMP = 1680416417
|
||||
SHA256 (greenbone-openvas-scanner-v22.4.1_GH0.tar.gz) = efe8c5a3a221fd28292fd12b9f4974b98e3f11ee8d73bcf253c5087bd661427c
|
||||
SIZE (greenbone-openvas-scanner-v22.4.1_GH0.tar.gz) = 753758
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- nasl/CMakeLists.txt 2020-12-31 21:48:33.070235000 -0500
|
||||
+++ nasl/CMakeLists.txt 2020-12-31 21:49:07.420166000 -0500
|
||||
@@ -86,6 +86,11 @@
|
||||
--- nasl/CMakeLists.txt 2023-04-02 01:35:31.655225000 -0500
|
||||
+++ nasl/CMakeLists.txt 2023-04-02 01:36:47.693080000 -0500
|
||||
@@ -62,6 +62,11 @@
|
||||
|
||||
message (STATUS "Looking for pcap...")
|
||||
find_library (PCAP pcap)
|
||||
@ -12,7 +12,7 @@
|
||||
|
||||
find_library (GPGME gpgme)
|
||||
message (STATUS "Looking for gpgme... ${GPGME}")
|
||||
@@ -227,11 +232,11 @@
|
||||
@@ -203,11 +208,11 @@
|
||||
|
||||
# Link the openvas-nasl executable
|
||||
add_executable (openvas-nasl nasl.c)
|
||||
@ -21,8 +21,8 @@
|
||||
|
||||
# Link the openvas-nasl-lint executable
|
||||
add_executable (openvas-nasl-lint nasl-lint.c)
|
||||
-target_link_libraries (openvas-nasl-lint openvas_nasl_shared openvas_misc_shared ${GLIB_LDFLAGS} ${GIO_LDFLAGS})
|
||||
+target_link_libraries (openvas-nasl-lint openvas_nasl_shared openvas_misc_shared ${GLIB_LDFLAGS} ${GIO_LDFLAGS} ${PCAP_LDFLAGS})
|
||||
-target_link_libraries (openvas-nasl-lint openvas_nasl_shared openvas_misc_shared ${GLIB_LDFLAGS} ${GLIB_JSON_LDFLAGS} ${GIO_LDFLAGS})
|
||||
+target_link_libraries (openvas-nasl-lint openvas_nasl_shared openvas_misc_shared ${GLIB_LDFLAGS} ${GLIB_JSON_LDFLAGS} ${GIO_LDFLAGS} ${PCAP_LDFLAGS})
|
||||
|
||||
## Install
|
||||
|
||||
|
10
security/openvas/files/patch-nasl_md4.h
Normal file
10
security/openvas/files/patch-nasl_md4.h
Normal file
@ -0,0 +1,10 @@
|
||||
--- nasl/md4.h 2023-04-02 01:42:54.408984000 -0500
|
||||
+++ nasl/md4.h 2023-04-02 01:43:11.470498000 -0500
|
||||
@@ -28,5 +28,4 @@
|
||||
|
||||
void
|
||||
mdfour_ntlmssp (unsigned char *out, const unsigned char *in, int n);
|
||||
-
|
||||
-#endif
|
||||
\ No newline at end of file
|
||||
+#endif
|
@ -4,10 +4,10 @@ bin/openvas-nasl-lint
|
||||
@sample %%ETCDIR%%/openvas_log.conf.sample
|
||||
lib/libopenvas_misc.so
|
||||
lib/libopenvas_misc.so.22
|
||||
lib/libopenvas_misc.so.22.4.0
|
||||
lib/libopenvas_misc.so.22.4.1
|
||||
lib/libopenvas_nasl.so
|
||||
lib/libopenvas_nasl.so.22
|
||||
lib/libopenvas_nasl.so.22.4.0
|
||||
lib/libopenvas_nasl.so.22.4.1
|
||||
sbin/openvas
|
||||
share/man/man1/openvas-nasl-lint.1.gz
|
||||
share/man/man1/openvas-nasl.1.gz
|
||||
|
Loading…
Reference in New Issue
Block a user