2006-04-11 02:27:51 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# sudo
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
2011-10-15 05:07:20 +02:00
|
|
|
SUDO_VERSION = 1.7.7
|
2011-06-07 13:03:24 +02:00
|
|
|
SUDO_SITE = http://www.sudo.ws/sudo/dist
|
2009-01-11 20:58:51 +01:00
|
|
|
|
2011-05-17 20:56:46 +02:00
|
|
|
SUDO_CONF_OPT = \
|
2006-04-11 02:27:51 +02:00
|
|
|
--without-lecture \
|
|
|
|
--without-sendmail \
|
|
|
|
--without-umask \
|
|
|
|
--with-logging=syslog \
|
|
|
|
--without-interfaces \
|
2011-05-17 20:56:46 +02:00
|
|
|
--without-pam
|
2006-04-11 02:27:51 +02:00
|
|
|
|
2011-05-17 20:56:46 +02:00
|
|
|
define SUDO_INSTALL_TARGET_CMDS
|
|
|
|
install -m 4555 -D $(@D)/sudo $(TARGET_DIR)/usr/bin/sudo
|
|
|
|
install -m 0555 -D $(@D)/visudo $(TARGET_DIR)/usr/sbin/visudo
|
|
|
|
install -m 0440 -D $(@D)/sudoers $(TARGET_DIR)/etc/sudoers
|
|
|
|
endef
|
2006-04-11 02:27:51 +02:00
|
|
|
|
2011-10-15 05:07:20 +02:00
|
|
|
$(eval $(call AUTOTARGETS))
|