347cfd6069
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
26 lines
647 B
Makefile
26 lines
647 B
Makefile
#############################################################
|
|
#
|
|
# sudo
|
|
#
|
|
#############################################################
|
|
|
|
SUDO_VERSION = 1.8.5p1
|
|
SUDO_SITE = http://www.sudo.ws/sudo/dist
|
|
SUDO_CONF_OPT = \
|
|
--without-lecture \
|
|
--without-sendmail \
|
|
--without-umask \
|
|
--with-logging=syslog \
|
|
--without-interfaces \
|
|
--without-pam
|
|
|
|
define SUDO_INSTALL_TARGET_CMDS
|
|
install -m 4555 -D $(@D)/src/sudo $(TARGET_DIR)/usr/bin/sudo
|
|
install -m 0555 -D $(@D)/plugins/sudoers/visudo \
|
|
$(TARGET_DIR)/usr/sbin/visudo
|
|
install -m 0440 -D $(@D)/plugins/sudoers/sudoers \
|
|
$(TARGET_DIR)/etc/sudoers
|
|
endef
|
|
|
|
$(eval $(call AUTOTARGETS))
|