linux-pam: add optional libselinux and audit dependencies
PATCH v11 1/1 linux-pam: add optional libselinux and audit dependencies
From: Niranjan <[email protected]>
This patch adds optional libselinux and audit packages to linux-pam package.
---
Changes v10 -> v11:
- Removed host-linux-pam related config options as it is not related to this patch.
Changes v9 -> v10:
- New patch created for selinux audit dependencies.
- Added comment to justify that host-linux-pam is needed for creating pam conf files.
- Updated Indentation and modified as per comments (suggested by Thomas)
Changes v1 -> v9:
- Did not exist
--- package/linux-pam/linux-pam.mk | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
package/linux-pam/linux-pam.mk +14 -0
@@ -26,6 +26,20 @@ 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) define LINUX_PAM_INSTALL_CONFIG $(INSTALL) -m 0644 -D package/linux-pam/other.pam \
Signature · 1 line
2.5.0
Thomas Petazzoni
AppliedPATCH v11 1/1 linux-pam: add optional libselinux and audit dependencies
Hello,
Quoted 10 lines · Niranjan Reddy
From: Niranjan <[email protected]>
This patch adds optional libselinux and audit packages to linux-pam package.
Signed-off-by Niranjan Reddy <[email protected]>---
Changes v10 -> v11:
- Removed host-linux-pam related config options as it is not related to this patch.
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com