The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / sudo / sudo.mk
1 ################################################################################
2 #
3 # sudo
4 #
5 ################################################################################
6
7 SUDO_VERSION = 1.8.13
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
13 SUDO_CONF_OPTS = \
14         --without-lecture \
15         --without-sendmail \
16         --without-umask \
17         --with-logging=syslog \
18         --without-interfaces \
19         --without-pam \
20         --with-env-editor
21
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
27 endef
28
29 SUDO_POST_CONFIGURE_HOOKS += SUDO_BUILD_MKSIGNAME_MKSIGLIST_HOST
30
31 define SUDO_PERMISSIONS
32         /usr/bin/sudo f 4755 0 0 - - - - -
33 endef
34
35 $(eval $(autotools-package))