History log of /openbsd-current/usr.bin/ssh/scp/Makefile
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.23 09-Aug-2021 djm

on fatal errors, make scp wait for ssh connection before exiting
avoids LogLevel=verbose (or greater) messages from ssh appearing
after scp has returned exited and control has returned to the
shell; ok markus@


# 1.22 02-Aug-2021 djm

support for using the SFTP protocol for file transfers in scp, via a
new "-M sftp" option. Marked as experimental for now.

Some corner-cases exist, in particular there is no attempt to
provide bug-compatibility with scp's weird "double shell" quoting
rules.

Mostly by Jakub Jelen in GHPR#194 with some tweaks by me. ok markus@
Thanks jmc@ for improving the scp.1 bits.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.21 25-Jul-2018 deraadt

Don't redefine Makefile choices which come correct from bsd.*.mk
ok markus


Revision tags: OPENBSD_6_3_BASE
# 1.20 08-Jan-2018 markus

group shared source files (e.g. SRCS_KEX) and allow compilation w/o OPENSSL
ok djm@


# 1.19 08-Jan-2018 markus

move subprocess() so scp/sftp do not need uidswap.o; ok djm@


# 1.18 10-Dec-2017 deraadt

ssh/lib hasn't worked towards our code-sharing goals for a quit while,
perhaps it is too verbose? Change each */Makefile to specifying exactly
what sources that program requires, compiling it seperate. Maybe we'll
iterate by sorting those into seperatable chunks, splitting up files
which contain common code + server/client specific code, or whatnot. But
this isn't one step, or we'd have done it a long time ago..
ok dtucker markus djm


Revision tags: OPENBSD_6_2_BASE
# 1.17 10-Jul-2017 espie

zap redundant Makefile variables.
okay djm@


Revision tags: OPENBSD_3_3_BASE OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.16 12-Jan-2003 markus

move progressmeter.c to libssh; ok djm/fgs@


# 1.15 10-Jan-2003 fgsch

sftp progress meter support.
original diffs by Nils Nordman <nino at nforced dot com> via markus@, merged
to -current by me, djm@ ok.


# 1.14 16-Oct-2002 itojun

scp doesn't need misc.c. markus ok


Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE
# 1.13 03-May-2001 mouring

branches: 1.13.4; 1.13.6;
Move colon() and cleanhost() to misc.c where I should I have put it in
the first place


Revision tags: OPENBSD_2_9_BASE
# 1.12 16-Apr-2001 mouring

branches: 1.12.2;
IPv6 support for sftp (which I bungled in my last patch) which is
borrowed from scp.c. Thanks to Markus@ for pointing it out.


# 1.11 03-Mar-2001 markus

log*.c -> log.c


# 1.10 29-Jan-2001 niklas

$OpenBSD$


# 1.9 01-Jan-2001 markus

use shared fatal(); from stevesk@pobox.com


Revision tags: OPENBSD_2_8_BASE
# 1.8 29-Jun-2000 todd

branches: 1.8.2;
no longer needed; good riddance for static archs


Revision tags: OPENBSD_2_7_BASE
# 1.7 06-Dec-1999 deraadt

branches: 1.7.2;
atomicio() via lib


# 1.6 06-Dec-1999 deraadt

move atomicio into it's own file. wrap all socket write()s which were doing
write(sock, buf, len) != len, with atomicio() calls.


# 1.5 25-Oct-1999 markus

move common files to ./lib and link libssh.a, tested with and w/o obj


Revision tags: OPENBSD_2_6_BASE
# 1.4 07-Oct-1999 deraadt

on static machines, install these as mode 0


# 1.3 28-Sep-1999 provos

convert all uses of gmp to SSL bignum
convert all used of rsa to SSL rsa functions
remove all use of randomstate to OpenBSD arc4random() and arc4_stir()
all this done at a long long night in Canada.


# 1.2 26-Sep-1999 deraadt

proper groups for install


# 1.1 26-Sep-1999 deraadt

build ssh components using our build model


# 1.22 02-Aug-2021 djm

support for using the SFTP protocol for file transfers in scp, via a
new "-M sftp" option. Marked as experimental for now.

Some corner-cases exist, in particular there is no attempt to
provide bug-compatibility with scp's weird "double shell" quoting
rules.

Mostly by Jakub Jelen in GHPR#194 with some tweaks by me. ok markus@
Thanks jmc@ for improving the scp.1 bits.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.21 25-Jul-2018 deraadt

Don't redefine Makefile choices which come correct from bsd.*.mk
ok markus


Revision tags: OPENBSD_6_3_BASE
# 1.20 08-Jan-2018 markus

group shared source files (e.g. SRCS_KEX) and allow compilation w/o OPENSSL
ok djm@


# 1.19 08-Jan-2018 markus

move subprocess() so scp/sftp do not need uidswap.o; ok djm@


# 1.18 10-Dec-2017 deraadt

ssh/lib hasn't worked towards our code-sharing goals for a quit while,
perhaps it is too verbose? Change each */Makefile to specifying exactly
what sources that program requires, compiling it seperate. Maybe we'll
iterate by sorting those into seperatable chunks, splitting up files
which contain common code + server/client specific code, or whatnot. But
this isn't one step, or we'd have done it a long time ago..
ok dtucker markus djm


Revision tags: OPENBSD_6_2_BASE
# 1.17 10-Jul-2017 espie

zap redundant Makefile variables.
okay djm@


Revision tags: OPENBSD_3_3_BASE OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.16 12-Jan-2003 markus

move progressmeter.c to libssh; ok djm/fgs@


# 1.15 10-Jan-2003 fgsch

sftp progress meter support.
original diffs by Nils Nordman <nino at nforced dot com> via markus@, merged
to -current by me, djm@ ok.


# 1.14 16-Oct-2002 itojun

scp doesn't need misc.c. markus ok


Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE
# 1.13 03-May-2001 mouring

branches: 1.13.4; 1.13.6;
Move colon() and cleanhost() to misc.c where I should I have put it in
the first place


Revision tags: OPENBSD_2_9_BASE
# 1.12 16-Apr-2001 mouring

branches: 1.12.2;
IPv6 support for sftp (which I bungled in my last patch) which is
borrowed from scp.c. Thanks to Markus@ for pointing it out.


# 1.11 03-Mar-2001 markus

log*.c -> log.c


# 1.10 29-Jan-2001 niklas

$OpenBSD$


# 1.9 01-Jan-2001 markus

use shared fatal(); from stevesk@pobox.com


Revision tags: OPENBSD_2_8_BASE
# 1.8 29-Jun-2000 todd

branches: 1.8.2;
no longer needed; good riddance for static archs


Revision tags: OPENBSD_2_7_BASE
# 1.7 06-Dec-1999 deraadt

branches: 1.7.2;
atomicio() via lib


# 1.6 06-Dec-1999 deraadt

move atomicio into it's own file. wrap all socket write()s which were doing
write(sock, buf, len) != len, with atomicio() calls.


# 1.5 25-Oct-1999 markus

move common files to ./lib and link libssh.a, tested with and w/o obj


Revision tags: OPENBSD_2_6_BASE
# 1.4 07-Oct-1999 deraadt

on static machines, install these as mode 0


# 1.3 28-Sep-1999 provos

convert all uses of gmp to SSL bignum
convert all used of rsa to SSL rsa functions
remove all use of randomstate to OpenBSD arc4random() and arc4_stir()
all this done at a long long night in Canada.


# 1.2 26-Sep-1999 deraadt

proper groups for install


# 1.1 26-Sep-1999 deraadt

build ssh components using our build model


# 1.21 25-Jul-2018 deraadt

Don't redefine Makefile choices which come correct from bsd.*.mk
ok markus


Revision tags: OPENBSD_6_3_BASE
# 1.20 08-Jan-2018 markus

group shared source files (e.g. SRCS_KEX) and allow compilation w/o OPENSSL
ok djm@


# 1.19 08-Jan-2018 markus

move subprocess() so scp/sftp do not need uidswap.o; ok djm@


# 1.18 10-Dec-2017 deraadt

ssh/lib hasn't worked towards our code-sharing goals for a quit while,
perhaps it is too verbose? Change each */Makefile to specifying exactly
what sources that program requires, compiling it seperate. Maybe we'll
iterate by sorting those into seperatable chunks, splitting up files
which contain common code + server/client specific code, or whatnot. But
this isn't one step, or we'd have done it a long time ago..
ok dtucker markus djm


Revision tags: OPENBSD_6_2_BASE
# 1.17 10-Jul-2017 espie

zap redundant Makefile variables.
okay djm@


Revision tags: OPENBSD_3_3_BASE OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.16 12-Jan-2003 markus

move progressmeter.c to libssh; ok djm/fgs@


# 1.15 10-Jan-2003 fgsch

sftp progress meter support.
original diffs by Nils Nordman <nino at nforced dot com> via markus@, merged
to -current by me, djm@ ok.


# 1.14 16-Oct-2002 itojun

scp doesn't need misc.c. markus ok


Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE
# 1.13 03-May-2001 mouring

branches: 1.13.4; 1.13.6;
Move colon() and cleanhost() to misc.c where I should I have put it in
the first place


Revision tags: OPENBSD_2_9_BASE
# 1.12 16-Apr-2001 mouring

branches: 1.12.2;
IPv6 support for sftp (which I bungled in my last patch) which is
borrowed from scp.c. Thanks to Markus@ for pointing it out.


# 1.11 03-Mar-2001 markus

log*.c -> log.c


# 1.10 29-Jan-2001 niklas

$OpenBSD$


# 1.9 01-Jan-2001 markus

use shared fatal(); from stevesk@pobox.com


Revision tags: OPENBSD_2_8_BASE
# 1.8 29-Jun-2000 todd

branches: 1.8.2;
no longer needed; good riddance for static archs


Revision tags: OPENBSD_2_7_BASE
# 1.7 06-Dec-1999 deraadt

branches: 1.7.2;
atomicio() via lib


# 1.6 06-Dec-1999 deraadt

move atomicio into it's own file. wrap all socket write()s which were doing
write(sock, buf, len) != len, with atomicio() calls.


# 1.5 25-Oct-1999 markus

move common files to ./lib and link libssh.a, tested with and w/o obj


Revision tags: OPENBSD_2_6_BASE
# 1.4 07-Oct-1999 deraadt

on static machines, install these as mode 0


# 1.3 28-Sep-1999 provos

convert all uses of gmp to SSL bignum
convert all used of rsa to SSL rsa functions
remove all use of randomstate to OpenBSD arc4random() and arc4_stir()
all this done at a long long night in Canada.


# 1.2 26-Sep-1999 deraadt

proper groups for install


# 1.1 26-Sep-1999 deraadt

build ssh components using our build model


# 1.20 08-Jan-2018 markus

group shared source files (e.g. SRCS_KEX) and allow compilation w/o OPENSSL
ok djm@


# 1.19 08-Jan-2018 markus

move subprocess() so scp/sftp do not need uidswap.o; ok djm@


# 1.18 10-Dec-2017 deraadt

ssh/lib hasn't worked towards our code-sharing goals for a quit while,
perhaps it is too verbose? Change each */Makefile to specifying exactly
what sources that program requires, compiling it seperate. Maybe we'll
iterate by sorting those into seperatable chunks, splitting up files
which contain common code + server/client specific code, or whatnot. But
this isn't one step, or we'd have done it a long time ago..
ok dtucker markus djm


Revision tags: OPENBSD_6_2_BASE
# 1.17 10-Jul-2017 espie

zap redundant Makefile variables.
okay djm@


Revision tags: OPENBSD_3_3_BASE OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.16 12-Jan-2003 markus

move progressmeter.c to libssh; ok djm/fgs@


# 1.15 10-Jan-2003 fgsch

sftp progress meter support.
original diffs by Nils Nordman <nino at nforced dot com> via markus@, merged
to -current by me, djm@ ok.


# 1.14 16-Oct-2002 itojun

scp doesn't need misc.c. markus ok


Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE
# 1.13 03-May-2001 mouring

branches: 1.13.4; 1.13.6;
Move colon() and cleanhost() to misc.c where I should I have put it in
the first place


Revision tags: OPENBSD_2_9_BASE
# 1.12 16-Apr-2001 mouring

branches: 1.12.2;
IPv6 support for sftp (which I bungled in my last patch) which is
borrowed from scp.c. Thanks to Markus@ for pointing it out.


# 1.11 03-Mar-2001 markus

log*.c -> log.c


# 1.10 29-Jan-2001 niklas

$OpenBSD$


# 1.9 01-Jan-2001 markus

use shared fatal(); from stevesk@pobox.com


Revision tags: OPENBSD_2_8_BASE
# 1.8 29-Jun-2000 todd

branches: 1.8.2;
no longer needed; good riddance for static archs


Revision tags: OPENBSD_2_7_BASE
# 1.7 06-Dec-1999 deraadt

branches: 1.7.2;
atomicio() via lib


# 1.6 06-Dec-1999 deraadt

move atomicio into it's own file. wrap all socket write()s which were doing
write(sock, buf, len) != len, with atomicio() calls.


# 1.5 25-Oct-1999 markus

move common files to ./lib and link libssh.a, tested with and w/o obj


Revision tags: OPENBSD_2_6_BASE
# 1.4 07-Oct-1999 deraadt

on static machines, install these as mode 0


# 1.3 28-Sep-1999 provos

convert all uses of gmp to SSL bignum
convert all used of rsa to SSL rsa functions
remove all use of randomstate to OpenBSD arc4random() and arc4_stir()
all this done at a long long night in Canada.


# 1.2 26-Sep-1999 deraadt

proper groups for install


# 1.1 26-Sep-1999 deraadt

build ssh components using our build model