Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/ntpsec: fix CPE ID version
@ 2023-02-24 16:57 Fabrice Fontaine
  2023-02-25  9:40 ` Thomas Petazzoni via buildroot
  2023-03-12 18:49 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2023-02-24 16:57 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

CPE ID is wrong since the addition of the package in commit
27b8d0ba8c4004819e092fb81c0f64f284b3aa4a, the correct CPE ID is
cpe:2.3:a:ntpsec:ntpsec:1.2.2:*:*:*:*:*:*:*, not
cpe:2.3:a:ntpsec:ntpsec:1.2:2:*:*:*:*:*:*

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/ntpsec/ntpsec.mk | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/package/ntpsec/ntpsec.mk b/package/ntpsec/ntpsec.mk
index c7fa2f85a8..e612e982ec 100644
--- a/package/ntpsec/ntpsec.mk
+++ b/package/ntpsec/ntpsec.mk
@@ -4,12 +4,9 @@
 #
 ################################################################################
 
-NTPSEC_VERSION_MAJOR = 1
-NTPSEC_VERSION_MINOR = 2
-NTPSEC_VERSION_POINT = 2
-NTPSEC_VERSION = $(NTPSEC_VERSION_MAJOR)_$(NTPSEC_VERSION_MINOR)_$(NTPSEC_VERSION_POINT)
-NTPSEC_SOURCE = ntpsec-NTPsec_$(NTPSEC_VERSION).tar.bz2
-NTPSEC_SITE = https://gitlab.com/NTPsec/ntpsec/-/archive/NTPsec_$(NTPSEC_VERSION)
+NTPSEC_VERSION = 1.2.2
+NTPSEC_SOURCE = ntpsec-NTPsec_$(subst .,_,$(NTPSEC_VERSION)).tar.bz2
+NTPSEC_SITE = https://gitlab.com/NTPsec/ntpsec/-/archive/NTPsec_$(subst .,_,$(NTPSEC_VERSION))
 NTPSEC_LICENSE = BSD-2-Clause, NTP, BSD-3-Clause, MIT, CC-BY-4.0 (docs)
 NTPSEC_LICENSE_FILES = \
 	LICENSES/BSD-2 \
@@ -20,8 +17,6 @@ NTPSEC_LICENSE_FILES = \
 	docs/copyright.adoc
 
 NTPSEC_CPE_ID_VENDOR = ntpsec
-NTPSEC_CPE_ID_VERSION = $(NTPSEC_VERSION_MAJOR).$(NTPSEC_VERSION_MINOR)
-NTPSEC_CPE_ID_UPDATE = $(NTPSEC_VERSION_POINT)
 
 NTPSEC_DEPENDENCIES = \
 	host-bison \
-- 
2.39.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/ntpsec: fix CPE ID version
  2023-02-24 16:57 [Buildroot] [PATCH 1/1] package/ntpsec: fix CPE ID version Fabrice Fontaine
@ 2023-02-25  9:40 ` Thomas Petazzoni via buildroot
  2023-03-12 18:49 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-02-25  9:40 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

On Fri, 24 Feb 2023 17:57:53 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> CPE ID is wrong since the addition of the package in commit
> 27b8d0ba8c4004819e092fb81c0f64f284b3aa4a, the correct CPE ID is
> cpe:2.3:a:ntpsec:ntpsec:1.2.2:*:*:*:*:*:*:*, not
> cpe:2.3:a:ntpsec:ntpsec:1.2:2:*:*:*:*:*:*
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/ntpsec/ntpsec.mk | 11 +++--------
>  1 file changed, 3 insertions(+), 8 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/ntpsec: fix CPE ID version
  2023-02-24 16:57 [Buildroot] [PATCH 1/1] package/ntpsec: fix CPE ID version Fabrice Fontaine
  2023-02-25  9:40 ` Thomas Petazzoni via buildroot
@ 2023-03-12 18:49 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2023-03-12 18:49 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > CPE ID is wrong since the addition of the package in commit
 > 27b8d0ba8c4004819e092fb81c0f64f284b3aa4a, the correct CPE ID is
 > cpe:2.3:a:ntpsec:ntpsec:1.2.2:*:*:*:*:*:*:*, not
 > cpe:2.3:a:ntpsec:ntpsec:1.2:2:*:*:*:*:*:*

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2022.11.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-03-12 18:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-24 16:57 [Buildroot] [PATCH 1/1] package/ntpsec: fix CPE ID version Fabrice Fontaine
2023-02-25  9:40 ` Thomas Petazzoni via buildroot
2023-03-12 18:49 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox