Files
buildroot/package/sudo/sudo.mk
Simon Dawson 0e8dafcb3e sudo: fix main executable permissions
The sudo executable is installed without the setuid bit set, which prevents
sudo from working.

This patch adds a post-install hook to fix the permissions of the sudo
executable.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-08-04 23:43:54 +02:00

22 lines
452 B
Makefile

#############################################################
#
# sudo
#
#############################################################
SUDO_VERSION = 1.8.5p1
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_PERMISSIONS
/usr/bin/sudo f 4755 0 0 - - - - -
endef
$(eval $(autotools-package))