git: 4dbbcdb4467e - main - www/varnish[4|6|7]: Chase deprecated CPE information

From: Bernhard Froehlich <decke_at_FreeBSD.org>
Date: Tue, 28 Jun 2022 11:05:09 UTC
The branch main has been updated by decke:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4dbbcdb4467e0d519773687f3ccf328a70ea98de

commit 4dbbcdb4467e0d519773687f3ccf328a70ea98de
Author:     Bernhard Froehlich <decke@FreeBSD.org>
AuthorDate: 2022-06-28 11:01:53 +0000
Commit:     Bernhard Froehlich <decke@FreeBSD.org>
CommitDate: 2022-06-28 11:01:53 +0000

    www/varnish[4|6|7]: Chase deprecated CPE information
    
    According to NIST CPE dictionary the old CPE varnish-cache:varnish
    has been deprecated by varnish-cache:varnish_cache.
    
    Approved by:    portmgr (blanket)
    Obtained from:  https://nvd.nist.gov/products/cpe/detail/728797
---
 www/varnish4/Makefile | 1 +
 www/varnish6/Makefile | 1 +
 www/varnish7/Makefile | 1 +
 3 files changed, 3 insertions(+)

diff --git a/www/varnish4/Makefile b/www/varnish4/Makefile
index d84e76326950..bf0605585e9d 100644
--- a/www/varnish4/Makefile
+++ b/www/varnish4/Makefile
@@ -20,6 +20,7 @@ USES=		autoreconf:2.69 cpe gmake libedit libtool ncurses pathfix \
 		pkgconfig python:build readline shebangfix
 SHEBANG_FILES=	lib/libvcc/vmodtool.py
 CPE_VENDOR=	varnish-cache
+CPE_PRODUCT=	varnish_cache
 CFLAGS+=	-I${LOCALBASE}/include -Wno-error
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--localstatedir=${PREFIX} --enable-tests
diff --git a/www/varnish6/Makefile b/www/varnish6/Makefile
index c4000df444a2..ac1abd0d9531 100644
--- a/www/varnish6/Makefile
+++ b/www/varnish6/Makefile
@@ -22,6 +22,7 @@ CONFLICTS=	varnish4 varnish7
 
 SHEBANG_FILES=	lib/libvcc/*.py
 CPE_VENDOR=	varnish-cache
+CPE_PRODUCT=	varnish_cache
 CFLAGS+=	-I${LOCALBASE}/include
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--localstatedir=${PREFIX} --without-dot
diff --git a/www/varnish7/Makefile b/www/varnish7/Makefile
index 84b65dedfa90..e942a7284b5f 100644
--- a/www/varnish7/Makefile
+++ b/www/varnish7/Makefile
@@ -21,6 +21,7 @@ CONFLICTS=	varnish4 varnish6
 
 SHEBANG_FILES=	lib/libvcc/*.py lib/libvsc/*.py
 CPE_VENDOR=	varnish-cache
+CPE_PRODUCT=	varnish_cache
 CFLAGS+=	-I${LOCALBASE}/include
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--localstatedir=${PREFIX} --without-dot