Bug 198260 - lang/gcc5: add CPE information
Summary: lang/gcc5: add CPE information
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Gerald Pfeifer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-03 22:18 UTC by shun
Modified: 2015-03-22 23:30 UTC (History)
0 users

See Also:


Attachments
Makefile with CPE information added (607 bytes, patch)
2015-03-03 22:18 UTC, shun
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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