git: 1cae14d2a65a - main - security/openvas: Change kerberos dependency to mit one

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Wed, 22 Jan 2025 08:07:52 UTC
The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1cae14d2a65a44aac915e6eb8e8f6d7bd6c2a88b

commit 1cae14d2a65a44aac915e6eb8e8f6d7bd6c2a88b
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2025-01-22 08:05:20 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2025-01-22 08:05:20 +0000

    security/openvas: Change kerberos dependency to mit one
    
    - It fixed a issue when osp_openvas is started
    - Remove obsolete patch files
---
 security/openvas/Makefile                        |  3 ++-
 security/openvas/files/patch-misc_openvas-krb5.c | 14 --------------
 security/openvas/files/patch-misc_openvas-krb5.h | 11 -----------
 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