Hi,

Attached is an update to the most recent hdf5 release 1.14.1.
The current port has related CVEs, the full release note can be found at:

https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.14/hdf5-1.14.1/src/hdf5-1.14.1-2-RELEASE.txT

Note there is also the 1.14.1-2 release which is really just 1.14.1 from our
point of view.

Tested on amd64 and arm64. Comments? OKs?

-m


Index: Makefile
===================================================================
RCS file: /cvs/ports/math/hdf5/Makefile,v
retrieving revision 1.24
diff -u -p -r1.24 Makefile
--- Makefile    7 Mar 2022 11:10:52 -0000       1.24
+++ Makefile    13 May 2023 09:53:13 -0000
@@ -3,15 +3,16 @@ ONLY_FOR_ARCHS =      ${GCC49_ARCHS}
 
 COMMENT =              Hierarchical Data Format 5 Technology suite
 
-V =                    1.12.1
-DISTNAME =             hdf5-${V}
-
-SHARED_LIBS += hdf5            4.0 # 201.0
-SHARED_LIBS += hdf5_cpp        8.0 # 201.0
-SHARED_LIBS += hdf5_hl         3.1 # 200.1
-SHARED_LIBS += hdf5_hl_cpp     4.1 # 200.1
-SHARED_LIBS += hdf5_fortran    1.0 # 201.0
-SHARED_LIBS += hdf5hl_fortran  0.1 # 200.1
+GH_ACCOUNT =           HDFGroup
+GH_PROJECT =           hdf5
+GH_TAGNAME =           1.14.1
+
+SHARED_LIBS += hdf5            5.0 # 311.0
+SHARED_LIBS += hdf5_cpp        9.0 # 310.1
+SHARED_LIBS += hdf5_hl         4.0 # 310.1
+SHARED_LIBS += hdf5_hl_cpp     5.0 # 310.1
+SHARED_LIBS += hdf5_fortran    2.0 # 311.0
+SHARED_LIBS += hdf5hl_fortran  1.0 # 310.1
 
 CATEGORIES =           math
 
@@ -25,9 +26,6 @@ PERMIT_PACKAGE =      Yes
 WANTLIB += c m ${COMPILER_LIBCXX} z
 
 COMPILER =             base-clang ports-gcc base-gcc
-
-MASTER_SITES =         
https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.12/hdf5-${V}/src/ \
-                       https://support.hdfgroup.org/ftp/HDF5/current/src/
 
 MODULES        =               fortran
 SEPARATE_BUILD =       Yes
Index: distinfo
===================================================================
RCS file: /cvs/ports/math/hdf5/distinfo,v
retrieving revision 1.12
diff -u -p -r1.12 distinfo
--- distinfo    7 Mar 2022 11:10:52 -0000       1.12
+++ distinfo    13 May 2023 09:53:13 -0000
@@ -1,2 +1,2 @@
-SHA256 (hdf5-1.12.1.tar.gz) = ecZv9n5mZmU2k5bpyQsy4jjlAfNFr9IjQYa/uDMQgco=
-SIZE (hdf5-1.12.1.tar.gz) = 13534796
+SHA256 (hdf5-1.14.1.tar.gz) = Vpvfg5B6nZ8C/vs9GUjpNmLV1QZTnuhPhk5n7fIktno=
+SIZE (hdf5-1.14.1.tar.gz) = 20141065
Index: patches/patch-m4_aclocal_fc_f90
===================================================================
RCS file: /cvs/ports/math/hdf5/patches/patch-m4_aclocal_fc_f90,v
retrieving revision 1.1
diff -u -p -r1.1 patch-m4_aclocal_fc_f90
--- patches/patch-m4_aclocal_fc_f90     7 Mar 2022 11:10:52 -0000       1.1
+++ patches/patch-m4_aclocal_fc_f90     13 May 2023 09:53:13 -0000
@@ -3,11 +3,11 @@ Already fixed upstream.
 Index: m4/aclocal_fc.f90
 --- m4/aclocal_fc.f90.orig
 +++ m4/aclocal_fc.f90
-@@ -151,6 +151,7 @@ PROGRAM FC_AVAIL_KINDS
-      WRITE(8,'(I0)') max_decimal_prec
-      WRITE(8,'(I0)') num_ikinds
-      WRITE(8,'(I0)') num_rkinds
-+     CLOSE(8)
+@@ -150,6 +150,7 @@ PROGRAM FC_AVAIL_KINDS
+      WRITE(stdout,'(I0)') max_decimal_prec
+      WRITE(stdout,'(I0)') num_ikinds
+      WRITE(stdout,'(I0)') num_rkinds
++     CLOSE(stdout)
  END PROGRAM FC_AVAIL_KINDS
  !---- END ----- Determine the available KINDs for REALs and INTEGERs
  
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/math/hdf5/pkg/PLIST,v
retrieving revision 1.9
diff -u -p -r1.9 PLIST
--- pkg/PLIST   7 Mar 2022 11:10:52 -0000       1.9
+++ pkg/PLIST   13 May 2023 09:53:13 -0000
@@ -1,10 +1,9 @@
-@bin bin/gif2h5
-@bin bin/h52gif
 bin/h5c++
 bin/h5cc
 @bin bin/h5clear
 @bin bin/h5copy
 @bin bin/h5debug
+@bin bin/h5delete
 @bin bin/h5diff
 @bin bin/h5dump
 bin/h5fc
@@ -43,25 +42,30 @@ include/H5DataType.h
 include/H5DcreatProp.h
 include/H5Dpublic.h
 include/H5DxferProp.h
+include/H5ESdevelop.h
 include/H5ESpublic.h
 include/H5EnumType.h
 include/H5Epubgen.h
 include/H5Epublic.h
 include/H5Exception.h
 include/H5FDcore.h
+include/H5FDdevelop.h
 include/H5FDdirect.h
 include/H5FDfamily.h
 include/H5FDhdfs.h
+include/H5FDioc.h
 include/H5FDlog.h
 include/H5FDmirror.h
 include/H5FDmpi.h
 include/H5FDmpio.h
 include/H5FDmulti.h
+include/H5FDonion.h
 include/H5FDpublic.h
 include/H5FDros3.h
 include/H5FDsec2.h
 include/H5FDsplitter.h
 include/H5FDstdio.h
+include/H5FDsubfiling.h
 include/H5FDwindows.h
 include/H5FaccProp.h
 include/H5FcreatProp.h
@@ -72,6 +76,7 @@ include/H5Gpublic.h
 include/H5Group.h
 include/H5IMpublic.h
 include/H5IdComponent.h
+include/H5Idevelop.h
 include/H5Include.h
 include/H5IntType.h
 include/H5Ipublic.h
@@ -79,6 +84,7 @@ include/H5LDpublic.h
 include/H5LTpublic.h
 include/H5LaccProp.h
 include/H5LcreatProp.h
+include/H5Ldevelop.h
 include/H5Library.h
 include/H5Location.h
 include/H5Lpublic.h
@@ -98,6 +104,8 @@ include/H5Rpublic.h
 include/H5Spublic.h
 include/H5StrType.h
 include/H5TBpublic.h
+include/H5TSdevelop.h
+include/H5Tdevelop.h
 include/H5Tpublic.h
 include/H5VLconnector.h
 include/H5VLconnector_passthru.h
@@ -105,6 +113,7 @@ include/H5VLnative.h
 include/H5VLpassthru.h
 include/H5VLpublic.h
 include/H5VarLenType.h
+include/H5Zdevelop.h
 include/H5Zpublic.h
 include/H5api_adpt.h
 include/H5f90i.h
@@ -118,6 +127,7 @@ include/h5a.mod
 include/h5d.mod
 include/h5ds.mod
 include/h5e.mod
+include/h5es.mod
 include/h5f.mod
 include/h5fortkit.mod
 include/h5fortran_types.mod
@@ -219,6 +229,9 @@ share/examples/hdf5/c/h5_vds-percival.c
 share/examples/hdf5/c/h5_vds-simpleIO.c
 share/examples/hdf5/c/h5_vds.c
 share/examples/hdf5/c/h5_write.c
+share/examples/hdf5/c/ph5_filtered_writes.c
+share/examples/hdf5/c/ph5_filtered_writes_no_sel.c
+share/examples/hdf5/c/ph5_subfiling.c
 share/examples/hdf5/c/ph5example.c
 share/examples/hdf5/c/run-c-ex.sh
 share/examples/hdf5/fortran/

Reply via email to