All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] dropbear: add pam modules dependencies
@ 2014-09-12  8:57 wenzong.fan
  2014-09-12  8:57 ` [PATCH 1/1] " wenzong.fan
  0 siblings, 1 reply; 2+ messages in thread
From: wenzong.fan @ 2014-09-12  8:57 UTC (permalink / raw)
  To: openembedded-core

From: Wenzong Fan <wenzong.fan@windriver.com>

If pam distro feature enabled, dropbear will need below pam rpms
to work:
  
  * libpam-runtime
  * pam-plugin-deny
  * pam-plugin-permit
  * pam-plugin-unix
 
Just add the runtime dependencies explicitly.

The following changes since commit 429802fe6691c8a70ec9735c0db4c6a4e1e1b038:

  classes/populate_sdk_base: enable adding custom commands to SDK install script (2014-09-11 18:02:55 +0100)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib wenzong/fix-dropbear
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/fix-dropbear

Wenzong Fan (1):
  dropbear: add pam modules dependencies

 meta/recipes-core/dropbear/dropbear.inc |    7 +++++++
 1 file changed, 7 insertions(+)

-- 
1.7.9.5



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] dropbear: add pam modules dependencies
  2014-09-12  8:57 [PATCH 0/1] dropbear: add pam modules dependencies wenzong.fan
@ 2014-09-12  8:57 ` wenzong.fan
  0 siblings, 0 replies; 2+ messages in thread
From: wenzong.fan @ 2014-09-12  8:57 UTC (permalink / raw)
  To: openembedded-core

From: Wenzong Fan <wenzong.fan@windriver.com>

If pam distro feature enabled, dropbear will need below pam rpms
to work:

  * libpam-runtime
  * pam-plugin-deny
  * pam-plugin-permit
  * pam-plugin-unix

Just add the runtime dependencies explicitly.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
---
 meta/recipes-core/dropbear/dropbear.inc |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/meta/recipes-core/dropbear/dropbear.inc b/meta/recipes-core/dropbear/dropbear.inc
index 9fec09e..947a491 100644
--- a/meta/recipes-core/dropbear/dropbear.inc
+++ b/meta/recipes-core/dropbear/dropbear.inc
@@ -27,6 +27,13 @@ PAM_SRC_URI = "file://0005-dropbear-enable-pam.patch \
                file://0006-dropbear-configuration-file.patch \
                file://dropbear"
 
+PAM_PLUGINS = "libpam-runtime \
+	pam-plugin-deny \
+	pam-plugin-permit \
+	pam-plugin-unix \
+	"
+RDEPENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_PLUGINS}', '', d)}"
+
 inherit autotools update-rc.d systemd
 
 INITSCRIPT_NAME = "dropbear"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-12  8:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-12  8:57 [PATCH 0/1] dropbear: add pam modules dependencies wenzong.fan
2014-09-12  8:57 ` [PATCH 1/1] " wenzong.fan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.