|
|
@ -43,7 +43,7 @@
|
|
|
|
%global colorama_dir %{bundled_lib_dir}/aliyun/%{colorama}
|
|
|
|
%global colorama_dir %{bundled_lib_dir}/aliyun/%{colorama}
|
|
|
|
# python-pycryptodome bundle
|
|
|
|
# python-pycryptodome bundle
|
|
|
|
%global pycryptodome pycryptodome
|
|
|
|
%global pycryptodome pycryptodome
|
|
|
|
%global pycryptodome_version 3.6.4
|
|
|
|
%global pycryptodome_version 3.20.0
|
|
|
|
%global pycryptodome_dir %{bundled_lib_dir}/aliyun/%{pycryptodome}
|
|
|
|
%global pycryptodome_dir %{bundled_lib_dir}/aliyun/%{pycryptodome}
|
|
|
|
# python-aliyun-sdk-core bundle
|
|
|
|
# python-aliyun-sdk-core bundle
|
|
|
|
%global aliyunsdkcore aliyun-python-sdk-core
|
|
|
|
%global aliyunsdkcore aliyun-python-sdk-core
|
|
|
@ -61,6 +61,10 @@
|
|
|
|
%global aliyuncli aliyun-cli
|
|
|
|
%global aliyuncli aliyun-cli
|
|
|
|
%global aliyuncli_version 2.1.10
|
|
|
|
%global aliyuncli_version 2.1.10
|
|
|
|
%global aliyuncli_dir %{bundled_lib_dir}/aliyun/%{aliyuncli}
|
|
|
|
%global aliyuncli_dir %{bundled_lib_dir}/aliyun/%{aliyuncli}
|
|
|
|
|
|
|
|
## fix CVEs
|
|
|
|
|
|
|
|
# urllib3 bundle
|
|
|
|
|
|
|
|
%global urllib3 urllib3
|
|
|
|
|
|
|
|
%global urllib3_version 1.26.18
|
|
|
|
|
|
|
|
|
|
|
|
# determine the ras-set to process based on configure invokation
|
|
|
|
# determine the ras-set to process based on configure invokation
|
|
|
|
%bcond_with rgmanager
|
|
|
|
%bcond_with rgmanager
|
|
|
@ -69,7 +73,7 @@
|
|
|
|
Name: resource-agents
|
|
|
|
Name: resource-agents
|
|
|
|
Summary: Open Source HA Reusable Cluster Resource Scripts
|
|
|
|
Summary: Open Source HA Reusable Cluster Resource Scripts
|
|
|
|
Version: 4.9.0
|
|
|
|
Version: 4.9.0
|
|
|
|
Release: 48%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist}
|
|
|
|
Release: 48%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist}.1
|
|
|
|
License: GPLv2+ and LGPLv2+
|
|
|
|
License: GPLv2+ and LGPLv2+
|
|
|
|
URL: https://github.com/ClusterLabs/resource-agents
|
|
|
|
URL: https://github.com/ClusterLabs/resource-agents
|
|
|
|
%if 0%{?fedora} || 0%{?centos_version} || 0%{?rhel}
|
|
|
|
%if 0%{?fedora} || 0%{?centos_version} || 0%{?rhel}
|
|
|
@ -88,6 +92,7 @@ Source7: %{aliyunsdkcore}-%{aliyunsdkcore_version}.tar.gz
|
|
|
|
Source8: %{aliyunsdkecs}-%{aliyunsdkecs_version}.tar.gz
|
|
|
|
Source8: %{aliyunsdkecs}-%{aliyunsdkecs_version}.tar.gz
|
|
|
|
Source9: %{aliyunsdkvpc}-%{aliyunsdkvpc_version}.tar.gz
|
|
|
|
Source9: %{aliyunsdkvpc}-%{aliyunsdkvpc_version}.tar.gz
|
|
|
|
Source10: %{aliyuncli}-%{aliyuncli_version}.tar.gz
|
|
|
|
Source10: %{aliyuncli}-%{aliyuncli_version}.tar.gz
|
|
|
|
|
|
|
|
Source11: %{urllib3}-%{urllib3_version}.tar.gz
|
|
|
|
Patch0: nova-compute-wait-NovaEvacuate.patch
|
|
|
|
Patch0: nova-compute-wait-NovaEvacuate.patch
|
|
|
|
Patch1: bz1872754-pgsqlms-new-ra.patch
|
|
|
|
Patch1: bz1872754-pgsqlms-new-ra.patch
|
|
|
|
Patch2: bz1995178-storage-mon-fix-typo.patch
|
|
|
|
Patch2: bz1995178-storage-mon-fix-typo.patch
|
|
|
@ -255,6 +260,8 @@ Provides: bundled(python-aliyun-sdk-ecs) = %{aliyunsdkecs_version}
|
|
|
|
Provides: bundled(python-aliyun-sdk-vpc) = %{aliyunsdkvpc_version}
|
|
|
|
Provides: bundled(python-aliyun-sdk-vpc) = %{aliyunsdkvpc_version}
|
|
|
|
# aliyuncli bundle
|
|
|
|
# aliyuncli bundle
|
|
|
|
Provides: bundled(aliyuncli) = %{aliyuncli_version}
|
|
|
|
Provides: bundled(aliyuncli) = %{aliyuncli_version}
|
|
|
|
|
|
|
|
# urllib3 bundle
|
|
|
|
|
|
|
|
Provides: bundled(python-urllib3) = %{urllib3_version}
|
|
|
|
|
|
|
|
|
|
|
|
%description aliyun
|
|
|
|
%description aliyun
|
|
|
|
Alibaba Cloud (Aliyun) resource agents allows Alibaba Cloud
|
|
|
|
Alibaba Cloud (Aliyun) resource agents allows Alibaba Cloud
|
|
|
@ -294,7 +301,7 @@ Provides: bundled(python-pyparsing) = 2.1.10
|
|
|
|
Provides: bundled(python-requests) = 2.10.0
|
|
|
|
Provides: bundled(python-requests) = 2.10.0
|
|
|
|
Provides: bundled(python-six) = 1.11.0
|
|
|
|
Provides: bundled(python-six) = 1.11.0
|
|
|
|
Provides: bundled(python-uritemplate) = 3.0.0
|
|
|
|
Provides: bundled(python-uritemplate) = 3.0.0
|
|
|
|
Provides: bundled(python-urllib3) = 1.15.1
|
|
|
|
Provides: bundled(python-urllib3) = %{urllib3_version}
|
|
|
|
Provides: bundled(python-websocket) = 0.47.0
|
|
|
|
Provides: bundled(python-websocket) = 0.47.0
|
|
|
|
Provides: bundled(python-yaml) = 3.12
|
|
|
|
Provides: bundled(python-yaml) = 3.12
|
|
|
|
# python-pyroute2 bundle
|
|
|
|
# python-pyroute2 bundle
|
|
|
@ -623,6 +630,9 @@ make install DESTDIR=%{buildroot}
|
|
|
|
# google-cloud-sdk bundle
|
|
|
|
# google-cloud-sdk bundle
|
|
|
|
%ifarch x86_64
|
|
|
|
%ifarch x86_64
|
|
|
|
pushd %{googlecloudsdk_dir}
|
|
|
|
pushd %{googlecloudsdk_dir}
|
|
|
|
|
|
|
|
# fix urllib3 CVEs
|
|
|
|
|
|
|
|
rm -rf lib/third_party/urllib3
|
|
|
|
|
|
|
|
%{__python3} -m pip install --target lib/third_party --no-index --find-links %{_sourcedir} urllib3
|
|
|
|
mkdir -p %{buildroot}/usr/lib/%{name}/%{googlecloudsdk_dir}
|
|
|
|
mkdir -p %{buildroot}/usr/lib/%{name}/%{googlecloudsdk_dir}
|
|
|
|
cp -a bin data lib %{buildroot}/usr/lib/%{name}/%{googlecloudsdk_dir}
|
|
|
|
cp -a bin data lib %{buildroot}/usr/lib/%{name}/%{googlecloudsdk_dir}
|
|
|
|
mkdir %{buildroot}/%{_bindir}
|
|
|
|
mkdir %{buildroot}/%{_bindir}
|
|
|
@ -651,6 +661,9 @@ popd
|
|
|
|
# python-aliyun-sdk-core bundle
|
|
|
|
# python-aliyun-sdk-core bundle
|
|
|
|
pushd %{aliyunsdkcore_dir}
|
|
|
|
pushd %{aliyunsdkcore_dir}
|
|
|
|
%{__python3} setup.py install -O1 --skip-build --root %{buildroot} --install-lib /usr/lib/%{name}/%{bundled_lib_dir}/aliyun
|
|
|
|
%{__python3} setup.py install -O1 --skip-build --root %{buildroot} --install-lib /usr/lib/%{name}/%{bundled_lib_dir}/aliyun
|
|
|
|
|
|
|
|
# fix urllib3 CVEs
|
|
|
|
|
|
|
|
rm -rf %{buildroot}/usr/lib/%{name}/%{bundled_lib_dir}/aliyun/aliyunsdkcore/vendored/requests/packages/urllib3
|
|
|
|
|
|
|
|
%{__python3} -m pip install --target %{buildroot}/usr/lib/%{name}/%{bundled_lib_dir}/aliyun/aliyunsdkcore/vendored/requests/packages --no-index --find-links %{_sourcedir} urllib3
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
# python-aliyun-sdk-ecs bundle
|
|
|
|
# python-aliyun-sdk-ecs bundle
|
|
|
@ -964,6 +977,12 @@ ccs_update_schema > /dev/null 2>&1 ||:
|
|
|
|
%{_usr}/lib/ocf/lib/heartbeat/OCF_*.pm
|
|
|
|
%{_usr}/lib/ocf/lib/heartbeat/OCF_*.pm
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Jan 24 2024 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.9.0-48.1
|
|
|
|
|
|
|
|
- bundled urllib3: fix CVE-2023-45803
|
|
|
|
|
|
|
|
- bundled pycryptodome: fix CVE-2023-52323
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Resolves: RHEL-22436, RHEL-21746
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Oct 5 2023 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.9.0-48
|
|
|
|
* Thu Oct 5 2023 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.9.0-48
|
|
|
|
- IPaddr2/IPsrcaddr: support policy-based routing
|
|
|
|
- IPaddr2/IPsrcaddr: support policy-based routing
|
|
|
|
|
|
|
|
|
|
|
|