diff --git a/conf/aarch32_support_list.yaml b/conf/aarch32_support_list.yaml index 444550fc3e2e8aec1fc189e1e6bdf376890e8056..1d65cc0737a7a8ade5eddb94b3208fe7e8d7a07a 100644 --- a/conf/aarch32_support_list.yaml +++ b/conf/aarch32_support_list.yaml @@ -35,3 +35,7 @@ packages: src: branch:openEuler-20.03-LTS version: 1.45.3-4 +- name: pam + src: + branch:openEuler-20.03-LTS + version: 1.3.1-8 diff --git a/patches/pam/spec/0001-pam-add-arm32-support.patch b/patches/pam/spec/0001-pam-add-arm32-support.patch new file mode 100644 index 0000000000000000000000000000000000000000..9464894866ad8a0a37d2a3f789638675dde79822 --- /dev/null +++ b/patches/pam/spec/0001-pam-add-arm32-support.patch @@ -0,0 +1,71 @@ +From 2650e40fe4aed881280e3a0c7686f0317b6656c7 Mon Sep 17 00:00:00 2001 +From: root +Date: Thu, 14 Jan 2021 15:39:09 +0800 +Subject: [PATCH] pam add arm32 support + +--- + pam.spec | 20 ++++++++++++++++++-- + 1 file changed, 18 insertions(+), 2 deletions(-) + +diff --git a/pam.spec b/pam.spec +index 1ace7cb..aea0ff2 100644 +--- a/pam.spec ++++ b/pam.spec +@@ -4,7 +4,7 @@ + %define _pamconfdir %{_sysconfdir}/pam.d + Name: pam + Version: 1.3.1 +-Release: 8 ++Release: 9 + Summary: Pluggable Authentication Modules for Linux + License: BSD and GPLv2+ + URL: http://www.linux-pam.org/ +@@ -42,6 +42,14 @@ Requires: pam = %{version}-%{release} + %description devel + %{summary}. + ++%ifarch %{arm} ++%package libs ++Summary: libs for Embedded system ++ ++%description libs ++libs for Embedded system ++%endif ++ + %package help + Summary: Man pages for Linux-PAM + BuildArch: noarch +@@ -113,7 +121,7 @@ fi + + %files -f Linux-PAM.lang + %defattr(-,root,root) +-%license Copyright COPYING gpl-2.0.txt ++%license Copyright COPYING gpl-2.0.txt + %doc AUTHORS README ChangeLog NEWS + %doc doc/README.d/ + %dir %{_pamconfdir} +@@ -159,6 +167,11 @@ fi + %{_libdir}/libpamc.so + %{_libdir}/libpam_misc.so + ++%ifarch %{arm} ++%files libs ++%{_pamlibdir}/libpam.so.* ++%endif ++ + %files help + %defattr(-,root,root) + %{_mandir}/man3/* +@@ -167,6 +180,9 @@ fi + + + %changelog ++* Thur Jan 14 2021 chentt_tt - 1.3.1-9 ++- add arm32 support ++ + * Sun Jan 12 2020 openEuler Buildteam - 1.3.1-8 + - update config + +-- +2.19.1 +