1 DESCRIPTION = "Sudo (superuser do) allows a system \
2 administrator to give certain users (or groups of \
3 users) the ability to run some (or all) commands \
4 as root while logging all commands and arguments."
6 HOMEPAGE = "http://www.sudo.ws/"
12 EXTRA_OECONF += "--with-editor=/bin/vi --with-env-editor --with-all-insults "
14 do_configure_prepend () {
15 # Make sure the build does not get clever.
16 export sudo_cv_uid_t_len=10
17 export sudo_cv_func_unsetenv_void=no
19 # Prevent binaries from being stripped.
20 sed -i 's/\($(INSTALL).*\) -s \(.*[(sudo|visudo)]\)/\1 \2/g' Makefile.in
23 if [ ! -e acinclude.m4 ]; then
24 cat aclocal.m4 > acinclude.m4
33 if [ "x$D" != "x" ]; then
37 chmod 4111 /usr/bin/sudo
38 chmod 0440 /etc/sudoers