1 ################################################################################
5 ################################################################################
7 LINUX_PAM_VERSION
= 1.3.0
8 LINUX_PAM_SOURCE
= Linux-PAM-
$(LINUX_PAM_VERSION
).
tar.bz2
9 LINUX_PAM_SITE
= http
://linux-pam.org
/library
10 LINUX_PAM_INSTALL_STAGING
= YES
11 LINUX_PAM_CONF_OPTS
= \
16 --disable-regenerate-docu \
17 --enable-securedir
=/lib
/security \
19 LINUX_PAM_DEPENDENCIES
= flex host-flex host-pkgconf
20 LINUX_PAM_AUTORECONF
= YES
21 LINUX_PAM_LICENSE
= BSD-3c
22 LINUX_PAM_LICENSE_FILES
= Copyright
24 ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE
),y
)
25 LINUX_PAM_DEPENDENCIES
+= gettext
26 LINUX_PAM_MAKE_OPTS
+= LIBS
=-lintl
29 ifeq ($(BR2_PACKAGE_LIBSELINUX
),y
)
30 LINUX_PAM_CONF_OPTS
+= --enable-selinux
31 LINUX_PAM_DEPENDENCIES
+= libselinux
33 LINUX_PAM_CONF_OPTS
+= --disable-selinux
36 ifeq ($(BR2_PACKAGE_AUDIT
),y
)
37 LINUX_PAM_CONF_OPTS
+= --enable-audit
38 LINUX_PAM_DEPENDENCIES
+= audit
40 LINUX_PAM_CONF_OPTS
+= --disable-audit
43 # Install default pam config (deny everything except login)
44 define LINUX_PAM_INSTALL_CONFIG
45 $(INSTALL
) -m
0644 -D package
/linux-pam
/login.pam \
46 $(TARGET_DIR
)/etc
/pam.d
/login
47 $(INSTALL
) -m
0644 -D package
/linux-pam
/other.pam \
48 $(TARGET_DIR
)/etc
/pam.d
/other
51 LINUX_PAM_POST_INSTALL_TARGET_HOOKS
+= LINUX_PAM_INSTALL_CONFIG
53 $(eval
$(autotools-package
))