From d7b8bfd7651070434b5100e0c68fcfa00835e23c Mon Sep 17 00:00:00 2001 From: Shi Pujin Date: Thu, 13 Jan 2022 16:34:12 +0800 Subject: [PATCH] add loongarch64 support --- ...asso-config.-add-loongarch64-support.patch | 35 +++++++++++++++++++ lasso.spec | 6 +++- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 0001-lasso-config.-add-loongarch64-support.patch diff --git a/0001-lasso-config.-add-loongarch64-support.patch b/0001-lasso-config.-add-loongarch64-support.patch new file mode 100644 index 0000000..46f05bb --- /dev/null +++ b/0001-lasso-config.-add-loongarch64-support.patch @@ -0,0 +1,35 @@ +From ac98cfa0e08962cbd2c8598b79e7fdeb172ed408 Mon Sep 17 00:00:00 2001 +From: Shi Pujin +Date: Tue, 16 Nov 2021 11:15:42 +0000 +Subject: [PATCH] lasso: config.*: add loongarch64 support + + +diff --git a/config.guess b/config.guess +index f50dcdb..e1cbc54 100755 +--- a/config.guess ++++ b/config.guess +@@ -992,6 +992,9 @@ EOF + mips64el:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; ++ loongarch64:Linux:*:* | loongarch32:Linux:*:*) ++ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" ++ exit ;; + openrisc*:Linux:*:*) + echo or1k-unknown-linux-"$LIBC" + exit ;; +diff --git a/config.sub b/config.sub +index 1d8e98b..a0be608 100755 +--- a/config.sub ++++ b/config.sub +@@ -267,6 +267,7 @@ case $basic_machine in + | lm32 \ + | m32c | m32r | m32rle | m68000 | m68k | m88k \ + | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ ++ | loongarch64 | loongarch32 \ + | mips | mipsbe | mipseb | mipsel | mipsle \ + | mips16 \ + | mips64 | mips64el \ +-- +2.27.0 + diff --git a/lasso.spec b/lasso.spec index 78bb87f..01c3373 100644 --- a/lasso.spec +++ b/lasso.spec @@ -1,6 +1,6 @@ Name: lasso Version: 2.6.0 -Release: 13 +Release: 14 Summary: Liberty Alliance Single Sign On License: GPLv2+ URL: http://lasso.entrouvert.org/ @@ -11,6 +11,7 @@ Patch2: build-scripts-py3-compatible.patch Patch3: duplicate-python-LogoutTestCase.patch patch4: versioned-python-configure.patch Patch5: 0005-tests-Remove-the-use-of-an-expired-cert-in-tests-as-.patch +Patch6: 0001-lasso-config.-add-loongarch64-support.patch Patch6000: backport-CVE-2021-28091.patch BuildRequires: autoconf automake check-devel glib2-devel gtk-doc libtool @@ -115,6 +116,9 @@ fi %doc AUTHORS NEWS README %changelog +* Tue Nov 16 2021 shipujin - 2.6.0-14 +- add loongarch64 support + * Sat Jul 10 2021 shixuantong - 2.6.0-13 - fix CVE-2021-28091 -- Gitee