aboutsummaryrefslogtreecommitdiff
path: root/package/openssh/openssh.mk
diff options
context:
space:
mode:
authorGravatar Danomi Manchego <danomimanchego123@gmail.com>2012-09-15 14:27:53 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2013-03-24 16:41:29 +0100
commit767ad5b4a738d5848d8c5042892fca85053370bc (patch)
treea69ae0c7b0110ca08ecec9a5796e5ff2cbb1fae9 /package/openssh/openssh.mk
parent50bcee6ad5dd2aab273f6a055367ca2c232598f7 (diff)
downloadbuildroot-767ad5b4a738d5848d8c5042892fca85053370bc.tar.gz
buildroot-767ad5b4a738d5848d8c5042892fca85053370bc.tar.bz2
openssh: add linux-pam support
Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/openssh/openssh.mk')
-rw-r--r--package/openssh/openssh.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk
index 81a28a1993..03ea73d73c 100644
--- a/package/openssh/openssh.mk
+++ b/package/openssh/openssh.mk
@@ -12,6 +12,11 @@ OPENSSH_CONF_OPT = --libexecdir=/usr/lib --disable-lastlog --disable-utmp \
OPENSSH_DEPENDENCIES = zlib openssl
+ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
+OPENSSH_DEPENDENCIES += linux-pam
+OPENSSH_CONF_OPT += --with-pam
+endif
+
define OPENSSH_INSTALL_INITSCRIPT
$(INSTALL) -D -m 755 package/openssh/S50sshd $(TARGET_DIR)/etc/init.d/S50sshd
endef