sudo.mk 708 B

1234567891011121314151617181920212223242526
  1. #############################################################
  2. #
  3. # sudo
  4. #
  5. #############################################################
  6. SUDO_VERSION = 1.7.4p6
  7. SUDO_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/s/sudo
  8. SUDO_SOURCE = sudo_$(SUDO_VERSION).orig.tar.gz
  9. SUDO_CONF_OPT = \
  10. --without-lecture \
  11. --without-sendmail \
  12. --without-umask \
  13. --with-logging=syslog \
  14. --without-interfaces \
  15. --disable-authentication \
  16. --without-pam
  17. define SUDO_INSTALL_TARGET_CMDS
  18. install -m 4555 -D $(@D)/sudo $(TARGET_DIR)/usr/bin/sudo
  19. install -m 0555 -D $(@D)/visudo $(TARGET_DIR)/usr/sbin/visudo
  20. install -m 0440 -D $(@D)/sudoers $(TARGET_DIR)/etc/sudoers
  21. endef
  22. $(eval $(call AUTOTARGETS,package,sudo))