From: llandwerlin at gmail.com <llandwerlin@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 12/14] openssh: added empty login option
Date: Sun, 7 Feb 2010 19:07:54 +0100 [thread overview]
Message-ID: <1265566076-10628-13-git-send-email-llandwerlin@gmail.com> (raw)
In-Reply-To: <1265566076-10628-1-git-send-email-llandwerlin@gmail.com>
From: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
---
package/openssh/Config.in | 4 ++++
package/openssh/openssh.mk | 8 ++++++++
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/package/openssh/Config.in b/package/openssh/Config.in
index 0c3d993..fb5daf8 100644
--- a/package/openssh/Config.in
+++ b/package/openssh/Config.in
@@ -7,3 +7,7 @@ config BR2_PACKAGE_OPENSSH
tools. The standard 'ssh', 'sshd', 'scp', and friends.
http://www.openssh.com/
+
+config BR2_PACKAGE_OPENSSH_EMPTY_PASSWORDS
+ bool "allow empty passwords"
+ depends on BR2_PACKAGE_OPENSSH
diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk
index 9a06d12..b499075 100644
--- a/package/openssh/openssh.mk
+++ b/package/openssh/openssh.mk
@@ -14,6 +14,14 @@ OPENSSH_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
OPENSSH_DEPENDENCIES = zlib openssl
+define OPENSSH_CONFIG_EMPTY_PASSWORDS
+ $(SED) "s/^.*PermitEmptyPasswords.*/PermitEmptyPasswords yes/;" $(TARGET_DIR)/etc/sshd_config
+endef
+
+ifeq ($(BR2_PACKAGE_OPENSSH_EMPTY_PASSWORDS),y)
+OPENSSH_POST_INSTALL_TARGET_HOOKS += OPENSSH_CONFIG_EMPTY_PASSWORDS
+endif
+
$(eval $(call AUTOTARGETS,package,openssh))
$(OPENSSH_HOOK_POST_INSTALL):
--
1.6.6
next prev parent reply other threads:[~2010-02-07 18:07 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-07 18:07 [Buildroot] [PATCH 00/14] Pull-request: Bumps & new packages llandwerlin at gmail.com
2010-02-07 18:07 ` [Buildroot] [PATCH 01/14] package: added PKG_CONF_ENV variables to host packages llandwerlin at gmail.com
2010-02-09 11:31 ` Thomas Petazzoni
2010-02-07 18:07 ` [Buildroot] [PATCH 02/14] package: added pre-configure hooks llandwerlin at gmail.com
2010-02-09 11:32 ` Thomas Petazzoni
2010-02-07 18:07 ` [Buildroot] [PATCH 03/14] directfb: bump to 1.4.3 llandwerlin at gmail.com
2010-02-08 13:47 ` Paulius Zaleckas
2010-02-07 18:07 ` [Buildroot] [PATCH 04/14] package: added lirc llandwerlin at gmail.com
2010-02-09 11:37 ` Thomas Petazzoni
2010-02-09 11:54 ` Lionel Landwerlin
2010-02-09 12:37 ` Thomas Petazzoni
2010-02-09 12:53 ` Lionel Landwerlin
2010-02-07 18:07 ` [Buildroot] [PATCH 05/14] directfb: added support for lirc llandwerlin at gmail.com
2010-02-09 12:38 ` Thomas Petazzoni
2010-02-07 18:07 ` [Buildroot] [PATCH 06/14] pixman: bump to 0.16.4 llandwerlin at gmail.com
2010-02-07 18:07 ` [Buildroot] [PATCH 07/14] cairo: Bump to 1.8.8 llandwerlin at gmail.com
2010-02-07 18:07 ` [Buildroot] [PATCH 08/14] systat: bump to 9.0.6 llandwerlin at gmail.com
2010-02-07 18:07 ` [Buildroot] [PATCH 09/14] automake: bump to 1.11 llandwerlin at gmail.com
2010-02-07 18:07 ` [Buildroot] [PATCH 10/14] libtool: added LIBTOOLIZE variable to point on $(HOST_DIR)/usr/bin/libtoolize llandwerlin at gmail.com
2010-02-07 18:07 ` [Buildroot] [PATCH 11/14] target: Added ttyAS[0-3] devices llandwerlin at gmail.com
2010-02-07 18:07 ` llandwerlin at gmail.com [this message]
2010-02-07 18:07 ` [Buildroot] [PATCH 13/14] target: added BR2_KARCH option llandwerlin at gmail.com
2010-02-07 18:46 ` Bernhard Reutner-Fischer
2010-02-07 21:18 ` Lionel Landwerlin
2010-02-07 23:52 ` [Buildroot] [PATCH] linux-fusion: bump to 8.1.1 llandwerlin at gmail.com
2010-02-07 23:55 ` [Buildroot] [PATCH 13/14] target: added BR2_KARCH option Lionel Landwerlin
2010-02-07 18:07 ` [Buildroot] [PATCH 14/14] linux-fusion: bump to 8.1.1 llandwerlin at gmail.com
2010-02-07 23:53 ` [Buildroot] [PATCH] " llandwerlin at gmail.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1265566076-10628-13-git-send-email-llandwerlin@gmail.com \
--to=llandwerlin@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox