Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: universe II <universeii@gmx.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Fixing rshd/rlogind configuration and make target
Date: Mon, 18 Nov 2013 15:34:45 +0100	[thread overview]
Message-ID: <528A2585.5040402@gmx.de> (raw)

All,
I found out that build of rshd and rlogind is commented out in Config.in 
of package rsh-redone. Re-activating them lead to compile errors of the 
rsh-redone package (when linking with pam). After a while I found the 
root cause. The make targets are wrong: rshd and rlogind must be 
replaces by in.rshd and in.rlogind. With these changes rshd and rlogind 
are compiled and are running fine on my target. Just activate them in 
inetd.conf and adjust some PAM settings. That's all.

Regards,
Andreas

Signed-off-by Andreas Ehmanns <universeii@gmx.de>


diff -Naur rsh-redone_org/Config.in rsh-redone/Config.in
--- rsh-redone_org/Config.in    2013-09-17 13:42:07.000000000 +0200
+++ rsh-redone/Config.in        2013-10-24 08:22:47.324184620 +0200
@@ -17,15 +17,15 @@
         depends on BR2_PACKAGE_RSH_REDONE

  # requires PAM
-#config BR2_PACKAGE_RSH_REDONE_RLOGIND
-#      bool "rlogind"
-#      depends on BR2_PACKAGE_RSH_REDONE
+config BR2_PACKAGE_RSH_REDONE_RLOGIND
+       bool "rlogind"
+       depends on BR2_PACKAGE_RSH_REDONE

  config BR2_PACKAGE_RSH_REDONE_RSH
         bool "rsh"
         depends on BR2_PACKAGE_RSH_REDONE

  # requires PAM
-#config BR2_PACKAGE_RSH_REDONE_RSHD
-#      bool "rshd"
-#      depends on BR2_PACKAGE_RSH_REDONE
+config BR2_PACKAGE_RSH_REDONE_RSHD
+       bool "rshd"
+       depends on BR2_PACKAGE_RSH_REDONE
diff -Naur rsh-redone_org/rsh-redone.mk rsh-redone/rsh-redone.mk
--- rsh-redone_org/rsh-redone.mk        2013-09-17 13:42:07.000000000 +0200
+++ rsh-redone/rsh-redone.mk    2013-10-24 08:23:00.643065545 +0200
@@ -13,8 +13,8 @@
  rsh-redone-bin-$(BR2_PACKAGE_RSH_REDONE_RLOGIN) += rlogin
  rsh-redone-bin-$(BR2_PACKAGE_RSH_REDONE_RSH) += rsh
  rsh-redone-sbin-y =
-rsh-redone-sbin-$(BR2_PACKAGE_RSH_REDONE_RLOGIND) += rlogind
-rsh-redone-sbin-$(BR2_PACKAGE_RSH_REDONE_RSHD) += rshd
+rsh-redone-sbin-$(BR2_PACKAGE_RSH_REDONE_RLOGIND) += in.rlogind
+rsh-redone-sbin-$(BR2_PACKAGE_RSH_REDONE_RSHD) += in.rshd

  define RSH_REDONE_BUILD_CMDS
         $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) 
BIN="$(rsh-redone-bin-y)" SBIN="$(rsh-redone-sbin-y)"

             reply	other threads:[~2013-11-18 14:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-18 14:34 universe II [this message]
2014-04-12 15:12 ` [Buildroot] [PATCH] Fixing rshd/rlogind configuration and make target Thomas Petazzoni

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=528A2585.5040402@gmx.de \
    --to=universeii@gmx.de \
    --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