git: 66441579089a - main - security/doas: Add CPE information

From: Stefan Eßer <se_at_FreeBSD.org>
Date: Wed, 13 Oct 2021 13:18:22 UTC
The branch main has been updated by se:

URL: https://cgit.FreeBSD.org/ports/commit/?id=66441579089a0cccb30817178b0475e2990e0b60

commit 66441579089a0cccb30817178b0475e2990e0b60
Author:     Stefan Eßer <se@FreeBSD.org>
AuthorDate: 2021-10-13 13:12:46 +0000
Commit:     Stefan Eßer <se@FreeBSD.org>
CommitDate: 2021-10-13 13:12:46 +0000

    security/doas: Add CPE information
    
    Approved by:    portmgr (blanket)
---
 security/doas/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/security/doas/Makefile b/security/doas/Makefile
index 9d5ad124fb28..848a6c564bd7 100644
--- a/security/doas/Makefile
+++ b/security/doas/Makefile
@@ -10,7 +10,10 @@ LICENSE_COMB=	multi
 LICENSE_FILE_BSD2CLAUSE=	${WRKSRC}/LICENSE
 LICENSE_FILE_ISCL=		${WRKSRC}/LICENSE
 
-USES=	gmake
+USES=		cpe gmake
+CPE_VENDOR=	doas_project
+CPE_VERSION=	${PORTVERSION:C/p.+//}
+CPE_UPDATE=	${PORTVERSION:C/[^p]*//}
 USE_GITHUB=	yes
 GH_ACCOUNT=	slicer69