Thanks much, Stuart.
I just took another look, and /usr/libexec/sftp-server does seem to be the
correct path -- that's where the openssh package seems to want to install the
binary, and that's where dropbear as built by the existing ltib package looks
for it (a strings | grep on the dropbearmulti binary confirms this.)
--FritzM.
On Mar 11, 2012, at 9:17 AM, Stuart Hughes wrote:
Hi Fritz,
I've applied your patches. The only thing I'm not sure about is the
install path. I see the following, is this what you intended?
/opt/ltib/usr/bin/rpm --root `pwd`/rootfs --dbpath /var/lib/rpm -ql
sftp-server
//usr
//usr/libexec
//usr/libexec/sftp-server
Thanks for the patches.
Regards, Stuart
On 09/03/12 07:24, Fritz Mueller wrote:
Here is a proposed patch that adds a package selection for sftp support
under dropbear, by building/installing a single statically linked
sftp-server binary from the openssh/openssl packages.
This option builds just the necessary prerequisite parts of
openssh/openssl to achieve the static link, primarily from the existing
tarballs/patches in the GPP, but does so within its own package
directory. Thus it does not require the configuration to depend on
openssh/openssl at large, and the resultant binary rpm adds just one
executable (sftp-server) to the target image.