Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2021 11:08:11 +0200
From:      =?UTF-8?Q?Bernhard_Fr=C3=B6hlich?= <decke@freebsd.org>
To:        Adriaan de Groot <adridg@freebsd.org>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org,  dev-commits-ports-main@freebsd.org
Subject:   Re: git: 61fbacb8e363 - main - sysutils/plasma5-kinfocenter: Remove invalid CPE information
Message-ID:  <CAE-m3X0r9YO0KmFGVHdiu2XsXD-2POAkqYhS4tBxumZN2O32gA@mail.gmail.com>
In-Reply-To: <2444832.0dHE6SNnxz@beastie.bionicmutton.org>
References:  <202108200809.17K89QLe089791@gitrepo.freebsd.org> <2444832.0dHE6SNnxz@beastie.bionicmutton.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 20, 2021 at 10:44 AM Adriaan de Groot <adridg@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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-m3X0r9YO0KmFGVHdiu2XsXD-2POAkqYhS4tBxumZN2O32gA>