!9 [sync] PR-8: Fix CVE-2024-25638

From: @openeuler-sync-bot 
Reviewed-by: @DingliZhang 
Signed-off-by: @DingliZhang
This commit is contained in:
openeuler-ci-bot 2024-07-23 03:15:35 +00:00 committed by Gitee
commit fb479e90c8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 1610 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +1,12 @@
%global do_not_test 1
Name: dnsjava
Version: 3.5.3
Release: 1
Release: 2
Summary: Java DNS implementation
License: BSD and MIT
URL: http://www.dnsjava.org/
Source0: https://github.com/dnsjava/dnsjava/archive/v%{version}/%{name}-%{version}.tar.gz
Patch0: backport-CVE-2024-25638.patch
BuildRequires: aqute-bnd javapackages-local
BuildRequires: maven-local
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
@ -43,6 +44,7 @@ Javadoc for %{name}.
rm -rf doc/
find -name "*.class" -print -delete
find -name "*.jar" -print -delete
%patch0 -p1 -b .CVE-2024-25638
iconv -f iso8859-1 -t utf8 Changelog > Changelog.tmp
touch -r Changelog Changelog.tmp
mv -f Changelog.tmp Changelog
@ -72,6 +74,9 @@ cp -rf target/xmvn-apidocs/* %{buildroot}%{_javadocdir}/%{name}
%license LICENSE
%changelog
* Tue Jul 23 2024 zhangxianting <zhangxianting@uniontech.com> - 3.5.3-2
- Fix CVE-2024-25638
* Tue Feb 20 2024 Ge Wang <wang__ge@126.com> - 3.5.3-1
- Update to 3.5.3