* [Buildroot] [PATCH] package/aardvark-dns: add CPE identifier
@ 2025-07-27 19:25 Thomas Perale via buildroot
2025-07-28 20:47 ` Thomas Petazzoni via buildroot
2026-02-13 19:36 ` Thomas Perale via buildroot
0 siblings, 2 replies; 6+ messages in thread
From: Thomas Perale via buildroot @ 2025-07-27 19:25 UTC (permalink / raw)
To: buildroot
The cpe:2.3:a:containers:aardvark-dns:*:*:*:*:*:*:*:* is
valid for this package.
See https://nvd.nist.gov/products/cpe/detail/5F79D5CD-D716-4190-BE08-31EB5EEB233F
The CPE version strip the 'v' prefix from the version.
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
---
package/aardvark-dns/aardvark-dns.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/aardvark-dns/aardvark-dns.mk b/package/aardvark-dns/aardvark-dns.mk
index 1d2e06fd03..1394218fbc 100644
--- a/package/aardvark-dns/aardvark-dns.mk
+++ b/package/aardvark-dns/aardvark-dns.mk
@@ -11,5 +11,7 @@ AARDVARK_DNS_SITE_METHOD = git
AARDVARK_DNS_LICENSE = Apache-2.0
AARDVARK_DNS_LICENSE_FILES = LICENSE
+AARDVARK_DNS_CPE_ID_VENDOR = containers
+AARDVARK_DNS_CPE_ID_VERSION = $(subst v,,$(AARDVARK_DNS_VERSION))
$(eval $(cargo-package))
--
2.50.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH] package/aardvark-dns: add CPE identifier
2025-07-27 19:25 [Buildroot] [PATCH] package/aardvark-dns: add CPE identifier Thomas Perale via buildroot
@ 2025-07-28 20:47 ` Thomas Petazzoni via buildroot
2025-07-29 20:02 ` Thomas Perale via buildroot
2026-02-03 15:22 ` Julien Olivain via buildroot
2026-02-13 19:36 ` Thomas Perale via buildroot
1 sibling, 2 replies; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-07-28 20:47 UTC (permalink / raw)
To: Thomas Perale via buildroot; +Cc: Thomas Perale
Hello,
On Sun, 27 Jul 2025 21:25:37 +0200
Thomas Perale via buildroot <buildroot@buildroot.org> wrote:
> The cpe:2.3:a:containers:aardvark-dns:*:*:*:*:*:*:*:* is
> valid for this package.
>
> See https://nvd.nist.gov/products/cpe/detail/5F79D5CD-D716-4190-BE08-31EB5EEB233F
>
> The CPE version strip the 'v' prefix from the version.
>
> Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
even though, I would really prefer us to be able to have the _VERSION
field without the v prefix in the first place. Indeed your tricky with
AARDVARK_DNS_CPE_ID_VERSION works for the CVE matching, but it doesn't
work for release-monitoring.org matching.
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH] package/aardvark-dns: add CPE identifier
2025-07-28 20:47 ` Thomas Petazzoni via buildroot
@ 2025-07-29 20:02 ` Thomas Perale via buildroot
2025-07-30 8:27 ` Thomas Petazzoni via buildroot
2026-02-03 15:22 ` Julien Olivain via buildroot
1 sibling, 1 reply; 6+ messages in thread
From: Thomas Perale via buildroot @ 2025-07-29 20:02 UTC (permalink / raw)
To: Thomas Petazzoni; +Cc: Thomas Perale, Thomas Perale via buildroot
In reply of:
> Hello,
>
> On Sun, 27 Jul 2025 21:25:37 +0200
> Thomas Perale via buildroot <buildroot@buildroot.org> wrote:
>
> > The cpe:2.3:a:containers:aardvark-dns:*:*:*:*:*:*:*:* is
> > valid for this package.
> >
> > See https://nvd.nist.gov/products/cpe/detail/5F79D5CD-D716-4190-BE08-31EB5EEB233F
> >
> > The CPE version strip the 'v' prefix from the version.
> >
> > Signed-off-by: Thomas Perale <thomas.perale@mind.be>
>
> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
>
> even though, I would really prefer us to be able to have the _VERSION
> field without the v prefix in the first place. Indeed your tricky with
> AARDVARK_DNS_CPE_ID_VERSION works for the CVE matching, but it doesn't
> work for release-monitoring.org matching.
Hi Thomas,
Thanks for giving a look. I saw similar trick was used in a number of other
packages (icu, tinyxml, glibc).
If I'm not missing anything there are no way yet to define both the a
<pkg>_VERSION and <pkg>_DL_VERSION variable. See the following code from
pkg-generic.mk:
https://gitlab.com/buildroot.org/buildroot/-/blob/master/package/pkg-generic.mk#L491-500
If <pkg>_VERSION is defined it will always override <pkg>_DL_VERSION.
Defining the aardvark-dns version like this could be a solution to the issue
you raised but would require some changes in pkg-generic.mk
AARDVARK_DNS_VERSION = 1.15.0
AARDVARK_DNS_DL_VERSION = v$(AARDVARK_DNS_VERSION)
Or maybe some trick with the "<pkg>_SOURCE" variable ?
Regards,
Thomas.
>
> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering and training
> https://bootlin.com
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH] package/aardvark-dns: add CPE identifier
2025-07-29 20:02 ` Thomas Perale via buildroot
@ 2025-07-30 8:27 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-07-30 8:27 UTC (permalink / raw)
To: Thomas Perale; +Cc: Thomas Perale via buildroot, Yann E. MORIN
Hello,
+Yann in Cc.
On Tue, 29 Jul 2025 22:02:49 +0200
Thomas Perale <thomas.perale@mind.be> wrote:
> Thanks for giving a look. I saw similar trick was used in a number of other
> packages (icu, tinyxml, glibc).
>
> If I'm not missing anything there are no way yet to define both the a
> <pkg>_VERSION and <pkg>_DL_VERSION variable. See the following code from
> pkg-generic.mk:
>
> https://gitlab.com/buildroot.org/buildroot/-/blob/master/package/pkg-generic.mk#L491-500
>
> If <pkg>_VERSION is defined it will always override <pkg>_DL_VERSION.
>
> Defining the aardvark-dns version like this could be a solution to the issue
> you raised but would require some changes in pkg-generic.mk
>
> AARDVARK_DNS_VERSION = 1.15.0
> AARDVARK_DNS_DL_VERSION = v$(AARDVARK_DNS_VERSION)
Correct, that would be ideal, and I tried to implement exactly this a
while ago:
https://gitlab.com/tpetazzoni/buildroot/-/commits/dl-version?ref_type=heads
And didn't manage to get something that works fully (my patch series
has a test that verifies the different combinations, and the tests are
failing). I'm pretty sure I discussed my code with Yann E. Morin back
in the days, and our conclusion was that adding another variable was
probably needed to solve the issue, but it was a while ago, I don't
recall the exact details.
Best regards,
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH] package/aardvark-dns: add CPE identifier
2025-07-28 20:47 ` Thomas Petazzoni via buildroot
2025-07-29 20:02 ` Thomas Perale via buildroot
@ 2026-02-03 15:22 ` Julien Olivain via buildroot
1 sibling, 0 replies; 6+ messages in thread
From: Julien Olivain via buildroot @ 2026-02-03 15:22 UTC (permalink / raw)
To: Thomas Petazzoni; +Cc: Thomas Perale via buildroot, Thomas Perale
Hi Thomas and Thomas,
On 28/07/2025 22:47, Thomas Petazzoni via buildroot wrote:
> Hello,
>
> On Sun, 27 Jul 2025 21:25:37 +0200
> Thomas Perale via buildroot <buildroot@buildroot.org> wrote:
>
>> The cpe:2.3:a:containers:aardvark-dns:*:*:*:*:*:*:*:* is
>> valid for this package.
>>
>> See
>> https://nvd.nist.gov/products/cpe/detail/5F79D5CD-D716-4190-BE08-31EB5EEB233F
>>
>> The CPE version strip the 'v' prefix from the version.
>>
>> Signed-off-by: Thomas Perale <thomas.perale@mind.be>
>
> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
>
> even though, I would really prefer us to be able to have the _VERSION
> field without the v prefix in the first place. Indeed your tricky with
> AARDVARK_DNS_CPE_ID_VERSION works for the CVE matching, but it doesn't
> work for release-monitoring.org matching.
Until we have an generic infrastructure handling that, I applied this
patch
to master.
> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering and training
> https://bootlin.com
Best regards,
Julien.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH] package/aardvark-dns: add CPE identifier
2025-07-27 19:25 [Buildroot] [PATCH] package/aardvark-dns: add CPE identifier Thomas Perale via buildroot
2025-07-28 20:47 ` Thomas Petazzoni via buildroot
@ 2026-02-13 19:36 ` Thomas Perale via buildroot
1 sibling, 0 replies; 6+ messages in thread
From: Thomas Perale via buildroot @ 2026-02-13 19:36 UTC (permalink / raw)
To: Thomas Perale; +Cc: buildroot
In reply of:
> The cpe:2.3:a:containers:aardvark-dns:*:*:*:*:*:*:*:* is
> valid for this package.
>
> See https://nvd.nist.gov/products/cpe/detail/5F79D5CD-D716-4190-BE08-31EB5EEB233F
>
> The CPE version strip the 'v' prefix from the version.
>
> Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Applied to 2025.11.x. Thanks
> ---
> package/aardvark-dns/aardvark-dns.mk | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/package/aardvark-dns/aardvark-dns.mk b/package/aardvark-dns/aardvark-dns.mk
> index 1d2e06fd03..1394218fbc 100644
> --- a/package/aardvark-dns/aardvark-dns.mk
> +++ b/package/aardvark-dns/aardvark-dns.mk
> @@ -11,5 +11,7 @@ AARDVARK_DNS_SITE_METHOD = git
>
> AARDVARK_DNS_LICENSE = Apache-2.0
> AARDVARK_DNS_LICENSE_FILES = LICENSE
> +AARDVARK_DNS_CPE_ID_VENDOR = containers
> +AARDVARK_DNS_CPE_ID_VERSION = $(subst v,,$(AARDVARK_DNS_VERSION))
>
> $(eval $(cargo-package))
> --
> 2.50.1
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2026-02-13 19:37 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-27 19:25 [Buildroot] [PATCH] package/aardvark-dns: add CPE identifier Thomas Perale via buildroot
2025-07-28 20:47 ` Thomas Petazzoni via buildroot
2025-07-29 20:02 ` Thomas Perale via buildroot
2025-07-30 8:27 ` Thomas Petazzoni via buildroot
2026-02-03 15:22 ` Julien Olivain via buildroot
2026-02-13 19:36 ` Thomas Perale via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).