1
install sudoers.so in /usr/lib/sudo
3
Without this patch, the 'sudo' command in 1.8.X is broken on install.
4
'sudo ls' will result in a message complaining about
5
/usr/libexec/sudoers.so.
7
diff --git a/package/sudo/sudo.mk b/package/sudo/sudo.mk
8
index 3629ad1..5d2bc61 100644
9
--- a/package/sudo/sudo.mk
10
+++ b/package/sudo/sudo.mk
11
@@ -12,7 +12,8 @@ SUDO_CONF_OPT = \
13
--with-logging=syslog \
14
--without-interfaces \
17
+ --libexecdir=/usr/lib/sudo
19
define SUDO_INSTALL_TARGET_CMDS
20
install -m 4555 -D $(@D)/src/sudo $(TARGET_DIR)/usr/bin/sudo
21
@@ -20,6 +21,8 @@ define SUDO_INSTALL_TARGET_CMDS
22
$(TARGET_DIR)/usr/sbin/visudo
23
install -m 0440 -D $(@D)/plugins/sudoers/sudoers \
24
$(TARGET_DIR)/etc/sudoers
25
+ install -m 0440 -D $(@D)/plugins/sudoers/.libs/sudoers.so \
26
+ $(TARGET_DIR)/usr/lib/sudo/sudoers.so
29
$(eval $(call AUTOTARGETS))