2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2006-04-11 02:27:51 +02:00
|
|
|
#
|
|
|
|
# sudo
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2006-04-11 02:27:51 +02:00
|
|
|
|
2014-09-18 23:09:24 +02:00
|
|
|
SUDO_VERSION = 1.8.10p3
|
|
|
|
SUDO_SITE = http://www.sudo.ws/sudo/dist
|
|
|
|
SUDO_LICENSE = ISC BSD-3c
|
2012-09-09 23:46:23 +02:00
|
|
|
SUDO_LICENSE_FILES = doc/LICENSE
|
2014-12-16 15:08:20 +01:00
|
|
|
# Ships a beta libtool version hence our patch doesn't apply.
|
|
|
|
# Run autoreconf to regenerate ltmain.sh.
|
2014-09-18 23:09:24 +02:00
|
|
|
SUDO_AUTORECONF = YES
|
2014-09-27 21:32:44 +02:00
|
|
|
SUDO_CONF_OPTS = \
|
2014-12-22 09:12:05 +01:00
|
|
|
--without-lecture \
|
|
|
|
--without-sendmail \
|
|
|
|
--without-umask \
|
|
|
|
--with-logging=syslog \
|
|
|
|
--without-interfaces \
|
|
|
|
--without-pam \
|
|
|
|
--with-env-editor
|
2006-04-11 02:27:51 +02:00
|
|
|
|
2012-09-09 23:46:23 +02:00
|
|
|
# mksigname/mksiglist needs to run on build host to generate source files
|
|
|
|
define SUDO_BUILD_MKSIGNAME_MKSIGLIST_HOST
|
2012-10-11 09:01:39 +02:00
|
|
|
$(MAKE) $(HOST_CONFIGURE_OPTS) \
|
|
|
|
CPPFLAGS="$(HOST_CPPFLAGS) -I../include -I.." \
|
|
|
|
-C $(@D)/compat mksigname mksiglist
|
2012-09-09 23:46:23 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
SUDO_POST_CONFIGURE_HOOKS += SUDO_BUILD_MKSIGNAME_MKSIGLIST_HOST
|
|
|
|
|
2012-08-04 22:11:01 +02:00
|
|
|
define SUDO_PERMISSIONS
|
2014-11-15 17:29:16 +01:00
|
|
|
/usr/bin/sudo f 4755 0 0 - - - - -
|
2012-08-04 22:11:01 +02:00
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|