4882037d63
removed 0003-Conditionally-compile-per-innetgr-availability.patch, applied upstream: https://git.fedorahosted.org/cgit/linux-pam.git/commit/?id=835d64947996b7cc96fe187f9b3103db36dddf77 This bump includes https://git.fedorahosted.org/cgit/linux-pam.git/commit/?id=01e0038fa55581c4afc9d63b6180d2ea77ba2940 which fixes http://autobuild.buildroot.net/results/394/394e22be0ef986463e97b3040dad8f978262732c/ Removed comment in Config.in about broken --enable-static-modules configure option because it was removed upstream: https://git.fedorahosted.org/cgit/linux-pam.git/commit/?id=a684595c0bbd88df71285f43fb27630e3829121e Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
54 lines
1.4 KiB
Makefile
54 lines
1.4 KiB
Makefile
################################################################################
|
|
#
|
|
# linux-pam
|
|
#
|
|
################################################################################
|
|
|
|
LINUX_PAM_VERSION = 1.3.0
|
|
LINUX_PAM_SOURCE = Linux-PAM-$(LINUX_PAM_VERSION).tar.bz2
|
|
LINUX_PAM_SITE = http://linux-pam.org/library
|
|
LINUX_PAM_INSTALL_STAGING = YES
|
|
LINUX_PAM_CONF_OPTS = \
|
|
--disable-prelude \
|
|
--disable-isadir \
|
|
--disable-nis \
|
|
--disable-db \
|
|
--disable-regenerate-docu \
|
|
--enable-securedir=/lib/security \
|
|
--libdir=/lib
|
|
LINUX_PAM_DEPENDENCIES = flex host-flex host-pkgconf
|
|
LINUX_PAM_AUTORECONF = YES
|
|
LINUX_PAM_LICENSE = BSD-3c
|
|
LINUX_PAM_LICENSE_FILES = Copyright
|
|
|
|
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
|
|
LINUX_PAM_DEPENDENCIES += gettext
|
|
LINUX_PAM_MAKE_OPTS += LIBS=-lintl
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
|
|
LINUX_PAM_CONF_OPTS += --enable-selinux
|
|
LINUX_PAM_DEPENDENCIES += libselinux
|
|
else
|
|
LINUX_PAM_CONF_OPTS += --disable-selinux
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_AUDIT),y)
|
|
LINUX_PAM_CONF_OPTS += --enable-audit
|
|
LINUX_PAM_DEPENDENCIES += audit
|
|
else
|
|
LINUX_PAM_CONF_OPTS += --disable-audit
|
|
endif
|
|
|
|
# Install default pam config (deny everything except login)
|
|
define LINUX_PAM_INSTALL_CONFIG
|
|
$(INSTALL) -m 0644 -D package/linux-pam/login.pam \
|
|
$(TARGET_DIR)/etc/pam.d/login
|
|
$(INSTALL) -m 0644 -D package/linux-pam/other.pam \
|
|
$(TARGET_DIR)/etc/pam.d/other
|
|
endef
|
|
|
|
LINUX_PAM_POST_INSTALL_TARGET_HOOKS += LINUX_PAM_INSTALL_CONFIG
|
|
|
|
$(eval $(autotools-package))
|