Upgrade package apr to 1.7.2 to fix CVE-2022-24963 (#4851)
* apr: Update cgmanifest entry * apr: Fixing linter warnings
This commit is contained in:
Родитель
e50369f079
Коммит
480e803d11
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"apr-1.7.0.tar.gz": "48e9dbf45ae3fdc7b491259ffb6ccf7d63049ffacbc1c0977cced095e4c2d5a2"
|
||||
"apr-1.7.2.tar.gz": "3d8999b216f7b6235343a4e3d456ce9379aa9a380ffb308512f133f0c5eb2db9"
|
||||
}
|
||||
}
|
|
@ -1,15 +1,14 @@
|
|||
%define aprver 1
|
||||
Summary: The Apache Portable Runtime
|
||||
Name: apr
|
||||
Version: 1.7.0
|
||||
Version: 1.7.2
|
||||
Release: 1%{?dist}
|
||||
License: ASL 2.0
|
||||
URL: https://apr.apache.org/
|
||||
Group: System Environment/Libraries
|
||||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
Group: System Environment/Libraries
|
||||
URL: https://apr.apache.org/
|
||||
Source0: https://dlcdn.apache.org/%{name}/%{name}-%{version}.tar.gz
|
||||
%define aprver 1
|
||||
|
||||
%if %{with_check}
|
||||
# test_serv_by_name test requires /etc/services file from iana-etc package
|
||||
BuildRequires: iana-etc
|
||||
|
@ -17,16 +16,19 @@ BuildRequires: iana-etc
|
|||
|
||||
%description
|
||||
The Apache Portable Runtime.
|
||||
|
||||
%package devel
|
||||
Summary: Header and development files
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
It contains the libraries and header files to create applications
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
./configure --prefix=/usr \
|
||||
./configure --prefix=%{_prefix} \
|
||||
--includedir=%{_includedir}/apr-%{aprver} \
|
||||
--with-installbuilddir=%{_libdir}/apr/build-%{aprver} \
|
||||
--with-devrandom=/dev/urandom \
|
||||
|
@ -54,7 +56,7 @@ make -j1 check
|
|||
%exclude %{_libdir}/pkgconfig
|
||||
%{_bindir}/*
|
||||
|
||||
%files devel
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.a
|
||||
|
@ -62,33 +64,49 @@ make -j1 check
|
|||
%{_libdir}/pkgconfig
|
||||
|
||||
%changelog
|
||||
* Tue Feb 14 2023 Suresh Thelkar <sthelkar@microsoft.com> - 1.7.2-1
|
||||
- Upgrade to version 1.7.2 to fix CVE-2022-24963
|
||||
|
||||
* Tue Jan 04 2022 Nicolas Guibourge <nicolasg@microsoft.com> - 1.7.0-1
|
||||
- Upgrade to version 1.7.0.
|
||||
|
||||
* Thu Oct 28 2021 Pawel Winogrodzki <pawel.winogrodzki@microsoft.com> - 1.6.5-6
|
||||
- Fixing tests further by making them run on a single thread.
|
||||
- Removed `%%sha1` macro.
|
||||
- License verified.
|
||||
|
||||
* Fri Sep 10 2021 Thomas Crain <thcrain@microsoft.com> - 1.6.5-5
|
||||
- Remove libtool archive files from final packaging
|
||||
|
||||
* Mon Dec 07 2020 Andrew Phelps <anphel@microsoft.com> - 1.6.5-4
|
||||
- Fix check tests.
|
||||
|
||||
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 1.6.5-3
|
||||
- Added %%license line automatically
|
||||
|
||||
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 1.6.5-2
|
||||
- Initial CBL-Mariner import from Photon (license: Apache2).
|
||||
|
||||
* Tue Sep 18 2018 Ankit Jain <ankitja@vmware.com> - 1.6.5-1
|
||||
- Updated to version 1.6.5
|
||||
|
||||
* Fri Dec 08 2017 Xiaolin Li <xiaolinl@vmware.com> - 1.5.2-7
|
||||
- Fix CVE-2017-12613
|
||||
|
||||
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> - 1.5.2-6
|
||||
- GA - Bump release of all rpms
|
||||
|
||||
* Mon Sep 21 2015 Harish Udaiya Kumar<hudaiyakumar@vmware.com> - 1.5.2-5
|
||||
- Repacked to move the include files in devel package.
|
||||
|
||||
* Wed Jul 15 2015 Sarah Choi <sarahc@vmware.com> - 1.5.2-4
|
||||
- Use aprver(=1) instead of version for mesos
|
||||
|
||||
* Mon Jul 13 2015 Alexey Makhalov <amakhalov@vmware.com> - 1.5.2-3
|
||||
- Exclude /usr/lib/debug
|
||||
|
||||
* Wed Jul 01 2015 Touseef Liaqat <tliaqat@vmware.com> - 1.5.2-2
|
||||
- Fix tags and paths.
|
||||
|
||||
* Wed May 20 2015 Touseef Liaqat <tliaqat@vmware.com> - 1.5.2-1
|
||||
- Initial build. First version
|
||||
|
|
|
@ -495,8 +495,8 @@
|
|||
"type": "other",
|
||||
"other": {
|
||||
"name": "apr",
|
||||
"version": "1.7.0",
|
||||
"downloadUrl": "https://dlcdn.apache.org/apr/apr-1.7.0.tar.gz"
|
||||
"version": "1.7.2",
|
||||
"downloadUrl": "https://dlcdn.apache.org/apr/apr-1.7.2.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче