d0f7b241d4
Fixes the following security issues: * Fix CVE-2018-9154 https://github.com/jasper-software/jasper/issues/215 https://github.com/jasper-software/jasper/issues/166 https://github.com/jasper-software/jasper/issues/175 https://github.com/jasper-maint/jasper/issues/8 * Fix CVE-2018-19541 https://github.com/jasper-software/jasper/pull/199 https://github.com/jasper-maint/jasper/issues/6 * Fix CVE-2016-9399, CVE-2017-13751 https://github.com/jasper-maint/jasper/issues/1 * Fix CVE-2018-19540 https://github.com/jasper-software/jasper/issues/182 https://github.com/jasper-maint/jasper/issues/22 * Fix CVE-2018-9055 https://github.com/jasper-maint/jasper/issues/9 * Fix CVE-2017-13748 https://github.com/jasper-software/jasper/issues/168 * Fix CVE-2017-5503, CVE-2017-5504, CVE-2017-5505 https://github.com/jasper-maint/jasper/issues/3 https://github.com/jasper-maint/jasper/issues/4 https://github.com/jasper-maint/jasper/issues/5 https://github.com/jasper-software/jasper/issues/88 https://github.com/jasper-software/jasper/issues/89 https://github.com/jasper-software/jasper/issues/90 * Fix CVE-2018-9252 https://github.com/jasper-maint/jasper/issues/16 * Fix CVE-2018-19139 https://github.com/jasper-maint/jasper/issues/14 * Fix CVE-2018-19543, CVE-2017-9782 https://github.com/jasper-maint/jasper/issues/13 https://github.com/jasper-maint/jasper/issues/18 https://github.com/jasper-software/jasper/issues/140 https://github.com/jasper-software/jasper/issues/182 * Fix CVE-2018-20570 https://github.com/jasper-maint/jasper/issues/11 https://github.com/jasper-software/jasper/issues/191 * Fix CVE-2018-20622 https://github.com/jasper-maint/jasper/issues/12 https://github.com/jasper-software/jasper/issues/193 * Fix CVE-2016-9398 https://github.com/jasper-maint/jasper/issues/10 * Fix CVE-2017-14132 https://github.com/jasper-maint/jasper/issues/17 * Fix CVE-2017-5499 https://github.com/jasper-maint/jasper/issues/2 https://github.com/jasper-software/jasper/issues/63 * Fix CVE-2018-18873 https://github.com/jasper-maint/jasper/issues/15 https://github.com/jasper-software/jasper/issues/184 * Fix CVE-2017-13750 https://github.com/jasper-software/jasper/issues/165 https://github.com/jasper-software/jasper/issues/174 Furthermore, drop now upstreamed patches and change to the new jasper-software upstream location. Signed-off-by: Michael Vetter <jubalh@iodoru.org> [Peter: reword for security bump] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
37 lines
935 B
Makefile
37 lines
935 B
Makefile
################################################################################
|
|
#
|
|
# jasper
|
|
#
|
|
################################################################################
|
|
|
|
JASPER_VERSION = 2.0.19
|
|
JASPER_SITE = $(call github,jasper-software,jasper,version-$(JASPER_VERSION))
|
|
JASPER_INSTALL_STAGING = YES
|
|
JASPER_LICENSE = JasPer-2.0
|
|
JASPER_LICENSE_FILES = LICENSE
|
|
JASPER_SUPPORTS_IN_SOURCE_BUILD = NO
|
|
JASPER_CONF_OPTS = \
|
|
-DCMAKE_DISABLE_FIND_PACKAGE_DOXYGEN=TRUE \
|
|
-DCMAKE_DISABLE_FIND_PACKAGE_LATEX=TRUE
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
JASPER_CONF_OPTS += -DJAS_ENABLE_SHARED=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_JPEG),y)
|
|
JASPER_CONF_OPTS += -DJAS_ENABLE_LIBJPEG=ON
|
|
JASPER_DEPENDENCIES += jpeg
|
|
else
|
|
JASPER_CONF_OPTS += -DJAS_ENABLE_LIBJPEG=OFF
|
|
endif
|
|
|
|
JASPER_CFLAGS = $(TARGET_CFLAGS)
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y)
|
|
JASPER_CFLAGS += -O0
|
|
endif
|
|
|
|
JASPER_CONF_OPTS += -DCMAKE_C_FLAGS="$(JASPER_CFLAGS)"
|
|
|
|
$(eval $(cmake-package))
|