Created attachment 155454 [details] adding CPE information to Makefile ftp/horde-gollem has had vulnerabilities with a CPE identifier assigned (e.g. CVE-2010-3695). This patch adds CPE information as suggested in the FreeBSD wiki[0]. [0] https://wiki.freebsd.org/Ports/CPE
I disagree to this proposal. The CPE for horde-gollem is: cpe:/a:horde:gollem See here: http://www.security-database.com/cpe.php?detail=cpe:/a:horde:gollem&type=product If we do this it makes sense to add CPE entries for all horde applications.
A commit references this bug: Author: robak Date: Wed Apr 15 11:04:26 UTC 2015 New revision: 384042 URL: https://svnweb.freebsd.org/changeset/ports/384042 Log: ftp/horde-gollem: add CPE info PR: 199368 Submitted by: Shun <shun.fbsd.pr@dropcut.net> Approved by: portmgr blanket Changes: head/ftp/horde-gollem/Makefile
Given the Martin disagreement, I've reversed that commit. Martin, do you have an alternate patch?
A commit references this bug: Author: robak Date: Wed Apr 15 11:14:30 UTC 2015 New revision: 384044 URL: https://svnweb.freebsd.org/changeset/ports/384044 Log: ftp/horde-gollem: revert the CPE info commit due to mm@ disapproval PR: 199368 Approved by: mm Changes: head/ftp/horde-gollem/Makefile
A commit references this bug: Author: mm Date: Wed Apr 15 11:29:33 UTC 2015 New revision: 384045 URL: https://svnweb.freebsd.org/changeset/ports/384045 Log: Add CVE information to all Horde applications PR: 199368 Changes: head/deskutils/horde-groupware/Makefile head/deskutils/horde-kronolith/Makefile head/deskutils/horde-mnemo/Makefile head/deskutils/horde-nag/Makefile head/devel/horde-content/Makefile head/devel/horde-whups/Makefile head/ftp/horde-gollem/Makefile head/mail/horde-imp/Makefile head/mail/horde-ingo/Makefile head/mail/horde-turba/Makefile head/mail/horde-webmail/Makefile head/www/horde-ansel/Makefile head/www/horde-base/Makefile head/www/horde-passwd/Makefile head/www/horde-trean/Makefile head/www/horde-wicked/Makefile
(In reply to Bartek Rutkowski from comment #3) Yes, I have added CPE_VENDOR?=horde to Uses/horde.mk in r384043 and enabled CPE for all Horde Applications in r384045. This should close this ticket.
(In reply to Martin Matuska from comment #6) Are you sure the latest commit is correct? If the proper CPE is horde:gollem, then I now can see it being expanded as 'cpe:2.3:a:gollem:gollem:3.0.3:::::freebsd11:x64' when doing make -V CPE_STR.
Did you apply r384043 in your testing environment, too? Because my CPE_STR is correct.
Yes, I can see the CPE_STR correct now, so I am closing this PR.