mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-15 06:10:19 +03:00
26 lines
708 B
Makefile
26 lines
708 B
Makefile
#############################################################
|
|
#
|
|
# sudo
|
|
#
|
|
#############################################################
|
|
|
|
SUDO_VERSION = 1.7.4p6
|
|
SUDO_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/s/sudo
|
|
SUDO_SOURCE = sudo_$(SUDO_VERSION).orig.tar.gz
|
|
|
|
SUDO_CONF_OPT = \
|
|
--without-lecture \
|
|
--without-sendmail \
|
|
--without-umask \
|
|
--with-logging=syslog \
|
|
--without-interfaces \
|
|
--disable-authentication \
|
|
--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)) |