summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2015-03-05 09:01:26 +0000
committermarino <marino@FreeBSD.org>2015-03-05 09:01:26 +0000
commit9900cd6fec2ced0ad914782776e5449c699ff8d7 (patch)
treeb46958a352751a6a0d604d645073ab9e07f49ffa
parentaa896799033b10a91280e2779316a7542bcb1d8d (diff)
downloadFreeBSD-ports-9900cd6fec2ced0ad914782776e5449c699ff8d7.zip
FreeBSD-ports-9900cd6fec2ced0ad914782776e5449c699ff8d7.tar.gz
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)
-rw-r--r--lang/gcc-aux/Makefile.common5
-rw-r--r--lang/gcc47-aux/Makefile.common5
2 files changed, 8 insertions, 2 deletions
diff --git a/lang/gcc-aux/Makefile.common b/lang/gcc-aux/Makefile.common
index 8d3f3d8..91843e0 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 e4b26ad..df22c4a 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}
OpenPOWER on IntegriCloud