0244b11597
chartjs 2.9.3 has a security vulnerability (CVE-2020-7746) which is not detected by the CVE scripts, presumably because our version variable starts with a 'v'. Move that 'v' prefix out of the version variable to fix that. Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
22 lines
691 B
Makefile
22 lines
691 B
Makefile
################################################################################
|
|
#
|
|
# chartjs
|
|
#
|
|
################################################################################
|
|
|
|
CHARTJS_VERSION = 2.9.3
|
|
CHARTJS_SITE = $(call github,chartjs,Chart.js,v$(CHARTJS_VERSION))
|
|
CHARTJS_LICENSE = MIT
|
|
CHARTJS_LICENSE_FILES = LICENSE.md
|
|
|
|
define CHARTJS_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -m 0644 -D $(@D)/dist/Chart.min.css \
|
|
$(TARGET_DIR)/var/www/chartjs/css/Chart.css
|
|
$(INSTALL) -m 0644 -D $(@D)/dist/Chart.min.js \
|
|
$(TARGET_DIR)/var/www/chartjs/js/Chart.js
|
|
$(INSTALL) -m 0644 -D $(@D)/dist/Chart.bundle.min.js \
|
|
$(TARGET_DIR)/var/www/chartjs/js/Chart.bundle.js
|
|
endef
|
|
|
|
$(eval $(generic-package))
|