Browse Source

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>
v19.07.3_mercusys_ac12_duma
Alexander Couzens 5 years ago
parent
commit
c61a239514
No known key found for this signature in database GPG Key ID: C29E9DA6A0DF8604
  1. 1
      package/boot/grub2/Makefile
  2. 1
      package/devel/binutils/Makefile
  3. 1
      package/devel/gdb/Makefile
  4. 1
      package/devel/strace/Makefile
  5. 1
      package/devel/valgrind/Makefile
  6. 1
      package/libs/elfutils/Makefile
  7. 1
      package/libs/gettext-full/Makefile
  8. 1
      package/libs/libevent2/Makefile
  9. 1
      package/libs/libjson-c/Makefile
  10. 1
      package/libs/libtool/Makefile
  11. 1
      package/libs/libunwind/Makefile
  12. 1
      package/libs/mbedtls/Makefile
  13. 1
      package/libs/openssl/Makefile
  14. 1
      package/libs/readline/Makefile
  15. 1
      package/libs/zlib/Makefile
  16. 1
      package/network/services/dnsmasq/Makefile
  17. 1
      package/network/services/dropbear/Makefile
  18. 1
      package/network/services/hostapd/Makefile
  19. 1
      package/network/services/openvpn/Makefile
  20. 1
      package/network/services/ppp/Makefile
  21. 1
      package/network/services/samba36/Makefile
  22. 1
      package/network/utils/conntrack-tools/Makefile
  23. 1
      package/network/utils/curl/Makefile
  24. 1
      package/network/utils/iproute2/Makefile
  25. 1
      package/network/utils/iptables/Makefile
  26. 1
      package/network/utils/iputils/Makefile
  27. 1
      package/network/utils/linux-atm/Makefile
  28. 1
      package/network/utils/tcpdump/Makefile
  29. 1
      package/utils/busybox/Makefile
  30. 1
      package/utils/bzip2/Makefile
  31. 1
      package/utils/e2fsprogs/Makefile
  32. 1
      package/utils/fuse/Makefile
  33. 1
      package/utils/util-linux/Makefile
  34. 1
      package/utils/xfsprogs/Makefile
  35. 1
      tools/automake/Makefile
  36. 1
      tools/cmake/Makefile
  37. 1
      tools/coreutils/Makefile
  38. 1
      tools/dosfstools/Makefile
  39. 1
      tools/e2fsprogs/Makefile
  40. 1
      tools/expat/Makefile
  41. 1
      tools/findutils/Makefile
  42. 1
      tools/flex/Makefile
  43. 1
      tools/libtool/Makefile
  44. 1
      tools/m4/Makefile
  45. 1
      tools/mpfr/Makefile
  46. 1
      tools/qemu/Makefile
  47. 1
      tools/squashfs/Makefile
  48. 1
      tools/squashfs4/Makefile
  49. 1
      tools/tar/Makefile

1
package/boot/grub2/Makefile

@ -9,6 +9,7 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=grub
PKG_CPE_ID:=cpe:/a:gnu:grub2
PKG_VERSION:=2.02
PKG_RELEASE:=1

1
package/devel/binutils/Makefile

@ -23,6 +23,7 @@ PKG_INSTALL:=1
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
PKG_LICENSE:=GPL-3.0+
PKG_CPE_ID:=cpe:/a:gnu:binutils
PKG_BUILD_PARALLEL:=1
PKG_USE_MIPS16:=0

1
package/devel/gdb/Makefile

@ -18,6 +18,7 @@ PKG_HASH:=3dbd5f93e36ba2815ad0efab030dcd0c7b211d7b353a40a53f4c02d7d56295e3
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
PKG_LICENSE:=GPL-3.0+
PKG_CPE_ID:=cpe:/a:gnu:gdb
include $(INCLUDE_DIR)/package.mk

1
package/devel/strace/Makefile

@ -19,6 +19,7 @@ PKG_SOURCE_URL:=@SF/$(PKG_NAME)
PKG_LICENSE:=BSD-3c
PKG_LICENSE_FILES:=COPYRIGHT
PKG_CPE_ID:=cpe:/a:paul_kranenburg:strace
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>

1
package/devel/valgrind/Makefile

@ -17,6 +17,7 @@ PKG_HASH:=d76680ef03f00cd5e970bbdcd4e57fb1f6df7d2e2c071635ef2be74790190c3b
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
PKG_LICENSE:=GPL-2.0+
PKG_CPE_ID:=cpe:/a:valgrind:valgrind
PKG_FIXUP = autoreconf
PKG_INSTALL := 1

1
package/libs/elfutils/Makefile

@ -17,6 +17,7 @@ PKG_HASH:=9412fac7b30872b738bc1ed1ebcaed54493c26ef9a67887913498c17b10f3bc2
PKG_MAINTAINER:=Luiz Angelo Daros de Luca <luizluca@gmail.com>
PKG_LICENSE:=GPL-3.0+
PKG_LICENSE_FILES:=COPYING COPYING-GPLV2 COPYING-LGPLV3
PKG_CPE_ID:=cpe:/a:elfutils_project:elfutils
PKG_INSTALL:=1
PKG_USE_MIPS16:=0

1
package/libs/gettext-full/Makefile

@ -19,6 +19,7 @@ HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/gettext-$(PKG_VERSION)
PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
PKG_LICENSE:=GPL-3.0+
PKG_CPE_ID:=cpe:/a:gnu:gettext
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1

1
package/libs/libevent2/Makefile

@ -17,6 +17,7 @@ PKG_SOURCE_URL:=@SF/levent
PKG_HASH:=71c2c49f0adadacfdbe6332a372c38cf9c8b7895bb73dabeaa53cdcc1d4e1fa3
PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
PKG_LICENSE:=BSD-3-Clause
PKG_CPE_ID:=cpe:/a:libevent_project:libevent
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1

1
package/libs/libjson-c/Makefile

@ -19,6 +19,7 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR)
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=COPYING
PKG_CPE_ID:=cpe:/a:json-c_project:json-c
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1

1
package/libs/libtool/Makefile

@ -17,6 +17,7 @@ PKG_HASH:=afcce660d3dc54c63a0a5ba3cf05272239dc3c54bbeba20f6bad250f9dc007ae
PKG_LICENSE:=GPL-2.0+
PKG_LICENSE_FILES:=COPYING
PKG_CPE_ID:=cpe:/a:gnu:libtool
PKG_BUILD_PARALLEL:=0

1
package/libs/libunwind/Makefile

@ -20,6 +20,7 @@ PKG_INSTALL:=1
PKG_LICENSE:=X11
PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:libunwind_project:libunwind
PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>

1
package/libs/mbedtls/Makefile

@ -18,6 +18,7 @@ PKG_HASH:=a99959d7360def22f9108d2d487c9de384fe76c349697176b1f22370080d5810
PKG_BUILD_PARALLEL:=1
PKG_LICENSE:=GPL-2.0+
PKG_CPE_ID:=cpe:/a:arm:mbed_tls
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk

1
package/libs/openssl/Makefile

@ -28,6 +28,7 @@ PKG_HASH:=8c6ff15ec6b319b50788f42c7abc2890c08ba5a1cdcd3810eb9092deada37b0f
PKG_LICENSE:=OpenSSL
PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:openssl:openssl
PKG_CONFIG_DEPENDS:= \
CONFIG_OPENSSL_ENGINE_CRYPTO \
CONFIG_OPENSSL_ENGINE_DIGEST \

1
package/libs/readline/Makefile

@ -17,6 +17,7 @@ PKG_HASH:=750d437185286f40a369e1e4f4764eda932b9459b5ec9a731628393dd3d32334
PKG_LICENSE:=GPL-3.0
PKG_LICENSE_FILES:=COPYING
PKG_CPE_ID:=cpe:/a:gnu:readline
PKG_BUILD_PARALLEL:=1
PKG_FIXUP:=autoreconf

1
package/libs/zlib/Makefile

@ -17,6 +17,7 @@ PKG_HASH:=4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066
PKG_LICENSE:=Zlib
PKG_LICENSE_FILES:=README
PKG_CPE_ID:=cpe:/a:gnu:zlib
include $(INCLUDE_DIR)/package.mk

1
package/network/services/dnsmasq/Makefile

@ -17,6 +17,7 @@ PKG_HASH:=89949f438c74b0c7543f06689c319484bd126cc4b1f8c745c742ab397681252b
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=COPYING
PKG_CPE_ID:=cpe:/a:thekelleys:dnsmasq
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)

1
package/network/services/dropbear/Makefile

@ -19,6 +19,7 @@ PKG_HASH:=6cbc1dcb1c9709d226dff669e5604172a18cf5dbf9a201474d5618ae4465098c
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE libtomcrypt/LICENSE libtommath/LICENSE
PKG_CPE_ID:=cpe:/a:matt_johnston:dropbear_ssh_server
PKG_BUILD_PARALLEL:=1
PKG_USE_MIPS16:=0

1
package/network/services/hostapd/Makefile

@ -17,6 +17,7 @@ PKG_MIRROR_HASH:=c6ad9a73fc1ae0ba8bc48f71cf14394b274bc9c2c1d1b53c2775f08312597e7
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
PKG_LICENSE:=BSD-3-Clause
PKG_CPE_ID:=cpe:/a:w1.fi:hostapd
PKG_BUILD_PARALLEL:=1

1
package/network/services/openvpn/Makefile

@ -25,6 +25,7 @@ PKG_INSTALL:=1
PKG_FIXUP:=autoreconf
PKG_BUILD_PARALLEL:=1
PKG_LICENSE:=GPL-2.0
PKG_CPE_ID:=cpe:/a:openvpn:openvpn
include $(INCLUDE_DIR)/package.mk

1
package/network/services/ppp/Makefile

@ -17,6 +17,7 @@ PKG_SOURCE_URL:=https://download.samba.org/pub/ppp/
PKG_HASH:=02e0a3dd3e4799e33103f70ec7df75348c8540966ee7c948e4ed8a42bbccfb30
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
PKG_LICENSE:=BSD-4-Clause
PKG_CPE_ID:=cpe:/a:samba:ppp
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)

1
package/network/services/samba36/Makefile

@ -18,6 +18,7 @@ PKG_HASH:=8f2c8a7f2bd89b0dfd228ed917815852f7c625b2bc0936304ac3ed63aaf83751
PKG_LICENSE:=GPL-3.0
PKG_LICENSE_FILES:=COPYING
PKG_CPE_ID:=cpe:/a:samba:samba
PKG_BUILD_PARALLEL:=1

1
package/network/utils/conntrack-tools/Makefile

@ -18,6 +18,7 @@ PKG_MIRROR_HASH:=1c207c3e423d741fbb31e3c29486a811e6dad493f26ec47a2df75b6262a1b4b
PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
PKG_LICENSE:=GPL-2.0
PKG_CPE_ID:=cpe:/a:conntrack-tools_project:conntrack-tools
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1

1
package/network/utils/curl/Makefile

@ -20,6 +20,7 @@ PKG_HASH:=2594670367875e7d87b0f129b5e4690150780884d90244ba0fe3e74a778b5f90
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=COPYING
PKG_CPE_ID:=cpe:/a:haxx:libcurl
PKG_FIXUP:=autoreconf
PKG_BUILD_PARALLEL:=1

1
package/network/utils/iproute2/Makefile

@ -17,6 +17,7 @@ PKG_HASH:=9cfb81edf8c8509e03daa77cf62aead01c4a827132f6c506578f94cc19415c50
PKG_BUILD_PARALLEL:=1
PKG_BUILD_DEPENDS:=iptables
PKG_LICENSE:=GPL-2.0
PKG_CPE_ID:=cpe:/a:iproute2_project:iproute2
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)

1
package/network/utils/iptables/Makefile

@ -22,6 +22,7 @@ PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
PKG_LICENSE:=GPL-2.0
PKG_CPE_ID:=cpe:/a:netfilter_core_team:iptables
include $(INCLUDE_DIR)/package.mk
ifeq ($(DUMP),)

1
package/network/utils/iputils/Makefile

@ -17,6 +17,7 @@ PKG_HASH:=fd3af46c80ebb99607c2ca1f2a3608b6fe828e25bbec6e54f2afd25f6ddb6ee7
PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
PKG_LICENSE:=GPL-2.0+
PKG_CPE_ID:=cpe:/a:skbuff:iputils
PKG_BUILD_DEPENDS:=sysfsutils
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-s$(PKG_VERSION)

1
package/network/utils/linux-atm/Makefile

@ -19,6 +19,7 @@ PKG_HASH:=9645481a2b16476b59220aa2d6bc5bc41043f291326c9b37581018fbd16dd53a
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
PKG_LICENSE:=GPL-2.0+
PKG_CPE_ID:=cpe:/a:linux-atm:linux-atm
PKG_FIXUP:=autoreconf
include $(INCLUDE_DIR)/package.mk

1
package/network/utils/tcpdump/Makefile

@ -21,6 +21,7 @@ PKG_BUILD_PARALLEL:=1
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
PKG_LICENSE:=BSD-3-Clause
PKG_CPE_ID:=cpe:/a:tcpdump:tcpdump
PKG_INSTALL:=1

1
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

1
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

1
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

1
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

1
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 \

1
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

1
tools/automake/Makefile

@ -7,6 +7,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=automake
PKG_CPE_ID:=cpe:/a:gnu:automake
PKG_VERSION:=1.15.1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz

1
tools/cmake/Makefile

@ -8,6 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=cmake
PKG_VERSION:=3.9.3
PKG_CPE_ID:=cpe:/a:kitware:cmake
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://cmake.org/files/v3.9/ \

1
tools/coreutils/Makefile

@ -7,6 +7,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=coreutils
PKG_CPE_ID:=cpe:/a:gnu:coreutils
PKG_VERSION:=8.27
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz

1
tools/dosfstools/Makefile

@ -8,6 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=dosfstools
PKG_CPE_ID:=cpe:/a:dosfstools_project:dosfstools
PKG_VERSION:=4.1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz

1
tools/e2fsprogs/Makefile

@ -8,6 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=e2fsprogs
PKG_CPE_ID:=cpe:/a:e2fsprogs_project:e2fsprogs
PKG_VERSION:=1.43.6
PKG_HASH:=c9b226234ee878a8d89951f3b155cec7416dd0ec09c932c855f1b1df8ad93402
PKG_RELEASE:=1

1
tools/expat/Makefile

@ -8,6 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=expat
PKG_CPE_ID:=cpe:/a:libexpat:expat
PKG_VERSION:=2.2.4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2

1
tools/findutils/Makefile

@ -7,6 +7,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=findutils
PKG_CPE_ID:=cpe:/a:gnu:findutils
PKG_VERSION:=4.6.0
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz

1
tools/flex/Makefile

@ -7,6 +7,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=flex
PKG_CPE_ID:=cpe:/a:flex_project:flex
PKG_VERSION:=2.6.4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz

1
tools/libtool/Makefile

@ -7,6 +7,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libtool
PKG_CPE_ID:=cpe:/a:gnu:libtool
PKG_VERSION:=2.4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz

1
tools/m4/Makefile

@ -7,6 +7,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=m4
PKG_CPE_ID:=cpe:/a:gnu:m4
PKG_VERSION:=1.4.18
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz

1
tools/mpfr/Makefile

@ -8,6 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=mpfr
PKG_VERSION:=3.1.6
PKG_CPE_ID:=cpe:/a:mpfr:gnu_mpfr
PKG_SOURCE_URL:=http://www.mpfr.org/mpfr-$(PKG_VERSION) \
@GNU/mpfr

1
tools/qemu/Makefile

@ -7,6 +7,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=qemu
PKG_CPE_ID:=cpe:/a:qemu:qemu
PKG_VERSION:=0.14.1
PKG_RELEASE:=1

1
tools/squashfs/Makefile

@ -7,6 +7,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=squashfs
PKG_CPE_ID:=cpe:/a:phillip_lougher:squashfs
PKG_VERSION:=3.0
PKG_SOURCE:=$(PKG_NAME)$(PKG_VERSION).tar.gz

1
tools/squashfs4/Makefile

@ -7,6 +7,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=squashfs4
PKG_CPE_ID:=cpe:/a:phillip_lougher:squashfs
PKG_VERSION:=4.2
PKG_SOURCE:=squashfs$(PKG_VERSION).tar.gz

1
tools/tar/Makefile

@ -7,6 +7,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=tar
PKG_CPE_ID:=cpe:/a:gnu:tar
PKG_VERSION:=1.29
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2

Loading…
Cancel
Save