!28 [sync] PR-27: add loongarch support for dpkg

From: @openeuler-sync-bot 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2023-08-14 03:17:53 +00:00 committed by Gitee
commit c2ef6d17b3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,7 @@
--- dpkg-1.18.25/data/cputable 2018-06-26 18:28:08.000000000 +0800
+++ dpkg-1.18.25.bak/data/cputable 2022-08-18 11:07:35.274982296 +0800
@@ -51,3 +51,4 @@
sparc sparc sparc 32 big
sparc64 sparc64 sparc64 64 big
tilegx tilegx tilegx 64 little
+loongarch64 loongarch64 loongarch64 64 little

View File

@ -2,7 +2,7 @@
Name: dpkg
Version: 1.18.25
Release: 11
Release: 12
Summary: Package maintenance system for Debian Linux
License: GPLv2 and GPLv2+ and LGPLv2+ and Public Domain and BSD
URL: https://tracker.debian.org/pkg/dpkg
@ -25,6 +25,7 @@ Requires(post): coreutils
Patch1: dpkg-fix-logrotate.patch
Patch2: dpkg-log-Change-logfile-permission-to-satisfy-with-s.patch
Patch3: CVE-2022-1664.patch
Patch4: add-loongarch-support-for-dpkg.patch
%description
Dpkg is a tool to install, build, remove and manageDebian packages. The
@ -237,6 +238,9 @@ chown root:root /var/log/dpkg.log 2>/dev/null || chown 0:0 /var/log/dpkg.log
%endif
%changelog
* Fri Mar 10 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 1.18.25-12
- add loongarch support for dpkg
* Fri May 27 2022 houyingchao <houyingchao@h-partners.com> - 1.18.25-11
- Fix CVE-2022-1664