svn commit: r380478 - in head/lang: gcc-aux gcc47-aux

John Marino marino at FreeBSD.org
Thu Mar 5 09:01:27 UTC 2015


Author: marino
Date: Thu Mar  5 09:01:26 2015
New Revision: 380478
URL: https://svnweb.freebsd.org/changeset/ports/380478
QAT: https://qat.redports.org/buildarchive/r380478/

Log:
  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)

Modified:
  head/lang/gcc-aux/Makefile.common
  head/lang/gcc47-aux/Makefile.common

Modified: head/lang/gcc-aux/Makefile.common
==============================================================================
--- head/lang/gcc-aux/Makefile.common	Thu Mar  5 06:58:56 2015	(r380477)
+++ head/lang/gcc-aux/Makefile.common	Thu Mar  5 09:01:26 2015	(r380478)
@@ -9,9 +9,12 @@ LIB_DEPENDS+=		libmpc.so:${PORTSDIR}/mat
 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 \

Modified: head/lang/gcc47-aux/Makefile.common
==============================================================================
--- head/lang/gcc47-aux/Makefile.common	Thu Mar  5 06:58:56 2015	(r380477)
+++ head/lang/gcc47-aux/Makefile.common	Thu Mar  5 09:01:26 2015	(r380478)
@@ -9,6 +9,9 @@ LIB_DEPENDS+=		libmpc.so:${PORTSDIR}/mat
 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}


More information about the svn-ports-head mailing list