All of lore.kernel.org
 help / color / mirror / Atom feed
From: thomas <thomas.spitz@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Dropbear/SFTP
Date: Fri, 26 Apr 2013 00:12:25 -0700 (PDT)	[thread overview]
Message-ID: <1366960345226-44260.post@n4.nabble.com> (raw)
In-Reply-To: <87obd28e73.fsf@dell.be.48ers.dk>

Hello Peter,

I didn't use the patch but I directly modified
/home/thomas/Armadeus/armadeus-5.2/buildroot/package/openssh/openssh.mk as
follows : 

/#############################################################
#
# openssh
#
#############################################################

OPENSSH_VERSION = 5.9p1
OPENSSH_SITE = http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable
OPENSSH_CONF_ENV = LD="$(TARGET_CC)" LDFLAGS="$(TARGET_CFLAGS)"
OPENSSH_CONF_OPT = --disable-lastlog --disable-utmp \
		--disable-utmpx --disable-wtmp --disable-wtmpx --disable-strip

OPENSSH_DEPENDENCIES = zlib openssl

define OPENSSH_INSTALL_INITSCRIPT
	$(INSTALL) -D -m 755 package/openssh/S50sshd
$(TARGET_DIR)/etc/init.d/S50sshd
endef

OPENSSH_POST_INSTALL_TARGET_HOOKS += OPENSSH_INSTALL_INITSCRIPT

$(eval $(call AUTOTARGETS))/

I also resinstalled openssh to be sure It take account of the modified file.
Nothing changes. sftp-server is still installed in /usr/lib whereas sftp
root at 192.168.1.5 is looking for sftp service on the target in /usr/libexec

Here below a ls from my Armadeus target :
# ls /usr
bin    lib    sbin   share
# ls /usr/lib
libas_devices.so     libncurses.so        libts-1.0.so.0.0.0
libcrypto.so         libncurses.so.5      libts.so
libcrypto.so.1.0.0   libncurses.so.5.7    libz.so
libform.so           libpanel.so          libz.so.1
libform.so.5         libpanel.so.5        libz.so.1.2.5
libform.so.5.7       libpanel.so.5.7      sftp-server
liblzo2.so           libssl.so            ssh-keysign
liblzo2.so.2         libssl.so.1.0.0      ssh-pkcs11-helper
liblzo2.so.2.0.0     libstdc++.so         tc
libmenu.so           libstdc++.so.6       terminfo
libmenu.so.5         libstdc++.so.6.0.13  ts
libmenu.so.5.7       libts-1.0.so.0
# 

Best regards,
Thomas





--
View this message in context: http://buildroot-busybox.2317881.n4.nabble.com/Dropbear-SFTP-tp38207p44260.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.

  reply	other threads:[~2013-04-26  7:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-08 11:54 [Buildroot] Dropbear/SFTP Ted Wood
2013-01-08 12:06 ` Thomas Petazzoni
2013-01-08 12:59   ` Willy Lambert
2013-01-08 14:15     ` Will Moore
2013-01-08 14:31       ` Thomas Petazzoni
     [not found]   ` <alpine.DEB.2.02.1301081329510.17533@www.arte.unipi.it>
2013-01-08 15:10     ` Peter Korsgaard
2013-01-13 15:03   ` Thomas Petazzoni
2013-04-25 19:41   ` thomas
2013-04-25 19:44     ` Peter Korsgaard
2013-04-25 19:51       ` thomas
2013-04-25 20:54         ` Peter Korsgaard
2013-04-25 21:42           ` thomas
2013-04-25 21:58             ` Peter Korsgaard
2013-04-26  7:12               ` thomas [this message]
2013-04-26  7:46                 ` thomas
2013-04-26  9:27                   ` Peter Korsgaard

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=1366960345226-44260.post@n4.nabble.com \
    --to=thomas.spitz@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.