mirror of
https://git.yoctoproject.org/poky
synced 2026-03-29 14:02:22 +02:00
Our UPSTREAM_CHECK_URI was looking at SourceForge, but development has moved to GitHub so update the URI. Update to 2.0. Swap musl-decls-compat.patch for a backport of an upstream commit. Replace do_install commands with a backport of an upstream commit to install the PAM module correctly. Don't mess about installing the library into base_libdir as the /lib vs /usr/lib prefix split is moot these days. Delete libcgroupfortesting.so as we don't install the test suite. (From OE-Core rev: 466c1c674e3da1fdbe1eae1cd90637d79a1500f5) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
37 lines
1.1 KiB
Diff
37 lines
1.1 KiB
Diff
Upstream-Status: Backport
|
|
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
|
|
|
From 76f0879056ce7e3f0123c277f2303954d0b6cead Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= <kloczek@github.com>
|
|
Date: Wed, 12 May 2021 20:36:02 +0000
|
|
Subject: [PATCH 2/2] automake: build PAM module as unversioned DSO
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
PAM modules should be build as unversioned DSO.
|
|
Add -avoid-version to pam_cgroup_la_LDFLAGS
|
|
|
|
Signed-off-by: Tomasz Kłoczko <kloczek@github.com>
|
|
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
|
|
---
|
|
src/pam/Makefile.am | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/pam/Makefile.am b/src/pam/Makefile.am
|
|
index bd5a91d..4b0b2a9 100644
|
|
--- a/src/pam/Makefile.am
|
|
+++ b/src/pam/Makefile.am
|
|
@@ -4,7 +4,7 @@ if WITH_PAM
|
|
|
|
pamlib_LTLIBRARIES = pam_cgroup.la
|
|
pam_cgroup_la_SOURCES = pam_cgroup.c
|
|
-pam_cgroup_la_LDFLAGS = -module
|
|
+pam_cgroup_la_LDFLAGS = -module -avoid-version
|
|
pam_cgroup_la_LIBADD = $(top_builddir)/src/libcgroup.la -lpam
|
|
|
|
endif
|
|
--
|
|
2.32.0
|
|
|