add loongarch support for dpkg

(cherry picked from commit 9cf9f16eddf76ca132486fd11340d9f4cd8b0f44)
This commit is contained in:
Wenlong Zhang 2023-03-10 09:44:44 +08:00 committed by openeuler-sync-bot
parent bbb3fe7272
commit d1894af7ee
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