mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 21:32:12 +02:00
sudo: upgrade 1.9.0 -> 1.9.1
Drop the patch as it is merged upstream. (From OE-Core rev: 000577afd815fa8399c595d1aef81f4327204327) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
17d50354bf
commit
ddaa85812a
@@ -1,34 +0,0 @@
|
||||
From 386e2c2fa2ab2e02ef71c268a57205139be329ab Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Mon, 31 Aug 2015 07:07:49 +0000
|
||||
Subject: [PATCH] Include sys/types.h for id_t definition
|
||||
|
||||
/sudo_util.h:219:14: error: unknown type name 'id_t'
|
||||
__dso_public id_t sudo_strtoid_v1(const char *str, const char *sep,
|
||||
char **endp, const char **errstr);
|
||||
^
|
||||
make[1]: *** [preserve_fds.o] Error 1
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
Upstream-Status: Pending
|
||||
|
||||
include/sudo_util.h | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/include/sudo_util.h b/include/sudo_util.h
|
||||
index 89c9f89..ac0855a 100644
|
||||
--- a/include/sudo_util.h
|
||||
+++ b/include/sudo_util.h
|
||||
@@ -17,6 +17,8 @@
|
||||
#ifndef SUDO_UTIL_H
|
||||
#define SUDO_UTIL_H
|
||||
|
||||
+#include <sys/types.h>
|
||||
+
|
||||
#ifdef HAVE_STDBOOL_H
|
||||
# include <stdbool.h>
|
||||
#else
|
||||
--
|
||||
2.5.1
|
||||
|
||||
@@ -2,13 +2,11 @@ require sudo.inc
|
||||
|
||||
SRC_URI = "https://www.sudo.ws/dist/sudo-${PV}.tar.gz \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)} \
|
||||
file://0001-Include-sys-types.h-for-id_t-definition.patch \
|
||||
"
|
||||
|
||||
PAM_SRC_URI = "file://sudo.pam"
|
||||
|
||||
SRC_URI[md5sum] = "060b91a6b171cb7ce587222664549b2c"
|
||||
SRC_URI[sha256sum] = "ab231439c5dfdf4ecbef74f10d5f7e9686c2255c2f3887085b5c5e13281bf95c"
|
||||
SRC_URI[sha256sum] = "294116cefe10a02773917fc7440d8384b925955bc96a6e0eaa1977c83b34adff"
|
||||
|
||||
DEPENDS += " virtual/crypt ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
|
||||
RDEPENDS_${PN} += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-limits pam-plugin-keyinit', '', d)}"
|
||||
@@ -39,8 +37,8 @@ do_install_append () {
|
||||
chmod 4111 ${D}${bindir}/sudo
|
||||
chmod 0440 ${D}${sysconfdir}/sudoers
|
||||
|
||||
# Explicitly remove the /run directory to avoid QA error
|
||||
rmdir -p --ignore-fail-on-non-empty ${D}/run/sudo
|
||||
# Explicitly remove the /sudo directory to avoid QA error
|
||||
rmdir -p --ignore-fail-on-non-empty ${D}/sudo
|
||||
}
|
||||
|
||||
FILES_${PN} += "${nonarch_libdir}/tmpfiles.d"
|
||||
Reference in New Issue
Block a user