* [Buildroot] [ PATCH Selinux v11] linux-pam: add optional libselinux and audit dependencies
@ 2016-03-16 11:45 Niranjan Reddy
2016-04-19 21:20 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Niranjan Reddy @ 2016-03-16 11:45 UTC (permalink / raw)
To: buildroot
From: Niranjan <niranjan.reddy@rockwellcollins.com>
This patch adds optional libselinux and audit packages
to linux-pam package.
Signed-off-by: Niranjan Reddy <niranjan.reddy@rockwellcollins.com>
---
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(+)
diff --git a/package/linux-pam/linux-pam.mk b/package/linux-pam/linux-pam.mk
index 26b627e..55a1024 100644
--- a/package/linux-pam/linux-pam.mk
+++ b/package/linux-pam/linux-pam.mk
@@ -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 \
--
2.5.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [ PATCH Selinux v11] linux-pam: add optional libselinux and audit dependencies
2016-03-16 11:45 [Buildroot] [ PATCH Selinux v11] linux-pam: add optional libselinux and audit dependencies Niranjan Reddy
@ 2016-04-19 21:20 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-04-19 21:20 UTC (permalink / raw)
To: buildroot
Hello,
On Wed, 16 Mar 2016 17:15:35 +0530, Niranjan Reddy wrote:
> From: Niranjan <niranjan.reddy@rockwellcollins.com>
>
> This patch adds optional libselinux and audit packages
> to linux-pam package.
>
> Signed-off-by: Niranjan Reddy <niranjan.reddy@rockwellcollins.com>
>
> ---
> Changes v10 -> v11:
> - Removed host-linux-pam related config options as it is not related to this patch.
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-19 21:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-16 11:45 [Buildroot] [ PATCH Selinux v11] linux-pam: add optional libselinux and audit dependencies Niranjan Reddy
2016-04-19 21:20 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox