Re: UPDATE: libheif 1.17.6

2024-04-03 Thread Brad Smith

ping.

On 2024-03-08 1:21 a.m., Brad Smith wrote:

On Tue, Feb 27, 2024 at 08:35:07PM -0500, Brad Smith wrote:

Here is an update to libheif 1.17.6.

CVE-2023-49462, CVE-2023-49463
  
Enable the minimal tests that are there.



Index: Makefile
===
RCS file: /cvs/ports/multimedia/libheif/Makefile,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 Makefile
--- Makefile23 Oct 2023 06:47:18 -  1.15
+++ Makefile8 Mar 2024 05:26:00 -
@@ -1,10 +1,9 @@
  COMMENT=  HEIF and AVIF file format decoder and encoder
  
-V=		1.16.2

+V= 1.17.6
  DISTNAME= libheif-$V
-REVISION=  1
  
-SHARED_LIBS +=  heif 1.6

+SHARED_LIBS +=  heif 2.0
  
  CATEGORIES=	multimedia graphics
  
@@ -28,14 +27,15 @@ LIB_DEPENDS=	graphics/gdk-pixbuf2 \

multimedia/aom \
multimedia/dav1d \
multimedia/libde265 \
+   graphics/jpeg \
multimedia/x265
  # examples
-LIB_DEPENDS+=  graphics/jpeg \
-   graphics/png
+LIB_DEPENDS+=  graphics/png
  
-CONFIGURE_ARGS= -DWITH_RAV1E=Off \

+CONFIGURE_ARGS= -DWITH_DAV1D=On \
+   -DWITH_JPEG_DECODER=On \
+   -DWITH_JPEG_ENCODER=On \
+   -DWITH_RAV1E=Off \
-DWITH_SvtEnc=Off
-
-NO_TEST=   Yes
  
  .include 

Index: distinfo
===
RCS file: /cvs/ports/multimedia/libheif/distinfo,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 distinfo
--- distinfo4 Sep 2023 09:52:02 -   1.8
+++ distinfo8 Mar 2024 05:26:00 -
@@ -1,2 +1,2 @@
-SHA256 (libheif-1.16.2.tar.gz) = f5fkIFwL2fm4VgU2yL0uhB0cmm1hBAHrPrh+2c3+eOo=
-SIZE (libheif-1.16.2.tar.gz) = 1339068
+SHA256 (libheif-1.17.6.tar.gz) = g5C69JE+2goYPhMs7GK4dfsu9QfO1d3dyY39Lxd4Cu4=
+SIZE (libheif-1.17.6.tar.gz) = 1433302
Index: patches/patch-CMakeLists_txt
===
RCS file: /cvs/ports/multimedia/libheif/patches/patch-CMakeLists_txt,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt4 Sep 2023 12:25:08 -   1.1
+++ patches/patch-CMakeLists_txt8 Mar 2024 05:26:00 -
@@ -1,7 +1,7 @@
  Index: CMakeLists.txt
  --- CMakeLists.txt.orig
  +++ CMakeLists.txt
-@@ -22,7 +22,6 @@ endif()
+@@ -28,7 +28,6 @@ endif()
   
   if(NOT MSVC)

 add_definitions(-Wall)
Index: pkg/PLIST
===
RCS file: /cvs/ports/multimedia/libheif/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 PLIST
--- pkg/PLIST   23 Oct 2023 06:47:18 -  1.6
+++ pkg/PLIST   8 Mar 2024 05:26:00 -
@@ -6,6 +6,8 @@ include/libheif/
  include/libheif/heif.h
  include/libheif/heif_cxx.h
  include/libheif/heif_plugin.h
+include/libheif/heif_properties.h
+include/libheif/heif_regions.h
  include/libheif/heif_version.h
  lib/cmake/libheif/
  lib/cmake/libheif/libheif-config${MODCMAKE_BUILD_SUFFIX}
@@ -14,6 +16,7 @@ lib/cmake/libheif/libheif-config.cmake
  @so lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-heif.so
  lib/libheif/
  @lib lib/libheif.so.${LIBheif_VERSION}
+@so lib/libheif/libheif-dav1d.so
  lib/pkgconfig/libheif.pc
  @man man/man1/heif-convert.1
  @man man/man1/heif-enc.1




Re: UPDATE: libheif 1.17.6

2024-03-07 Thread Brad Smith
On Tue, Feb 27, 2024 at 08:35:07PM -0500, Brad Smith wrote:
> Here is an update to libheif 1.17.6.
> 
> CVE-2023-49462, CVE-2023-49463
 
Enable the minimal tests that are there.


Index: Makefile
===
RCS file: /cvs/ports/multimedia/libheif/Makefile,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 Makefile
--- Makefile23 Oct 2023 06:47:18 -  1.15
+++ Makefile8 Mar 2024 05:26:00 -
@@ -1,10 +1,9 @@
 COMMENT=   HEIF and AVIF file format decoder and encoder
 
-V= 1.16.2
+V= 1.17.6
 DISTNAME=  libheif-$V
-REVISION=  1
 
-SHARED_LIBS +=  heif 1.6
+SHARED_LIBS +=  heif 2.0
 
 CATEGORIES=multimedia graphics
 
@@ -28,14 +27,15 @@ LIB_DEPENDS=graphics/gdk-pixbuf2 \
multimedia/aom \
multimedia/dav1d \
multimedia/libde265 \
+   graphics/jpeg \
multimedia/x265
 # examples
-LIB_DEPENDS+=  graphics/jpeg \
-   graphics/png
+LIB_DEPENDS+=  graphics/png
 
-CONFIGURE_ARGS= -DWITH_RAV1E=Off \
+CONFIGURE_ARGS= -DWITH_DAV1D=On \
+   -DWITH_JPEG_DECODER=On \
+   -DWITH_JPEG_ENCODER=On \
+   -DWITH_RAV1E=Off \
-DWITH_SvtEnc=Off
-
-NO_TEST=   Yes
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/multimedia/libheif/distinfo,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 distinfo
--- distinfo4 Sep 2023 09:52:02 -   1.8
+++ distinfo8 Mar 2024 05:26:00 -
@@ -1,2 +1,2 @@
-SHA256 (libheif-1.16.2.tar.gz) = f5fkIFwL2fm4VgU2yL0uhB0cmm1hBAHrPrh+2c3+eOo=
-SIZE (libheif-1.16.2.tar.gz) = 1339068
+SHA256 (libheif-1.17.6.tar.gz) = g5C69JE+2goYPhMs7GK4dfsu9QfO1d3dyY39Lxd4Cu4=
+SIZE (libheif-1.17.6.tar.gz) = 1433302
Index: patches/patch-CMakeLists_txt
===
RCS file: /cvs/ports/multimedia/libheif/patches/patch-CMakeLists_txt,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt4 Sep 2023 12:25:08 -   1.1
+++ patches/patch-CMakeLists_txt8 Mar 2024 05:26:00 -
@@ -1,7 +1,7 @@
 Index: CMakeLists.txt
 --- CMakeLists.txt.orig
 +++ CMakeLists.txt
-@@ -22,7 +22,6 @@ endif()
+@@ -28,7 +28,6 @@ endif()
  
  if(NOT MSVC)
add_definitions(-Wall)
Index: pkg/PLIST
===
RCS file: /cvs/ports/multimedia/libheif/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 PLIST
--- pkg/PLIST   23 Oct 2023 06:47:18 -  1.6
+++ pkg/PLIST   8 Mar 2024 05:26:00 -
@@ -6,6 +6,8 @@ include/libheif/
 include/libheif/heif.h
 include/libheif/heif_cxx.h
 include/libheif/heif_plugin.h
+include/libheif/heif_properties.h
+include/libheif/heif_regions.h
 include/libheif/heif_version.h
 lib/cmake/libheif/
 lib/cmake/libheif/libheif-config${MODCMAKE_BUILD_SUFFIX}
@@ -14,6 +16,7 @@ lib/cmake/libheif/libheif-config.cmake
 @so lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-heif.so
 lib/libheif/
 @lib lib/libheif.so.${LIBheif_VERSION}
+@so lib/libheif/libheif-dav1d.so
 lib/pkgconfig/libheif.pc
 @man man/man1/heif-convert.1
 @man man/man1/heif-enc.1



UPDATE: libheif 1.17.6

2024-02-27 Thread Brad Smith
Here is an update to libheif 1.17.6.

CVE-2023-49462, CVE-2023-49463


Index: Makefile
===
RCS file: /cvs/ports/multimedia/libheif/Makefile,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 Makefile
--- Makefile23 Oct 2023 06:47:18 -  1.15
+++ Makefile28 Feb 2024 01:24:57 -
@@ -1,10 +1,9 @@
 COMMENT=   HEIF and AVIF file format decoder and encoder
 
-V= 1.16.2
+V= 1.17.6
 DISTNAME=  libheif-$V
-REVISION=  1
 
-SHARED_LIBS +=  heif 1.6
+SHARED_LIBS +=  heif 2.0
 
 CATEGORIES=multimedia graphics
 
@@ -28,12 +27,15 @@ LIB_DEPENDS=graphics/gdk-pixbuf2 \
multimedia/aom \
multimedia/dav1d \
multimedia/libde265 \
+   graphics/jpeg \
multimedia/x265
 # examples
-LIB_DEPENDS+=  graphics/jpeg \
-   graphics/png
+LIB_DEPENDS+=  graphics/png
 
-CONFIGURE_ARGS= -DWITH_RAV1E=Off \
+CONFIGURE_ARGS= -DWITH_DAV1D=On \
+   -DWITH_JPEG_DECODER=On \
+   -DWITH_JPEG_ENCODER=On \
+   -DWITH_RAV1E=Off \
-DWITH_SvtEnc=Off
 
 NO_TEST=   Yes
Index: distinfo
===
RCS file: /cvs/ports/multimedia/libheif/distinfo,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 distinfo
--- distinfo4 Sep 2023 09:52:02 -   1.8
+++ distinfo28 Feb 2024 01:24:57 -
@@ -1,2 +1,2 @@
-SHA256 (libheif-1.16.2.tar.gz) = f5fkIFwL2fm4VgU2yL0uhB0cmm1hBAHrPrh+2c3+eOo=
-SIZE (libheif-1.16.2.tar.gz) = 1339068
+SHA256 (libheif-1.17.6.tar.gz) = g5C69JE+2goYPhMs7GK4dfsu9QfO1d3dyY39Lxd4Cu4=
+SIZE (libheif-1.17.6.tar.gz) = 1433302
Index: patches/patch-CMakeLists_txt
===
RCS file: /cvs/ports/multimedia/libheif/patches/patch-CMakeLists_txt,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt4 Sep 2023 12:25:08 -   1.1
+++ patches/patch-CMakeLists_txt28 Feb 2024 01:24:57 -
@@ -1,7 +1,7 @@
 Index: CMakeLists.txt
 --- CMakeLists.txt.orig
 +++ CMakeLists.txt
-@@ -22,7 +22,6 @@ endif()
+@@ -28,7 +28,6 @@ endif()
  
  if(NOT MSVC)
add_definitions(-Wall)
Index: pkg/PLIST
===
RCS file: /cvs/ports/multimedia/libheif/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 PLIST
--- pkg/PLIST   23 Oct 2023 06:47:18 -  1.6
+++ pkg/PLIST   28 Feb 2024 01:24:57 -
@@ -6,6 +6,8 @@ include/libheif/
 include/libheif/heif.h
 include/libheif/heif_cxx.h
 include/libheif/heif_plugin.h
+include/libheif/heif_properties.h
+include/libheif/heif_regions.h
 include/libheif/heif_version.h
 lib/cmake/libheif/
 lib/cmake/libheif/libheif-config${MODCMAKE_BUILD_SUFFIX}
@@ -14,6 +16,7 @@ lib/cmake/libheif/libheif-config.cmake
 @so lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-heif.so
 lib/libheif/
 @lib lib/libheif.so.${LIBheif_VERSION}
+@so lib/libheif/libheif-dav1d.so
 lib/pkgconfig/libheif.pc
 @man man/man1/heif-convert.1
 @man man/man1/heif-enc.1