Date: Mon, 11 Oct 2021 21:43:51 +0200 From: =?UTF-8?Q?Bernhard_Fr=C3=B6hlich?= <decke@freebsd.org> To: Max Brazhnikov <makc@freebsd.org> Cc: "ports-committers@freebsd.org" <ports-committers@freebsd.org>, "dev-commits-ports-all@freebsd.org" <dev-commits-ports-all@freebsd.org>, "dev-commits-ports-main@freebsd.org" <dev-commits-ports-main@freebsd.org> Subject: Re: git: a90e961f4d19 - main - */*: Avoid extra CPE_VENDOR=kde by properly sorting USES Message-ID: <CAE-m3X2o-nDLrvK4g8w0Mqsy5fXF2Pix1YR-TK=m-yrL2Du8JQ@mail.gmail.com> In-Reply-To: <3067458.bT80LyP3VS@mercury> References: <202110111458.19BEw4xF062545@gitrepo.freebsd.org> <3067458.bT80LyP3VS@mercury>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000d7041f05ce18f234 Content-Type: text/plain; charset="UTF-8" On Monday, October 11, 2021, Max Brazhnikov <makc@freebsd.org> wrote: > On Mon, 11 Oct 2021 14:58:04 GMT Bernhard Froehlich wrote: > > The branch main has been updated by decke: > > > > URL: https://cgit.FreeBSD.org/ports/commit/?id= > a90e961f4d19d53621612d1257a77a5635906ee0 > > > > commit a90e961f4d19d53621612d1257a77a5635906ee0 > > Author: Bernhard Froehlich <decke@FreeBSD.org> > > AuthorDate: 2021-10-11 14:53:15 +0000 > > Commit: Bernhard Froehlich <decke@FreeBSD.org> > > CommitDate: 2021-10-11 14:57:51 +0000 > > > > */*: Avoid extra CPE_VENDOR=kde by properly sorting USES > > > > CPE_VENDOR=kde is already set in Uses/kde.mk so adding cpe after > > kde in our USES line makes sure that it's picked up properly. > > I believe you shouldn't rely on USES order, it will be broken sooner or > later. > Doesn't matter much since CPE data is a moving target anyway. To handle that I created chkcpe [1] which automatically analyzes the portstree once a day and verifies the CPE data it finds. In this particular case it will detect a invalid CPE vendor/product and will list the port under "invalid". There are similar cases like port rename, " repocopy" etc. which can also easily lead to invalid CPE data. [1] https://github.com/decke/chkcpe -- Bernhard Froehlich http://www.bluelife.at/ --000000000000d7041f05ce18f234--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-m3X2o-nDLrvK4g8w0Mqsy5fXF2Pix1YR-TK=m-yrL2Du8JQ>