sudo.mk 647 B

12345678910111213141516171819202122232425
  1. #############################################################
  2. #
  3. # sudo
  4. #
  5. #############################################################
  6. SUDO_VERSION = 1.8.4p4
  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)/src/sudo $(TARGET_DIR)/usr/bin/sudo
  17. install -m 0555 -D $(@D)/plugins/sudoers/visudo \
  18. $(TARGET_DIR)/usr/sbin/visudo
  19. install -m 0440 -D $(@D)/plugins/sudoers/sudoers \
  20. $(TARGET_DIR)/etc/sudoers
  21. endef
  22. $(eval $(call AUTOTARGETS))