1 ################################################################################
5 ################################################################################
8 SUDO_SITE = http://www.sudo.ws/sudo/dist
9 SUDO_LICENSE = ISC BSD-3c
10 SUDO_LICENSE_FILES = doc/LICENSE
11 # This is to avoid sudo's make install from chown()ing files which fails
12 SUDO_INSTALL_TARGET_OPTS = INSTALL_OWNER="" DESTDIR="$(TARGET_DIR)" install
17 --with-logging=syslog \
18 --without-interfaces \
22 # mksigname/mksiglist needs to run on build host to generate source files
23 define SUDO_BUILD_MKSIGNAME_MKSIGLIST_HOST
24 $(MAKE) $(HOST_CONFIGURE_OPTS) \
25 CPPFLAGS="$(HOST_CPPFLAGS) -I../../include -I../.." \
26 -C $(@D)/lib/util mksigname mksiglist
29 SUDO_POST_CONFIGURE_HOOKS += SUDO_BUILD_MKSIGNAME_MKSIGLIST_HOST
31 define SUDO_PERMISSIONS
32 /usr/bin/sudo f 4755 0 0 - - - - -
35 $(eval $(autotools-package))