ae79f0f403
Fix CVE-2021-21252: The jQuery Validation Plugin provides drop-in validation for your existing forms. It is published as an npm package "jquery-validation". jquery-validation before version 1.19.3 contains one or more regular expressions that are vulnerable to ReDoS (Regular Expression Denial of Service). Update hash of README.md due to changes not related to license https://github.com/jquery-validation/jquery-validation/releases/tag/1.19.3 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
25 lines
909 B
Makefile
25 lines
909 B
Makefile
################################################################################
|
|
#
|
|
# jquery-validation
|
|
#
|
|
################################################################################
|
|
|
|
JQUERY_VALIDATION_VERSION = 1.19.3
|
|
JQUERY_VALIDATION_SITE = https://github.com/jquery-validation/jquery-validation/releases/download/$(JQUERY_VALIDATION_VERSION)
|
|
JQUERY_VALIDATION_SOURCE = jquery-validation-$(JQUERY_VALIDATION_VERSION).zip
|
|
JQUERY_VALIDATION_LICENSE = MIT
|
|
JQUERY_VALIDATION_LICENSE_FILES = README.md
|
|
JQUERY_VALIDATION_CPE_ID_VENDOR = jqueryvalidation
|
|
JQUERY_VALIDATION_CPE_ID_PRODUCT = jquery_validation
|
|
|
|
define JQUERY_VALIDATION_EXTRACT_CMDS
|
|
$(UNZIP) -d $(@D) $(JQUERY_VALIDATION_DL_DIR)/$(JQUERY_VALIDATION_SOURCE)
|
|
endef
|
|
|
|
define JQUERY_VALIDATION_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -m 0644 -D $(@D)/dist/jquery.validate.min.js \
|
|
$(TARGET_DIR)/var/www/jquery.validate.js
|
|
endef
|
|
|
|
$(eval $(generic-package))
|