Skip to content

Commit

Permalink
tools: assign PKG_CPE_ID
Browse files Browse the repository at this point in the history
The PKG_CPE_ID links to NIST CPE version 2.2.
Assign PKG_CPE_ID to all remaining tools which have a CPE ID.
Not every tool has CPE id.

Related: openwrt/packages#8534
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
  • Loading branch information
lynxis authored and Arne Zachlod committed Sep 27, 2023
1 parent 9431f36 commit ddc361f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/bison/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ PKG_VERSION:=3.7.4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
PKG_HASH:=a3b5813f48a11e540ef26f46e4d288c0c25c7907d9879ae50e430ec49f63c010
PKG_CPE_ID:=cpe:/a:gnu:bison

HOST_BUILD_PARALLEL:=1

Expand Down
1 change: 1 addition & 0 deletions tools/gmp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ PKG_VERSION:=6.2.1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GNU/gmp/
PKG_HASH:=fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2
PKG_CPE_ID:=cpe:/a:gmplib:gmp

HOST_FIXUP:=autoreconf

Expand Down
1 change: 1 addition & 0 deletions tools/mtd-utils/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=ftp://ftp.infradead.org/pub/mtd-utils/
PKG_HASH:=8ad4c5f34716d40646aa28724a2f5616d325a6f119254f914e26976f1f76e9d6
PKG_CPE_ID:=cpe:/a:mtd-utils_project:mtd-utils

PKG_FIXUP:=autoreconf

Expand Down
1 change: 1 addition & 0 deletions tools/sed/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ PKG_VERSION:=4.8
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
PKG_HASH:=f79b0cfea71b37a8eeec8490db6c5f7ae7719c35587f21edb0617f370eeff633
PKG_CPE_ID:=cpe:/a:gnu:sed
export SED:=

HOST_BUILD_PARALLEL:=1
Expand Down
1 change: 1 addition & 0 deletions tools/zip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ PKG_HASH:=f0e8bb1f9b7eb0b01285495a2699df3a4b766784c1765a8f1aeedf63c0806369

PKG_LICENSE:=BSD-4-Clause
PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:zip_project:zip

HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)-$(PKG_VERSION)/zip$(PKG_REV)
HOST_BUILD_PARALLEL:=1
Expand Down

0 comments on commit ddc361f

Please sign in to comment.