summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorXiangyu Chen <xiangyu.chen@windriver.com>2023-03-13 10:46:18 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-03-20 17:20:44 +0000
commit92ce6413afae6bae56cf95f21b4177c8c9863450 (patch)
treeb79a7729729b78544f6ee2feb99c7b35e709d2e3 /meta/recipes-extended
parentcaa3177c77d951cf3d48e3fc73e8aba814d026ae (diff)
downloadpoky-92ce6413afae6bae56cf95f21b4177c8c9863450.tar.gz
sudo: update 1.9.12p2 -> 1.9.13p3
License-update: copyright years, formatting. (From OE-Core rev: b307a79caff34c0b23c72a5349f6800c48527635) Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/sudo/files/0001-sudo.conf.in-fix-conflict-with-multilib.patch21
-rw-r--r--meta/recipes-extended/sudo/sudo.inc2
-rw-r--r--meta/recipes-extended/sudo/sudo_1.9.13p3.bb (renamed from meta/recipes-extended/sudo/sudo_1.9.12p2.bb)2
3 files changed, 13 insertions, 12 deletions
diff --git a/meta/recipes-extended/sudo/files/0001-sudo.conf.in-fix-conflict-with-multilib.patch b/meta/recipes-extended/sudo/files/0001-sudo.conf.in-fix-conflict-with-multilib.patch
index f4fc376bb8..041c717e00 100644
--- a/meta/recipes-extended/sudo/files/0001-sudo.conf.in-fix-conflict-with-multilib.patch
+++ b/meta/recipes-extended/sudo/files/0001-sudo.conf.in-fix-conflict-with-multilib.patch
@@ -1,4 +1,7 @@
1sudo.conf.in: fix conflict with multilib 1From 6e835350b7413210c410d3578cfab804186b7a4f Mon Sep 17 00:00:00 2001
2From: Kai Kang <kai.kang@windriver.com>
3Date: Tue, 17 Nov 2020 11:13:40 +0800
4Subject: [PATCH] sudo.conf.in: fix conflict with multilib
2 5
3When pass ${libdir} to --libexecdir of sudo, it fails to install sudo 6When pass ${libdir} to --libexecdir of sudo, it fails to install sudo
4and lib32-sudo at same time: 7and lib32-sudo at same time:
@@ -12,12 +15,13 @@ Update the comments in sudo.conf.in to avoid the conflict.
12Signed-off-by: Kai Kang <kai.kang@windriver.com> 15Signed-off-by: Kai Kang <kai.kang@windriver.com>
13 16
14Upstream-Status: Inappropriate [OE configuration specific] 17Upstream-Status: Inappropriate [OE configuration specific]
18
15--- 19---
16 examples/sudo.conf.in | 8 ++++---- 20 examples/sudo.conf.in | 8 ++++----
17 1 file changed, 4 insertions(+), 4 deletions(-) 21 1 file changed, 4 insertions(+), 4 deletions(-)
18 22
19diff --git a/examples/sudo.conf.in b/examples/sudo.conf.in 23diff --git a/examples/sudo.conf.in b/examples/sudo.conf.in
20index 6535d3a..50afc8f 100644 24index 2187457..0908d24 100644
21--- a/examples/sudo.conf.in 25--- a/examples/sudo.conf.in
22+++ b/examples/sudo.conf.in 26+++ b/examples/sudo.conf.in
23@@ -4,7 +4,7 @@ 27@@ -4,7 +4,7 @@
@@ -33,8 +37,8 @@ index 6535d3a..50afc8f 100644
33 # The compiled-in value is usually sufficient and should only be changed 37 # The compiled-in value is usually sufficient and should only be changed
34 # if you rename or move the sudo_intercept.so file. 38 # if you rename or move the sudo_intercept.so file.
35 # 39 #
36-#Path intercept @plugindir@/sudo_intercept.so 40-#Path intercept @intercept_file@
37+#Path intercept $plugindir/sudo_intercept.so 41+#Path intercept $intercept_file
38 42
39 # 43 #
40 # Sudo noexec: 44 # Sudo noexec:
@@ -42,8 +46,8 @@ index 6535d3a..50afc8f 100644
42 # The compiled-in value is usually sufficient and should only be changed 46 # The compiled-in value is usually sufficient and should only be changed
43 # if you rename or move the sudo_noexec.so file. 47 # if you rename or move the sudo_noexec.so file.
44 # 48 #
45-#Path noexec @plugindir@/sudo_noexec.so 49-#Path noexec @noexec_file@
46+#Path noexec $plugindir/sudo_noexec.so 50+#Path noexec $noexec_file
47 51
48 # 52 #
49 # Sudo plugin directory: 53 # Sudo plugin directory:
@@ -55,7 +59,4 @@ index 6535d3a..50afc8f 100644
55+#Path plugin_dir $plugindir 59+#Path plugin_dir $plugindir
56 60
57 # 61 #
58 # Sudo developer mode: 62 # Core dumps:
59--
602.17.1
61
diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc
index fd5bbf103d..f22b3eab99 100644
--- a/meta/recipes-extended/sudo/sudo.inc
+++ b/meta/recipes-extended/sudo/sudo.inc
@@ -4,7 +4,7 @@ HOMEPAGE = "http://www.sudo.ws"
4BUGTRACKER = "http://www.sudo.ws/bugs/" 4BUGTRACKER = "http://www.sudo.ws/bugs/"
5SECTION = "admin" 5SECTION = "admin"
6LICENSE = "ISC & BSD-3-Clause & BSD-2-Clause & Zlib" 6LICENSE = "ISC & BSD-3-Clause & BSD-2-Clause & Zlib"
7LIC_FILES_CHKSUM = "file://LICENSE.md;md5=7aacba499777b719416b293d16f29c8c \ 7LIC_FILES_CHKSUM = "file://LICENSE.md;md5=5100e20d35f9015f9eef6bdb27ba194f \
8 file://plugins/sudoers/redblack.c;beginline=1;endline=46;md5=03e35317699ba00b496251e0dfe9f109 \ 8 file://plugins/sudoers/redblack.c;beginline=1;endline=46;md5=03e35317699ba00b496251e0dfe9f109 \
9 file://lib/util/reallocarray.c;beginline=3;endline=15;md5=397dd45c7683e90b9f8bf24638cf03bf \ 9 file://lib/util/reallocarray.c;beginline=3;endline=15;md5=397dd45c7683e90b9f8bf24638cf03bf \
10 file://lib/util/fnmatch.c;beginline=3;endline=27;md5=004d7d2866ba1f5b41174906849d2e0f \ 10 file://lib/util/fnmatch.c;beginline=3;endline=27;md5=004d7d2866ba1f5b41174906849d2e0f \
diff --git a/meta/recipes-extended/sudo/sudo_1.9.12p2.bb b/meta/recipes-extended/sudo/sudo_1.9.13p3.bb
index ae7207c081..2e11739470 100644
--- a/meta/recipes-extended/sudo/sudo_1.9.12p2.bb
+++ b/meta/recipes-extended/sudo/sudo_1.9.13p3.bb
@@ -8,7 +8,7 @@ SRC_URI = "https://www.sudo.ws/dist/sudo-${PV}.tar.gz \
8 8
9PAM_SRC_URI = "file://sudo.pam" 9PAM_SRC_URI = "file://sudo.pam"
10 10
11SRC_URI[sha256sum] = "b9a0b1ae0f1ddd9be7f3eafe70be05ee81f572f6f536632c44cd4101bb2a8539" 11SRC_URI[sha256sum] = "92334a12bb93e0c056b09f53e255ccb7d6f67c6350e2813cd9593ceeca78560b"
12 12
13DEPENDS += " virtual/crypt ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" 13DEPENDS += " virtual/crypt ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
14RDEPENDS:${PN} += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-limits pam-plugin-keyinit', '', d)}" 14RDEPENDS:${PN} += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-limits pam-plugin-keyinit', '', d)}"