From b17a05905229828e794a98219c9cf0208dc74270 Mon Sep 17 00:00:00 2001 From: John Marino Date: Thu, 5 Mar 2015 09:01:26 +0000 Subject: [PATCH] lang/gcc-aux, lang/gcc47-aux, lang/gnatdroid-arm*: Add CPE information There are no active CVEs against GCC 4.7.x or 4.9.x, but GCC is listed in the CPE database due to earlier CVEs. To prepare for future CVEs, add the CPE information. Note that CPE_VERSION has to be defined since these ports use their own version schemes rather than GCC version numbers. PR: 198252 PR: 198257 Submitted by: shun (dropcut.net) --- lang/gcc-aux/Makefile.common | 5 ++++- lang/gcc47-aux/Makefile.common | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lang/gcc-aux/Makefile.common b/lang/gcc-aux/Makefile.common index 8d3f3d8ac390..91843e0c4f5e 100644 --- a/lang/gcc-aux/Makefile.common +++ b/lang/gcc-aux/Makefile.common @@ -9,9 +9,12 @@ LIB_DEPENDS+= libmpc.so:${PORTSDIR}/math/mpc ONLY_FOR_ARCHS= i386 amd64 GNU_CONFIGURE= yes -USES= gmake iconv libtool perl5 tar:bzip2 +USES= cpe gmake iconv libtool perl5 tar:bzip2 USE_PERL5= build ALL_TARGET= default +CPE_PRODUCT= gcc +CPE_VENDOR= gnu +CPE_VERSION= ${GCC_VERSION} CXXTS4DF= \ 17_intro/headers/c++1998/stdc++.cc \ diff --git a/lang/gcc47-aux/Makefile.common b/lang/gcc47-aux/Makefile.common index e4b26ad4def6..df22c4aaa253 100644 --- a/lang/gcc47-aux/Makefile.common +++ b/lang/gcc47-aux/Makefile.common @@ -9,6 +9,9 @@ LIB_DEPENDS+= libmpc.so:${PORTSDIR}/math/mpc ONLY_FOR_ARCHS= i386 amd64 GNU_CONFIGURE= yes -USES= iconv gmake libtool perl5 tar:bzip2 +USES= cpe gmake iconv libtool perl5 tar:bzip2 USE_PERL5= build ALL_TARGET= default +CPE_PRODUCT= gcc +CPE_VENDOR= gnu +CPE_VERSION= ${GCC_VERSION}