summaryrefslogtreecommitdiffstats
path: root/recipes/openssh
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-07-27 13:31:58 -0700
committerKhem Raj <raj.khem@gmail.com>2010-07-27 13:31:58 -0700
commit3f5cdf39282a7e758dffa127b38913fab1d88663 (patch)
treeb437f04584f240766b08d13f299ffd9776f29c3c /recipes/openssh
parentcef13c59975fdbcd938156ed2f9c894e612d86f4 (diff)
downloadopenembedded-3f5cdf39282a7e758dffa127b38913fab1d88663.tar.gz
openssh.inc: Enable pam if present in DISTRO_FEATURES
Signed-off-by: Sean Hudson <Sean_Hudson@Dell.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/openssh')
-rw-r--r--recipes/openssh/openssh.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes/openssh/openssh.inc b/recipes/openssh/openssh.inc
index 9e4ca1467e..a70cffd8ce 100644
--- a/recipes/openssh/openssh.inc
+++ b/recipes/openssh/openssh.inc
@@ -1,4 +1,5 @@
DEPENDS = "zlib openssl"
+DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
RCONFLICTS_${PN} = "dropbear"
RCONFLICTS_${PN}-sshd = "dropbear"
@@ -16,7 +17,7 @@ used to provide applications with a secure communication channel."
HOMEPAGE = "http://www.openssh.org/"
LICENSE = "BSD"
-INC_PR = "r8"
+INC_PR = "r9"
inherit autotools
@@ -26,7 +27,8 @@ CFLAGS_prepend = "-I${S} "
CFLAGS_append = " -D__FILE_OFFSET_BITS=64"
LDFLAGS_prepend = "-L${S} -L${S}/openbsd-compat "
EXTRA_OECONF = "--disable-suid-ssh --with-ssl=${STAGING_LIBDIR}/ssl \
- --with-rand-helper=no --without-pam \
+ --with-rand-helper=no \
+ ${@base_contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)}
--without-zlib-version-check \
--with-privsep-path=/var/run/sshd \
--sysconfdir=${sysconfdir}/ssh \