Skip to content
Snippets Groups Projects
Unverified Commit 1cae14d2 authored by Jose Alonso Cardenas Marquez's avatar Jose Alonso Cardenas Marquez
Browse files

security/openvas: Change kerberos dependency to mit one

- It fixed a issue when osp_openvas is started
- Remove obsolete patch files
parent fa150a27
No related branches found
No related tags found
No related merge requests found
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
......
--- 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>
--- 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment