git: eb42767f5f99 - 2025Q4 - graphics/openexr*: security update to 3.4.3

From: Matthias Andree <mandree_at_FreeBSD.org>
Date: Thu, 06 Nov 2025 15:02:40 UTC
The branch 2025Q4 has been updated by mandree:

URL: https://cgit.FreeBSD.org/ports/commit/?id=eb42767f5f99afc6ce4bc2df9af1db2b5c5ca29a

commit eb42767f5f99afc6ce4bc2df9af1db2b5c5ca29a
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2025-11-06 15:02:05 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2025-11-06 15:02:05 +0000

    graphics/openexr*: security update to 3.4.3
    
    Changelog:      https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.4.3
    Security:       c71a3914-ba96-11f0-aada-f59a8ea34d12
    MFH:            2025Q4
    (cherry picked from commit 2dc4c91ea529203b893086d7c06a756a0e1f779e)
    (cherry picked from commit c0f85663f34f29c0e9013f9c35ced11620a408c5)
    
    Includes this commit:
    
    graphics/openexr: Fix build with openjph 0.23.0+ [by sunpoet@]
    
    - Add BUILD_DEPENDS check
    
    Approved by:    portmgr (blanket)
    Obtained from:  https://github.com/AcademySoftwareFoundation/openexr/pull/2122
    
    (cherry picked from commit 3325dbe6f13323cd0eeeed35d03d045e2e413881)
---
 graphics/openexr-website-docs/Makefile                   |  2 +-
 graphics/openexr-website-docs/distinfo                   |  6 +++---
 graphics/openexr-website-docs/files/patch-CMakeLists.txt | 12 ++++++------
 graphics/openexr/Makefile                                |  5 +++--
 graphics/openexr/distinfo                                |  6 +++---
 graphics/openexr/files/patch-cmake_OpenEXRSetup.cmake    | 12 ------------
 6 files changed, 16 insertions(+), 27 deletions(-)

diff --git a/graphics/openexr-website-docs/Makefile b/graphics/openexr-website-docs/Makefile
index 658d17c0d38f..30404fde203e 100644
--- a/graphics/openexr-website-docs/Makefile
+++ b/graphics/openexr-website-docs/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	openexr-website-docs
-PORTVERSION=	3.4.0
+PORTVERSION=	3.4.3
 PORTREVISION=	0
 MASTER_SITES=	https://github.com/AcademySoftwareFoundation/openexr/releases/download/v${PORTVERSION}/:DEFAULT \
 		https://raw.githubusercontent.com/AcademySoftwareFoundation/openexr-images/main/:website \
diff --git a/graphics/openexr-website-docs/distinfo b/graphics/openexr-website-docs/distinfo
index ac06275377a2..803346125357 100644
--- a/graphics/openexr-website-docs/distinfo
+++ b/graphics/openexr-website-docs/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1757119919
-SHA256 (openexr/openexr-3.4.0.tar.gz) = 1d4bddda2d22571f63db5f067c5741b50c8d41231f360ab17063176eb710a670
-SIZE (openexr/openexr-3.4.0.tar.gz) = 25544015
+TIMESTAMP = 1759951809
+SHA256 (openexr/openexr-3.4.1.tar.gz) = 55de71610ceb134b79c900e6aed3bf8994ec1972382395c1732f1b32da4c7527
+SIZE (openexr/openexr-3.4.1.tar.gz) = 25545228
 SHA256 (openexr/TestImages/README.rst) = 3cbb0a9ab20868940de1b9bf582bdc5ff4244cc585c682d6e40b9befb8fd593c
 SIZE (openexr/TestImages/README.rst) = 2588
 SHA256 (openexr/TestImages/AllHalfValues.exr) = eede573a0b59b79f21de15ee9d3b7649d58d8f2a8e7787ea34f192db3b3c84a4
diff --git a/graphics/openexr-website-docs/files/patch-CMakeLists.txt b/graphics/openexr-website-docs/files/patch-CMakeLists.txt
index 5d3abd811f92..cd24cbc3f1c9 100644
--- a/graphics/openexr-website-docs/files/patch-CMakeLists.txt
+++ b/graphics/openexr-website-docs/files/patch-CMakeLists.txt
@@ -1,6 +1,6 @@
---- CMakeLists.txt.orig	2024-09-26 23:34:32 UTC
+--- CMakeLists.txt.orig	2025-10-07 15:22:39 UTC
 +++ CMakeLists.txt
-@@ -63,8 +63,6 @@ include(cmake/OpenEXRSetup.cmake)
+@@ -60,8 +60,6 @@ include(cmake/OpenEXRSetup.cmake)
  
  include(cmake/LibraryDefine.cmake)
  include(cmake/OpenEXRSetup.cmake)
@@ -9,7 +9,7 @@
  
  # Hint: This can be set to enable custom find_package
  # search paths, probably best to set it when configuring
-@@ -81,15 +79,6 @@ endif()
+@@ -78,15 +76,6 @@ endif()
    enable_testing()
  endif()
  
@@ -22,10 +22,10 @@
 -  add_subdirectory(src/bin)
 -endif()
 -
- # Tell CMake where to find the OpenEXRConfig.cmake file. Makes it possible to call 
+ # Tell CMake where to find the OpenEXRConfig.cmake file. Makes it possible to call
  # find_package(OpenEXR) in downstream projects
  set(OpenEXR_DIR "${CMAKE_CURRENT_BINARY_DIR}/cmake" CACHE PATH "" FORCE)
-@@ -97,10 +86,6 @@ file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/cmake/OpenEXRT
+@@ -94,10 +83,6 @@ file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/cmake/OpenEXRT
  # Can be empty since we already defined the targets in add_subdirectory
  file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/cmake/OpenEXRTargets.cmake" "# Dummy file")
  
@@ -36,7 +36,7 @@
  # If you want to use ctest to configure, build and
  # upload the results, cmake has builtin support for
  # submitting to CDash, or any server who speaks the
-@@ -123,33 +108,10 @@ endif()
+@@ -120,33 +105,10 @@ endif()
  #set(CTEST_DROP_SITE "open.cdash.org")
  #set(CTEST_DROP_LOCATION "/submit.php?project=MyProject")
  #set(CTEST_DROP_SITE_CDASH TRUE)
diff --git a/graphics/openexr/Makefile b/graphics/openexr/Makefile
index 74944d3740ed..5d434017e751 100644
--- a/graphics/openexr/Makefile
+++ b/graphics/openexr/Makefile
@@ -1,5 +1,5 @@
 PORTNAME?=	openexr
-PORTVERSION?=	3.4.0 # ALSO update openexr-website-docs! -- verify sigstore: make makesum verify-sigstore
+PORTVERSION?=	3.4.3 # ALSO update openexr-website-docs! -- verify sigstore: make makesum verify-sigstore
 PORTREVISION?=	0
 CATEGORIES=	graphics devel
 .if !defined(MASTERDIR)
@@ -34,7 +34,8 @@ WWW=		https://www.openexr.com/
 
 LICENSE=	BSD3CLAUSE
 
-BUILD_DEPENDS?=	help2man:misc/help2man
+BUILD_DEPENDS?=	help2man:misc/help2man \
+		openjph>=0.23.0:graphics/openjph
 # exact libImath version required to avoid hard-to-debug issues
 # but this is due to Imath and OpenEXR being close in terms of their
 # release engineering, no other port should version pin Imath
diff --git a/graphics/openexr/distinfo b/graphics/openexr/distinfo
index e96e7a38449a..1881074e479f 100644
--- a/graphics/openexr/distinfo
+++ b/graphics/openexr/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1757119886
-SHA256 (openexr/openexr-3.4.0.tar.gz) = 1d4bddda2d22571f63db5f067c5741b50c8d41231f360ab17063176eb710a670
-SIZE (openexr/openexr-3.4.0.tar.gz) = 25544015
+TIMESTAMP = 1762381068
+SHA256 (openexr/openexr-3.4.3.tar.gz) = db0c3f9a6bbfc6853d5ee21164ef151e616f07d6f2bac80339b3a0698d13fcc0
+SIZE (openexr/openexr-3.4.3.tar.gz) = 25547346
 SHA256 (openexr/Beachball/multipart.0001.exr) = 0cd032069fbaa14a2766861fef9893ea66a6494ff64650725d3b26a500df774b
 SIZE (openexr/Beachball/multipart.0001.exr) = 2894260
 SHA256 (openexr/Beachball/singlepart.0001.exr) = 29719942ed3c095a8f8f111fc139fc4c28f446007f5bfce00177cae585b1a87a
diff --git a/graphics/openexr/files/patch-cmake_OpenEXRSetup.cmake b/graphics/openexr/files/patch-cmake_OpenEXRSetup.cmake
deleted file mode 100644
index 93adc0ce4eb9..000000000000
--- a/graphics/openexr/files/patch-cmake_OpenEXRSetup.cmake
+++ /dev/null
@@ -1,12 +0,0 @@
---- cmake/OpenEXRSetup.cmake.orig	2025-10-07 15:22:39 UTC
-+++ cmake/OpenEXRSetup.cmake
-@@ -100,9 +100,6 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
- # Suffix for debug configuration libraries
- # (if you should choose to install those)
- # Don't override if the user has set it and don't save it in the cache
--if (NOT CMAKE_DEBUG_POSTFIX)
--  set(CMAKE_DEBUG_POSTFIX "_d")
--endif()
- 
- if(NOT OPENEXR_IS_SUBPROJECT)
-   # Usual cmake option to build shared libraries or not, only overridden if OpenEXR is a top level project,