[Buildroot] [PATCH 1/1] package/libtorrent-rasterbar: add CPE variables

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Jan 23 22:45:22 UTC 2021


On Sat, 23 Jan 2021 23:19:56 +0100
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:

> cpe:2.3:a:libtorrent:libtorrent is a valid CPE identifier for this
> package:
> 
>   https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Alibtorrent%3Alibtorrent
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
>  package/libtorrent-rasterbar/libtorrent-rasterbar.mk | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/package/libtorrent-rasterbar/libtorrent-rasterbar.mk b/package/libtorrent-rasterbar/libtorrent-rasterbar.mk
> index de8c122520..7f60252e9b 100644
> --- a/package/libtorrent-rasterbar/libtorrent-rasterbar.mk
> +++ b/package/libtorrent-rasterbar/libtorrent-rasterbar.mk
> @@ -9,6 +9,8 @@ LIBTORRENT_RASTERBAR_SITE = \
>  	https://github.com/arvidn/libtorrent/releases/download/v$(LIBTORRENT_RASTERBAR_VERSION)
>  LIBTORRENT_RASTERBAR_LICENSE = BSD-3-Clause
>  LIBTORRENT_RASTERBAR_LICENSE_FILES = COPYING
> +LIBTORRENT_RASTERBAR_CPE_ID_VENDOR = libtorrent
> +LIBTORRENT_RASTERBAR_CPE_ID_PRODUCT = libtorrent

We also have package/libtorrent/ in Buildroot. How do we know for sure
that the libtorrent:libtorrent CPE ID applies to
package/libtorrent-rasterbar/ ? Yes indeed, the latest CPE ID known for
libtorrent:libtorrent is 1.2.2, which is pretty close to the 1.2.12 we
have in Buildroot for libtorrent-rasterbar. But other than that ?

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list