mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
- Santize filenames when files are loaded with loadAsync, to avoid "zip slip" attacks. The original filename is available on each zip entry as unsafeOriginalName. See the documentation. - Drop patch (already in version) - Update hash of license file (dual licensing clarification withf81c2d700d) - Update indentation in hash file (two spaces) https://github.com/Stuk/jszip/blob/v3.10.0/CHANGES.md Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commitfe522b9c17) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
19 lines
524 B
Makefile
19 lines
524 B
Makefile
################################################################################
|
|
#
|
|
# jszip
|
|
#
|
|
################################################################################
|
|
|
|
JSZIP_VERSION = 3.10.0
|
|
JSZIP_SITE = $(call github,Stuk,jszip,v$(JSZIP_VERSION))
|
|
JSZIP_LICENSE = MIT or GPL-3.0
|
|
JSZIP_LICENSE_FILES = LICENSE.markdown
|
|
JSZIP_CPE_ID_VENDOR = jszip_project
|
|
|
|
define JSZIP_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -m 0644 -D $(@D)/dist/jszip.min.js \
|
|
$(TARGET_DIR)/var/www/jszip/js/jszip.min.js
|
|
endef
|
|
|
|
$(eval $(generic-package))
|