Compare commits

...

No commits in common. "c8" and "c9s" have entirely different histories.
c8 ... c9s

8 changed files with 88 additions and 30 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/raptor2-2.0.15.tar.gz /raptor2-2.0.14.tar.gz
/raptor2-2.0.15.tar.gz

View File

@ -1 +1 @@
504231f87024df9aceb90eb957196b557b4b8e38 SOURCES/raptor2-2.0.15.tar.gz 504231f87024df9aceb90eb957196b557b4b8e38 raptor2-2.0.15.tar.gz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}

View File

@ -2,7 +2,7 @@
Summary: RDF Parser Toolkit for Redland Summary: RDF Parser Toolkit for Redland
Name: raptor2 Name: raptor2
Version: 2.0.15 Version: 2.0.15
Release: 16%{?dist} Release: 30%{?dist}
License: GPLv2+ or LGPLv2+ or ASL 2.0 License: GPLv2+ or LGPLv2+ or ASL 2.0
Source: http://download.librdf.org/source/raptor2-%{version}.tar.gz Source: http://download.librdf.org/source/raptor2-%{version}.tar.gz
@ -14,12 +14,17 @@ Patch1: 0001-Calcualte-max-nspace-declarations-correctly-for-XML-.patch
# https://bugs.librdf.org/mantis/view.php?id=650 # https://bugs.librdf.org/mantis/view.php?id=650
Patch2: 0001-CVE-2020-25713-raptor2-malformed-input-file-can-lead.patch Patch2: 0001-CVE-2020-25713-raptor2-malformed-input-file-can-lead.patch
## upstreamable patches
BuildRequires: make
BuildRequires: gcc-c++
BuildRequires: curl-devel BuildRequires: curl-devel
%if ! 0%{?flatpak}
BuildRequires: gtk-doc BuildRequires: gtk-doc
%endif
BuildRequires: libicu-devel BuildRequires: libicu-devel
BuildRequires: pkgconfig(libxslt) BuildRequires: pkgconfig(libxslt)
%if ! 0%{?rhel}
BuildRequires: yajl-devel
%endif
# when /usr/bin/rappor moved here -- rex # when /usr/bin/rappor moved here -- rex
Conflicts: raptor < 1.4.21-10 Conflicts: raptor < 1.4.21-10
@ -46,21 +51,24 @@ sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
%build %build
%configure \
--disable-static --enable-release \
--with-icu-config=/usr/bin/icu-config \
%if 0%{?flatpak}
--disable-gtk-doc \
%endif
--with-yajl=no
make %{?_smp_mflags} %if 0%{?rhel}
%define distrooptions --with-yajl=no
%else
%define distrooptions --with-yajl=yes
%endif
%configure \
--disable-static \
--enable-release \
--with-icu-config=/usr/bin/icu-config \
%{distrooptions}
%make_build
%install %install
rm -rf %{buildroot} %make_install
make DESTDIR=%{buildroot} install
## unpackaged files ## unpackaged files
rm -fv %{buildroot}%{_libdir}/lib*.la rm -fv %{buildroot}%{_libdir}/lib*.la
@ -72,16 +80,11 @@ test "$(pkg-config --modversion raptor2)" = "%{version}"
make check make check
%clean %ldconfig_scriptlets
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files %files
%doc AUTHORS ChangeLog NEWS README %doc AUTHORS ChangeLog NEWS README
%doc COPYING* LICENSE.txt LICENSE-2.0.txt %license COPYING* LICENSE.txt LICENSE-2.0.txt
%{_libdir}/libraptor2.so.0* %{_libdir}/libraptor2.so.0*
%{_bindir}/rapper %{_bindir}/rapper
%{_mandir}/man1/rapper* %{_mandir}/man1/rapper*
@ -98,18 +101,62 @@ rm -rf %{buildroot}
%changelog %changelog
* Tue Nov 24 2020 Caolán McNamara <caolanm@redhat.com> - 2.0.15-16 * Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.15-30
- Resolves: rhbz#1900904 CVE-2020-25713 raptor2: malformed input file can lead to a segfault - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Tue Nov 17 2020 Caolán McNamara <caolanm@redhat.com> - 2.0.15-15 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.15-29
- Resolves: rhbz#1896534 CVE-2017-18926 raptor: heap-based buffer overflow - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Mon Nov 16 2020 Caolán McNamara <caolanm@redhat.com> - 2.0.15-14 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-28
- Resolves: rhbz#1896340 Suppress documentation in Flatpak builds - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Aug 21 2018 Caolán McNamara <caolanm@redhat.com> - 2.0.15-13 * Mon Jan 11 2021 Caolán McNamara <caolanm@redhat.com> - 2.0.15-27
- Resolves: rhbz#1900686 CVE-2020-25713 malformed input file can lead to a segfault
* Mon Aug 10 2020 Caolán McNamara <caolanm@redhat.com> - 2.0.15-26
- Resolves: rhbz#1560206 drop requirement on yajl - Resolves: rhbz#1560206 drop requirement on yajl
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-25
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri May 15 2020 Pete Walter <pwalter@fedoraproject.org> - 2.0.15-23
- Rebuild for ICU 67
* Mon Feb 17 2020 Rex Dieter <rdieter@fedoraproject.org> - 2.0.15-22
- backport crash fix
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Nov 01 2019 Pete Walter <pwalter@fedoraproject.org> - 2.0.15-20
- Rebuild for ICU 65
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Jan 23 2019 Pete Walter <pwalter@fedoraproject.org> - 2.0.15-17
- Rebuild for ICU 63
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jul 10 2018 Pete Walter <pwalter@fedoraproject.org> - 2.0.15-15
- Rebuild for ICU 62
* Mon Apr 30 2018 Pete Walter <pwalter@fedoraproject.org> - 2.0.15-14
- Rebuild for ICU 61.1
* Wed Mar 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 2.0.15-13
- BR: gcc-c++, use %%make_build %%make_install %%license %%ldconfig_scriptlets
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-12 * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

3
rpminspect.yaml Normal file
View File

@ -0,0 +1,3 @@
xml:
ignore:
- /usr/share/gtk-doc/html/raptor2/raptor2.devhelp2

1
sources Normal file
View File

@ -0,0 +1 @@
a39f6c07ddb20d7dd2ff1f95fa21e2cd raptor2-2.0.15.tar.gz