Skip to contentSkip to conversation

package/ntpsec: fix CPE ID version

PATCH Applied Fabrice Fontaine 3 participants 3 messages Feb 24, 2023 – Mar 12, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/ntpsec: fix CPE ID version

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:*:*:*:*:*:*

---
 package/ntpsec/ntpsec.mk | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)
package/ntpsec/ntpsec.mk +3 -8
index c7fa2f85a8..e612e982ec 100644
@@ -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 \
Signature · 6 lines
2.39.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 9 lines · On Fri, 24 Feb 2023 17:57:53 +0100 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:*:*:*:*:*:*

---
 package/ntpsec/ntpsec.mk | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Fabrice Fontaine
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> 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:*:*:*:*:*:*

Committed to 2022.11.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot