2bf63505eb
Move to the latest release of linux-pam. This allows us to remove a number of patches and consolidate the existing ones : - 0001-configure.patch - 0007-rhosts.patch these two patches deal with the ruserok function, which is not usable with uclibc. Consolidated into 0002-Conditionally-compile-per-ruserok-availability.patch. - 0003-group.patch - 0005-succeed.patch - 0006-time.patch these three patches deal with the innetgr function, which is not usable with uclibc. Consolidated into 0003-Conditionally-compile-per-innetgr-availability.patch. - 0004-mkdir.patch Fixed in upstream, no longer required. - 0002-doc-makefile-am.patch renamed to 0001-doc-makefile-am.patch. - 0008-fix-CVE-2014-2583.patch - 0009-fix-CVE-2013-7041.patch These patches are already included in the new release and so can be safely deleted. Signed-off-by: Brendan Heading <brendanheading@gmail.com> Tested-by: Carlos Santos <casantos@datacom.ind.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
38 lines
1.0 KiB
Makefile
38 lines
1.0 KiB
Makefile
################################################################################
|
|
#
|
|
# linux-pam
|
|
#
|
|
################################################################################
|
|
|
|
LINUX_PAM_VERSION = 1.2.1
|
|
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
|
|
|
|
# Install default pam config (deny everything)
|
|
define LINUX_PAM_INSTALL_CONFIG
|
|
$(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))
|