head 1.4; access; symbols pkgsrc-2026Q1:1.4.0.18 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.16 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.14 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.12 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.10 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.8 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.6 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.4 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.2 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.3.0.14 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.12 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.10 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.8 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.6 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.3.0.4 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.2 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.2.0.44 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.42 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.40 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.38 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.36 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.34 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.32 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.28 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.8 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.30 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.26 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.24 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.22 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.20 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.18 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.16 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.14 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.12 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.10 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.6 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.4 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.2 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.1.0.20 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.18 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.16 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.14 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.12 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.10 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.8 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.6 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.4 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.2 pkgsrc-2014Q2-base:1.1; locks; strict; comment @# @; 1.4 date 2024.02.26.18.15.43; author adam; state Exp; branches; next 1.3; commitid yZIw6aPDImn6iYZE; 1.3 date 2022.05.15.19.24.11; author adam; state Exp; branches; next 1.2; commitid VWwL3XoD4GSXCbED; 1.2 date 2016.10.04.19.27.10; author adam; state Exp; branches; next 1.1; commitid G4EnVtkj8dM2vRoz; 1.1 date 2014.05.15.14.14.54; author adam; state Exp; branches 1.1.20.1; next ; commitid 8nciQORkjLgnPDAx; 1.1.20.1 date 2016.10.16.14.44.11; author spz; state Exp; branches; next ; commitid 4aPb0KdB52AFynqz; desc @@ 1.4 log @openjpeg: updated to 2.5.1 OpenJPEG 2.5.1 (Feb 2024) No API/ABI break compared to v2.5.0 CMake: drop support for cmake < 3.5 Several bugfixes, including CVE-2021-3575 Significant speed-up rate allocation by rate/distoratio ratio @ text @$NetBSD: patch-src_lib_openjp2_CMakeLists.txt,v 1.3 2022/05/15 19:24:11 adam Exp $ Install man pages without building other docs. --- src/lib/openjp2/CMakeLists.txt.orig 2024-02-26 14:17:28.000000000 +0000 +++ src/lib/openjp2/CMakeLists.txt @@@@ -124,12 +124,10 @@@@ install(FILES openjpeg.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${OPENJPEG_INSTALL_SUBDIR} COMPONENT Headers ) -if(BUILD_DOC) # install man page of the library install( FILES ${OPENJPEG_SOURCE_DIR}/doc/man/man3/libopenjp2.3 DESTINATION ${CMAKE_INSTALL_MANDIR}/man3) -endif() if(BUILD_LUTS_GENERATOR) # internal utility to generate t1_luts.h and t1_ht_luts.h (part of the jp2 lib) @ 1.3 log @openjpeg: updated to 2.5.0 v2.5.0 Merged pull requests: tools/travis-ci/install.sh: git clone with https:// to fix 'The unaut… Java Support 1.8 now... Separate fuzz targets to increase coverage CMakeLists.txt: do not set INSTALL_NAME_DIR for MacOS builds for CMake >= 3.0 (fixes Avoid integer overflows in DWT. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=44544 Updated "added support for partial bitstream decoding" opj_encoder_set_extra_options(): add a GUARD_BITS=value option More overflow related bug fixes opj_j2k_setup_encoder(): validate number of tiles to avoid illegal values and potential overflow (fixes Missed conversion from unsigned int to OPJ_INT32 Added check for integer overflow in get_num_images Added overflow check for CVE-2021-29338 Fix integer overflow in num_images Remove duplicate assignments in function tiftoimage Fix some typos (found by codespell) CI: Add CIFuzz action Feature/decimation API: deprecate 'bpp' member in favor of 'prec' Added support for high throughput (HTJ2K) decoding. verify-indentation.sh: fix for pull request from bar/master to foo/master Change integer for version libtiff 4.3.0 Port continuous integration to github actions Avoid integer overflows in DWT. LGTM warning: Comparison result is always the same A couple typos found by codespell cmake: add install interface include directory fix issues 1368: exist a issues of freeing uninitialized pointer in src/bin/jp2/opj_decompress.c,that will cause a segfault opj_j2k_is_imf_compliant: Fix out of bounds access opj_j2k_is_imf_compliant: Fix argument formatting for warnings. CMakeLists.txt/appveyor.yml: update version number to 2.5.0… .travis.yml: try to fix gcc 4.8 config by updating to xenial Add support for enabling generation of TLM markers in encoder Fix various compiler warnings fix Remove obsolete components JPWL, JP3D and MJ2 tools/travis-ci/install.sh: fix links to Kakadu and jpylyzer binaries emscripten: disable big endian test Fix cmake file with DESTDIR CMakeLists.txt: Don't require a C++ compiler Import files tiff and yuv(raw) Fix year in NEWS Fix lcms2 static linking using pgk config fix static build only against tiff and its indirect dependencies Closed issues: integer constant is too large for 'long' type Openjpeg3D lossy compression not working mj2: Array overflow OPJ fails to decode image that KDU manages correctly yuvtoimage() bug in v1 and v2 for 16-Bit: please apply ASAP JP3D: Fix CVE-2013-4289 CVE-2013-4290 MJ2 libraries are installed in lib MJ2: realloc is misused and may leak memory MJ2 wrapper not functional JPWL is broken in trunk MJ2 files not using OPENJPEG API correctly Maximum bit depth supported by the OpenJPEG implementation of JP3D does openjpeg support either visually lossless or numerically lossless jpeg2000 compression? extract jpeg2000 tile without decompression openjpeg doesn't install a relocatable shared lib on macOS pull request - the cinema industry awaits! Integer overflows in j2K why lossly compression performance worse than jpeg when compress png? cect the docs don't describe bpp and prec in opj_image_comp very well converting .png to .jp2 by opj_compress is different from the original image Comparison result is always the same Exist a issues of freeing uninitialized pointer in src/bin/jp2/opj_decompress.c,that will cause a segfault [TEST NOT RUNNING]: bigendian test opj_decompress 2.4.0 built with library 2.3.0. New library htjpeg2000 Integer Overflow in num_images All IMF Profile Selections Result in PART1 grayscale image error C2169: 'lrintf': intrinsic function, cannot be defined Generate lower-case extension color of reconstructed png file much darker CVE-2019-6988, CVE-2018-20846 and CVE-2018-16376 opj 2.4.0: opj_free missing in opj3d Not able to compress volumetric data HTML documents are not installed in specified place Can't find openjpeg.h when cross-compile. OpenJPEG is available with EasyConfig Building Test Programs Builds are not reproducible strange behaviour of opj_jp3d_compress/decompress utility Potential heap-based buffer overflow in function t2_encode_packet in src/lib/openmj2/t2.c and src/lib/openjp3d/t2.c Function tgatoimage in src/bin/jpwl/convert.c need to check that the file is big enough to avoid excessive memory allocations memory & cpu are exhausted when converting jp2 file into png Cannot compress PGX into JP3D despite following the directions? sscanf buffer overflow in opj_jp3d_compress.c integer underflow may lead to writing garbage sscanf buffer overflow strcpy overflows sprintf buffer overflows strcpy buffer overflow integer overflow in malloc() out of bounds writes out of bounds writes divide by zero, perhaps multiplication overflow missing format string parameter leaks from cppcheck in lib folder How to initialize DEBUG_PROFILE in color.c? JP3D sample files BIG_ENDIAN bug in jpwl.c OpenJPEG fails to decode partial j2c where kdu succeeds building mj2 binaries fails openmj2\mj2.c: Out of bounds bin\mj2\opj_mj2_decompress.c 101 wrong check / leak @ text @d1 1 a1 1 $NetBSD: patch-src_lib_openjp2_CMakeLists.txt,v 1.2 2016/10/04 19:27:10 adam Exp $ d5 1 a5 1 --- src/lib/openjp2/CMakeLists.txt.orig 2022-05-13 16:54:29.000000000 +0000 d7 2 a8 2 @@@@ -127,12 +127,10 @@@@ install(FILES openjpeg.h opj_stdint.h DESTINATION ${OPENJPEG_INSTALL_INCLUDE_DIR} COMPONENT Headers d15 1 a15 1 DESTINATION ${OPENJPEG_INSTALL_MAN_DIR}/man3) @ 1.2 log @v2.1.2 (2016-09-28) Closed issues: null ptr dereference in convert.c:1331 Out-of-Bounds Read in function bmp24toimage of convertbmp.c Disable automatic compilation of t1_generate_luts in CMakeLists.txt CVE-2016-7163 Integer overflow in opj_pi_create_decode Security Advisory for OpenJPEG Add dashboard with static lib hidden visibility for the static library / building with -DOPJ_STATIC against shared lib Optimization when building library from source unsigned int16 on Solaris 11.2/sparc appveyor Please make a new release FFMpeg will not link to 2.1.1 release built as shared library API change since v2: opj_event_mgr_t not available openjpeg.h needs dependencies "master" does not build on ubuntu Package 'openjp2', required by 'libopenjpip', not found Merged pull requests: Fix PNM file reading Fix some issues reported by Coverity Scan Fix potential out-of-bounds read (coverity) Remove TODO for overflow check Add overflow checks for opj_aligned_malloc Flags in T1 shall be unsigned Fix some warnings Fix issue 833. Add overflow checks for opj_aligned_malloc Add test for issue 820 Add test for issue 826 Fix coverity 113065 (CWE-484) Add sanity check for tile coordinates Add test for P-R-818 Update to libpng 1.6.25 fix incrementing of "l_tcp->m_nb_mcc_records" in opj_j2k_read_mcc Add overflow check in opj_tcd_init_tile Fix leak & invalid behavior of opj_jp2_read_ihdr Add overflow check in opj_j2k_update_image_data Change 'restrict' define to 'OPJ_RESTRICT' Switch to clang 3.8 Fix an integer overflow issue Update to lcms 2.8 Update to libpng 1.6.24 Reenable clang-3.9 build on travis Bit fields type Add compilation test for standalone inclusion of openjpeg.h jpwl: Remove non-portable data type u_int16_t Fix dependency for pkg-config Add .gitignore @ text @d1 1 a1 1 $NetBSD: patch-src_lib_openjp2_CMakeLists.txt,v 1.1 2014/05/15 14:14:54 adam Exp $ d5 1 a5 1 --- src/lib/openjp2/CMakeLists.txt.orig 2016-09-28 18:18:16.000000000 +0000 d7 1 a7 1 @@@@ -103,12 +103,10 @@@@ install(FILES openjpeg.h opj_stdint.h d19 1 a19 1 # internal utility to generate t1_luts.h (part of the jp2 lib) @ 1.1 log @Changes 2.1.0: New Features: * Digital Cinema profiles have been fixed and updated * New option to disable MCT if needed * extended RAW support: it is now possible to input raw images with subsampled color components (422, 420, etc) * New way to deal with profiles API/ABI modifications: (see abi_compat_report in dev-utils/scripts) * Removed deprecated functions - opj_stream_create_default_file_stream(FILE*,...) - opj_stream_create_file_stream(FILE*,...) - opj_stream_set_user_data (opj_stream_t* p_stream, void * p_data) * Added - opj_stream_create_default_file_stream(char*,...) - opj_stream_create_file_stream(char*,...) - opj_stream_destroy(opj_stream_t*) - opj_stream_set_user_data (opj_stream_t* p_stream, void * p_data, ... opj_stream_free_user_data_fn p_function) - JPEG 2000 profiles and Part-2 extensions defined through '#define' * Changed - 'alpha' field added to 'opj_image_comp' structure - 'OPJ_CLRSPC_EYCC' added to enum COLOR_SPACE - 'OPJ_CLRSPC_CMYK' added to enum COLOR_SPACE - 'OPJ_CODEC_JPP' and 'OPJ_CODEC_JPX' added to CODEC_FORMAT (not yet used in use) - 'max_cs_size' and 'rsiz' fields added to opj_cparameters_t Misc: * OpenJPEG is now officialy conformant with JPEG 2000 Part-1 and will soon become official reference software at the JPEG committee. * Huge amount of bug fixes. See CHANGES for details. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- src/lib/openjp2/CMakeLists.txt.orig 2014-05-15 11:14:06.000000000 +0000 d7 1 a7 1 @@@@ -68,12 +68,10 @@@@ install(FILES openjpeg.h opj_stdint.h d18 2 a19 2 # internal utilities to generate t1_luts.h (part of the jp2 lib) # no need to install: @ 1.1.20.1 log @Pullup ticket #5133 - requested by bsiegert graphics/openjpeg: security update Revisions pulled up: - graphics/openjpeg/Makefile 1.14 - graphics/openjpeg/distinfo 1.11 - graphics/openjpeg/patches/patch-src_lib_openjp2_CMakeLists.txt 1.2 ------------------------------------------------------------------- Module Name: pkgsrc Committed By: adam Date: Tue Oct 4 19:27:10 UTC 2016 Modified Files: pkgsrc/graphics/openjpeg: Makefile distinfo pkgsrc/graphics/openjpeg/patches: patch-src_lib_openjp2_CMakeLists.txt Log Message: v2.1.2 (2016-09-28) Closed issues: null ptr dereference in convert.c:1331 Out-of-Bounds Read in function bmp24toimage of convertbmp.c Disable automatic compilation of t1_generate_luts in CMakeLists.txt CVE-2016-7163 Integer overflow in opj_pi_create_decode Security Advisory for OpenJPEG Add dashboard with static lib hidden visibility for the static library / building with -DOPJ_STATIC against shared lib Optimization when building library from source unsigned int16 on Solaris 11.2/sparc appveyor Please make a new release FFMpeg will not link to 2.1.1 release built as shared library API change since v2: opj_event_mgr_t not available openjpeg.h needs dependencies "master" does not build on ubuntu Package 'openjp2', required by 'libopenjpip', not found Merged pull requests: Fix PNM file reading Fix some issues reported by Coverity Scan Fix potential out-of-bounds read (coverity) Remove TODO for overflow check Add overflow checks for opj_aligned_malloc Flags in T1 shall be unsigned Fix some warnings Fix issue 833. Add overflow checks for opj_aligned_malloc Add test for issue 820 Add test for issue 826 Fix coverity 113065 (CWE-484) Add sanity check for tile coordinates Add test for P-R-818 Update to libpng 1.6.25 fix incrementing of "l_tcp->m_nb_mcc_records" in opj_j2k_read_mcc Add overflow check in opj_tcd_init_tile Fix leak & invalid behavior of opj_jp2_read_ihdr Add overflow check in opj_j2k_update_image_data Change 'restrict' define to 'OPJ_RESTRICT' Switch to clang 3.8 Fix an integer overflow issue Update to lcms 2.8 Update to libpng 1.6.24 Reenable clang-3.9 build on travis Bit fields type Add compilation test for standalone inclusion of openjpeg.h jpwl: Remove non-portable data type u_int16_t Fix dependency for pkg-config Add .gitignore To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 pkgsrc/graphics/openjpeg/Makefile cvs rdiff -u -r1.10 -r1.11 pkgsrc/graphics/openjpeg/distinfo cvs rdiff -u -r1.1 -r1.2 \ pkgsrc/graphics/openjpeg/patches/patch-src_lib_openjp2_CMakeLists.txt @ text @d5 1 a5 1 --- src/lib/openjp2/CMakeLists.txt.orig 2016-09-28 18:18:16.000000000 +0000 d7 1 a7 1 @@@@ -103,12 +103,10 @@@@ install(FILES openjpeg.h opj_stdint.h d18 2 a19 2 if(BUILD_LUTS_GENERATOR) # internal utility to generate t1_luts.h (part of the jp2 lib) @