summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2025-01-22 00:05:20 -0800
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2025-01-22 00:05:20 -0800
commit1cae14d2a65a44aac915e6eb8e8f6d7bd6c2a88b (patch)
tree475aaac97168d014101c015fa4b23442c81232e3
parentnet-mgmt/realmd: Fix patch to unbreak the build (diff)
security/openvas: Change kerberos dependency to mit one
- It fixed a issue when osp_openvas is started - Remove obsolete patch files
-rw-r--r--security/openvas/Makefile3
-rw-r--r--security/openvas/files/patch-misc_openvas-krb5.c14
-rw-r--r--security/openvas/files/patch-misc_openvas-krb5.h11
3 files changed, 2 insertions, 26 deletions
diff --git a/security/openvas/Makefile b/security/openvas/Makefile
index e168d5da7f0f..66aa8eda7d75 100644
--- a/security/openvas/Makefile
+++ b/security/openvas/Makefile
@@ -1,5 +1,6 @@
PORTNAME= openvas
DISTVERSION= 23.14.0
+PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= security
@@ -28,7 +29,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}impacket>=0:net/py-impacket@${PY_FLAVOR} \
rsync:net/rsync \
nmap:security/nmap
-USES= bison cmake gnome gssapi:heimdal pkgconfig python ssl
+USES= bison cmake gnome gssapi:mit pkgconfig python ssl
USE_GITHUB= yes
GH_ACCOUNT= greenbone
GH_PROJECT= ${PORTNAME}-scanner
diff --git a/security/openvas/files/patch-misc_openvas-krb5.c b/security/openvas/files/patch-misc_openvas-krb5.c
deleted file mode 100644
index 6ef5d3b20d07..000000000000
--- a/security/openvas/files/patch-misc_openvas-krb5.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- misc/openvas-krb5.c 2024-12-22 00:19:01.961816000 -0800
-+++ misc/openvas-krb5.c 2024-12-22 00:20:50.556489000 -0800
-@@ -3,7 +3,11 @@
- #include <ctype.h>
- #include <gssapi/gssapi.h>
- #include <gssapi/gssapi_krb5.h>
-+#if defined(__FreeBSD__)
-+#include <krb5.h>
-+#else
- #include <krb5/krb5.h>
-+#endif
- #include <stdbool.h>
- #include <stdio.h>
- #include <stdlib.h>
diff --git a/security/openvas/files/patch-misc_openvas-krb5.h b/security/openvas/files/patch-misc_openvas-krb5.h
deleted file mode 100644
index 35ba9b8109a9..000000000000
--- a/security/openvas/files/patch-misc_openvas-krb5.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- misc/openvas-krb5.h 2024-12-22 00:19:13.309593000 -0800
-+++ misc/openvas-krb5.h 2024-12-22 00:20:45.473987000 -0800
-@@ -1,4 +1,8 @@
-+#if defined(__FreeBSD__)
-+#include <krb5.h>
-+#else
- #include <krb5/krb5.h>
-+#endif
- #include <stdbool.h>
- #ifndef OPENVAS_KRB5
- #define OPENVAS_KRB5 1