Created attachment 153749 [details] Makefile with CPE information added lang/gcc5 has had vulnerabilities with a CPE identifier assigned (e.g. CVE-2008-1367). This patch add CPE information as suggested in the FreeBSD wiki[0]. [0] https://wiki.freebsd.org/Ports/CPE
A commit references this bug: Author: gerald Date: Sun Mar 22 23:11:14 UTC 2015 New revision: 381968 URL: https://svnweb.freebsd.org/changeset/ports/381968 Log: Add CPE information. [1] Use PKGNAMESUFFIX so that PORTNAME falls back to plain gcc and we can avoid setting DISTNAME and CPE_PRODUCT. [2] PR: 198260 [1] Submitted by: shun.fbsd.pr@dropcut.net [1] Suggested by: mat [2] Changes: head/lang/gcc5/Makefile
Thanks, I committed essentially this patch as part of a change that also made another change (to simplify this one). Please let me know should I have missed anything.
A commit references this bug: Author: gerald Date: Sun Mar 22 23:29:53 UTC 2015 New revision: 381969 URL: https://svnweb.freebsd.org/changeset/ports/381969 Log: Add CONFLICTS with lang/gcc which is also GCC 4.8-based right now. Add CPE information. [1] Use PKGNAMESUFFIX so that PORTNAME falls back to plain gcc and we can avoid setting DISTNAME and CPE_PRODUCT. [2] PR: 198260 [1] Submitted by: shun.fbsd.pr@dropcut.net [1] Suggested by: mat [2] Changes: head/lang/gcc48/Makefile head/lang/gcc48/distinfo