Accepting request 848496 from home:anag:branches:science
- Update to version 1.10.7 * https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.6/src/hdf5-1.10.6-RELEASE.txt * https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.7/src/hdf5-1.10.7-RELEASE.txt - Security bugs fixed: * CVE-2018-13870: heap-based buffer over-read in the function H5O_link_decode in H5Olink.c (bsc#1101493) * CVE-2018-13869: memcpy parameter overlap in the function H5O_link_decode in H5Olink.c (bsc#1101495) * CVE-2018-17438: A SIGFPE signal is raised in the function H5D__select_io() of H5Dselect.c in the HDF HDF5 through 1.10.3 library during an attempted parse of a crafted HDF file, because of incorrect protection against division (bsc#1109570) * CVE-2018-17435: A heap-based buffer over-read in H5O_attr_decode() in H5Oattr.c in the HDF HDF5 through 1.10.3 library allows attackers to cause a denial of service via a crafted HDF5 file. (bsc#1109567) - Refresh patches - Security bugs fixed: * CVE-2018-17233: A SIGFPE signal is raised in the function H5D__create_chunk_file_map_hyper. (bsc#1109166) * CVE-2018-17434: Memory leak in the H5O__chunk_deserialize() function in H5Ocache.c (bsc#1109167) * CVE-2018-17437: A SIGFPE signal is raised in the function H5D__chunk_set_info_real. (bsc#1109168) - Security bugs fixed: * CVE-2017-17505: NULL pointer dereference in the function H5O_pline_decode allowing for DoS via crafted file (bsc#1072087) * CVE-2017-17506: Out of bounds read in the function OBS-URL: https://build.opensuse.org/request/show/848496 OBS-URL: https://build.opensuse.org/package/show/science/hdf5?expand=0&rev=139
This commit is contained in:
committed by
Git OBS Bridge
parent
6eaaf55460
commit
f7f6dfb4d4
29
hdf5.spec
29
hdf5.spec
@@ -34,8 +34,8 @@
|
||||
|
||||
%define use_sz2 0
|
||||
|
||||
%define vers 1.10.5
|
||||
%define _vers 1_10_5
|
||||
%define vers 1.10.7
|
||||
%define _vers 1_10_7
|
||||
%define short_ver 1.10
|
||||
%define src_ver %{version}
|
||||
%define pname hdf5
|
||||
@@ -785,13 +785,13 @@ make install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%if %{without mpi}
|
||||
find %{buildroot}%{_prefix}/share/hdf5_examples -type f \
|
||||
| grep -v ".sh$" | xargs chmod 644
|
||||
|
||||
%if %{with hpc}
|
||||
# copy to versioned subdir
|
||||
install -m 755 -d %{buildroot}%{_prefix}/share/%{version}
|
||||
mv %{buildroot}%{_prefix}/share/hdf5_examples/* \
|
||||
%{buildroot}%{_prefix}/share/%{version}
|
||||
install -m 755 -d %{buildroot}%{_prefix}/share/hdf5_examples
|
||||
mv %{buildroot}%{_prefix}/lib/hpc/*/hdf5/*/share/hdf5_examples/* \
|
||||
%{buildroot}%{_prefix}/share/%{version}/
|
||||
mv %{buildroot}%{_prefix}/share/%{version} \
|
||||
%{buildroot}%{_prefix}/share/hdf5_examples
|
||||
%else
|
||||
@@ -805,9 +805,10 @@ cat > %{buildroot}%{_rpmconfigdir}/macros.d/macros.hdf5 <<EOF
|
||||
%_hdf5_version %{version}
|
||||
EOF
|
||||
%endif
|
||||
|
||||
%else
|
||||
# delete examples from parallel builds
|
||||
rm -rf %{buildroot}%{_prefix}/share/hdf5_examples
|
||||
find %{buildroot} -type d -name "hdf5_examples" -exec rm -rf {} +;
|
||||
%endif
|
||||
|
||||
%fdupes -s %{buildroot}/%{_datadir}
|
||||
@@ -906,19 +907,16 @@ export HDF5_Make_Ignore=yes
|
||||
|
||||
%if %{without mpi}
|
||||
%files -n %{vname}-examples
|
||||
%defattr(-,root,root)
|
||||
%{?with_hpc:%dir %{_prefix}/share/hdf5_examples}
|
||||
%{_prefix}/share/hdf5_examples%{?with_hpc:/%{version}}
|
||||
|
||||
%if %{without hpc}
|
||||
%files -n %{pname}-devel-data
|
||||
%defattr(-,root,root,-)
|
||||
%{_rpmconfigdir}/macros.d/macros.hdf5
|
||||
%endif
|
||||
%endif # ?mpi
|
||||
|
||||
%files -n %{name}
|
||||
%defattr(-,root,root)
|
||||
%{?with_hpc:%dir %my_bindir}
|
||||
%{my_bindir}/gif2h5
|
||||
%{my_bindir}/h52gif
|
||||
@@ -943,9 +941,10 @@ export HDF5_Make_Ignore=yes
|
||||
%{my_bindir}/h5stat
|
||||
%{my_bindir}/h5unjam
|
||||
%{my_bindir}/h5watch
|
||||
%{my_bindir}/mirror_server
|
||||
%{my_bindir}/mirror_server_stop
|
||||
|
||||
%files -n %{libname -s %{sonum}}
|
||||
%defattr(-,root,root)
|
||||
%doc ACKNOWLEDGMENTS README.txt
|
||||
%mylicense COPYING
|
||||
##
|
||||
@@ -959,7 +958,6 @@ export HDF5_Make_Ignore=yes
|
||||
%{my_libdir}/libhdf5.so.%{sonum}.*
|
||||
|
||||
%files -n %{libname -l _hl -s %{sonum_HL}}
|
||||
%defattr(-,root,root)
|
||||
%mylicense COPYING
|
||||
%defattr(0755,root,root)
|
||||
%{?with_hpc:%hpc_dirs}
|
||||
@@ -967,7 +965,6 @@ export HDF5_Make_Ignore=yes
|
||||
%{my_libdir}/libhdf5_hl.so.%{sonum_HL}.*
|
||||
|
||||
%files -n %{libname -l _cpp -s %{sonum_CXX}}
|
||||
%defattr(-,root,root)
|
||||
%mylicense COPYING
|
||||
%defattr(0755,root,root)
|
||||
%{?with_hpc:%hpc_dirs}
|
||||
@@ -975,7 +972,6 @@ export HDF5_Make_Ignore=yes
|
||||
%{my_libdir}/libhdf5_cpp.so.%{sonum_CXX}.*
|
||||
|
||||
%files -n %{libname -l _hl_cpp -s %{sonum_HL_CXX}}
|
||||
%defattr(-,root,root)
|
||||
%mylicense COPYING
|
||||
%defattr(0755,root,root)
|
||||
%{?with_hpc:%hpc_dirs}
|
||||
@@ -983,7 +979,6 @@ export HDF5_Make_Ignore=yes
|
||||
%{my_libdir}/libhdf5_hl_cpp.so.%{sonum_HL_CXX}.*
|
||||
|
||||
%files -n %{libname -l _fortran -s %{sonum_F}}
|
||||
%defattr(-,root,root)
|
||||
%mylicense COPYING
|
||||
%defattr(0755,root,root)
|
||||
%{?with_hpc:%hpc_dirs}
|
||||
@@ -991,7 +986,6 @@ export HDF5_Make_Ignore=yes
|
||||
%{my_libdir}/libhdf5_fortran.so.%{sonum_F}.*
|
||||
|
||||
%files -n %{libname -l hl_fortran -s %{sonum_HL_F}}
|
||||
%defattr(-,root,root)
|
||||
%mylicense COPYING
|
||||
%defattr(0755,root,root)
|
||||
%{?with_hpc:%hpc_dirs}
|
||||
@@ -1000,12 +994,10 @@ export HDF5_Make_Ignore=yes
|
||||
|
||||
%if %{with hpc}
|
||||
%files module
|
||||
%defattr(-,root,root)
|
||||
%hpc_modules_files
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
##
|
||||
%{?with_hpc:%dir %{my_incdir}}
|
||||
%doc release_docs/HISTORY-1_0-1_8_0_rc3.txt
|
||||
@@ -1031,7 +1023,6 @@ export HDF5_Make_Ignore=yes
|
||||
%{my_incdir}/*.mod
|
||||
|
||||
%files devel-static
|
||||
%defattr(-,root,root)
|
||||
%{my_libdir}/*.a
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user