Tiny Core Linux
Tiny Core Extensions => TCE Corepure64 => Topic started by: nagtiny on June 10, 2016, 05:10:20 PM
-
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
-
Well, each one looks wrong. /usr/local/sbin would be better.
-
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?
-
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.