summaryrefslogtreecommitdiff
path: root/package/utils
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2017-09-28 04:55:46 +0200
committerAlexander Couzens <lynxis@fe80.eu>2017-11-17 02:24:35 +0100
commitc61a2395140d92cdd37d3d6ee43a765427e8e318 (patch)
tree4d177012095867327963ef7c18e60dbc273a4b17 /package/utils
parenta479c79818cb9fe3913128f94340aebdfb732111 (diff)
downloadmtk-20170518-c61a2395140d92cdd37d3d6ee43a765427e8e318.zip
mtk-20170518-c61a2395140d92cdd37d3d6ee43a765427e8e318.tar.gz
mtk-20170518-c61a2395140d92cdd37d3d6ee43a765427e8e318.tar.bz2
add PKG_CPE_ID ids to package and tools
CPE ids helps to tracks CVE in packages. https://cpe.mitre.org/specification/ Thanks to swalker for CPE to package mapping and keep tracking CVEs. Acked-by: Jo-Philipp Wich <jo@mein.io> Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'package/utils')
-rw-r--r--package/utils/busybox/Makefile1
-rw-r--r--package/utils/bzip2/Makefile1
-rw-r--r--package/utils/e2fsprogs/Makefile1
-rw-r--r--package/utils/fuse/Makefile1
-rw-r--r--package/utils/util-linux/Makefile1
-rw-r--r--package/utils/xfsprogs/Makefile1
6 files changed, 6 insertions, 0 deletions
diff --git a/package/utils/busybox/Makefile b/package/utils/busybox/Makefile
index 35f63d9..0734b52 100644
--- a/package/utils/busybox/Makefile
+++ b/package/utils/busybox/Makefile
@@ -23,6 +23,7 @@ PKG_CHECK_FORMAT_SECURITY:=0
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=LICENSE archival/libarchive/bz/LICENSE
+PKG_CPE_ID:=cpe:/a:busybox:busybox
include $(INCLUDE_DIR)/package.mk
diff --git a/package/utils/bzip2/Makefile b/package/utils/bzip2/Makefile
index 62c255a..4c8b360 100644
--- a/package/utils/bzip2/Makefile
+++ b/package/utils/bzip2/Makefile
@@ -18,6 +18,7 @@ PKG_MAINTAINER:=Steven Barth <cyrus@openwrt.org>
PKG_LICENSE:=BZIP2
PKG_LICENSE_FILES:=LICENSE
+PKG_CPE_ID:=cpe:/a:bzip:bzip2
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/package.mk
diff --git a/package/utils/e2fsprogs/Makefile b/package/utils/e2fsprogs/Makefile
index c327e5d..141bdf3 100644
--- a/package/utils/e2fsprogs/Makefile
+++ b/package/utils/e2fsprogs/Makefile
@@ -15,6 +15,7 @@ PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@KERNEL/linux/kernel/people/tytso/e2fsprogs/v$(PKG_VERSION)/
PKG_LICENSE:=GPL-2.0
+PKG_CPE_ID:=cpe:/a:e2fsprogs_project:e2fsprogs
PKG_BUILD_DEPENDS:=util-linux
PKG_INSTALL:=1
diff --git a/package/utils/fuse/Makefile b/package/utils/fuse/Makefile
index d0cefff..e853a8e 100644
--- a/package/utils/fuse/Makefile
+++ b/package/utils/fuse/Makefile
@@ -18,6 +18,7 @@ PKG_HASH:=832432d1ad4f833c20e13b57cf40ce5277a9d33e483205fc63c78111b3358874
PKG_LICENSE:=LGPLv2.1 GPLv2
PKG_LICENSE_FILES:=COPYING.LIB COPYING
+PKG_CPE_ID:=cpe:/a:fuse_project:fuse
PKG_INSTALL:=1
diff --git a/package/utils/util-linux/Makefile b/package/utils/util-linux/Makefile
index 7b0a89b..88cb314 100644
--- a/package/utils/util-linux/Makefile
+++ b/package/utils/util-linux/Makefile
@@ -14,6 +14,7 @@ PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@KERNEL/linux/utils/$(PKG_NAME)/v2.30
PKG_HASH:=7b5be5489e9b5b7177832836467aba1c87bf0e9bcbcb5a6f35d76cd4782589dc
+PKG_CPE_ID:=cpe:/a:kernel:util-linux
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:= COPYING \
diff --git a/package/utils/xfsprogs/Makefile b/package/utils/xfsprogs/Makefile
index 486ded7..5cf1da2 100644
--- a/package/utils/xfsprogs/Makefile
+++ b/package/utils/xfsprogs/Makefile
@@ -8,6 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=xfsprogs
+PKG_CPE_ID:=cpe:/a:sgi:xfsprogs
PKG_RELEASE:=1
PKG_VERSION:=4.11.0
PKG_SOURCE_URL:=@KERNEL/linux/utils/fs/xfs/xfsprogs