git: 61fbacb8e363 - main - sysutils/plasma5-kinfocenter: Remove invalid CPE information

Bernhard Fröhlich decke at freebsd.org
Fri Aug 20 09:08:28 UTC 2021


On Fri, Aug 20, 2021 at 10:44 AM Adriaan de Groot <adridg at freebsd.org> wrote:
>
> Hi Bernhard,
>
> I see a mix of "Fix" and "Remove" commits around CPE information.
>
> On Friday, 20 August 2021 10:09:26 CEST Bernhard Froehlich wrote:
> >
> >     sysutils/plasma5-kinfocenter: Remove invalid CPE information
>
> > -USES=                cmake compiler:c++11-lib cpe gettext gl kde:5 pkgconfig
> \
> > +USES=                cmake compiler:c++11-lib gettext gl kde:5 pkgconfig \
>
>
>
> What drives your choice to remove, here, rather than fix? I've seen you also
> do
>
> +CPE_VENDOR=    kde
>
> which, IMO, would have been a better change. (I don't pretend to know what the
> CPE information is for or about, though)

Hi Adrian,

i've started working on correcting CPE information all over the
portstree like you have
already seen. Since this is a lot of work i've started to automate the
validation process
and also try to find "possible matches" for ports that don't have CPE
entries yet.

I've called it chkcpe and it's updated automatically via GitHub
Actions once a day with
the latest CPE data and the latest Portstree. Help is always welcome!

https://github.com/decke/chkcpe

Okay now in this particular case, the port plasma5-kinfocenter did
contain USES=cpe
but neither CPE_VENDOR nor CPE_PRODUCT and that combination could not be found
in the CPE Dictionary - so it was listed on the "invalid" page:

https://github.com/decke/chkcpe/wiki/invalid

This list is what I am currently working on but fixing is a manual
process where I try to
identify what is actually wrong. If I can find a matching product I
try to fix the entries but in
some cases I cannot then I remove USES=cpe like in this case.

-- 
Bernhard Froehlich
http://www.bluelife.at/


More information about the dev-commits-ports-main mailing list