aboutsummaryrefslogtreecommitdiffstats
path: root/package/sudo/sudo.mk
blob: f10d294e17ced86853ac64ab5cc0a0c5a5f6c1a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#############################################################
#
# sudo
#
#############################################################

SUDO_VERSION = 1.7.8p1
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))