aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2022-08-09 22:42:46 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2022-08-09 22:49:25 +0000
commit46dd52bdbffa750024dc30984b8109ccdbd76a8f (patch)
tree555d577bfa0d9c2d9b1e9fac68fe4ff93de64baf
parentfc3a94613d97fc0928b442f3bfc0981a53f5dd21 (diff)
downloadports-46dd52bdbffa750024dc30984b8109ccdbd76a8f.tar.gz
ports-46dd52bdbffa750024dc30984b8109ccdbd76a8f.zip
security/wazuh-manager: Fix build
- Fix build on 14-CURRENT - It works only on amd64. It could works on i386 but I prefer don't expend time on it because i386 passed to tier 2 on 13.x. aarch64 could be a good platform for it. I'll try looking on it later - Bump PORTREVISION Reported by: pkg-fallout
-rw-r--r--security/wazuh-manager/Makefile9
-rw-r--r--security/wazuh-manager/distinfo2
2 files changed, 10 insertions, 1 deletions
diff --git a/security/wazuh-manager/Makefile b/security/wazuh-manager/Makefile
index 0d84d6ea1af3..0506d893fea7 100644
--- a/security/wazuh-manager/Makefile
+++ b/security/wazuh-manager/Makefile
@@ -1,6 +1,6 @@
PORTNAME= wazuh
DISTVERSION= 4.3.6
-PORTREVISION= 1
+PORTREVISION= 2
DISTVERSIONPREFIX= v
CATEGORIES= security
MASTER_SITES= https://packages.wazuh.com/deps/16/libraries/sources/:wazuh_sources \
@@ -23,6 +23,8 @@ LIB_DEPENDS+= libgdbm.so:databases/gdbm \
USES= cpe gmake perl5 python:3.9 readline shebangfix sqlite:3 uidfix
+ONLY_FOR_ARCHS= amd64
+
USE_GITHUB= yes
USE_RC_SUBR= ${PORTNAME}${PKGNAMESUFFIX}
@@ -120,6 +122,11 @@ DISTFILES+= ${WAZUH_CACHENAME}${EXTRACT_SUFX}:wazuh_cache
.elif ${OSVERSION} >= 1300139 && ${OSVERSION} < 1400000
WAZUH_CACHENAME=${PORTNAME}-cache-fbsd13-${ARCH}
DISTFILES+= ${WAZUH_CACHENAME}${EXTRACT_SUFX}:wazuh_cache
+.elif ${OSVERSION} >= 1400000
+WAZUH_CACHENAME=${PORTNAME}-cache-fbsd14-${ARCH}
+DISTFILES+= ${WAZUH_CACHENAME}${EXTRACT_SUFX}:wazuh_cache
+.else
+IGNORE= FreeBSD ${OSVERSION} is not supported
.endif
post-extract:
diff --git a/security/wazuh-manager/distinfo b/security/wazuh-manager/distinfo
index 2a33bb34e6df..536ecb1eb87a 100644
--- a/security/wazuh-manager/distinfo
+++ b/security/wazuh-manager/distinfo
@@ -43,5 +43,7 @@ SHA256 (wazuh-4.3.6/wazuh-cache-fbsd12-amd64.tar.gz) = dc4b28b74c37fc7f76790c488
SIZE (wazuh-4.3.6/wazuh-cache-fbsd12-amd64.tar.gz) = 8436214
SHA256 (wazuh-4.3.6/wazuh-cache-fbsd13-amd64.tar.gz) = 9bd1770537681f0bae4c7d9adf7a7750dcf5cccf64a7edc335d5afcb16acd22b
SIZE (wazuh-4.3.6/wazuh-cache-fbsd13-amd64.tar.gz) = 8397011
+SHA256 (wazuh-4.3.6/wazuh-cache-fbsd14-amd64.tar.gz) = cbdee84ab587f09dcce437c13cee42701bc2504af73c43b1a4f2ac13a17d85ec
+SIZE (wazuh-4.3.6/wazuh-cache-fbsd14-amd64.tar.gz) = 8397334
SHA256 (wazuh-4.3.6/wazuh-wazuh-v4.3.6_GH0.tar.gz) = 81b7d549b5956e59ba2ded9f1305cfda57377858a8560891573a27b9139d2472
SIZE (wazuh-4.3.6/wazuh-wazuh-v4.3.6_GH0.tar.gz) = 8346134