Bug 198260

Summary: lang/gcc5: add CPE information
Product: Ports & Packages Reporter: shun <shun.fbsd.pr>
Component: Individual Port(s)Assignee: Gerald Pfeifer <gerald>
Status: Closed FIXED    
Severity: Affects Some People    
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Makefile with CPE information added none

Description shun 2015-03-03 22:18:23 UTC
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
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-03-22 23:11:59 UTC
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
Comment 2 Gerald Pfeifer freebsd_committer freebsd_triage 2015-03-22 23:13:09 UTC
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.
Comment 3 commit-hook freebsd_committer freebsd_triage 2015-03-22 23:30:02 UTC
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