Tiny Core Extensions > TCE Corepure64

path of sftp-server binary different in openssh extension in corepure64

(1/1)

nagtiny:
hi,
in the 32bit openssh extension the path to the sftp-server binary is /usr/local/libexec/sftp-server, in the 64bit version its in /usr/local/lib/openssh/sftp-server.
is there a reason for this or could/should this be unified?

thank you,
nagtiny

bmarkus:
Well, each one looks wrong. /usr/local/sbin would be better.

nagtiny:
hm, in ubuntu its in /usr/lib/openssh/sftp-server, in arch its /usr/lib/ssh/sftp-server. according to the manpage of sftp-server, "sftp-
       server is not intended to be called directly, but from sshd(8) using the Subsystem option."
maybe thats the reason not to put it into sbin?

Juanito:
the "make install" routine in different packages treats libexec files differently.

By default, they can be installed to:

$PREFIX/libexec
$PREFIX/libexec/package_name
$PREFIX/lib/package_name

..and probably others besides.

For consistency, I have been adjusting the ./configure switches, where necessary, so that libexec files are installed in /usr/local/lib/package_name.

Note that, since the libexec files are not called directly, the actually location is not that important, but cannot be changed after installation.

Navigation

[0] Message Index

Go to full version