2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-08-11 04:50:26 +02:00
|
|
|
#
|
|
|
|
# linux-pam
|
2013-11-28 18:22:26 +01:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-08-11 04:50:26 +02:00
|
|
|
|
2013-09-24 22:50:53 +02:00
|
|
|
LINUX_PAM_VERSION = 1.1.8
|
2012-08-11 04:50:26 +02:00
|
|
|
LINUX_PAM_SOURCE = Linux-PAM-$(LINUX_PAM_VERSION).tar.bz2
|
2014-07-31 10:46:58 +02:00
|
|
|
LINUX_PAM_SITE = http://linux-pam.org/library
|
2012-08-11 04:50:26 +02:00
|
|
|
LINUX_PAM_INSTALL_STAGING = YES
|
2014-09-27 21:32:44 +02:00
|
|
|
LINUX_PAM_CONF_OPTS = \
|
2012-08-11 04:50:26 +02:00
|
|
|
--disable-prelude \
|
|
|
|
--disable-isadir \
|
|
|
|
--disable-nis \
|
2012-09-12 01:27:31 +02:00
|
|
|
--disable-db \
|
2012-08-11 04:50:26 +02:00
|
|
|
--disable-regenerate-docu \
|
|
|
|
--enable-securedir=/lib/security \
|
|
|
|
--libdir=/lib
|
2013-09-05 01:15:31 +02:00
|
|
|
LINUX_PAM_DEPENDENCIES = flex host-flex host-pkgconf
|
2012-08-11 04:50:26 +02:00
|
|
|
LINUX_PAM_AUTORECONF = YES
|
|
|
|
LINUX_PAM_LICENSE = BSD-3c
|
|
|
|
LINUX_PAM_LICENSE_FILES = Copyright
|
|
|
|
|
2012-09-16 14:57:49 +02:00
|
|
|
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
|
2013-09-05 01:15:31 +02:00
|
|
|
LINUX_PAM_DEPENDENCIES += gettext
|
2014-09-27 21:32:38 +02:00
|
|
|
LINUX_PAM_MAKE_OPTS += LIBS=-lintl
|
2012-08-11 04:50:26 +02:00
|
|
|
endif
|
|
|
|
|
2013-11-28 18:22:26 +01:00
|
|
|
# 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
|
|
|
|
|
2012-08-11 04:50:26 +02:00
|
|
|
$(eval $(autotools-package))
|