aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2015-03-05 17:01:26 +0800
committermarino <marino@FreeBSD.org>2015-03-05 17:01:26 +0800
commit9900cd6fec2ced0ad914782776e5449c699ff8d7 (patch)
treeb46958a352751a6a0d604d645073ab9e07f49ffa /lang
parentaa896799033b10a91280e2779316a7542bcb1d8d (diff)
downloadfreebsd-ports-gnome-9900cd6fec2ced0ad914782776e5449c699ff8d7.tar.gz
freebsd-ports-gnome-9900cd6fec2ced0ad914782776e5449c699ff8d7.tar.zst
freebsd-ports-gnome-9900cd6fec2ced0ad914782776e5449c699ff8d7.zip
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)
Diffstat (limited to 'lang')
-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 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}