sudo.mk 601 B

123456789101112131415161718192021222324
  1. #############################################################
  2. #
  3. # sudo
  4. #
  5. #############################################################
  6. SUDO_VERSION = 1.7.7
  7. SUDO_SITE = http://www.sudo.ws/sudo/dist
  8. SUDO_CONF_OPT = \
  9. --without-lecture \
  10. --without-sendmail \
  11. --without-umask \
  12. --with-logging=syslog \
  13. --without-interfaces \
  14. --without-pam
  15. define SUDO_INSTALL_TARGET_CMDS
  16. install -m 4555 -D $(@D)/sudo $(TARGET_DIR)/usr/bin/sudo
  17. install -m 0555 -D $(@D)/visudo $(TARGET_DIR)/usr/sbin/visudo
  18. install -m 0440 -D $(@D)/sudoers $(TARGET_DIR)/etc/sudoers
  19. endef
  20. $(eval $(call AUTOTARGETS))