git: 845624003bad - main - security/metasploit: Add CPE information

Bernhard Froehlich decke at FreeBSD.org
Sat Sep 11 11:57:36 UTC 2021


The branch main has been updated by decke:

URL: https://cgit.FreeBSD.org/ports/commit/?id=845624003badd4b7bda8cd3e36bb8d84b564e017

commit 845624003badd4b7bda8cd3e36bb8d84b564e017
Author:     Bernhard Froehlich <decke at FreeBSD.org>
AuthorDate: 2021-09-11 11:55:06 +0000
Commit:     Bernhard Froehlich <decke at FreeBSD.org>
CommitDate: 2021-09-11 11:55:06 +0000

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

diff --git a/security/metasploit/Makefile b/security/metasploit/Makefile
index f41fc9507200..c6b735051176 100644
--- a/security/metasploit/Makefile
+++ b/security/metasploit/Makefile
@@ -97,7 +97,7 @@ RUN_DEPENDS=	nmap:security/nmap \
 		rubygem-eventmachine>=0:devel/rubygem-eventmachine \
 		rubygem-zeitwerk>=0:devel/rubygem-zeitwerk
 
-USES=		python shebangfix
+USES=		cpe python shebangfix
 USE_RUBY=	yes
 SHEBANG_FILES=	data/exploits/CVE-2017-17562/build.sh \
 		data/exploits/CVE-2017-17562/install-deps.sh \
@@ -147,6 +147,8 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	rapid7
 GH_PROJECT=	metasploit-framework
 
+CPE_VENDOR=	rapid7
+
 NO_ARCH=	yes
 NO_ARCH_IGNORE=	template_x64_bsd.bin template_x86_bsd.bin CVE-2013-2171.bin
 STRIP=


More information about the dev-commits-ports-all mailing list