git: 59018f267535 - main - net-mgmt/zabbix6-*: Add CPE information
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 15 Jun 2026 19:22:26 UTC
The branch main has been updated by decke:
URL: https://cgit.FreeBSD.org/ports/commit/?id=59018f2675357b4312ec4e0136633fa8278b3381
commit 59018f2675357b4312ec4e0136633fa8278b3381
Author: Bernhard Froehlich <decke@FreeBSD.org>
AuthorDate: 2026-06-15 19:19:19 +0000
Commit: Bernhard Froehlich <decke@FreeBSD.org>
CommitDate: 2026-06-15 19:21:47 +0000
net-mgmt/zabbix6-*: Add CPE information
This is the intended mapping between port and CPE_VENDOR:CPE_PRODUCT
net-mgmt/zabbix5-agent zabbix:zabbix-agent
net-mgmt/zabbix6-frontend zabbix:frontend
net-mgmt/zabbix6-java zabbix:zabbix
net-mgmt/zabbix6-proxy zabbix:zabbix
net-mgmt/zabbix6-server zabbix:zabbix_server
---
net-mgmt/zabbix6-agent/Makefile | 2 ++
net-mgmt/zabbix6-frontend/Makefile | 4 +++-
net-mgmt/zabbix6-java/Makefile | 2 ++
net-mgmt/zabbix6-proxy/Makefile | 2 ++
net-mgmt/zabbix6-server/Makefile | 7 ++++++-
5 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/net-mgmt/zabbix6-agent/Makefile b/net-mgmt/zabbix6-agent/Makefile
index 23ee30095502..a459a18fce84 100644
--- a/net-mgmt/zabbix6-agent/Makefile
+++ b/net-mgmt/zabbix6-agent/Makefile
@@ -9,4 +9,6 @@ PLIST= ${PKGDIR}/pkg-plist.agent
OPTIONS_DEFINE= CURL IPV6 MODBUS
OPTIONS_DEFAULT= CURL OPENSSL
+CPE_PRODUCT= zabbix-agent
+
.include "${MASTERDIR}/Makefile"
diff --git a/net-mgmt/zabbix6-frontend/Makefile b/net-mgmt/zabbix6-frontend/Makefile
index a88cb5080676..d3938119e64a 100644
--- a/net-mgmt/zabbix6-frontend/Makefile
+++ b/net-mgmt/zabbix6-frontend/Makefile
@@ -3,10 +3,12 @@ PORTREVISION= 0
CATEGORIES= net-mgmt
PKGNAMESUFFIX= -frontend${PHP_PKGNAMESUFFIX}
-USES+= php:web,flavors
+USES+= cpe php:web,flavors
USE_PHP= bcmath ctype filter gd gettext ldap mbstring session \
simplexml sockets xml xmlreader xmlwriter
+CPE_PRODUCT= frontend
+
MASTERDIR= ${.CURDIR}/../${PORTNAME}-server
PATCHDIR=
NO_ARCH= yes
diff --git a/net-mgmt/zabbix6-java/Makefile b/net-mgmt/zabbix6-java/Makefile
index 056fae790cb3..aa8da3146d0a 100644
--- a/net-mgmt/zabbix6-java/Makefile
+++ b/net-mgmt/zabbix6-java/Makefile
@@ -8,4 +8,6 @@ PLIST= ${PKGDIR}/pkg-plist.java
OPTIONS_DEFINE= IPV6
+CPE_PRODUCT= zabbix
+
.include "${MASTERDIR}/Makefile"
diff --git a/net-mgmt/zabbix6-proxy/Makefile b/net-mgmt/zabbix6-proxy/Makefile
index cb5b906e60fc..80fece70d68d 100644
--- a/net-mgmt/zabbix6-proxy/Makefile
+++ b/net-mgmt/zabbix6-proxy/Makefile
@@ -5,4 +5,6 @@ PKGNAMESUFFIX= -proxy
MASTERDIR= ${.CURDIR}/../${PORTNAME}-server
+CPE_PRODUCT= zabbix
+
.include "${MASTERDIR}/Makefile"
diff --git a/net-mgmt/zabbix6-server/Makefile b/net-mgmt/zabbix6-server/Makefile
index cf48a1563f2e..6376fac7f6db 100644
--- a/net-mgmt/zabbix6-server/Makefile
+++ b/net-mgmt/zabbix6-server/Makefile
@@ -18,8 +18,13 @@ CONFLICTS_INSTALL= ${PORTNAME}[0-9]${PKGNAMESUFFIX} \
ZABBIX_BUILD= ${PKGNAMESUFFIX:S/^-//:S/-$//}
+USES= cpe
+
+CPE_PRODUCT?= zabbix_server
+CPE_VENDOR= zabbix
+
.if ${ZABBIX_BUILD} != "frontend" # frontend only needs the version/distribution settings
-USES= iconv pkgconfig
+USES+= iconv pkgconfig
.if ${ZABBIX_BUILD} != "agent"
CONFIGURE_ARGS+= --cache-file=${WRKSRC}/config.cache \
--with-libevent=${LOCALBASE} \