kumquat-buildroot/package/sudo/sudo.mk
Peter Korsgaard 92ab7428e8 sudo: bump version, use official upstream, don't disable auth
sudo without authentication doesn't make much sense, and it has very
limited impact on binary size.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-07 13:08:19 +02:00

24 lines
615 B
Makefile

#############################################################
#
# sudo
#
#############################################################
SUDO_VERSION = 1.7.6p2
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)/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
$(eval $(call AUTOTARGETS,package,sudo))