|
|
|
@ -1,19 +1,19 @@
|
|
|
|
|
# Conditionalize Ocaml support. This looks ass-backwards, but it's not.
|
|
|
|
|
%ifarch %{ocaml_native_compiler}
|
|
|
|
|
%bcond_without ocaml
|
|
|
|
|
%else
|
|
|
|
|
%ifarch %{ix86}
|
|
|
|
|
%bcond_with ocaml
|
|
|
|
|
%else
|
|
|
|
|
%bcond_without ocaml
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Verify tarball signature with GPGv2.
|
|
|
|
|
%global verify_tarball_signature 1
|
|
|
|
|
|
|
|
|
|
Name: hivex
|
|
|
|
|
Version: 1.3.21
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 1.3.24
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Read and write Windows Registry binary hive files
|
|
|
|
|
|
|
|
|
|
License: LGPLv2
|
|
|
|
|
License: LGPL-2.1-only AND LGPL-2.0-or-later AND GPL-2.0-or-later
|
|
|
|
|
URL: http://libguestfs.org/
|
|
|
|
|
|
|
|
|
|
Source0: http://libguestfs.org/download/hivex/%{name}-%{version}.tar.gz
|
|
|
|
@ -26,8 +26,8 @@ Source1: http://libguestfs.org/download/hivex/%{name}-%{version}.tar.gz.s
|
|
|
|
|
Source2: libguestfs.keyring
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Patch0000: 0001-lib-write-improve-key-collation-compatibility-with-Windows.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: autoconf, automake, libtool, gettext-devel
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
@ -62,18 +62,14 @@ BuildRequires: rubygem(rdoc)
|
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
|
%if 0%{verify_tarball_signature}
|
|
|
|
|
BuildRequires: gnupg2
|
|
|
|
|
BuildRequires: gnupg2
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
Conflicts: %{name} < 1.3.20-6
|
|
|
|
|
Obsoletes: %{name} < 1.3.20-6
|
|
|
|
|
|
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries#Packages_granted_exceptions
|
|
|
|
|
Provides: bundled(gnulib)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Hive files are the undocumented binary files that Windows uses to
|
|
|
|
@ -108,6 +104,7 @@ For Ruby bindings, see 'ruby-hivex'.
|
|
|
|
|
|
|
|
|
|
%package libs
|
|
|
|
|
Summary: Library for %{name}
|
|
|
|
|
License: LGPL-2.1-only AND LGPL-2.0-or-later
|
|
|
|
|
Conflicts: %{name} < 1.3.20-6
|
|
|
|
|
Obsoletes: %{name} < 1.3.20-6
|
|
|
|
|
|
|
|
|
@ -130,7 +127,8 @@ for %{name}.
|
|
|
|
|
%if !0%{?rhel}
|
|
|
|
|
%package static
|
|
|
|
|
Summary: Statically linked library for %{name}
|
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
|
License: LGPL-2.1-only AND LGPL-2.0-or-later
|
|
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description static
|
|
|
|
@ -142,7 +140,8 @@ for %{name}.
|
|
|
|
|
%if %{with ocaml}
|
|
|
|
|
%package -n ocaml-%{name}
|
|
|
|
|
Summary: OCaml bindings for %{name}
|
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
|
License: LGPL-2.0-or-later
|
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n ocaml-%{name}
|
|
|
|
@ -154,8 +153,9 @@ programs which use %{name} you will also need ocaml-%{name}-devel.
|
|
|
|
|
|
|
|
|
|
%package -n ocaml-%{name}-devel
|
|
|
|
|
Summary: OCaml bindings for %{name}
|
|
|
|
|
Requires: ocaml-%{name} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
|
License: LGPL-2.0-or-later
|
|
|
|
|
Requires: ocaml-%{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n ocaml-%{name}-devel
|
|
|
|
@ -166,8 +166,8 @@ required to use the OCaml bindings for %{name}.
|
|
|
|
|
|
|
|
|
|
%package -n perl-%{name}
|
|
|
|
|
Summary: Perl bindings for %{name}
|
|
|
|
|
License: LGPL-2.0-or-later AND GPL-2.0-or-later
|
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n perl-%{name}
|
|
|
|
@ -176,6 +176,7 @@ perl-%{name} contains Perl bindings for %{name}.
|
|
|
|
|
|
|
|
|
|
%package -n python3-%{name}
|
|
|
|
|
Summary: Python 3 bindings for %{name}
|
|
|
|
|
License: LGPL-2.0-or-later
|
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{name}
|
|
|
|
@ -184,6 +185,7 @@ python3-%{name} contains Python 3 bindings for %{name}.
|
|
|
|
|
|
|
|
|
|
%package -n ruby-%{name}
|
|
|
|
|
Summary: Ruby bindings for %{name}
|
|
|
|
|
License: LGPL-2.0-or-later
|
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
|
Requires: ruby(release)
|
|
|
|
|
Requires: ruby
|
|
|
|
@ -200,6 +202,8 @@ ruby-%{name} contains Ruby bindings for %{name}.
|
|
|
|
|
%setup -q
|
|
|
|
|
%autopatch -p1
|
|
|
|
|
|
|
|
|
|
autoreconf -fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure \
|
|
|
|
@ -232,17 +236,6 @@ rm $RPM_BUILD_ROOT%{python3_sitearch}/libhivexmod.la
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
# Disable some gnulib tests which fail on Arm and POWER and S/390
|
|
|
|
|
# (2020-07, 2020-12):
|
|
|
|
|
for f in test-float test-perror2 test-pthread_sigmask1 test-strerror_r; do
|
|
|
|
|
pushd gnulib/tests
|
|
|
|
|
make $f
|
|
|
|
|
rm -f $f
|
|
|
|
|
touch $f
|
|
|
|
|
chmod +x $f
|
|
|
|
|
popd
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
if ! make check -k; then
|
|
|
|
|
for f in $( find -name test-suite.log | xargs grep -l ^FAIL: ); do
|
|
|
|
|
echo
|
|
|
|
@ -254,7 +247,7 @@ if ! make check -k; then
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%doc README
|
|
|
|
|
%doc README.md
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{_bindir}/hivexget
|
|
|
|
|
%{_bindir}/hivexml
|
|
|
|
@ -265,7 +258,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files libs
|
|
|
|
|
%doc README
|
|
|
|
|
%doc README.md
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{_libdir}/libhivex.so.*
|
|
|
|
|
|
|
|
|
@ -287,20 +280,21 @@ fi
|
|
|
|
|
|
|
|
|
|
%if %{with ocaml}
|
|
|
|
|
%files -n ocaml-%{name}
|
|
|
|
|
%doc README
|
|
|
|
|
%{_libdir}/ocaml/hivex
|
|
|
|
|
%exclude %{_libdir}/ocaml/hivex/*.a
|
|
|
|
|
%exclude %{_libdir}/ocaml/hivex/*.cmxa
|
|
|
|
|
%exclude %{_libdir}/ocaml/hivex/*.cmx
|
|
|
|
|
%exclude %{_libdir}/ocaml/hivex/*.mli
|
|
|
|
|
%doc README.md
|
|
|
|
|
%dir %{_libdir}/ocaml/hivex
|
|
|
|
|
%{_libdir}/ocaml/hivex/META
|
|
|
|
|
%{_libdir}/ocaml/hivex/*.cma
|
|
|
|
|
%{_libdir}/ocaml/hivex/*.cmi
|
|
|
|
|
%{_libdir}/ocaml/stublibs/*.so
|
|
|
|
|
%{_libdir}/ocaml/stublibs/*.so.owner
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n ocaml-%{name}-devel
|
|
|
|
|
%{_libdir}/ocaml/hivex/*.a
|
|
|
|
|
%ifarch %{ocaml_native_compiler}
|
|
|
|
|
%{_libdir}/ocaml/hivex/*.cmxa
|
|
|
|
|
%{_libdir}/ocaml/hivex/*.cmx
|
|
|
|
|
%endif
|
|
|
|
|
%{_libdir}/ocaml/hivex/*.a
|
|
|
|
|
%{_libdir}/ocaml/hivex/*.mli
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
@ -325,21 +319,138 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Sep 14 2021 Laszlo Ersek <lersek@redhat.com> - 1.3.21-3
|
|
|
|
|
- Bring key collation order closer to that of Windows.
|
|
|
|
|
- Resolves: RHBZ#1648524.
|
|
|
|
|
* Wed Oct 30 2024 Troy Dawson <tdawson@redhat.com> - 1.3.24-2
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.3.24-1
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Mon Sep 09 2024 Richard W.M. Jones <rjones@redhat.com> - 1.3.24-1
|
|
|
|
|
- Rebase to Fedora Rawhide
|
|
|
|
|
resolves: RHEL-56804
|
|
|
|
|
|
|
|
|
|
* Thu Aug 08 2024 Troy Dawson <tdawson@redhat.com> - 1.3.23-24
|
|
|
|
|
- Bump release for Aug 2024 java mass rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 25 2024 Troy Dawson <tdawson@redhat.com> - 1.3.23-23
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jun 19 2024 Richard W.M. Jones <rjones@redhat.com> - 1.3.23-22
|
|
|
|
|
- OCaml 5.2.0 ppc64le fix
|
|
|
|
|
|
|
|
|
|
* Wed Jun 12 2024 Jitka Plesnikova <jplesnik@redhat.com> - 1.3.23-21
|
|
|
|
|
- Perl 5.40 rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 1.3.23-20
|
|
|
|
|
- Rebuilt for Python 3.13
|
|
|
|
|
|
|
|
|
|
* Wed May 29 2024 Richard W.M. Jones <rjones@redhat.com> - 1.3.23-19
|
|
|
|
|
- OCaml 5.2.0 for Fedora 41
|
|
|
|
|
|
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.23-18
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.23-17
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 03 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.3.23-16
|
|
|
|
|
- Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_3.3
|
|
|
|
|
|
|
|
|
|
* Mon Dec 18 2023 Richard W.M. Jones <rjones@redhat.com> - 1.3.23-15
|
|
|
|
|
- OCaml 5.1.1 + s390x code gen fix for Fedora 40
|
|
|
|
|
|
|
|
|
|
* Tue Dec 12 2023 Richard W.M. Jones <rjones@redhat.com> - 1.3.23-14
|
|
|
|
|
- OCaml 5.1.1 rebuild for Fedora 40
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.3.21-2
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Thu Oct 05 2023 Richard W.M. Jones <rjones@redhat.com> - 1.3.23-13
|
|
|
|
|
- OCaml 5.1 rebuild for Fedora 40
|
|
|
|
|
|
|
|
|
|
* Mon Aug 07 2023 Richard W.M. Jones <rjones@redhat.com> - 1.3.23-12
|
|
|
|
|
- Fix Ruby minitest support (RHBZ#2229653)
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.23-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 13 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1.3.23-10
|
|
|
|
|
- Perl 5.38 re-rebuild updated packages
|
|
|
|
|
|
|
|
|
|
* Tue Jul 11 2023 Richard W.M. Jones <rjones@redhat.com> - 1.3.23-9
|
|
|
|
|
- OCaml 5.0 rebuild for Fedora 39
|
|
|
|
|
|
|
|
|
|
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1.3.23-8
|
|
|
|
|
- Perl 5.38 rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 10 2023 Jerry James <loganjerry@gmail.com> - 1.3.23-7
|
|
|
|
|
- OCaml 5.0.0 rebuild
|
|
|
|
|
- Build the OCaml interface on all architectures but i386
|
|
|
|
|
|
|
|
|
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.3.23-6
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
* Mon Jun 05 2023 Richard W.M. Jones <rjones@redhat.com> - 1.3.23-5
|
|
|
|
|
- Migrated to SPDX license
|
|
|
|
|
|
|
|
|
|
* Tue Jan 24 2023 Richard W.M. Jones <rjones@redhat.com> - 1.3.23-4
|
|
|
|
|
- Bump release and rebuild.
|
|
|
|
|
|
|
|
|
|
* Tue Jan 24 2023 Richard W.M. Jones <rjones@redhat.com> - 1.3.23-3
|
|
|
|
|
- Rebuild OCaml packages for F38
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.23-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 18 2023 Richard W.M. Jones <rjones@redhat.com> - 1.3.23-1
|
|
|
|
|
- New development version 1.3.23
|
|
|
|
|
- Second attempt to fix Python 3.12 removal of distutils (RHBZ#2155013)
|
|
|
|
|
- Remove gnulib since it is no longer bundled by upstream.
|
|
|
|
|
|
|
|
|
|
* Wed Jan 04 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.3.21-13
|
|
|
|
|
- Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_3.2
|
|
|
|
|
|
|
|
|
|
* Tue Jan 03 2023 Richard W.M. Jones <rjones@redhat.com> - 1.3.21-12
|
|
|
|
|
- Upstream fix for Python 3.12 removal of distutils (RHBZ#2155013)
|
|
|
|
|
- Unconditionally run autoreconf.
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.21-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 20 2022 Python Maint <python-maint@redhat.com> - 1.3.21-10
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
* Sat Jun 18 2022 Richard W.M. Jones <rjones@redhat.com> - 1.3.21-9
|
|
|
|
|
- OCaml 4.14.0 rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.3.21-8
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.3.21-7
|
|
|
|
|
- Perl 5.36 rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 04 2022 Richard W.M. Jones <rjones@redhat.com> - 1.3.21-6
|
|
|
|
|
- OCaml 4.13.1 rebuild to remove package notes
|
|
|
|
|
|
|
|
|
|
* Wed Jan 26 2022 Vít Ondruch <vondruch@redhat.com> - 1.3.21-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_3.1
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.21-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Oct 04 2021 Richard W.M. Jones <rjones@redhat.com> - 1.3.21-3
|
|
|
|
|
- Bump release and rebuild.
|
|
|
|
|
|
|
|
|
|
* Mon Oct 04 2021 Richard W.M. Jones <rjones@redhat.com> - 1.3.21-2
|
|
|
|
|
- OCaml 4.13.1 build
|
|
|
|
|
|
|
|
|
|
* Mon Aug 2 2021 Richard W.M. Jones <rjones@redhat.com> - 1.3.21-1
|
|
|
|
|
- New upstream version 1.3.21.
|
|
|
|
|
- Fixes CVE-2021-3622 limit recursion in ri-records.
|
|
|
|
|
|
|
|
|
|
* Wed Jun 23 2021 Richard W.M. Jones <rjones@redhat.com> - 1.3.20-7
|
|
|
|
|
- Bump and rebuild
|
|
|
|
|
resolves: rhbz#1975314
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.20-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 14 2021 Matt Coleman <matt@datto.com> - 1.3.20-7
|
|
|
|
|
- Correct the static package's dependency
|
|
|
|
|
|
|
|
|
|
* Fri Jun 11 2021 Matt Coleman <matt@datto.com> - 1.3.20-6
|
|
|
|
|
- Move the library into a separate package: hivex-libs
|
|
|
|
@ -347,9 +458,15 @@ fi
|
|
|
|
|
* Fri Jun 11 2021 Matt Coleman <matt@datto.com> - 1.3.20-5
|
|
|
|
|
- Mark LICENSE as a license file
|
|
|
|
|
|
|
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.3.20-4
|
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
|
|
|
|
|
* Wed Jun 2 2021 Richard W.M. Jones <rjones@redhat.com> - 1.3.20-3
|
|
|
|
|
- Add gating tests (for RHEL 9)
|
|
|
|
|
|
|
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.3.20-2
|
|
|
|
|
- Perl 5.34 rebuild
|
|
|
|
|
|
|
|
|
|
* Mon May 3 2021 Richard W.M. Jones <rjones@redhat.com> - 1.3.20-1
|
|
|
|
|
- New upstream version 1.3.20.
|
|
|
|
|
- Fixes CVE-2021-3504 missing bounds check in hivex_open.
|
|
|
|
|