Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
b322f7ccdd
!46 [sync] PR-40: fix license
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-06-18 06:39:44 +00:00
xh
e32e9ada39 fix license
(cherry picked from commit 482c472693451dc7f06a2b304a6062c7e62d7da2)
2024-06-17 09:57:06 +08:00
openeuler-ci-bot
66cbd7e43c
!24 [sync] PR-23: fix CVE-2024-3651
From: @openeuler-sync-bot 
Reviewed-by: @zengwefeng 
Signed-off-by: @zengwefeng
2024-04-22 03:34:35 +00:00
zhangpan
63a3da8f66 fix CVE-2024-3651
(cherry picked from commit 568e4758622687f52545f83752b5b15944e82b53)
2024-04-20 17:19:33 +08:00
openeuler-ci-bot
ff09e77a2b
!21 [sync] PR-20: correct the tar package
From: @openeuler-sync-bot 
Reviewed-by: @robertxw 
Signed-off-by: @robertxw
2024-04-20 09:16:58 +00:00
zhangpan
ea6704db09 correct the tar package
(cherry picked from commit 81b006ba41a953ce90c71d8fbd4a821a978c3ca0)
2024-04-20 14:45:09 +08:00
openeuler-ci-bot
edd476b391
!18 update to 3.6
From: @zppzhangpan 
Reviewed-by: @robertxw 
Signed-off-by: @robertxw
2024-02-01 02:39:20 +00:00
zhangpan
ed3ab4e7b6 update to 3.6 2024-01-15 03:38:33 +00:00
openeuler-ci-bot
b6ae827953
!17 Update package to 3.4
From: @li-miaomiao_zhr 
Reviewed-by: @robertxw 
Signed-off-by: @robertxw
2023-07-25 07:18:22 +00:00
li-miaomiao_zhr
ea9f7c831c update to version 4.3 2023-06-30 15:05:49 +08:00
4 changed files with 2519 additions and 8 deletions

2489
backport-CVE-2024-3651.patch Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

BIN
idna-3.6.tar.gz Normal file

Binary file not shown.

View File

@ -1,13 +1,14 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-idna Name: python-idna
Version: 3.3 Version: 3.6
Release: 2 Release: 4
Summary: Internationalized Domain Names in Applications (IDNA) Summary: Internationalized Domain Names in Applications (IDNA)
License: BSD License: BSD-3-Clause
URL: https://github.com/kjd/idna URL: https://github.com/kjd/idna
Source0: https://files.pythonhosted.org/packages/62/08/e3fc7c8161090f742f504f40b1bccbfc544d4a4e09eb774bf40aafce5436/idna-3.3.tar.gz Source0: https://github.com/kjd/idna/archive/refs/tags/idna-3.6.tar.gz
BuildArch: noarch BuildArch: noarch
Patch6000: backport-CVE-2024-3651.patch
%description %description
A library to support the Internationalised Domain Names in A library to support the Internationalised Domain Names in
@ -21,9 +22,11 @@ Summary: Internationalized Domain Names in Applications (IDNA)
Provides: python-idna = %{version}-%{release} Provides: python-idna = %{version}-%{release}
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
BuildRequires: python3-pbr BuildRequires: python3-pbr
BuildRequires: python3-pip BuildRequires: python3-pip
BuildRequires: python3-wheel BuildRequires: python3-wheel
BuildRequires: python3-flit-core pytest
%description -n python3-idna %description -n python3-idna
A library to support the Internationalised Domain Names in A library to support the Internationalised Domain Names in
Applications (IDNA) protocol as specified in RFC 5891 Applications (IDNA) protocol as specified in RFC 5891
@ -42,13 +45,13 @@ is often referred to as “IDNA2008” and can produce different
results from the earlier standard from 2003. results from the earlier standard from 2003.
%prep %prep
%autosetup -n idna-%{version} %autosetup -n idna-%{version} -p1
%build %build
%py3_build %pyproject_build
%install %install
%py3_install %pyproject_install
install -d -m755 %{buildroot}/%{_pkgdocdir} install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
@ -76,15 +79,34 @@ mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst . mv %{buildroot}/doclist.lst .
%check %check
%{__python3} setup.py test %pytest
%files -n python3-idna -f filelist.lst %files -n python3-idna -f filelist.lst
%dir %{python3_sitelib}/* %dir %{python3_sitelib}/*
%{python3_sitelib}/idna/__pycache__/
%files help -f doclist.lst %files help -f doclist.lst
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Fri Jun 14 2024 xinghe <xinghe2@h-partners.com> - 3.6-4
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:fix license
* Sat Apr 20 2024 zhangpan <zhangpan103@h-partners.com> - 3.6-3
- fix CVE-2024-3651
* Sat Apr 20 2024 zhangpan <zhangpan103@h-partners.com> - 3.6-2
- correct the tar package
* Mon Jan 15 2024 zhangpan <zhangpan103@h-partners.com> - 3.6-1
- update to 3.6
* Fri Jun 30 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 3.4-1
- Update to 3.4
* Tue Nov 29 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 3.3-2 * Tue Nov 29 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 3.3-2
- revent to 3.3 - revent to 3.3