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
|
|
|
|
2013-10-07 11:10:20 +02:00
|
|
|
SUDO_VERSION = 1.8.8
|
2011-06-07 13:03:24 +02:00
|
|
|
SUDO_SITE = http://www.sudo.ws/sudo/dist
|
2012-09-09 23:46:23 +02:00
|
|
|
SUDO_LICENSE = ICS BSD-3c
|
|
|
|
SUDO_LICENSE_FILES = doc/LICENSE
|
2011-05-17 20:56:46 +02:00
|
|
|
SUDO_CONF_OPT = \
|
2006-04-11 02:27:51 +02:00
|
|
|
--without-lecture \
|
|
|
|
--without-sendmail \
|
|
|
|
--without-umask \
|
|
|
|
--with-logging=syslog \
|
|
|
|
--without-interfaces \
|
2011-05-17 20:56:46 +02:00
|
|
|
--without-pam
|
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
|
|
|
|
/usr/bin/sudo f 4755 0 0 - - - - -
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|