Skip to contentSkip to conversation

dropbear: add pam modules dependencies

PATCH New [email protected] 1 participant 2 messages Sep 12, 2014

lore
Share & tools
lore
#0 lore raw

cover dropbear: add pam modules dependencies

From: Wenzong Fan <[email protected]>

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(+)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 dropbear: add pam modules dependencies

From: Wenzong Fan <[email protected]>

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.

---
 meta/recipes-core/dropbear/dropbear.inc |    7 +++++++
 1 file changed, 7 insertions(+)
meta/recipes-core/dropbear/dropbear.inc +7 -0
index 9fec09e..947a491 100644
@@ -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"
Signature · 1 line
1.7.9.5