From f6aa31f48f33d75b71b73a4fd6e7bc26c879515f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 5 Jun 2023 20:00:19 +0200 Subject: [PATCH] provide SPDX identifiers - All files have prominent copyright and SPDX identifier - If not embedded in the file, in the .reuse/dep5 file - All used licenses are in LICENSES/ (not shipped in tarballs) - A new REUSE CI job verify that all files are OK Assisted-by: Viktor Szakats Closes #1084 --- .github/workflows/appveyor_docker.yml | 2 ++ .github/workflows/appveyor_status.yml | 2 ++ .github/workflows/ci.yml | 4 +++ .github/workflows/cifuzz.yml | 4 +++ .github/workflows/openssh_server.yml | 2 ++ .github/workflows/reuse.yml | 29 ++++++++++++++++ .reuse/dep5 | 34 +++++++++++++++++++ CMakeLists.txt | 2 ++ LICENSES/BSD-2-Clause.txt | 9 +++++ LICENSES/BSD-3-Clause.txt | 11 ++++++ LICENSES/FSFULLR.txt | 5 +++ LICENSES/MIT.txt | 21 ++++++++++++ LICENSES/curl.txt | 21 ++++++++++++ Makefile.am | 2 ++ Makefile.mk | 4 ++- NMakefile | 3 ++ acinclude.m4 | 2 ++ appveyor.yml | 2 ++ buildconf | 2 ++ ci/appveyor/docker-bridge.ps1 | 2 ++ ci/appveyor/docker-bridge.sh | 2 ++ ci/checksrc.sh | 2 ++ cmake/CheckFunctionExistsMayNeedLibrary.cmake | 2 ++ cmake/CheckNonblockingSocketSupport.cmake | 2 ++ cmake/CopyRuntimeDependencies.cmake | 2 ++ cmake/FindLibgcrypt.cmake | 2 ++ cmake/FindmbedTLS.cmake | 3 ++ cmake/Findwolfssl.cmake | 3 ++ cmake/max_warnings.cmake | 1 + config.rpath | 2 ++ configure.ac | 5 +++ docs/CMakeLists.txt | 2 ++ docs/libssh2_agent_connect.3 | 3 +- docs/libssh2_agent_disconnect.3 | 3 +- docs/libssh2_agent_free.3 | 3 +- docs/libssh2_agent_get_identity.3 | 3 +- docs/libssh2_agent_get_identity_path.3 | 3 +- docs/libssh2_agent_init.3 | 3 +- docs/libssh2_agent_list_identities.3 | 3 +- docs/libssh2_agent_set_identity_path.3 | 3 +- docs/libssh2_agent_sign.3 | 2 ++ docs/libssh2_agent_userauth.3 | 3 +- docs/libssh2_banner_set.3 | 2 ++ docs/libssh2_base64_decode.3 | 2 ++ docs/libssh2_channel_close.3 | 2 ++ docs/libssh2_channel_direct_streamlocal_ex.3 | 2 ++ docs/libssh2_channel_direct_tcpip.3 | 2 ++ docs/libssh2_channel_direct_tcpip_ex.3 | 2 ++ docs/libssh2_channel_eof.3 | 2 ++ docs/libssh2_channel_exec.3 | 2 ++ docs/libssh2_channel_flush.3 | 2 ++ docs/libssh2_channel_flush_ex.3 | 2 ++ docs/libssh2_channel_flush_stderr.3 | 2 ++ docs/libssh2_channel_forward_accept.3 | 2 ++ docs/libssh2_channel_forward_cancel.3 | 2 ++ docs/libssh2_channel_forward_listen.3 | 2 ++ docs/libssh2_channel_forward_listen_ex.3 | 2 ++ docs/libssh2_channel_free.3 | 2 ++ docs/libssh2_channel_get_exit_signal.3 | 2 ++ docs/libssh2_channel_get_exit_status.3 | 2 ++ docs/libssh2_channel_handle_extended_data.3 | 2 ++ docs/libssh2_channel_handle_extended_data2.3 | 2 ++ docs/libssh2_channel_ignore_extended_data.3 | 2 ++ docs/libssh2_channel_open_ex.3 | 2 ++ docs/libssh2_channel_open_session.3 | 2 ++ docs/libssh2_channel_process_startup.3 | 2 ++ docs/libssh2_channel_read.3 | 2 ++ docs/libssh2_channel_read_ex.3 | 2 ++ docs/libssh2_channel_read_stderr.3 | 2 ++ docs/libssh2_channel_receive_window_adjust.3 | 2 ++ docs/libssh2_channel_receive_window_adjust2.3 | 2 ++ docs/libssh2_channel_request_auth_agent.3 | 2 ++ docs/libssh2_channel_request_pty.3 | 2 ++ docs/libssh2_channel_request_pty_ex.3 | 2 ++ docs/libssh2_channel_request_pty_size.3 | 2 ++ docs/libssh2_channel_request_pty_size_ex.3 | 2 ++ docs/libssh2_channel_send_eof.3 | 2 ++ docs/libssh2_channel_set_blocking.3 | 2 ++ docs/libssh2_channel_setenv.3 | 2 ++ docs/libssh2_channel_setenv_ex.3 | 2 ++ docs/libssh2_channel_shell.3 | 2 ++ docs/libssh2_channel_signal_ex.3 | 2 ++ docs/libssh2_channel_subsystem.3 | 2 ++ docs/libssh2_channel_wait_closed.3 | 2 ++ docs/libssh2_channel_wait_eof.3 | 2 ++ docs/libssh2_channel_window_read.3 | 2 ++ docs/libssh2_channel_window_read_ex.3 | 2 ++ docs/libssh2_channel_window_write.3 | 2 ++ docs/libssh2_channel_window_write_ex.3 | 2 ++ docs/libssh2_channel_write.3 | 2 ++ docs/libssh2_channel_write_ex.3 | 2 ++ docs/libssh2_channel_write_stderr.3 | 2 ++ docs/libssh2_channel_x11_req.3 | 2 ++ docs/libssh2_channel_x11_req_ex.3 | 2 ++ docs/libssh2_crypto_engine.3 | 2 ++ docs/libssh2_exit.3 | 2 ++ docs/libssh2_free.3 | 2 ++ docs/libssh2_hostkey_hash.3 | 2 ++ docs/libssh2_init.3 | 2 ++ docs/libssh2_keepalive_config.3 | 2 ++ docs/libssh2_keepalive_send.3 | 2 ++ docs/libssh2_knownhost_add.3 | 3 +- docs/libssh2_knownhost_addc.3 | 3 +- docs/libssh2_knownhost_check.3 | 3 +- docs/libssh2_knownhost_checkp.3 | 3 +- docs/libssh2_knownhost_del.3 | 3 +- docs/libssh2_knownhost_free.3 | 3 +- docs/libssh2_knownhost_get.3 | 3 +- docs/libssh2_knownhost_init.3 | 3 +- docs/libssh2_knownhost_readfile.3 | 3 +- docs/libssh2_knownhost_readline.3 | 3 +- docs/libssh2_knownhost_writefile.3 | 3 +- docs/libssh2_knownhost_writeline.3 | 3 +- docs/libssh2_poll.3 | 2 ++ docs/libssh2_poll_channel_read.3 | 2 ++ docs/libssh2_publickey_add.3 | 2 ++ docs/libssh2_publickey_add_ex.3 | 2 ++ docs/libssh2_publickey_init.3 | 2 ++ docs/libssh2_publickey_list_fetch.3 | 2 ++ docs/libssh2_publickey_list_free.3 | 2 ++ docs/libssh2_publickey_remove.3 | 2 ++ docs/libssh2_publickey_remove_ex.3 | 2 ++ docs/libssh2_publickey_shutdown.3 | 2 ++ docs/libssh2_scp_recv.3 | 2 ++ docs/libssh2_scp_recv2.3 | 2 ++ docs/libssh2_scp_send.3 | 2 ++ docs/libssh2_scp_send64.3 | 2 ++ docs/libssh2_scp_send_ex.3 | 2 ++ docs/libssh2_session_abstract.3 | 2 ++ docs/libssh2_session_banner_get.3 | 2 ++ docs/libssh2_session_banner_set.3 | 2 ++ docs/libssh2_session_block_directions.3 | 2 ++ docs/libssh2_session_callback_set.3 | 2 ++ docs/libssh2_session_disconnect.3 | 2 ++ docs/libssh2_session_disconnect_ex.3 | 2 ++ docs/libssh2_session_flag.3 | 2 ++ docs/libssh2_session_free.3 | 2 ++ docs/libssh2_session_get_blocking.3 | 2 ++ docs/libssh2_session_get_read_timeout.3 | 2 ++ docs/libssh2_session_get_timeout.3 | 2 ++ docs/libssh2_session_handshake.3 | 2 ++ docs/libssh2_session_hostkey.3 | 2 ++ docs/libssh2_session_init.3 | 2 ++ docs/libssh2_session_init_ex.3 | 2 ++ docs/libssh2_session_last_errno.3 | 2 ++ docs/libssh2_session_last_error.3 | 2 ++ docs/libssh2_session_method_pref.3 | 2 ++ docs/libssh2_session_methods.3 | 2 ++ docs/libssh2_session_set_blocking.3 | 2 ++ docs/libssh2_session_set_last_error.3 | 2 ++ docs/libssh2_session_set_read_timeout.3 | 2 ++ docs/libssh2_session_set_timeout.3 | 2 ++ docs/libssh2_session_startup.3 | 2 ++ docs/libssh2_session_supported_algs.3 | 2 ++ docs/libssh2_sftp_close.3 | 2 ++ docs/libssh2_sftp_close_handle.3 | 2 ++ docs/libssh2_sftp_closedir.3 | 2 ++ docs/libssh2_sftp_fsetstat.3 | 2 ++ docs/libssh2_sftp_fstat.3 | 2 ++ docs/libssh2_sftp_fstat_ex.3 | 2 ++ docs/libssh2_sftp_fstatvfs.3 | 2 ++ docs/libssh2_sftp_fsync.3 | 2 ++ docs/libssh2_sftp_get_channel.3 | 2 ++ docs/libssh2_sftp_init.3 | 2 ++ docs/libssh2_sftp_last_error.3 | 2 ++ docs/libssh2_sftp_lstat.3 | 2 ++ docs/libssh2_sftp_mkdir.3 | 2 ++ docs/libssh2_sftp_mkdir_ex.3 | 2 ++ docs/libssh2_sftp_open.3 | 2 ++ docs/libssh2_sftp_open_ex.3 | 2 ++ docs/libssh2_sftp_open_ex_r.3 | 2 ++ docs/libssh2_sftp_open_r.3 | 2 ++ docs/libssh2_sftp_opendir.3 | 2 ++ docs/libssh2_sftp_read.3 | 2 ++ docs/libssh2_sftp_readdir.3 | 2 ++ docs/libssh2_sftp_readdir_ex.3 | 2 ++ docs/libssh2_sftp_readlink.3 | 2 ++ docs/libssh2_sftp_realpath.3 | 2 ++ docs/libssh2_sftp_rename.3 | 2 ++ docs/libssh2_sftp_rename_ex.3 | 2 ++ docs/libssh2_sftp_rewind.3 | 2 ++ docs/libssh2_sftp_rmdir.3 | 2 ++ docs/libssh2_sftp_rmdir_ex.3 | 2 ++ docs/libssh2_sftp_seek.3 | 2 ++ docs/libssh2_sftp_seek64.3 | 2 ++ docs/libssh2_sftp_setstat.3 | 2 ++ docs/libssh2_sftp_shutdown.3 | 2 ++ docs/libssh2_sftp_stat.3 | 2 ++ docs/libssh2_sftp_stat_ex.3 | 2 ++ docs/libssh2_sftp_statvfs.3 | 2 ++ docs/libssh2_sftp_symlink.3 | 2 ++ docs/libssh2_sftp_symlink_ex.3 | 2 ++ docs/libssh2_sftp_tell.3 | 2 ++ docs/libssh2_sftp_tell64.3 | 2 ++ docs/libssh2_sftp_unlink.3 | 2 ++ docs/libssh2_sftp_unlink_ex.3 | 2 ++ docs/libssh2_sftp_write.3 | 2 ++ docs/libssh2_sign_sk.3 | 2 ++ docs/libssh2_trace.3 | 2 ++ docs/libssh2_trace_sethandler.3 | 2 ++ docs/libssh2_userauth_authenticated.3 | 2 ++ docs/libssh2_userauth_banner.3 | 2 ++ docs/libssh2_userauth_hostbased_fromfile.3 | 2 ++ docs/libssh2_userauth_hostbased_fromfile_ex.3 | 2 ++ docs/libssh2_userauth_keyboard_interactive.3 | 2 ++ ...libssh2_userauth_keyboard_interactive_ex.3 | 2 ++ docs/libssh2_userauth_list.3 | 2 ++ docs/libssh2_userauth_password.3 | 2 ++ docs/libssh2_userauth_password_ex.3 | 2 ++ docs/libssh2_userauth_publickey.3 | 2 ++ docs/libssh2_userauth_publickey_fromfile.3 | 2 ++ docs/libssh2_userauth_publickey_fromfile_ex.3 | 2 ++ docs/libssh2_userauth_publickey_frommemory.3 | 2 ++ docs/libssh2_userauth_publickey_sk.3 | 2 ++ docs/libssh2_version.3 | 2 ++ example/CMakeLists.txt | 2 ++ example/Makefile.am | 2 ++ example/direct_tcpip.c | 5 ++- example/scp.c | 2 ++ example/scp_nonblock.c | 2 ++ example/scp_write.c | 2 ++ example/scp_write_nonblock.c | 2 ++ example/sftp.c | 2 ++ example/sftp_RW_nonblock.c | 2 ++ example/sftp_append.c | 2 ++ example/sftp_mkdir.c | 2 ++ example/sftp_mkdir_nonblock.c | 2 ++ example/sftp_nonblock.c | 2 ++ example/sftp_write.c | 2 ++ example/sftp_write_nonblock.c | 2 ++ example/sftp_write_sliding.c | 2 ++ example/sftpdir.c | 2 ++ example/sftpdir_nonblock.c | 2 ++ example/ssh2.c | 2 ++ example/ssh2_agent.c | 2 ++ example/ssh2_agent_forwarding.c | 1 + example/ssh2_echo.c | 1 + example/ssh2_exec.c | 1 + example/subsystem_netconf.c | 5 ++- example/tcpip-forward.c | 5 ++- example/x11.c | 2 ++ get_ver.awk | 3 ++ git2news.pl | 2 ++ include/libssh2.h | 2 ++ include/libssh2_publickey.h | 2 ++ include/libssh2_sftp.h | 2 ++ libssh2-style.el | 2 ++ libssh2.pc.in | 3 ++ m4/lib-ld.m4 | 2 ++ m4/lib-link.m4 | 2 ++ m4/lib-prefix.m4 | 2 ++ maketgz | 3 ++ os400/ccsid.c | 2 ++ os400/include/alloca.h | 2 ++ os400/include/assert.h | 2 ++ os400/include/stdio.h | 2 ++ os400/include/sys/socket.h | 2 ++ os400/initscript.sh | 3 +- os400/libssh2_ccsid.h | 2 ++ os400/libssh2_config.h | 2 ++ os400/libssh2rpg/libssh2.rpgle.in | 2 ++ os400/libssh2rpg/libssh2_ccsid.rpgle.in | 2 ++ os400/libssh2rpg/libssh2_publickey.rpgle | 2 ++ os400/libssh2rpg/libssh2_sftp.rpgle | 2 ++ os400/macros.h | 2 ++ os400/make-include.sh | 2 ++ os400/make-rpg.sh | 2 ++ os400/make-src.sh | 2 ++ os400/make.sh | 2 ++ os400/os400sys.c | 2 ++ src/CMakeLists.txt | 2 ++ src/Makefile.am | 2 ++ src/Makefile.inc | 2 ++ src/agent.c | 2 ++ src/agent_win.c | 2 ++ src/bcrypt_pbkdf.c | 2 ++ src/blowfish.c | 2 ++ src/channel.c | 2 ++ src/channel.h | 2 ++ src/comp.c | 2 ++ src/comp.h | 1 + src/crypt.c | 2 ++ src/crypto.c | 5 ++- src/crypto.h | 2 ++ src/global.c | 2 ++ src/hostkey.c | 2 ++ src/keepalive.c | 1 + src/kex.c | 2 ++ src/knownhost.c | 2 ++ src/libgcrypt.c | 2 ++ src/libgcrypt.h | 2 ++ src/libssh2.rc | 5 ++- src/libssh2_config_cmake.h.in | 2 ++ src/libssh2_priv.h | 2 ++ src/libssh2_setup.h | 5 ++- src/mac.c | 2 ++ src/mac.h | 1 + src/mbedtls.c | 2 ++ src/mbedtls.h | 2 ++ src/misc.c | 2 ++ src/misc.h | 2 ++ src/openssl.c | 2 ++ src/openssl.h | 2 ++ src/os400qc3.c | 2 ++ src/os400qc3.h | 2 ++ src/packet.c | 2 ++ src/packet.h | 1 + src/pem.c | 2 ++ src/publickey.c | 2 ++ src/scp.c | 2 ++ src/session.c | 2 ++ src/session.h | 2 ++ src/sftp.c | 2 ++ src/sftp.h | 1 + src/transport.c | 2 ++ src/transport.h | 2 ++ src/userauth.c | 2 ++ src/userauth.h | 2 ++ src/userauth_kbd_packet.c | 2 ++ src/userauth_kbd_packet.h | 2 ++ src/version.c | 1 + src/wincng.c | 2 ++ src/wincng.h | 2 ++ tests/CMakeLists.txt | 2 ++ tests/Makefile.am | 2 ++ tests/Makefile.inc | 2 ++ tests/gen_keys.sh | 3 +- tests/mansyntax.sh | 2 ++ tests/openssh_fixture.c | 2 ++ tests/openssh_fixture.h | 2 ++ tests/runner.c | 2 ++ tests/runner.h | 2 ++ tests/session_fixture.c | 2 ++ tests/session_fixture.h | 2 ++ tests/test_aa_warmup.c | 5 ++- tests/test_agent_forward_ok.c | 5 ++- tests/test_auth_keyboard_fail.c | 5 ++- tests/test_auth_keyboard_info_request.c | 2 ++ tests/test_auth_keyboard_ok.c | 5 ++- tests/test_auth_password_fail_password.c | 5 ++- tests/test_auth_password_fail_username.c | 5 ++- tests/test_auth_password_ok.c | 5 ++- tests/test_auth_pubkey_fail.c | 5 ++- tests/test_auth_pubkey_ok_dsa.c | 5 ++- tests/test_auth_pubkey_ok_ecdsa.c | 5 ++- tests/test_auth_pubkey_ok_ecdsa_signed.c | 5 ++- tests/test_auth_pubkey_ok_ed25519.c | 5 ++- tests/test_auth_pubkey_ok_ed25519_encrypted.c | 5 ++- tests/test_auth_pubkey_ok_ed25519_mem.c | 5 ++- tests/test_auth_pubkey_ok_rsa.c | 5 ++- tests/test_auth_pubkey_ok_rsa_encrypted.c | 5 ++- tests/test_auth_pubkey_ok_rsa_openssh.c | 5 ++- tests/test_auth_pubkey_ok_rsa_signed.c | 5 ++- tests/test_hostkey.c | 5 ++- tests/test_hostkey_hash.c | 5 ++- tests/test_read.c | 2 ++ tests/test_read_algos.test | 2 +- tests/test_simple.c | 2 ++ tests/test_ssh2.c | 9 +++-- tests/test_sshd.test | 7 ++-- 360 files changed, 876 insertions(+), 78 deletions(-) create mode 100644 .github/workflows/reuse.yml create mode 100644 .reuse/dep5 create mode 100644 LICENSES/BSD-2-Clause.txt create mode 100644 LICENSES/BSD-3-Clause.txt create mode 100644 LICENSES/FSFULLR.txt create mode 100644 LICENSES/MIT.txt create mode 100644 LICENSES/curl.txt diff --git a/.github/workflows/appveyor_docker.yml b/.github/workflows/appveyor_docker.yml index 1752cd98..2b2c8183 100644 --- a/.github/workflows/appveyor_docker.yml +++ b/.github/workflows/appveyor_docker.yml @@ -21,6 +21,8 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# SPDX-License-Identifier: BSD-3-Clause name: AppVeyor Docker Bridge diff --git a/.github/workflows/appveyor_status.yml b/.github/workflows/appveyor_status.yml index af8f2307..6718ba10 100644 --- a/.github/workflows/appveyor_status.yml +++ b/.github/workflows/appveyor_status.yml @@ -21,6 +21,8 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# SPDX-License-Identifier: BSD-3-Clause name: AppVeyor Status Report diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16a0aeba..af78048c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,3 +1,7 @@ +# Copyright (C) The libssh2 project and its contributors. +# +# SPDX-License-Identifier: BSD-3-Clause +# name: CI on: diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml index 4c570270..304cb7b7 100644 --- a/.github/workflows/cifuzz.yml +++ b/.github/workflows/cifuzz.yml @@ -1,3 +1,7 @@ +# Copyright (C) The libssh2 project and its contributors. +# +# SPDX-License-Identifier: BSD-3-Clause +# name: CIFuzz on: [pull_request] diff --git a/.github/workflows/openssh_server.yml b/.github/workflows/openssh_server.yml index b5a16e4e..984b2496 100644 --- a/.github/workflows/openssh_server.yml +++ b/.github/workflows/openssh_server.yml @@ -21,6 +21,8 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# SPDX-License-Identifier: BSD-3-Clause name: OpenSSH Server Docker Image diff --git a/.github/workflows/reuse.yml b/.github/workflows/reuse.yml new file mode 100644 index 00000000..23cb12d7 --- /dev/null +++ b/.github/workflows/reuse.yml @@ -0,0 +1,29 @@ +# Copyright (C) Daniel Stenberg +# SPDX-FileCopyrightText: 2022 Free Software Foundation Europe e.V. +# +# SPDX-License-Identifier: BSD-3-Clause + +name: REUSE compliance + +on: + push: + branches: + - master + - '*/ci' + pull_request: + branches: + - master + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} + cancel-in-progress: true + +permissions: {} + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: REUSE Compliance Check + uses: fsfe/reuse-action@v1 diff --git a/.reuse/dep5 b/.reuse/dep5 new file mode 100644 index 00000000..b934d71d --- /dev/null +++ b/.reuse/dep5 @@ -0,0 +1,34 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: libssh2 +Upstream-Contact: The libssh2 team +Source: https://libssh2.org/ + +# Test data +Files: tests/openssh_server/* tests/ossfuzz/* tests/key_* tests/test_read_algos.txt +Copyright: The libssh2 project and its contributors. +License: BSD-3-Clause + +# Root files +Files: NEWS README README.md RELEASE-NOTES +Copyright: The libssh2 project and its contributors. +License: BSD-3-Clause + +# Docs +Files: docs/.gitignore docs/AUTHORS docs/BINDINGS.md docs/HACKING-CRYPTO docs/HACKING.md docs/INSTALL_CMAKE.md docs/Makefile.am docs/SECURITY.md docs/TODO docs/template.3 os400/README400 +Copyright: The libssh2 project and its contributors. +License: BSD-3-Clause + +# vms files +Files: vms/libssh2_config.h vms/libssh2_make_example.dcl vms/libssh2_make_help.dcl vms/libssh2_make_kit.dcl vms/libssh2_make_lib.dcl vms/man2help.c vms/readme.vms +Copyright: The libssh2 project and its contributors. +License: BSD-3-Clause + +# dot files +Files: .checksrc .editorconfig .github/ISSUE_TEMPLATE/bug_report.md .github/SECURITY.md .github/stale.yml .gitignore example/.gitignore m4/.gitignore src/.gitignore tests/.gitignore +Copyright: The libssh2 project and its contributors. +License: BSD-3-Clause + +# autotools INSTALL +Files: docs/INSTALL_AUTOTOOLS +Copyright: Free Software Foundation, Inc. +License: FSFULLR diff --git a/CMakeLists.txt b/CMakeLists.txt index 36b4153f..33098ab4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,6 +33,8 @@ # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE # USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY # OF SUCH DAMAGE. +# +# SPDX-License-Identifier: BSD-3-Clause include(CheckFunctionExists) include(CheckSymbolExists) diff --git a/LICENSES/BSD-2-Clause.txt b/LICENSES/BSD-2-Clause.txt new file mode 100644 index 00000000..b0bed5ed --- /dev/null +++ b/LICENSES/BSD-2-Clause.txt @@ -0,0 +1,9 @@ +Copyright + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/LICENSES/BSD-3-Clause.txt b/LICENSES/BSD-3-Clause.txt new file mode 100644 index 00000000..086d3992 --- /dev/null +++ b/LICENSES/BSD-3-Clause.txt @@ -0,0 +1,11 @@ +Copyright (c) . + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/LICENSES/FSFULLR.txt b/LICENSES/FSFULLR.txt new file mode 100644 index 00000000..2247a667 --- /dev/null +++ b/LICENSES/FSFULLR.txt @@ -0,0 +1,5 @@ +# Copyright Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. diff --git a/LICENSES/MIT.txt b/LICENSES/MIT.txt new file mode 100644 index 00000000..8aa26455 --- /dev/null +++ b/LICENSES/MIT.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) [year] [fullname] + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/LICENSES/curl.txt b/LICENSES/curl.txt new file mode 100644 index 00000000..982fe1e8 --- /dev/null +++ b/LICENSES/curl.txt @@ -0,0 +1,21 @@ +COPYRIGHT AND PERMISSION NOTICE + +Copyright (C) Daniel Stenberg, , and many contributors. + +All rights reserved. + +Permission to use, copy, modify, and distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright +notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN +NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE +OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of a copyright holder shall not +be used in advertising or otherwise to promote the sale, use or other dealings +in this Software without prior written authorization of the copyright holder. diff --git a/Makefile.am b/Makefile.am index 8b8339f0..2123ea8c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,5 @@ +# Copyright (C) The libssh2 project and its contributors. +# SPDX-License-Identifier: BSD-3-Clause AUTOMAKE_OPTIONS = foreign nostdinc SUBDIRS = src docs diff --git a/Makefile.mk b/Makefile.mk index dabe8839..638f98fe 100644 --- a/Makefile.mk +++ b/Makefile.mk @@ -3,10 +3,12 @@ # Makefile for building libssh2 with GCC-like toolchains. # Use: make -f Makefile.mk [help|all|clean|dist|distclean|dyn|objclean|example|exampleclean|test|testclean] # -# Written by Guenter Knauf and Viktor Szakats +# Copyright (C) Guenter Knauf +# Copyright (C) Viktor Szakats # # Look for ' ?=' to find accepted customization variables. # +# SPDX-License-Identifier: BSD-3-Clause ######################################################################### ### Common diff --git a/NMakefile b/NMakefile index 9e3f36e3..5579d011 100644 --- a/NMakefile +++ b/NMakefile @@ -1,3 +1,6 @@ +# Copyright (C) The libssh2 project and its contributors. +# SPDX-License-Identifier: BSD-3-Clause + !if "$(TARGET)" == "" TARGET=Release !endif diff --git a/acinclude.m4 b/acinclude.m4 index 1d7121e7..2191a097 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1,3 +1,5 @@ +# Copyright (C) The libssh2 project and its contributors. +# SPDX-License-Identifier: BSD-3-Clause dnl CURL_CPP_P dnl dnl Check if $cpp -P should be used for extract define values due to gcc 5 diff --git a/appveyor.yml b/appveyor.yml index d7ac9442..79674d86 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -24,6 +24,8 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# SPDX-License-Identifier: BSD-3-Clause # https://www.appveyor.com/docs/windows-images-software/ diff --git a/buildconf b/buildconf index 1649f37b..1072328b 100755 --- a/buildconf +++ b/buildconf @@ -1,4 +1,6 @@ #!/bin/sh +# Copyright (C) The libssh2 project and its contributors. +# SPDX-License-Identifier: BSD-3-Clause echo "***" >&2 echo "*** Do not use buildconf. Instead, use: autoreconf -fi" >&2 diff --git a/ci/appveyor/docker-bridge.ps1 b/ci/appveyor/docker-bridge.ps1 index 201ef1d4..a84310a0 100755 --- a/ci/appveyor/docker-bridge.ps1 +++ b/ci/appveyor/docker-bridge.ps1 @@ -1,4 +1,6 @@ #!/usr/bin/env pwsh +# Copyright (C) The libssh2 project and its contributors. +# SPDX-License-Identifier: BSD-3-Clause # Partially copied from https://github.com/appveyor/ci/blob/master/scripts/enable-rdp.ps1 diff --git a/ci/appveyor/docker-bridge.sh b/ci/appveyor/docker-bridge.sh index 11488a0a..5e0a69bd 100755 --- a/ci/appveyor/docker-bridge.sh +++ b/ci/appveyor/docker-bridge.sh @@ -1,4 +1,6 @@ #!/bin/sh +# Copyright (C) The libssh2 project and its contributors. +# SPDX-License-Identifier: BSD-3-Clause set -e diff --git a/ci/checksrc.sh b/ci/checksrc.sh index 83060912..49967463 100755 --- a/ci/checksrc.sh +++ b/ci/checksrc.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bash +# Copyright (C) The libssh2 project and its contributors. +# SPDX-License-Identifier: BSD-3-Clause set -e diff --git a/cmake/CheckFunctionExistsMayNeedLibrary.cmake b/cmake/CheckFunctionExistsMayNeedLibrary.cmake index cca30689..c00b9e6c 100644 --- a/cmake/CheckFunctionExistsMayNeedLibrary.cmake +++ b/cmake/CheckFunctionExistsMayNeedLibrary.cmake @@ -32,6 +32,8 @@ # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE # USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY # OF SUCH DAMAGE. +# +# SPDX-License-Identifier: BSD-3-Clause # - check_function_exists_maybe_need_library( [lib1 ... libn]) diff --git a/cmake/CheckNonblockingSocketSupport.cmake b/cmake/CheckNonblockingSocketSupport.cmake index 4af73a29..bb3229cf 100644 --- a/cmake/CheckNonblockingSocketSupport.cmake +++ b/cmake/CheckNonblockingSocketSupport.cmake @@ -1,3 +1,5 @@ +# Copyright (C) The libssh2 project and its contributors. +# SPDX-License-Identifier: BSD-3-Clause include(CheckCSourceCompiles) # - check_nonblocking_socket_support() diff --git a/cmake/CopyRuntimeDependencies.cmake b/cmake/CopyRuntimeDependencies.cmake index 5ce96871..3f917b21 100644 --- a/cmake/CopyRuntimeDependencies.cmake +++ b/cmake/CopyRuntimeDependencies.cmake @@ -32,6 +32,8 @@ # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE # USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY # OF SUCH DAMAGE. +# +# SPDX-License-Identifier: BSD-3-Clause include(CMakeParseArguments) diff --git a/cmake/FindLibgcrypt.cmake b/cmake/FindLibgcrypt.cmake index d15e65c6..8fbe6fff 100644 --- a/cmake/FindLibgcrypt.cmake +++ b/cmake/FindLibgcrypt.cmake @@ -32,6 +32,8 @@ # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE # USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY # OF SUCH DAMAGE. +# +# SPDX-License-Identifier: BSD-3-Clause # - Try to find Libgcrypt # This will define all or none of: diff --git a/cmake/FindmbedTLS.cmake b/cmake/FindmbedTLS.cmake index 906dcccb..3e3d2717 100644 --- a/cmake/FindmbedTLS.cmake +++ b/cmake/FindmbedTLS.cmake @@ -1,3 +1,6 @@ +# Copyright (C) The libssh2 project and its contributors. +# SPDX-License-Identifier: BSD-3-Clause +# # - Try to find mbedTLS # Once done this will define # diff --git a/cmake/Findwolfssl.cmake b/cmake/Findwolfssl.cmake index 47e1bbad..1b86e452 100644 --- a/cmake/Findwolfssl.cmake +++ b/cmake/Findwolfssl.cmake @@ -1,3 +1,6 @@ +# Copyright (C) The libssh2 project and its contributors. +# SPDX-License-Identifier: BSD-3-Clause +# # - Try to find wolfssl # Once done this will define # WOLFSSL_FOUND - System has wolfssl diff --git a/cmake/max_warnings.cmake b/cmake/max_warnings.cmake index 45c0f0c6..d89f36b5 100644 --- a/cmake/max_warnings.cmake +++ b/cmake/max_warnings.cmake @@ -1,4 +1,5 @@ # Copyright (C) Viktor Szakats +# SPDX-License-Identifier: BSD-3-Clause include(CheckCCompilerFlag) diff --git a/config.rpath b/config.rpath index e082db6b..5e39f28d 100755 --- a/config.rpath +++ b/config.rpath @@ -24,6 +24,8 @@ # than 256 bytes, otherwise the compiler driver will dump core. The only # known workaround is to choose shorter directory names for the build # directory and/or the installation directory. +# +# SPDX-License-Identifier: FSFULLR # All known linkers require a `.a' archive for static linking (except MSVC, # which needs '.lib'). diff --git a/configure.ac b/configure.ac index 9b33a072..b5a5791e 100644 --- a/configure.ac +++ b/configure.ac @@ -1,3 +1,8 @@ +# Copyright (C) The libssh2 project and its contributors. +# +# SPDX-License-Identifier: BSD-3-Clause +# + # AC_PREREQ(2.59) AC_INIT([libssh2],[-],[libssh2-devel@lists.haxx.se]) AC_CONFIG_MACRO_DIR([m4]) diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt index 574a59bb..cce3b965 100644 --- a/docs/CMakeLists.txt +++ b/docs/CMakeLists.txt @@ -33,6 +33,8 @@ # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE # USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY # OF SUCH DAMAGE. +# +# SPDX-License-Identifier: BSD-3-Clause transform_makefile_inc("Makefile.am" "${CMAKE_CURRENT_BINARY_DIR}/Makefile.am.cmake") # Get 'dist_man_MANS' variable diff --git a/docs/libssh2_agent_connect.3 b/docs/libssh2_agent_connect.3 index 995394d8..081ec39e 100644 --- a/docs/libssh2_agent_connect.3 +++ b/docs/libssh2_agent_connect.3 @@ -1,6 +1,5 @@ -.\" .\" Copyright (C) Daiki Ueno -.\" +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_agent_connect 3 "23 Dec 2009" "libssh2" "libssh2" .SH NAME libssh2_agent_connect - connect to an ssh-agent diff --git a/docs/libssh2_agent_disconnect.3 b/docs/libssh2_agent_disconnect.3 index a0453040..136a6e19 100644 --- a/docs/libssh2_agent_disconnect.3 +++ b/docs/libssh2_agent_disconnect.3 @@ -1,6 +1,5 @@ -.\" .\" Copyright (C) Daiki Ueno -.\" +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_agent_disconnect 3 "23 Dec 2009" "libssh2" "libssh2" .SH NAME libssh2_agent_disconnect - close a connection to an ssh-agent diff --git a/docs/libssh2_agent_free.3 b/docs/libssh2_agent_free.3 index 6433eb18..3af37676 100644 --- a/docs/libssh2_agent_free.3 +++ b/docs/libssh2_agent_free.3 @@ -1,6 +1,5 @@ -.\" .\" Copyright (C) Daiki Ueno -.\" +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_agent_free 3 "28 May 2009" "libssh2" "libssh2" .SH NAME libssh2_agent_free - free an ssh-agent handle diff --git a/docs/libssh2_agent_get_identity.3 b/docs/libssh2_agent_get_identity.3 index 4fbdac68..2372e9c0 100644 --- a/docs/libssh2_agent_get_identity.3 +++ b/docs/libssh2_agent_get_identity.3 @@ -1,6 +1,5 @@ -.\" .\" Copyright (C) Daiki Ueno -.\" +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_agent_get_identity 3 "23 Dec 2009" "libssh2" "libssh2" .SH NAME libssh2_agent_get_identity - get a public key off the collection of public keys managed by ssh-agent diff --git a/docs/libssh2_agent_get_identity_path.3 b/docs/libssh2_agent_get_identity_path.3 index ab56ab76..703d04ab 100644 --- a/docs/libssh2_agent_get_identity_path.3 +++ b/docs/libssh2_agent_get_identity_path.3 @@ -1,6 +1,5 @@ -.\" .\" Copyright (C) Will Cosgrove -.\" +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_agent_get_identity_path 3 "6 Mar 2019" "libssh2" "libssh2" .SH NAME libssh2_agent_get_identity_path - gets the custom ssh-agent socket path diff --git a/docs/libssh2_agent_init.3 b/docs/libssh2_agent_init.3 index b2ef3fbc..65ad959a 100644 --- a/docs/libssh2_agent_init.3 +++ b/docs/libssh2_agent_init.3 @@ -1,6 +1,5 @@ -.\" .\" Copyright (C) Daiki Ueno -.\" +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_agent_init 3 "23 Dec 2009" "libssh2" "libssh2" .SH NAME libssh2_agent_init - init an ssh-agent handle diff --git a/docs/libssh2_agent_list_identities.3 b/docs/libssh2_agent_list_identities.3 index 3f894773..a6e5ca07 100644 --- a/docs/libssh2_agent_list_identities.3 +++ b/docs/libssh2_agent_list_identities.3 @@ -1,6 +1,5 @@ -.\" .\" Copyright (C) Daiki Ueno -.\" +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_agent_list_identities 3 "23 Dec 2009" "libssh2" "libssh2" .SH NAME libssh2_agent_list_identities - request an ssh-agent to list of public keys. diff --git a/docs/libssh2_agent_set_identity_path.3 b/docs/libssh2_agent_set_identity_path.3 index ef62833a..5a1a237d 100644 --- a/docs/libssh2_agent_set_identity_path.3 +++ b/docs/libssh2_agent_set_identity_path.3 @@ -1,6 +1,5 @@ -.\" .\" Copyright (C) Will Cosgrove -.\" +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_agent_set_identity_path 3 "6 Mar 2019" "libssh2" "libssh2" .SH NAME libssh2_agent_set_identity_path - set an ssh-agent socket path on disk diff --git a/docs/libssh2_agent_sign.3 b/docs/libssh2_agent_sign.3 index 95bf44bb..59887849 100644 --- a/docs/libssh2_agent_sign.3 +++ b/docs/libssh2_agent_sign.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_agent_sign 3 "1 Oct 2022" "libssh2" "libssh2" .SH NAME libssh2_agent_sign - sign data, with the help of ssh-agent diff --git a/docs/libssh2_agent_userauth.3 b/docs/libssh2_agent_userauth.3 index e98bc567..82a344c0 100644 --- a/docs/libssh2_agent_userauth.3 +++ b/docs/libssh2_agent_userauth.3 @@ -1,6 +1,5 @@ -.\" .\" Copyright (C) Daiki Ueno -.\" +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_agent_userauth 3 "23 Dec 2009" "libssh2" "libssh2" .SH NAME libssh2_agent_userauth - authenticate a session with a public key, with the help of ssh-agent diff --git a/docs/libssh2_banner_set.3 b/docs/libssh2_banner_set.3 index 11d2d770..8ab65cf6 100644 --- a/docs/libssh2_banner_set.3 +++ b/docs/libssh2_banner_set.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_banner_set 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_banner_set - set the SSH protocol banner for the local client diff --git a/docs/libssh2_base64_decode.3 b/docs/libssh2_base64_decode.3 index 627b89f2..e46db823 100644 --- a/docs/libssh2_base64_decode.3 +++ b/docs/libssh2_base64_decode.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_base64_decode 3 "23 Dec 2008" "libssh2 1.0" "libssh2" .SH NAME libssh2_base64_decode - decode a base64 encoded string diff --git a/docs/libssh2_channel_close.3 b/docs/libssh2_channel_close.3 index 78d2729b..94a92d57 100644 --- a/docs/libssh2_channel_close.3 +++ b/docs/libssh2_channel_close.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_close 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_channel_close - close a channel diff --git a/docs/libssh2_channel_direct_streamlocal_ex.3 b/docs/libssh2_channel_direct_streamlocal_ex.3 index f737afa0..09fca8a7 100644 --- a/docs/libssh2_channel_direct_streamlocal_ex.3 +++ b/docs/libssh2_channel_direct_streamlocal_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_direct_streamlocal_ex 3 "10 Apr 2023" "libssh2 1.11.0" "libssh2" .SH NAME libssh2_channel_direct_streamlocal_ex - Tunnel a UNIX socket connection through an SSH session diff --git a/docs/libssh2_channel_direct_tcpip.3 b/docs/libssh2_channel_direct_tcpip.3 index 45d2aca0..02033fc0 100644 --- a/docs/libssh2_channel_direct_tcpip.3 +++ b/docs/libssh2_channel_direct_tcpip.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_direct_tcpip 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_channel_direct_tcpip - convenience macro for \fIlibssh2_channel_direct_tcpip_ex(3)\fP calls diff --git a/docs/libssh2_channel_direct_tcpip_ex.3 b/docs/libssh2_channel_direct_tcpip_ex.3 index e22f400d..4d224dd9 100644 --- a/docs/libssh2_channel_direct_tcpip_ex.3 +++ b/docs/libssh2_channel_direct_tcpip_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_direct_tcpip_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_channel_direct_tcpip_ex - Tunnel a TCP connection through an SSH session diff --git a/docs/libssh2_channel_eof.3 b/docs/libssh2_channel_eof.3 index 94e3ebe3..9d9fd745 100644 --- a/docs/libssh2_channel_eof.3 +++ b/docs/libssh2_channel_eof.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_eof 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_channel_eof - check a channel's EOF status diff --git a/docs/libssh2_channel_exec.3 b/docs/libssh2_channel_exec.3 index 723fda4d..08644d5e 100644 --- a/docs/libssh2_channel_exec.3 +++ b/docs/libssh2_channel_exec.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_exec 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_channel_exec - convenience macro for \fIlibssh2_channel_process_startup(3)\fP calls diff --git a/docs/libssh2_channel_flush.3 b/docs/libssh2_channel_flush.3 index 49bc03d7..79a7750b 100644 --- a/docs/libssh2_channel_flush.3 +++ b/docs/libssh2_channel_flush.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_flush 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_channel_flush - convenience macro for \fIlibssh2_channel_flush_ex(3)\fP calls diff --git a/docs/libssh2_channel_flush_ex.3 b/docs/libssh2_channel_flush_ex.3 index 0b125fa6..4a445ba4 100644 --- a/docs/libssh2_channel_flush_ex.3 +++ b/docs/libssh2_channel_flush_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_flush_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_channel_flush_ex - flush a channel diff --git a/docs/libssh2_channel_flush_stderr.3 b/docs/libssh2_channel_flush_stderr.3 index c758351f..6cd8ade6 100644 --- a/docs/libssh2_channel_flush_stderr.3 +++ b/docs/libssh2_channel_flush_stderr.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_flush_stderr 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_channel_flush_stderr - convenience macro for \fIlibssh2_channel_flush_ex(3)\fP calls diff --git a/docs/libssh2_channel_forward_accept.3 b/docs/libssh2_channel_forward_accept.3 index 7f78505d..e6e57e21 100644 --- a/docs/libssh2_channel_forward_accept.3 +++ b/docs/libssh2_channel_forward_accept.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_forward_accept 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_channel_forward_accept - accept a queued connection diff --git a/docs/libssh2_channel_forward_cancel.3 b/docs/libssh2_channel_forward_cancel.3 index c43989bb..50d06720 100644 --- a/docs/libssh2_channel_forward_cancel.3 +++ b/docs/libssh2_channel_forward_cancel.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_forward_cancel 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_channel_forward_cancel - cancel a forwarded TCP port diff --git a/docs/libssh2_channel_forward_listen.3 b/docs/libssh2_channel_forward_listen.3 index d471a7cf..ab1739cf 100644 --- a/docs/libssh2_channel_forward_listen.3 +++ b/docs/libssh2_channel_forward_listen.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_forward_listen 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_channel_forward_listen - convenience macro for \fIlibssh2_channel_forward_listen_ex(3)\fP calls diff --git a/docs/libssh2_channel_forward_listen_ex.3 b/docs/libssh2_channel_forward_listen_ex.3 index 9852d0bd..c33115e6 100644 --- a/docs/libssh2_channel_forward_listen_ex.3 +++ b/docs/libssh2_channel_forward_listen_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_forward_listen_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_channel_forward_listen_ex - listen to inbound connections diff --git a/docs/libssh2_channel_free.3 b/docs/libssh2_channel_free.3 index d41f09fb..fb1bdef7 100644 --- a/docs/libssh2_channel_free.3 +++ b/docs/libssh2_channel_free.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_free 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_channel_free - free all resources associated with a channel diff --git a/docs/libssh2_channel_get_exit_signal.3 b/docs/libssh2_channel_get_exit_signal.3 index 2f74edcb..e1ce01fd 100644 --- a/docs/libssh2_channel_get_exit_signal.3 +++ b/docs/libssh2_channel_get_exit_signal.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_get_exit_signal 3 "4 Oct 2010" "libssh2 1.2.8" "libssh2" .SH NAME libssh2_channel_get_exit_signal - get the remote exit signal diff --git a/docs/libssh2_channel_get_exit_status.3 b/docs/libssh2_channel_get_exit_status.3 index 3357bba3..7171b657 100644 --- a/docs/libssh2_channel_get_exit_status.3 +++ b/docs/libssh2_channel_get_exit_status.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_get_exit_status 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_channel_get_exit_status - get the remote exit code diff --git a/docs/libssh2_channel_handle_extended_data.3 b/docs/libssh2_channel_handle_extended_data.3 index 5fe06bc7..d73b91c7 100644 --- a/docs/libssh2_channel_handle_extended_data.3 +++ b/docs/libssh2_channel_handle_extended_data.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_handle_extended_data 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_channel_handle_extended_data - set extended data handling mode diff --git a/docs/libssh2_channel_handle_extended_data2.3 b/docs/libssh2_channel_handle_extended_data2.3 index 62c08281..ac970fcb 100644 --- a/docs/libssh2_channel_handle_extended_data2.3 +++ b/docs/libssh2_channel_handle_extended_data2.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_handle_extended_data2 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_channel_handle_extended_data2 - set extended data handling mode diff --git a/docs/libssh2_channel_ignore_extended_data.3 b/docs/libssh2_channel_ignore_extended_data.3 index 09ff2579..9bdebc65 100644 --- a/docs/libssh2_channel_ignore_extended_data.3 +++ b/docs/libssh2_channel_ignore_extended_data.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_ignore_extended_data 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_channel_ignore_extended_data - convenience macro for \fIlibssh2_channel_handle_extended_data(3)\fP calls diff --git a/docs/libssh2_channel_open_ex.3 b/docs/libssh2_channel_open_ex.3 index 0b203c2c..bb11eb0d 100644 --- a/docs/libssh2_channel_open_ex.3 +++ b/docs/libssh2_channel_open_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_open_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_channel_open_ex - establish a generic session channel diff --git a/docs/libssh2_channel_open_session.3 b/docs/libssh2_channel_open_session.3 index f63c8c79..89039ea3 100644 --- a/docs/libssh2_channel_open_session.3 +++ b/docs/libssh2_channel_open_session.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_open_session 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_channel_open_session - convenience macro for \fIlibssh2_channel_open_ex(3)\fP calls diff --git a/docs/libssh2_channel_process_startup.3 b/docs/libssh2_channel_process_startup.3 index e92a19f8..501290be 100644 --- a/docs/libssh2_channel_process_startup.3 +++ b/docs/libssh2_channel_process_startup.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_process_startup 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_channel_process_startup - request a shell on a channel diff --git a/docs/libssh2_channel_read.3 b/docs/libssh2_channel_read.3 index c7f72a6c..0644e185 100644 --- a/docs/libssh2_channel_read.3 +++ b/docs/libssh2_channel_read.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_read 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_channel_read - convenience macro for \fIlibssh2_channel_read_ex(3)\fP calls diff --git a/docs/libssh2_channel_read_ex.3 b/docs/libssh2_channel_read_ex.3 index 5dcf3fe4..200fe800 100644 --- a/docs/libssh2_channel_read_ex.3 +++ b/docs/libssh2_channel_read_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_read_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_channel_read_ex - read data from a channel stream diff --git a/docs/libssh2_channel_read_stderr.3 b/docs/libssh2_channel_read_stderr.3 index ef1f8fe4..25b5ba72 100644 --- a/docs/libssh2_channel_read_stderr.3 +++ b/docs/libssh2_channel_read_stderr.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_read_stderr 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_channel_read_stderr - convenience macro for \fIlibssh2_channel_read_ex(3)\fP calls diff --git a/docs/libssh2_channel_receive_window_adjust.3 b/docs/libssh2_channel_receive_window_adjust.3 index 8f7c1d79..14847ca8 100644 --- a/docs/libssh2_channel_receive_window_adjust.3 +++ b/docs/libssh2_channel_receive_window_adjust.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_receive_window_adjust 3 "15 Mar 2009" "libssh2 0.15" "libssh2" .SH NAME libssh2_channel_receive_window_adjust - adjust the channel window diff --git a/docs/libssh2_channel_receive_window_adjust2.3 b/docs/libssh2_channel_receive_window_adjust2.3 index 777307bf..730889af 100644 --- a/docs/libssh2_channel_receive_window_adjust2.3 +++ b/docs/libssh2_channel_receive_window_adjust2.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_receive_window_adjust2 3 "26 Mar 2009" "libssh2 1.1" "libssh2" .SH NAME libssh2_channel_receive_window_adjust2 - adjust the channel window diff --git a/docs/libssh2_channel_request_auth_agent.3 b/docs/libssh2_channel_request_auth_agent.3 index 675eb2a0..1ddbee28 100644 --- a/docs/libssh2_channel_request_auth_agent.3 +++ b/docs/libssh2_channel_request_auth_agent.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_request_auth_agent 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_channel_request_auth_agent - request agent forwarding for a session diff --git a/docs/libssh2_channel_request_pty.3 b/docs/libssh2_channel_request_pty.3 index 06e9f480..7a3b75ea 100644 --- a/docs/libssh2_channel_request_pty.3 +++ b/docs/libssh2_channel_request_pty.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_request_pty 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_channel_request_pty - convenience macro for \fIlibssh2_channel_request_pty_ex(3)\fP calls diff --git a/docs/libssh2_channel_request_pty_ex.3 b/docs/libssh2_channel_request_pty_ex.3 index f36c82d1..45a6092e 100644 --- a/docs/libssh2_channel_request_pty_ex.3 +++ b/docs/libssh2_channel_request_pty_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_request_pty_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_channel_request_pty_ex - short function description diff --git a/docs/libssh2_channel_request_pty_size.3 b/docs/libssh2_channel_request_pty_size.3 index 347f6408..7de31d61 100644 --- a/docs/libssh2_channel_request_pty_size.3 +++ b/docs/libssh2_channel_request_pty_size.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_request_pty_size 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_channel_request_pty_size - convenience macro for \fIlibssh2_channel_request_pty_size_ex(3)\fP calls diff --git a/docs/libssh2_channel_request_pty_size_ex.3 b/docs/libssh2_channel_request_pty_size_ex.3 index 0624c752..54daf4f5 100644 --- a/docs/libssh2_channel_request_pty_size_ex.3 +++ b/docs/libssh2_channel_request_pty_size_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_request_pty_size_ex 3 "1 Jun 2007" "libssh2" "libssh2" .SH NAME libssh2_channel_request_pty_size_ex - TODO diff --git a/docs/libssh2_channel_send_eof.3 b/docs/libssh2_channel_send_eof.3 index bbc39376..83f2e39d 100644 --- a/docs/libssh2_channel_send_eof.3 +++ b/docs/libssh2_channel_send_eof.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_send_eof 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_channel_send_eof - send EOF to remote server diff --git a/docs/libssh2_channel_set_blocking.3 b/docs/libssh2_channel_set_blocking.3 index 69b9c6ac..07a1049a 100644 --- a/docs/libssh2_channel_set_blocking.3 +++ b/docs/libssh2_channel_set_blocking.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_set_blocking 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_channel_set_blocking - set or clear blocking mode on channel diff --git a/docs/libssh2_channel_setenv.3 b/docs/libssh2_channel_setenv.3 index 986eea30..0fa097b5 100644 --- a/docs/libssh2_channel_setenv.3 +++ b/docs/libssh2_channel_setenv.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_setenv 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_channel_setenv - convenience macro for \fIlibssh2_channel_setenv_ex(3)\fP calls diff --git a/docs/libssh2_channel_setenv_ex.3 b/docs/libssh2_channel_setenv_ex.3 index 84889b2c..bff2206d 100644 --- a/docs/libssh2_channel_setenv_ex.3 +++ b/docs/libssh2_channel_setenv_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_setenv_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_channel_setenv_ex - set an environment variable on the channel diff --git a/docs/libssh2_channel_shell.3 b/docs/libssh2_channel_shell.3 index 22438ccc..70ba6d45 100644 --- a/docs/libssh2_channel_shell.3 +++ b/docs/libssh2_channel_shell.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_shell 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_channel_shell - convenience macro for \fIlibssh2_channel_process_startup(3)\fP calls diff --git a/docs/libssh2_channel_signal_ex.3 b/docs/libssh2_channel_signal_ex.3 index d54de075..b8c39212 100644 --- a/docs/libssh2_channel_signal_ex.3 +++ b/docs/libssh2_channel_signal_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_signal_ex 3 "20 Apr 2023" "libssh2 1.11.0" "libssh2" .SH NAME libssh2_channel_signal_ex -- Send a signal to process previously opened on channel. diff --git a/docs/libssh2_channel_subsystem.3 b/docs/libssh2_channel_subsystem.3 index aecdbfb3..31d0b333 100644 --- a/docs/libssh2_channel_subsystem.3 +++ b/docs/libssh2_channel_subsystem.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_subsystem 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_channel_subsystem - convenience macro for \fIlibssh2_channel_process_startup(3)\fP calls diff --git a/docs/libssh2_channel_wait_closed.3 b/docs/libssh2_channel_wait_closed.3 index ab627818..7ef058cf 100644 --- a/docs/libssh2_channel_wait_closed.3 +++ b/docs/libssh2_channel_wait_closed.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_wait_closed 3 "29 Nov 2007" "libssh2 0.19" "libssh2" .SH NAME libssh2_channel_wait_closed - wait for the remote to close the channel diff --git a/docs/libssh2_channel_wait_eof.3 b/docs/libssh2_channel_wait_eof.3 index 59c751da..dcd1f5d5 100644 --- a/docs/libssh2_channel_wait_eof.3 +++ b/docs/libssh2_channel_wait_eof.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_wait_eof 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_channel_wait_eof - wait for the remote to reply to an EOF request diff --git a/docs/libssh2_channel_window_read.3 b/docs/libssh2_channel_window_read.3 index a4c00e01..f6218cb6 100644 --- a/docs/libssh2_channel_window_read.3 +++ b/docs/libssh2_channel_window_read.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_window_read 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_channel_window_read - convenience macro for \fIlibssh2_channel_window_read_ex(3)\fP calls diff --git a/docs/libssh2_channel_window_read_ex.3 b/docs/libssh2_channel_window_read_ex.3 index cbb5dd30..3e1eebce 100644 --- a/docs/libssh2_channel_window_read_ex.3 +++ b/docs/libssh2_channel_window_read_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_window_read_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_channel_window_read_ex - Check the status of the read window diff --git a/docs/libssh2_channel_window_write.3 b/docs/libssh2_channel_window_write.3 index 80721b77..aa20d02d 100644 --- a/docs/libssh2_channel_window_write.3 +++ b/docs/libssh2_channel_window_write.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_window_write 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_channel_window_write - convenience macro for \fIlibssh2_channel_window_write_ex(3)\fP calls diff --git a/docs/libssh2_channel_window_write_ex.3 b/docs/libssh2_channel_window_write_ex.3 index 13e02970..7e8ff5fe 100644 --- a/docs/libssh2_channel_window_write_ex.3 +++ b/docs/libssh2_channel_window_write_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_window_write_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_channel_window_write_ex - Check the status of the write window diff --git a/docs/libssh2_channel_write.3 b/docs/libssh2_channel_write.3 index 234eb00c..6ced72d9 100644 --- a/docs/libssh2_channel_write.3 +++ b/docs/libssh2_channel_write.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_write 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_channel_write - convenience macro for \fIlibssh2_channel_write_ex(3)\fP diff --git a/docs/libssh2_channel_write_ex.3 b/docs/libssh2_channel_write_ex.3 index 9ca1c95f..934a79c2 100644 --- a/docs/libssh2_channel_write_ex.3 +++ b/docs/libssh2_channel_write_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_write_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_channel_write_ex - write data to a channel stream blocking diff --git a/docs/libssh2_channel_write_stderr.3 b/docs/libssh2_channel_write_stderr.3 index 661bad48..832a5c26 100644 --- a/docs/libssh2_channel_write_stderr.3 +++ b/docs/libssh2_channel_write_stderr.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_write_stderr 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_channel_write_stderr - convenience macro for \fIlibssh2_channel_write_ex(3)\fP diff --git a/docs/libssh2_channel_x11_req.3 b/docs/libssh2_channel_x11_req.3 index 8181a257..15300a22 100644 --- a/docs/libssh2_channel_x11_req.3 +++ b/docs/libssh2_channel_x11_req.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_x11_req 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_channel_x11_req - convenience macro for \fIlibssh2_channel_x11_req_ex(3)\fP calls diff --git a/docs/libssh2_channel_x11_req_ex.3 b/docs/libssh2_channel_x11_req_ex.3 index c0584e52..9872598e 100644 --- a/docs/libssh2_channel_x11_req_ex.3 +++ b/docs/libssh2_channel_x11_req_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_channel_x11_req_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_channel_x11_req_ex - request an X11 forwarding channel diff --git a/docs/libssh2_crypto_engine.3 b/docs/libssh2_crypto_engine.3 index 58a39bcb..591a84ac 100644 --- a/docs/libssh2_crypto_engine.3 +++ b/docs/libssh2_crypto_engine.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_crypto_engine 3 "22 Nov 2021" "libssh2" "libssh2" .SH NAME libssh2_crypto_engine - retrieve used crypto engine diff --git a/docs/libssh2_exit.3 b/docs/libssh2_exit.3 index 84f834ec..cc5f158f 100644 --- a/docs/libssh2_exit.3 +++ b/docs/libssh2_exit.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_exit 3 "19 Mar 2010" "libssh2" "libssh2" .SH NAME libssh2_exit - global library deinitialization diff --git a/docs/libssh2_free.3 b/docs/libssh2_free.3 index eef86dd4..d513d7a5 100644 --- a/docs/libssh2_free.3 +++ b/docs/libssh2_free.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_free 3 "13 Oct 2010" "libssh2" "libssh2" .SH NAME libssh2_free - deallocate libssh2 memory diff --git a/docs/libssh2_hostkey_hash.3 b/docs/libssh2_hostkey_hash.3 index 27eebdf3..a33edac0 100644 --- a/docs/libssh2_hostkey_hash.3 +++ b/docs/libssh2_hostkey_hash.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_hostkey_hash 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_hostkey_hash - return a hash of the remote host's key diff --git a/docs/libssh2_init.3 b/docs/libssh2_init.3 index cebd5192..e6682830 100644 --- a/docs/libssh2_init.3 +++ b/docs/libssh2_init.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_init 3 "19 Mar 2010" "libssh2" "libssh2" .SH NAME libssh2_init - global library initialization diff --git a/docs/libssh2_keepalive_config.3 b/docs/libssh2_keepalive_config.3 index 584b03ec..93169d23 100644 --- a/docs/libssh2_keepalive_config.3 +++ b/docs/libssh2_keepalive_config.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_keepalive_config 3 "12 Apr 2011" "libssh2" "libssh2" .SH NAME libssh2_keepalive_config - short function description diff --git a/docs/libssh2_keepalive_send.3 b/docs/libssh2_keepalive_send.3 index 1eef17b2..cef70071 100644 --- a/docs/libssh2_keepalive_send.3 +++ b/docs/libssh2_keepalive_send.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_keepalive_send 3 "13 Apr 2011" "libssh2" "libssh2" .SH NAME libssh2_keepalive_send - short function description diff --git a/docs/libssh2_knownhost_add.3 b/docs/libssh2_knownhost_add.3 index dfeeaecc..fa55a4e3 100644 --- a/docs/libssh2_knownhost_add.3 +++ b/docs/libssh2_knownhost_add.3 @@ -1,6 +1,5 @@ -.\" .\" Copyright (C) Daniel Stenberg -.\" +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_knownhost_add 3 "28 May 2009" "libssh2" "libssh2" .SH NAME libssh2_knownhost_add - add a known host diff --git a/docs/libssh2_knownhost_addc.3 b/docs/libssh2_knownhost_addc.3 index 9a096d17..94a66654 100644 --- a/docs/libssh2_knownhost_addc.3 +++ b/docs/libssh2_knownhost_addc.3 @@ -1,6 +1,5 @@ -.\" .\" Copyright (C) Daniel Stenberg -.\" +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_knownhost_addc 3 "28 May 2009" "libssh2 1.2" "libssh2" .SH NAME libssh2_knownhost_addc - add a known host diff --git a/docs/libssh2_knownhost_check.3 b/docs/libssh2_knownhost_check.3 index 61921c15..37d5c230 100644 --- a/docs/libssh2_knownhost_check.3 +++ b/docs/libssh2_knownhost_check.3 @@ -1,6 +1,5 @@ -.\" .\" Copyright (C) Daniel Stenberg -.\" +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_knownhost_check 3 "28 May 2009" "libssh2" "libssh2" .SH NAME libssh2_knownhost_check - check a host+key against the list of known hosts diff --git a/docs/libssh2_knownhost_checkp.3 b/docs/libssh2_knownhost_checkp.3 index 29d1b629..de603909 100644 --- a/docs/libssh2_knownhost_checkp.3 +++ b/docs/libssh2_knownhost_checkp.3 @@ -1,6 +1,5 @@ -.\" .\" Copyright (C) Daniel Stenberg -.\" +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_knownhost_checkp 3 "1 May 2010" "libssh2" "libssh2" .SH NAME libssh2_knownhost_checkp - check a host+key against the list of known hosts diff --git a/docs/libssh2_knownhost_del.3 b/docs/libssh2_knownhost_del.3 index 040a0345..9efc4c67 100644 --- a/docs/libssh2_knownhost_del.3 +++ b/docs/libssh2_knownhost_del.3 @@ -1,6 +1,5 @@ -.\" .\" Copyright (C) Daniel Stenberg -.\" +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_knownhost_del 3 "28 May 2009" "libssh2" "libssh2" .SH NAME libssh2_knownhost_del - delete a known host entry diff --git a/docs/libssh2_knownhost_free.3 b/docs/libssh2_knownhost_free.3 index 3ab7b6a1..f9e17344 100644 --- a/docs/libssh2_knownhost_free.3 +++ b/docs/libssh2_knownhost_free.3 @@ -1,6 +1,5 @@ -.\" .\" Copyright (C) Daniel Stenberg -.\" +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_knownhost_free 3 "28 May 2009" "libssh2" "libssh2" .SH NAME libssh2_knownhost_free - free a collection of known hosts diff --git a/docs/libssh2_knownhost_get.3 b/docs/libssh2_knownhost_get.3 index 2acd3812..318a7fc4 100644 --- a/docs/libssh2_knownhost_get.3 +++ b/docs/libssh2_knownhost_get.3 @@ -1,6 +1,5 @@ -.\" .\" Copyright (C) Daniel Stenberg -.\" +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_knownhost_get 3 "28 May 2009" "libssh2" "libssh2" .SH NAME libssh2_knownhost_get - get a known host off the collection of known hosts diff --git a/docs/libssh2_knownhost_init.3 b/docs/libssh2_knownhost_init.3 index 531e0fac..95b7c62e 100644 --- a/docs/libssh2_knownhost_init.3 +++ b/docs/libssh2_knownhost_init.3 @@ -1,6 +1,5 @@ -.\" .\" Copyright (C) Daniel Stenberg -.\" +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_knownhost_init 3 "28 May 2009" "libssh2" "libssh2" .SH NAME libssh2_knownhost_init - init a collection of known hosts diff --git a/docs/libssh2_knownhost_readfile.3 b/docs/libssh2_knownhost_readfile.3 index 18928217..c5a46970 100644 --- a/docs/libssh2_knownhost_readfile.3 +++ b/docs/libssh2_knownhost_readfile.3 @@ -1,6 +1,5 @@ -.\" .\" Copyright (C) Daniel Stenberg -.\" +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_knownhost_readfile 3 "28 May 2009" "libssh2" "libssh2" .SH NAME libssh2_knownhost_readfile - parse a file of known hosts diff --git a/docs/libssh2_knownhost_readline.3 b/docs/libssh2_knownhost_readline.3 index a97dd840..24184942 100644 --- a/docs/libssh2_knownhost_readline.3 +++ b/docs/libssh2_knownhost_readline.3 @@ -1,6 +1,5 @@ -.\" .\" Copyright (C) Daniel Stenberg -.\" +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_knownhost_readline 3 "28 May 2009" "libssh2" "libssh2" .SH NAME libssh2_knownhost_readline - read a known host line diff --git a/docs/libssh2_knownhost_writefile.3 b/docs/libssh2_knownhost_writefile.3 index d0776a66..2e2b0a2f 100644 --- a/docs/libssh2_knownhost_writefile.3 +++ b/docs/libssh2_knownhost_writefile.3 @@ -1,6 +1,5 @@ -.\" .\" Copyright (C) Daniel Stenberg -.\" +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_knownhost_writefile 3 "28 May 2009" "libssh2" "libssh2" .SH NAME libssh2_knownhost_writefile - write a collection of known hosts to a file diff --git a/docs/libssh2_knownhost_writeline.3 b/docs/libssh2_knownhost_writeline.3 index 36b94bc7..03023f72 100644 --- a/docs/libssh2_knownhost_writeline.3 +++ b/docs/libssh2_knownhost_writeline.3 @@ -1,6 +1,5 @@ -.\" .\" Copyright (C) Daniel Stenberg -.\" +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_knownhost_writeline 3 "28 May 2009" "libssh2" "libssh2" .SH NAME libssh2_knownhost_writeline - convert a known host to a line for storage diff --git a/docs/libssh2_poll.3 b/docs/libssh2_poll.3 index be6eac09..7bda2f2a 100644 --- a/docs/libssh2_poll.3 +++ b/docs/libssh2_poll.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_poll 3 "14 Dec 2006" "libssh2 0.15" "libssh2" .SH NAME libssh2_poll - poll for activity on a socket, channel or listener diff --git a/docs/libssh2_poll_channel_read.3 b/docs/libssh2_poll_channel_read.3 index 7e4e9596..9878c3b1 100644 --- a/docs/libssh2_poll_channel_read.3 +++ b/docs/libssh2_poll_channel_read.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_poll_channel_read 3 "14 Dec 2006" "libssh2 0.15" "libssh2" .SH NAME libssh2_poll_channel_read - check if data is available diff --git a/docs/libssh2_publickey_add.3 b/docs/libssh2_publickey_add.3 index dc537636..75abb115 100644 --- a/docs/libssh2_publickey_add.3 +++ b/docs/libssh2_publickey_add.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_publickey_add 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_publickey_add - convenience macro for \fIlibssh2_publickey_add_ex(3)\fP calls diff --git a/docs/libssh2_publickey_add_ex.3 b/docs/libssh2_publickey_add_ex.3 index 8d397b7e..2446915b 100644 --- a/docs/libssh2_publickey_add_ex.3 +++ b/docs/libssh2_publickey_add_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_publickey_add_ex 3 "1 Jun 2007" "libssh2" "libssh2" .SH NAME libssh2_publickey_add_ex - Add a public key entry diff --git a/docs/libssh2_publickey_init.3 b/docs/libssh2_publickey_init.3 index 4e4f1e52..6703ebe3 100644 --- a/docs/libssh2_publickey_init.3 +++ b/docs/libssh2_publickey_init.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_publickey_init 3 "1 Jun 2007" "libssh2" "libssh2" .SH NAME libssh2_publickey_init - TODO diff --git a/docs/libssh2_publickey_list_fetch.3 b/docs/libssh2_publickey_list_fetch.3 index 8c95d079..aa23b7c5 100644 --- a/docs/libssh2_publickey_list_fetch.3 +++ b/docs/libssh2_publickey_list_fetch.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_publickey_list_fetch 3 "1 Jun 2007" "libssh2" "libssh2" .SH NAME libssh2_publickey_list_fetch - TODO diff --git a/docs/libssh2_publickey_list_free.3 b/docs/libssh2_publickey_list_free.3 index 1a4bb49d..17c15304 100644 --- a/docs/libssh2_publickey_list_free.3 +++ b/docs/libssh2_publickey_list_free.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_publickey_list_free 3 "1 Jun 2007" "libssh2" "libssh2" .SH NAME libssh2_publickey_list_free - TODO diff --git a/docs/libssh2_publickey_remove.3 b/docs/libssh2_publickey_remove.3 index 6942d0dd..a07c9b2b 100644 --- a/docs/libssh2_publickey_remove.3 +++ b/docs/libssh2_publickey_remove.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_publickey_remove 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_publickey_remove - convenience macro for \fIlibssh2_publickey_remove_ex(3)\fP calls diff --git a/docs/libssh2_publickey_remove_ex.3 b/docs/libssh2_publickey_remove_ex.3 index 5d09343a..8a2ce834 100644 --- a/docs/libssh2_publickey_remove_ex.3 +++ b/docs/libssh2_publickey_remove_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_publickey_list_remove_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_publickey_list_remove_ex - TODO diff --git a/docs/libssh2_publickey_shutdown.3 b/docs/libssh2_publickey_shutdown.3 index 86c51bef..6ad80196 100644 --- a/docs/libssh2_publickey_shutdown.3 +++ b/docs/libssh2_publickey_shutdown.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_publickey_shutdown 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_publickey_shutdown - TODO diff --git a/docs/libssh2_scp_recv.3 b/docs/libssh2_scp_recv.3 index 7d194d46..e435e7b9 100644 --- a/docs/libssh2_scp_recv.3 +++ b/docs/libssh2_scp_recv.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_scp_recv 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_scp_recv - request a remote file via SCP diff --git a/docs/libssh2_scp_recv2.3 b/docs/libssh2_scp_recv2.3 index 4d763fc2..15ffde1d 100644 --- a/docs/libssh2_scp_recv2.3 +++ b/docs/libssh2_scp_recv2.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_scp_recv2 3 "29 Jun 2015" "libssh2 1.6.1" "libssh2" .SH NAME libssh2_scp_recv2 - request a remote file via SCP diff --git a/docs/libssh2_scp_send.3 b/docs/libssh2_scp_send.3 index 678b6e98..128a24c6 100644 --- a/docs/libssh2_scp_send.3 +++ b/docs/libssh2_scp_send.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_scp_send 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_scp_send - convenience macro for \fIlibssh2_scp_send_ex(3)\fP calls diff --git a/docs/libssh2_scp_send64.3 b/docs/libssh2_scp_send64.3 index df63b7e4..56b198ee 100644 --- a/docs/libssh2_scp_send64.3 +++ b/docs/libssh2_scp_send64.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_scp_send64 3 "17 Apr 2010" "libssh2 1.2.6" "libssh2" .SH NAME libssh2_scp_send64 - Send a file via SCP diff --git a/docs/libssh2_scp_send_ex.3 b/docs/libssh2_scp_send_ex.3 index 9926d383..475e1bce 100644 --- a/docs/libssh2_scp_send_ex.3 +++ b/docs/libssh2_scp_send_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_scp_send_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_scp_send_ex - Send a file via SCP diff --git a/docs/libssh2_session_abstract.3 b/docs/libssh2_session_abstract.3 index 67129253..09f0e4de 100644 --- a/docs/libssh2_session_abstract.3 +++ b/docs/libssh2_session_abstract.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_session_abstract 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_session_abstract - return a pointer to a session's abstract pointer diff --git a/docs/libssh2_session_banner_get.3 b/docs/libssh2_session_banner_get.3 index 9e5a23df..88f23995 100644 --- a/docs/libssh2_session_banner_get.3 +++ b/docs/libssh2_session_banner_get.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_session_banner_get 3 "9 Sep 2011" "libssh2" "libssh2" .SH NAME libssh2_session_banner_get - get the remote banner diff --git a/docs/libssh2_session_banner_set.3 b/docs/libssh2_session_banner_set.3 index 2581a622..59108700 100644 --- a/docs/libssh2_session_banner_set.3 +++ b/docs/libssh2_session_banner_set.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_session_banner_set 3 "9 Sep 2011" "libssh2" "libssh2" .SH NAME libssh2_session_banner_set - set the SSH protocol banner for the local client diff --git a/docs/libssh2_session_block_directions.3 b/docs/libssh2_session_block_directions.3 index def9c771..5c09357f 100644 --- a/docs/libssh2_session_block_directions.3 +++ b/docs/libssh2_session_block_directions.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_session_block_directions 3 "1 Oct 2008" "libssh2" "libssh2" .SH NAME libssh2_session_block_directions - get directions to wait for diff --git a/docs/libssh2_session_callback_set.3 b/docs/libssh2_session_callback_set.3 index 4c06db42..c63597b4 100644 --- a/docs/libssh2_session_callback_set.3 +++ b/docs/libssh2_session_callback_set.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_session_callback_set 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_session_callback_set - set a callback function diff --git a/docs/libssh2_session_disconnect.3 b/docs/libssh2_session_disconnect.3 index 1af247bb..85e14199 100644 --- a/docs/libssh2_session_disconnect.3 +++ b/docs/libssh2_session_disconnect.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_session_disconnect 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_session_disconnect - convenience macro for \fIlibssh2_session_disconnect_ex(3)\fP calls diff --git a/docs/libssh2_session_disconnect_ex.3 b/docs/libssh2_session_disconnect_ex.3 index 85d54a40..929f576d 100644 --- a/docs/libssh2_session_disconnect_ex.3 +++ b/docs/libssh2_session_disconnect_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_session_disconnect_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_session_disconnect_ex - terminate transport layer diff --git a/docs/libssh2_session_flag.3 b/docs/libssh2_session_flag.3 index 0ed517d1..b8e8fec8 100644 --- a/docs/libssh2_session_flag.3 +++ b/docs/libssh2_session_flag.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_session_flag 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_session_flag - TODO diff --git a/docs/libssh2_session_free.3 b/docs/libssh2_session_free.3 index c0de271f..67785e34 100644 --- a/docs/libssh2_session_free.3 +++ b/docs/libssh2_session_free.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_session_free 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_session_free - frees resources associated with a session instance diff --git a/docs/libssh2_session_get_blocking.3 b/docs/libssh2_session_get_blocking.3 index e3efbd0b..86931c7e 100644 --- a/docs/libssh2_session_get_blocking.3 +++ b/docs/libssh2_session_get_blocking.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_session_get_blocking 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_session_get_blocking - TODO diff --git a/docs/libssh2_session_get_read_timeout.3 b/docs/libssh2_session_get_read_timeout.3 index 324fe238..81b0cb1f 100644 --- a/docs/libssh2_session_get_read_timeout.3 +++ b/docs/libssh2_session_get_read_timeout.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_session_get_read_timeout 3 "13 Jan 2023" "libssh2" "libssh2" .SH NAME libssh2_session_get_read_timeout - get the timeout for packet read functions diff --git a/docs/libssh2_session_get_timeout.3 b/docs/libssh2_session_get_timeout.3 index 62adeda1..4a57cedf 100644 --- a/docs/libssh2_session_get_timeout.3 +++ b/docs/libssh2_session_get_timeout.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_session_get_timeout 3 "4 May 2011" "libssh2" "libssh2" .SH NAME libssh2_session_get_timeout - get the timeout for blocking functions diff --git a/docs/libssh2_session_handshake.3 b/docs/libssh2_session_handshake.3 index e0d1461b..4d5cc511 100644 --- a/docs/libssh2_session_handshake.3 +++ b/docs/libssh2_session_handshake.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_session_handshake 3 "7 Oct 2010" "libssh2" "libssh2" .SH NAME libssh2_session_handshake - perform the SSH handshake diff --git a/docs/libssh2_session_hostkey.3 b/docs/libssh2_session_hostkey.3 index d57c7eab..8892ba59 100644 --- a/docs/libssh2_session_hostkey.3 +++ b/docs/libssh2_session_hostkey.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_session_hostkey 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_session_hostkey - get the remote key diff --git a/docs/libssh2_session_init.3 b/docs/libssh2_session_init.3 index ec114ecd..88f1fa8c 100644 --- a/docs/libssh2_session_init.3 +++ b/docs/libssh2_session_init.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_session_init 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_session_init - convenience macro for \fIlibssh2_session_init_ex(3)\fP calls diff --git a/docs/libssh2_session_init_ex.3 b/docs/libssh2_session_init_ex.3 index ff2f5578..3a79e786 100644 --- a/docs/libssh2_session_init_ex.3 +++ b/docs/libssh2_session_init_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_session_init_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_session_init_ex - initializes an SSH session object diff --git a/docs/libssh2_session_last_errno.3 b/docs/libssh2_session_last_errno.3 index 54d37656..029f49c2 100644 --- a/docs/libssh2_session_last_errno.3 +++ b/docs/libssh2_session_last_errno.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_session_last_errno 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_session_last_errno - get the most recent error number diff --git a/docs/libssh2_session_last_error.3 b/docs/libssh2_session_last_error.3 index f5172793..f11d65ff 100644 --- a/docs/libssh2_session_last_error.3 +++ b/docs/libssh2_session_last_error.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_session_last_error 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_session_last_error - get the most recent error diff --git a/docs/libssh2_session_method_pref.3 b/docs/libssh2_session_method_pref.3 index 7038b585..707a0d41 100644 --- a/docs/libssh2_session_method_pref.3 +++ b/docs/libssh2_session_method_pref.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_session_method_pref 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_session_method_pref - set preferred key exchange method diff --git a/docs/libssh2_session_methods.3 b/docs/libssh2_session_methods.3 index 9dc383d0..5748626d 100644 --- a/docs/libssh2_session_methods.3 +++ b/docs/libssh2_session_methods.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_session_methods 3 "8 Nov 2021" "libssh2 1.11" "libssh2" .SH NAME libssh2_session_methods - return the currently active algorithms diff --git a/docs/libssh2_session_set_blocking.3 b/docs/libssh2_session_set_blocking.3 index ec19213a..20110a47 100644 --- a/docs/libssh2_session_set_blocking.3 +++ b/docs/libssh2_session_set_blocking.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_session_set_blocking 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_session_set_blocking - set or clear blocking mode on session diff --git a/docs/libssh2_session_set_last_error.3 b/docs/libssh2_session_set_last_error.3 index bca1bd55..7a5bdaa9 100644 --- a/docs/libssh2_session_set_last_error.3 +++ b/docs/libssh2_session_set_last_error.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_session_set_last_error 3 "26 Oct 2015" "libssh2" "libssh2" .SH NAME libssh2_session_set_last_error - sets the internal error state diff --git a/docs/libssh2_session_set_read_timeout.3 b/docs/libssh2_session_set_read_timeout.3 index 5be5265b..487c2890 100644 --- a/docs/libssh2_session_set_read_timeout.3 +++ b/docs/libssh2_session_set_read_timeout.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_session_set_read_timeout 3 "13 Jan 2023" "libssh2" "libssh2" .SH NAME libssh2_session_set_read_timeout - set timeout for packet read functions diff --git a/docs/libssh2_session_set_timeout.3 b/docs/libssh2_session_set_timeout.3 index 01eed43e..27326851 100644 --- a/docs/libssh2_session_set_timeout.3 +++ b/docs/libssh2_session_set_timeout.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_session_set_timeout 3 "4 May 2011" "libssh2" "libssh2" .SH NAME libssh2_session_set_timeout - set timeout for blocking functions diff --git a/docs/libssh2_session_startup.3 b/docs/libssh2_session_startup.3 index 5d766f53..53e95266 100644 --- a/docs/libssh2_session_startup.3 +++ b/docs/libssh2_session_startup.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_session_startup 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_session_startup - begin transport layer diff --git a/docs/libssh2_session_supported_algs.3 b/docs/libssh2_session_supported_algs.3 index 09439f6b..12cb0677 100644 --- a/docs/libssh2_session_supported_algs.3 +++ b/docs/libssh2_session_supported_algs.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_session_supported_algs 3 "23 Oct 2011" "libssh2" "libssh2" .SH NAME libssh2_session_supported_algs - get list of supported algorithms diff --git a/docs/libssh2_sftp_close.3 b/docs/libssh2_sftp_close.3 index ea9f0d6e..bf9c4c7f 100644 --- a/docs/libssh2_sftp_close.3 +++ b/docs/libssh2_sftp_close.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_close 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_sftp_close - convenience macro for \fIlibssh2_sftp_close_handle(3)\fP calls diff --git a/docs/libssh2_sftp_close_handle.3 b/docs/libssh2_sftp_close_handle.3 index b5d862d8..8e17bc7e 100644 --- a/docs/libssh2_sftp_close_handle.3 +++ b/docs/libssh2_sftp_close_handle.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_close_handle 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_sftp_close_handle - close filehandle diff --git a/docs/libssh2_sftp_closedir.3 b/docs/libssh2_sftp_closedir.3 index 9d6b94e7..c1913d2d 100644 --- a/docs/libssh2_sftp_closedir.3 +++ b/docs/libssh2_sftp_closedir.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_closedir 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_sftp_closedir - convenience macro for \fIlibssh2_sftp_close_handle(3)\fP calls diff --git a/docs/libssh2_sftp_fsetstat.3 b/docs/libssh2_sftp_fsetstat.3 index acf7ab96..c3d8dabc 100644 --- a/docs/libssh2_sftp_fsetstat.3 +++ b/docs/libssh2_sftp_fsetstat.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_fsetstat 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_sftp_fsetstat - convenience macro for \fIlibssh2_sftp_fstat_ex(3)\fP calls diff --git a/docs/libssh2_sftp_fstat.3 b/docs/libssh2_sftp_fstat.3 index 9113bc16..b2dfacd9 100644 --- a/docs/libssh2_sftp_fstat.3 +++ b/docs/libssh2_sftp_fstat.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_fstat 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_sftp_fstat - convenience macro for \fIlibssh2_sftp_fstat_ex(3)\fP calls diff --git a/docs/libssh2_sftp_fstat_ex.3 b/docs/libssh2_sftp_fstat_ex.3 index 04eccbde..1ee58d53 100644 --- a/docs/libssh2_sftp_fstat_ex.3 +++ b/docs/libssh2_sftp_fstat_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_fstat_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_sftp_fstat_ex - get or set attributes on an SFTP file handle diff --git a/docs/libssh2_sftp_fstatvfs.3 b/docs/libssh2_sftp_fstatvfs.3 index 934d2a10..1546b974 100644 --- a/docs/libssh2_sftp_fstatvfs.3 +++ b/docs/libssh2_sftp_fstatvfs.3 @@ -1 +1,3 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .so man3/libssh2_sftp_statvfs.3 diff --git a/docs/libssh2_sftp_fsync.3 b/docs/libssh2_sftp_fsync.3 index 7766ed9c..c6c74860 100644 --- a/docs/libssh2_sftp_fsync.3 +++ b/docs/libssh2_sftp_fsync.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_fsync 3 "8 Apr 2013" "libssh2" "libssh2" .SH NAME libssh2_sftp_fsync - synchronize file to disk diff --git a/docs/libssh2_sftp_get_channel.3 b/docs/libssh2_sftp_get_channel.3 index 0a1d4636..0da7cdac 100644 --- a/docs/libssh2_sftp_get_channel.3 +++ b/docs/libssh2_sftp_get_channel.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_get_channel 3 "9 Sep 2011" "libssh2 1.4.0" "libssh2" .SH NAME libssh2_sftp_get_channel - return the channel of sftp diff --git a/docs/libssh2_sftp_init.3 b/docs/libssh2_sftp_init.3 index 3ebc3538..46d998ab 100644 --- a/docs/libssh2_sftp_init.3 +++ b/docs/libssh2_sftp_init.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_init 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_sftp_init - open SFTP channel for the given SSH session. diff --git a/docs/libssh2_sftp_last_error.3 b/docs/libssh2_sftp_last_error.3 index 0933689c..f5993b4d 100644 --- a/docs/libssh2_sftp_last_error.3 +++ b/docs/libssh2_sftp_last_error.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_last_error 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_sftp_last_error - return the last SFTP-specific error code diff --git a/docs/libssh2_sftp_lstat.3 b/docs/libssh2_sftp_lstat.3 index 1faf34f4..8165cdb8 100644 --- a/docs/libssh2_sftp_lstat.3 +++ b/docs/libssh2_sftp_lstat.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_lstat 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_sftp_lstat - convenience macro for \fIlibssh2_sftp_stat_ex(3)\fP calls diff --git a/docs/libssh2_sftp_mkdir.3 b/docs/libssh2_sftp_mkdir.3 index ba4f77d1..193ec09e 100644 --- a/docs/libssh2_sftp_mkdir.3 +++ b/docs/libssh2_sftp_mkdir.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_mkdir 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_sftp_mkdir - convenience macro for \fIlibssh2_sftp_mkdir_ex(3)\fP calls diff --git a/docs/libssh2_sftp_mkdir_ex.3 b/docs/libssh2_sftp_mkdir_ex.3 index 0ec51738..63d3fe6a 100644 --- a/docs/libssh2_sftp_mkdir_ex.3 +++ b/docs/libssh2_sftp_mkdir_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_mkdir_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_sftp_mkdir_ex - create a directory on the remote file system diff --git a/docs/libssh2_sftp_open.3 b/docs/libssh2_sftp_open.3 index 5643c937..7918b506 100644 --- a/docs/libssh2_sftp_open.3 +++ b/docs/libssh2_sftp_open.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_open 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_sftp_open - convenience macro for \fIlibssh2_sftp_open_ex(3)\fP calls diff --git a/docs/libssh2_sftp_open_ex.3 b/docs/libssh2_sftp_open_ex.3 index fed36092..6508256c 100644 --- a/docs/libssh2_sftp_open_ex.3 +++ b/docs/libssh2_sftp_open_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_open_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_sftp_open_ex - open filehandle for file on SFTP. diff --git a/docs/libssh2_sftp_open_ex_r.3 b/docs/libssh2_sftp_open_ex_r.3 index a2f65e34..03853448 100644 --- a/docs/libssh2_sftp_open_ex_r.3 +++ b/docs/libssh2_sftp_open_ex_r.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_open_ex_r 3 "10 Apr 2023" "libssh2" "libssh2" .SH NAME libssh2_sftp_open_ex_r - open filehandle for file on SFTP. diff --git a/docs/libssh2_sftp_open_r.3 b/docs/libssh2_sftp_open_r.3 index 4bdd1fa1..2627c9d7 100644 --- a/docs/libssh2_sftp_open_r.3 +++ b/docs/libssh2_sftp_open_r.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_open_r 3 "10 Apr 2023" "libssh2 1.11.0" "libssh2" .SH NAME libssh2_sftp_open_r - convenience macro for \fIlibssh2_sftp_open_ex_r(3)\fP calls diff --git a/docs/libssh2_sftp_opendir.3 b/docs/libssh2_sftp_opendir.3 index 198eec6a..fbba5948 100644 --- a/docs/libssh2_sftp_opendir.3 +++ b/docs/libssh2_sftp_opendir.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_opendir 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_sftp_opendir - convenience macro for \fIlibssh2_sftp_open_ex(3)\fP calls diff --git a/docs/libssh2_sftp_read.3 b/docs/libssh2_sftp_read.3 index c1709ef5..ee7379da 100644 --- a/docs/libssh2_sftp_read.3 +++ b/docs/libssh2_sftp_read.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_read 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_sftp_read - read data from an SFTP handle diff --git a/docs/libssh2_sftp_readdir.3 b/docs/libssh2_sftp_readdir.3 index cc1367f4..9764a8b0 100644 --- a/docs/libssh2_sftp_readdir.3 +++ b/docs/libssh2_sftp_readdir.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_readdir 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_sftp_readdir - convenience macro for \fIlibssh2_sftp_readdir_ex(3)\fP calls diff --git a/docs/libssh2_sftp_readdir_ex.3 b/docs/libssh2_sftp_readdir_ex.3 index 7f553f91..5a1552b9 100644 --- a/docs/libssh2_sftp_readdir_ex.3 +++ b/docs/libssh2_sftp_readdir_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_readdir_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_sftp_readdir_ex - read directory data from an SFTP handle diff --git a/docs/libssh2_sftp_readlink.3 b/docs/libssh2_sftp_readlink.3 index fe601582..f48da0c1 100644 --- a/docs/libssh2_sftp_readlink.3 +++ b/docs/libssh2_sftp_readlink.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_readlink 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_sftp_readlink - convenience macro for \fIlibssh2_sftp_symlink_ex(3)\fP diff --git a/docs/libssh2_sftp_realpath.3 b/docs/libssh2_sftp_realpath.3 index e11849c9..1685622d 100644 --- a/docs/libssh2_sftp_realpath.3 +++ b/docs/libssh2_sftp_realpath.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_realpath 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_sftp_realpath - convenience macro for \fIlibssh2_sftp_symlink_ex(3)\fP diff --git a/docs/libssh2_sftp_rename.3 b/docs/libssh2_sftp_rename.3 index 3b34a209..7207780b 100644 --- a/docs/libssh2_sftp_rename.3 +++ b/docs/libssh2_sftp_rename.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_rename 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_sftp_rename - convenience macro for \fIlibssh2_sftp_rename_ex(3)\fP calls diff --git a/docs/libssh2_sftp_rename_ex.3 b/docs/libssh2_sftp_rename_ex.3 index b6d4a5d3..05863eaa 100644 --- a/docs/libssh2_sftp_rename_ex.3 +++ b/docs/libssh2_sftp_rename_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_rename_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_sftp_rename_ex - rename an SFTP file diff --git a/docs/libssh2_sftp_rewind.3 b/docs/libssh2_sftp_rewind.3 index e8415289..5e4ddde4 100644 --- a/docs/libssh2_sftp_rewind.3 +++ b/docs/libssh2_sftp_rewind.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_rewind 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_sftp_rewind - convenience macro for \fIlibssh2_sftp_seek64(3)\fP calls diff --git a/docs/libssh2_sftp_rmdir.3 b/docs/libssh2_sftp_rmdir.3 index 49101ea0..523534ac 100644 --- a/docs/libssh2_sftp_rmdir.3 +++ b/docs/libssh2_sftp_rmdir.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_rmdir 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_sftp_rmdir - convenience macro for \fIlibssh2_sftp_rmdir_ex(3)\fP diff --git a/docs/libssh2_sftp_rmdir_ex.3 b/docs/libssh2_sftp_rmdir_ex.3 index c2682970..183055fb 100644 --- a/docs/libssh2_sftp_rmdir_ex.3 +++ b/docs/libssh2_sftp_rmdir_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_rmdir_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_sftp_rmdir_ex - remove an SFTP directory diff --git a/docs/libssh2_sftp_seek.3 b/docs/libssh2_sftp_seek.3 index 4a8c3732..87782de1 100644 --- a/docs/libssh2_sftp_seek.3 +++ b/docs/libssh2_sftp_seek.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_seek 3 "22 Dec 2008" "libssh2 1.0" "libssh2" .SH NAME libssh2_sftp_seek - set the read/write position indicator within a file diff --git a/docs/libssh2_sftp_seek64.3 b/docs/libssh2_sftp_seek64.3 index a9c9a35a..d40cc84b 100644 --- a/docs/libssh2_sftp_seek64.3 +++ b/docs/libssh2_sftp_seek64.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_seek64 3 "22 Dec 2008" "libssh2" "libssh2" .SH NAME libssh2_sftp_seek64 - set the read/write position within a file diff --git a/docs/libssh2_sftp_setstat.3 b/docs/libssh2_sftp_setstat.3 index 6e1a67d0..3bd42f5f 100644 --- a/docs/libssh2_sftp_setstat.3 +++ b/docs/libssh2_sftp_setstat.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_setstat 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_sftp_setstat - convenience macro for \fIlibssh2_sftp_stat_ex(3)\fP calls diff --git a/docs/libssh2_sftp_shutdown.3 b/docs/libssh2_sftp_shutdown.3 index d3424499..79593b9c 100644 --- a/docs/libssh2_sftp_shutdown.3 +++ b/docs/libssh2_sftp_shutdown.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_shutdown 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_sftp_shutdown - shut down an SFTP session diff --git a/docs/libssh2_sftp_stat.3 b/docs/libssh2_sftp_stat.3 index 1f4b37bc..30e28a24 100644 --- a/docs/libssh2_sftp_stat.3 +++ b/docs/libssh2_sftp_stat.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_stat 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_sftp_stat - convenience macro for \fIlibssh2_sftp_fstat_ex(3)\fP calls diff --git a/docs/libssh2_sftp_stat_ex.3 b/docs/libssh2_sftp_stat_ex.3 index 14974cb0..b33cfc18 100644 --- a/docs/libssh2_sftp_stat_ex.3 +++ b/docs/libssh2_sftp_stat_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_stat_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_sftp_stat_ex - get status about an SFTP file diff --git a/docs/libssh2_sftp_statvfs.3 b/docs/libssh2_sftp_statvfs.3 index c38cc14a..a105b9df 100644 --- a/docs/libssh2_sftp_statvfs.3 +++ b/docs/libssh2_sftp_statvfs.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_statvfs 3 "22 May 2010" "libssh2" "libssh2" .SH NAME libssh2_sftp_statvfs, libssh2_sftp_fstatvfs - get file system statistics diff --git a/docs/libssh2_sftp_symlink.3 b/docs/libssh2_sftp_symlink.3 index 8b8e6129..8fb70df0 100644 --- a/docs/libssh2_sftp_symlink.3 +++ b/docs/libssh2_sftp_symlink.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_symlink 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_sftp_symlink - convenience macro for \fIlibssh2_sftp_symlink_ex(3)\fP diff --git a/docs/libssh2_sftp_symlink_ex.3 b/docs/libssh2_sftp_symlink_ex.3 index 377ae975..b5adb2c4 100644 --- a/docs/libssh2_sftp_symlink_ex.3 +++ b/docs/libssh2_sftp_symlink_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_symlink_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_sftp_symlink_ex - read or set a symbolic link diff --git a/docs/libssh2_sftp_tell.3 b/docs/libssh2_sftp_tell.3 index 2c656517..88b65370 100644 --- a/docs/libssh2_sftp_tell.3 +++ b/docs/libssh2_sftp_tell.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_tell 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_sftp_tell - get the current read/write position indicator for a file diff --git a/docs/libssh2_sftp_tell64.3 b/docs/libssh2_sftp_tell64.3 index f3af30be..013e7dad 100644 --- a/docs/libssh2_sftp_tell64.3 +++ b/docs/libssh2_sftp_tell64.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_tell64 3 "22 Dec 2008" "libssh2 1.0" "libssh2" .SH NAME libssh2_sftp_tell64 - get the current read/write position indicator for a file diff --git a/docs/libssh2_sftp_unlink.3 b/docs/libssh2_sftp_unlink.3 index 3d00a37a..da4874c1 100644 --- a/docs/libssh2_sftp_unlink.3 +++ b/docs/libssh2_sftp_unlink.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_unlink 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_sftp_unlink - convenience macro for \fIlibssh2_sftp_unlink_ex(3)\fP calls diff --git a/docs/libssh2_sftp_unlink_ex.3 b/docs/libssh2_sftp_unlink_ex.3 index 9a0107bb..24659436 100644 --- a/docs/libssh2_sftp_unlink_ex.3 +++ b/docs/libssh2_sftp_unlink_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_unlink_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_sftp_unlink_ex - unlink an SFTP file diff --git a/docs/libssh2_sftp_write.3 b/docs/libssh2_sftp_write.3 index 08a497d6..d3f6d046 100644 --- a/docs/libssh2_sftp_write.3 +++ b/docs/libssh2_sftp_write.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sftp_write 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_sftp_write - write SFTP data diff --git a/docs/libssh2_sign_sk.3 b/docs/libssh2_sign_sk.3 index cb5f56b4..57b742b1 100644 --- a/docs/libssh2_sign_sk.3 +++ b/docs/libssh2_sign_sk.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_sign_sk 3 "1 Jun 2022" "libssh2 1.10.0" "libssh2" .SH NAME libssh2_sign_sk - Create a signature from a FIDO2 authenticator. diff --git a/docs/libssh2_trace.3 b/docs/libssh2_trace.3 index 113767f1..c3be3877 100644 --- a/docs/libssh2_trace.3 +++ b/docs/libssh2_trace.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_trace 3 "26 Dec 2008" "libssh2 1.0" "libssh2" .SH NAME libssh2_trace - enable debug info from inside libssh2 diff --git a/docs/libssh2_trace_sethandler.3 b/docs/libssh2_trace_sethandler.3 index 2262d8c0..1398e040 100644 --- a/docs/libssh2_trace_sethandler.3 +++ b/docs/libssh2_trace_sethandler.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_trace_sethandler 3 "15 Jan 2010" "libssh2" "libssh2" .SH NAME libssh2_trace_sethandler - set a trace output handler diff --git a/docs/libssh2_userauth_authenticated.3 b/docs/libssh2_userauth_authenticated.3 index 10d6810f..11568c46 100644 --- a/docs/libssh2_userauth_authenticated.3 +++ b/docs/libssh2_userauth_authenticated.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_userauth_authenticated 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_userauth_authenticated - return authentication status diff --git a/docs/libssh2_userauth_banner.3 b/docs/libssh2_userauth_banner.3 index 8bfaddf4..1369fa5f 100644 --- a/docs/libssh2_userauth_banner.3 +++ b/docs/libssh2_userauth_banner.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_userauth_banner 3 "1 Jun 2021" "libssh2 1.9.0" "libssh2" .SH NAME libssh2_userauth_banner - get the server's userauth banner message diff --git a/docs/libssh2_userauth_hostbased_fromfile.3 b/docs/libssh2_userauth_hostbased_fromfile.3 index 3e18d36f..e29880f0 100644 --- a/docs/libssh2_userauth_hostbased_fromfile.3 +++ b/docs/libssh2_userauth_hostbased_fromfile.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_userauth_hostbased_fromfile 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_userauth_hostbased_fromfile - convenience macro for \fIlibssh2_userauth_hostbased_fromfile_ex(3)\fP calls diff --git a/docs/libssh2_userauth_hostbased_fromfile_ex.3 b/docs/libssh2_userauth_hostbased_fromfile_ex.3 index b71ceb28..c37f5561 100644 --- a/docs/libssh2_userauth_hostbased_fromfile_ex.3 +++ b/docs/libssh2_userauth_hostbased_fromfile_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_userauth_hostbased_fromfile_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_userauth_hostbased_fromfile_ex - TODO diff --git a/docs/libssh2_userauth_keyboard_interactive.3 b/docs/libssh2_userauth_keyboard_interactive.3 index 27424c6b..902cc5d2 100644 --- a/docs/libssh2_userauth_keyboard_interactive.3 +++ b/docs/libssh2_userauth_keyboard_interactive.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_userauth_keyboard_interactive 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_userauth_keyboard_interactive - convenience macro for \fIlibssh2_userauth_keyboard_interactive_ex(3)\fP calls diff --git a/docs/libssh2_userauth_keyboard_interactive_ex.3 b/docs/libssh2_userauth_keyboard_interactive_ex.3 index 8e392aa7..d5fe4ea3 100644 --- a/docs/libssh2_userauth_keyboard_interactive_ex.3 +++ b/docs/libssh2_userauth_keyboard_interactive_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_userauth_keyboard_interactive_ex 3 "8 Mar 2008" "libssh2 0.19" "libssh2" .SH NAME libssh2_userauth_keyboard_interactive_ex - authenticate a session using diff --git a/docs/libssh2_userauth_list.3 b/docs/libssh2_userauth_list.3 index efb9207a..7a1ba65b 100644 --- a/docs/libssh2_userauth_list.3 +++ b/docs/libssh2_userauth_list.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_userauth_list 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_userauth_list - list supported authentication methods diff --git a/docs/libssh2_userauth_password.3 b/docs/libssh2_userauth_password.3 index e0a3300b..61fcdbb1 100644 --- a/docs/libssh2_userauth_password.3 +++ b/docs/libssh2_userauth_password.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_userauth_password 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_userauth_password - convenience macro for \fIlibssh2_userauth_password_ex(3)\fP calls diff --git a/docs/libssh2_userauth_password_ex.3 b/docs/libssh2_userauth_password_ex.3 index d63d2e08..838c72eb 100644 --- a/docs/libssh2_userauth_password_ex.3 +++ b/docs/libssh2_userauth_password_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_userauth_password_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_userauth_password_ex - authenticate a session with username and password diff --git a/docs/libssh2_userauth_publickey.3 b/docs/libssh2_userauth_publickey.3 index 10dafdfe..ea282b19 100644 --- a/docs/libssh2_userauth_publickey.3 +++ b/docs/libssh2_userauth_publickey.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_userauth_publickey 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_userauth_publickey - authenticate using a callback function diff --git a/docs/libssh2_userauth_publickey_fromfile.3 b/docs/libssh2_userauth_publickey_fromfile.3 index c26ad470..7614c9e6 100644 --- a/docs/libssh2_userauth_publickey_fromfile.3 +++ b/docs/libssh2_userauth_publickey_fromfile.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_userauth_publickey_fromfile 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2" .SH NAME libssh2_userauth_publickey_fromfile - convenience macro for \fIlibssh2_userauth_publickey_fromfile_ex(3)\fP calls diff --git a/docs/libssh2_userauth_publickey_fromfile_ex.3 b/docs/libssh2_userauth_publickey_fromfile_ex.3 index 3d7cead0..4b24776b 100644 --- a/docs/libssh2_userauth_publickey_fromfile_ex.3 +++ b/docs/libssh2_userauth_publickey_fromfile_ex.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_userauth_publickey_fromfile_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2" .SH NAME libssh2_userauth_publickey_fromfile_ex - authenticate a session with a public key, read from a file diff --git a/docs/libssh2_userauth_publickey_frommemory.3 b/docs/libssh2_userauth_publickey_frommemory.3 index f3b8cbe6..08935132 100644 --- a/docs/libssh2_userauth_publickey_frommemory.3 +++ b/docs/libssh2_userauth_publickey_frommemory.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_userauth_publickey_frommemory 3 "1 Sep 2014" "libssh2" "libssh2" .SH NAME libssh2_userauth_publickey_frommemory - authenticate a session with a public key, read from memory diff --git a/docs/libssh2_userauth_publickey_sk.3 b/docs/libssh2_userauth_publickey_sk.3 index bff76837..e2eff8f2 100644 --- a/docs/libssh2_userauth_publickey_sk.3 +++ b/docs/libssh2_userauth_publickey_sk.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_userauth_publickey_sk 3 "1 Jun 2022" "libssh2" "libssh2" .SH NAME libssh2_userauth_publickey_sk - authenticate a session with a FIDO2 authenticator diff --git a/docs/libssh2_version.3 b/docs/libssh2_version.3 index 02749b85..3f36d717 100644 --- a/docs/libssh2_version.3 +++ b/docs/libssh2_version.3 @@ -1,3 +1,5 @@ +.\" Copyright (C) The libssh2 project and its contributors. +.\" SPDX-License-Identifier: BSD-3-Clause .TH libssh2_version 3 "23 Feb 2009" "libssh2" "libssh2" .SH NAME libssh2_version - return the libssh2 version number diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 68c821fd..922d12b6 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -33,6 +33,8 @@ # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE # USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY # OF SUCH DAMAGE. +# +# SPDX-License-Identifier: BSD-3-Clause include(CopyRuntimeDependencies) diff --git a/example/Makefile.am b/example/Makefile.am index 0d9594b5..b2fe6a63 100644 --- a/example/Makefile.am +++ b/example/Makefile.am @@ -1,3 +1,5 @@ +# Copyright (C) The libssh2 project and its contributors. +# SPDX-License-Identifier: BSD-3-Clause AUTOMAKE_OPTIONS = foreign nostdinc EXTRA_DIST = CMakeLists.txt diff --git a/example/direct_tcpip.c b/example/direct_tcpip.c index e2616ebf..92bb7ca3 100644 --- a/example/direct_tcpip.c +++ b/example/direct_tcpip.c @@ -1,4 +1,7 @@ -/* Copyright (C) The libssh2 project and its contributors. */ +/* Copyright (C) The libssh2 project and its contributors. + * + * SPDX-License-Identifier: BSD-3-Clause + */ #include "libssh2_setup.h" #include diff --git a/example/scp.c b/example/scp.c index 4feea7c7..c399eda8 100644 --- a/example/scp.c +++ b/example/scp.c @@ -1,6 +1,8 @@ /* Copyright (C) The libssh2 project and its contributors. * * Sample showing how to do a simple SCP transfer. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_setup.h" diff --git a/example/scp_nonblock.c b/example/scp_nonblock.c index b39eff8a..4a38e034 100644 --- a/example/scp_nonblock.c +++ b/example/scp_nonblock.c @@ -6,6 +6,8 @@ * and path to copy, but you can specify them on the command line like: * * $ ./scp_nonblock 192.168.0.1 user password /tmp/secrets + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_setup.h" diff --git a/example/scp_write.c b/example/scp_write.c index 5f77bb70..3305e2ef 100644 --- a/example/scp_write.c +++ b/example/scp_write.c @@ -1,6 +1,8 @@ /* Copyright (C) The libssh2 project and its contributors. * * Sample showing how to do an SCP upload. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_setup.h" diff --git a/example/scp_write_nonblock.c b/example/scp_write_nonblock.c index 026ffb17..60360303 100644 --- a/example/scp_write_nonblock.c +++ b/example/scp_write_nonblock.c @@ -1,6 +1,8 @@ /* Copyright (C) The libssh2 project and its contributors. * * Sample showing how to do an SCP non-blocking upload transfer. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_setup.h" diff --git a/example/sftp.c b/example/sftp.c index d25a3773..f65e1858 100644 --- a/example/sftp.c +++ b/example/sftp.c @@ -6,6 +6,8 @@ * and path to copy, but you can specify them on the command line like: * * $ ./sftp 192.168.0.1 user password /tmp/secrets -p|-i|-k + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_setup.h" diff --git a/example/sftp_RW_nonblock.c b/example/sftp_RW_nonblock.c index 0a4e667f..b657dacb 100644 --- a/example/sftp_RW_nonblock.c +++ b/example/sftp_RW_nonblock.c @@ -6,6 +6,8 @@ * upload the file again to a given destination file. * * Using the SFTP server running on 127.0.0.1 + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_setup.h" diff --git a/example/sftp_append.c b/example/sftp_append.c index d2a66121..bb9c819f 100644 --- a/example/sftp_append.c +++ b/example/sftp_append.c @@ -6,6 +6,8 @@ * and path to copy, but you can specify them on the command line like: * * $ ./sftp_append 192.168.0.1 user password localfile /tmp/remotefile + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_setup.h" diff --git a/example/sftp_mkdir.c b/example/sftp_mkdir.c index bc143fd3..f14c02bd 100644 --- a/example/sftp_mkdir.c +++ b/example/sftp_mkdir.c @@ -6,6 +6,8 @@ * and path to copy, but you can specify them on the command line like: * * $ ./sftp_mkdir 192.168.0.1 user password /tmp/sftp_mkdir + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_setup.h" diff --git a/example/sftp_mkdir_nonblock.c b/example/sftp_mkdir_nonblock.c index 48bdfcd3..0455b7e5 100644 --- a/example/sftp_mkdir_nonblock.c +++ b/example/sftp_mkdir_nonblock.c @@ -6,6 +6,8 @@ * and path to copy, but you can specify them on the command line like: * * $ ./sftp_mkdir_nonblock 192.168.0.1 user password /tmp/sftp_write_nonblock.c + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_setup.h" diff --git a/example/sftp_nonblock.c b/example/sftp_nonblock.c index 484099fd..a18f3006 100644 --- a/example/sftp_nonblock.c +++ b/example/sftp_nonblock.c @@ -6,6 +6,8 @@ * and path to copy, but you can specify them on the command line like: * * $ ./sftp_nonblock 192.168.0.1 user password /tmp/secrets + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_setup.h" diff --git a/example/sftp_write.c b/example/sftp_write.c index f4c903da..ea901420 100644 --- a/example/sftp_write.c +++ b/example/sftp_write.c @@ -6,6 +6,8 @@ * and path to copy, but you can specify them on the command line like: * * $ ./sftp_write 192.168.0.1 user password sftp_write.c /tmp/secrets + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_setup.h" diff --git a/example/sftp_write_nonblock.c b/example/sftp_write_nonblock.c index 4c9ffde0..fd3c58f6 100644 --- a/example/sftp_write_nonblock.c +++ b/example/sftp_write_nonblock.c @@ -6,6 +6,8 @@ * and path to copy, but you can specify them on the command line like: * * $ ./sftp_write_nonblock 192.168.0.1 user password thisfile /tmp/storehere + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_setup.h" diff --git a/example/sftp_write_sliding.c b/example/sftp_write_sliding.c index 409e7b33..4df497c2 100644 --- a/example/sftp_write_sliding.c +++ b/example/sftp_write_sliding.c @@ -6,6 +6,8 @@ * and path to copy, but you can specify them on the command line like: * * $ ./sftp_write_sliding 192.168.0.1 user password thisfile /tmp/storehere + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_setup.h" diff --git a/example/sftpdir.c b/example/sftpdir.c index 29123d2f..f8176e9b 100644 --- a/example/sftpdir.c +++ b/example/sftpdir.c @@ -6,6 +6,8 @@ * path, but you can specify them on the command line like: * * $ ./sftpdir 192.168.0.1 user password /tmp/secretdir + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_setup.h" diff --git a/example/sftpdir_nonblock.c b/example/sftpdir_nonblock.c index 39621e51..e21026c3 100644 --- a/example/sftpdir_nonblock.c +++ b/example/sftpdir_nonblock.c @@ -6,6 +6,8 @@ * path, but you can specify them on the command line like: * * $ ./sftpdir_nonblock 192.168.0.1 user password /tmp/secretdir + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_setup.h" diff --git a/example/ssh2.c b/example/ssh2.c index 48ee8954..8dd71b36 100644 --- a/example/ssh2.c +++ b/example/ssh2.c @@ -11,6 +11,8 @@ * -i authenticate using keyboard-interactive * -k authenticate using public key (password argument decrypts keyfile) * command executes on the remote machine + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_setup.h" diff --git a/example/ssh2_agent.c b/example/ssh2_agent.c index eac523f4..47d02072 100644 --- a/example/ssh2_agent.c +++ b/example/ssh2_agent.c @@ -5,6 +5,8 @@ * The sample code has default values for host name, user name: * * $ ./ssh2_agent host user + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_setup.h" diff --git a/example/ssh2_agent_forwarding.c b/example/ssh2_agent_forwarding.c index 671d5aae..6f1fd003 100644 --- a/example/ssh2_agent_forwarding.c +++ b/example/ssh2_agent_forwarding.c @@ -10,6 +10,7 @@ * * $ ./ssh2_agent_forwarding 127.0.0.1 user "uptime" * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_setup.h" diff --git a/example/ssh2_echo.c b/example/ssh2_echo.c index b239c954..884040b0 100644 --- a/example/ssh2_echo.c +++ b/example/ssh2_echo.c @@ -5,6 +5,7 @@ * * $ ./ssh2_echo 127.0.0.1 user password * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_setup.h" diff --git a/example/ssh2_exec.c b/example/ssh2_exec.c index 8a1790ca..2627d5cb 100644 --- a/example/ssh2_exec.c +++ b/example/ssh2_exec.c @@ -7,6 +7,7 @@ * * $ ./ssh2_exec 127.0.0.1 user password "uptime" * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_setup.h" diff --git a/example/subsystem_netconf.c b/example/subsystem_netconf.c index a2244395..31a71ecc 100644 --- a/example/subsystem_netconf.c +++ b/example/subsystem_netconf.c @@ -1,4 +1,7 @@ -/* Copyright (C) The libssh2 project and its contributors. */ +/* Copyright (C) The libssh2 project and its contributors. + * + * SPDX-License-Identifier: BSD-3-Clause + */ #include "libssh2_setup.h" #include diff --git a/example/tcpip-forward.c b/example/tcpip-forward.c index 9598f0de..c105beac 100644 --- a/example/tcpip-forward.c +++ b/example/tcpip-forward.c @@ -1,4 +1,7 @@ -/* Copyright (C) The libssh2 project and its contributors. */ +/* Copyright (C) The libssh2 project and its contributors. + * + * SPDX-License-Identifier: BSD-3-Clause + */ #include "libssh2_setup.h" #include diff --git a/example/x11.c b/example/x11.c index 56e7d298..51b6c1ae 100644 --- a/example/x11.c +++ b/example/x11.c @@ -3,6 +3,8 @@ * Sample showing how to makes SSH2 with X11 Forwarding works. * * $ ./x11 host user password [DEBUG] + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_setup.h" diff --git a/get_ver.awk b/get_ver.awk index 8253168e..2377ae85 100755 --- a/get_ver.awk +++ b/get_ver.awk @@ -1,4 +1,7 @@ # fetch libssh2 version number from input file and write them to STDOUT +# Copyright (C) The libssh2 project and its contributors. +# SPDX-License-Identifier: BSD-3-Clause + BEGIN { while ((getline < ARGV[1]) > 0) { if (match ($0, /^#define LIBSSH2_COPYRIGHT "[^"]+"$/)) { diff --git a/git2news.pl b/git2news.pl index 63dd3826..3e368340 100755 --- a/git2news.pl +++ b/git2news.pl @@ -1,4 +1,6 @@ #!/usr/bin/env perl +# Copyright (C) The libssh2 project and its contributors. +# SPDX-License-Identifier: BSD-3-Clause # git log --pretty=fuller --no-color --date=short --decorate=full diff --git a/include/libssh2.h b/include/libssh2.h index 03780227..fb760dd2 100644 --- a/include/libssh2.h +++ b/include/libssh2.h @@ -35,6 +35,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef LIBSSH2_H diff --git a/include/libssh2_publickey.h b/include/libssh2_publickey.h index 05c9ea44..566acd65 100644 --- a/include/libssh2_publickey.h +++ b/include/libssh2_publickey.h @@ -41,6 +41,8 @@ * * For more information on the publickey subsystem, * refer to IETF draft: secsh-publickey + * + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef LIBSSH2_PUBLICKEY_H diff --git a/include/libssh2_sftp.h b/include/libssh2_sftp.h index 1f7c4101..8b41f1d7 100644 --- a/include/libssh2_sftp.h +++ b/include/libssh2_sftp.h @@ -33,6 +33,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef LIBSSH2_SFTP_H diff --git a/libssh2-style.el b/libssh2-style.el index 4437f88a..3001010f 100644 --- a/libssh2-style.el +++ b/libssh2-style.el @@ -1,4 +1,6 @@ ;;;; Emacs Lisp help for writing libssh2 code. ;;;; +;;; Copyright (C) The libssh2 project and its contributors. +;;; SPDX-License-Identifier: BSD-3-Clause ;;; The libssh2 hacker's C conventions. ;;; See the sample.emacs file on how this file can be made to take diff --git a/libssh2.pc.in b/libssh2.pc.in index 96638167..4fdfaa92 100644 --- a/libssh2.pc.in +++ b/libssh2.pc.in @@ -1,5 +1,8 @@ ########################################################################### # libssh2 installation details +# +# Copyright (C) The libssh2 project and its contributors. +# SPDX-License-Identifier: BSD-3-Clause ########################################################################### prefix=@prefix@ diff --git a/m4/lib-ld.m4 b/m4/lib-ld.m4 index db76f6bc..ea53c41d 100644 --- a/m4/lib-ld.m4 +++ b/m4/lib-ld.m4 @@ -3,6 +3,8 @@ dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. +dnl +dnl SPDX-License-Identifier: FSFULLR dnl Subroutines of libtool.m4, dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision diff --git a/m4/lib-link.m4 b/m4/lib-link.m4 index 7a41234b..ee06a613 100644 --- a/m4/lib-link.m4 +++ b/m4/lib-link.m4 @@ -3,6 +3,8 @@ dnl Copyright (C) 2001-2007 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. +dnl +dnl SPDX-License-Identifier: FSFULLR dnl From Bruno Haible. diff --git a/m4/lib-prefix.m4 b/m4/lib-prefix.m4 index a8684e17..9695f887 100644 --- a/m4/lib-prefix.m4 +++ b/m4/lib-prefix.m4 @@ -3,6 +3,8 @@ dnl Copyright (C) 2001-2005 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. +dnl +dnl SPDX-License-Identifier: FSFULLR dnl From Bruno Haible. diff --git a/maketgz b/maketgz index 3f5a1932..f4583975 100755 --- a/maketgz +++ b/maketgz @@ -1,4 +1,7 @@ #!/bin/sh +# Copyright (C) The libssh2 project and its contributors. +# SPDX-License-Identifier: BSD-3-Clause +# # Script to build release-archives with. Note that this requires a checkout # from git and you should first run 'autoreconf -fi' and './configure'. # diff --git a/os400/ccsid.c b/os400/ccsid.c index 3eb3e882..637b12e5 100644 --- a/os400/ccsid.c +++ b/os400/ccsid.c @@ -34,6 +34,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ /* Character encoding wrappers. */ diff --git a/os400/include/alloca.h b/os400/include/alloca.h index 8b309afa..4050fa84 100644 --- a/os400/include/alloca.h +++ b/os400/include/alloca.h @@ -34,6 +34,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef LIBSSH2_ALLOCA_H diff --git a/os400/include/assert.h b/os400/include/assert.h index 47eee122..b6197c65 100644 --- a/os400/include/assert.h +++ b/os400/include/assert.h @@ -34,6 +34,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef LIBSSH2_ASSERT_H diff --git a/os400/include/stdio.h b/os400/include/stdio.h index 2613dbcf..4d4543fa 100644 --- a/os400/include/stdio.h +++ b/os400/include/stdio.h @@ -34,6 +34,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef LIBSSH2_STDIO_H diff --git a/os400/include/sys/socket.h b/os400/include/sys/socket.h index 6c24d464..4a343ffe 100644 --- a/os400/include/sys/socket.h +++ b/os400/include/sys/socket.h @@ -34,6 +34,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef LIBSSH2_SYS_SOCKET_H diff --git a/os400/initscript.sh b/os400/initscript.sh index 931c8cd8..d5334e35 100644 --- a/os400/initscript.sh +++ b/os400/initscript.sh @@ -1,5 +1,6 @@ #!/bin/sh - +# Copyright (C) The libssh2 project and its contributors. +# SPDX-License-Identifier: BSD-3-Clause setenv() diff --git a/os400/libssh2_ccsid.h b/os400/libssh2_ccsid.h index 2b353b62..bf2178eb 100644 --- a/os400/libssh2_ccsid.h +++ b/os400/libssh2_ccsid.h @@ -34,6 +34,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ /* CCSID conversion support. */ diff --git a/os400/libssh2_config.h b/os400/libssh2_config.h index 2deb5b0f..a6162e6a 100644 --- a/os400/libssh2_config.h +++ b/os400/libssh2_config.h @@ -34,6 +34,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef LIBSSH2_CONFIG_H diff --git a/os400/libssh2rpg/libssh2.rpgle.in b/os400/libssh2rpg/libssh2.rpgle.in index 74391db9..51f376e2 100644 --- a/os400/libssh2rpg/libssh2.rpgle.in +++ b/os400/libssh2rpg/libssh2.rpgle.in @@ -33,6 +33,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause /if not defined(LIBSSH2_H_) /define LIBSSH2_H_ diff --git a/os400/libssh2rpg/libssh2_ccsid.rpgle.in b/os400/libssh2rpg/libssh2_ccsid.rpgle.in index 698f126f..37d3f12e 100644 --- a/os400/libssh2rpg/libssh2_ccsid.rpgle.in +++ b/os400/libssh2rpg/libssh2_ccsid.rpgle.in @@ -33,6 +33,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause /if not defined(LIBSSH2_CCSID_H_) /define LIBSSH2_CCSID_H_ diff --git a/os400/libssh2rpg/libssh2_publickey.rpgle b/os400/libssh2rpg/libssh2_publickey.rpgle index f8fa7b87..b900dbe2 100644 --- a/os400/libssh2rpg/libssh2_publickey.rpgle +++ b/os400/libssh2rpg/libssh2_publickey.rpgle @@ -40,6 +40,8 @@ * * For more information on the publickey subsystem, * refer to IETF draft: secsh-publickey + * + * SPDX-License-Identifier: BSD-3-Clause /if not defined(LIBSSH2_PUBLICKEY_H_) /define LIBSSH2_PUBLICKEY_H_ diff --git a/os400/libssh2rpg/libssh2_sftp.rpgle b/os400/libssh2rpg/libssh2_sftp.rpgle index e5b0b050..9d063245 100644 --- a/os400/libssh2rpg/libssh2_sftp.rpgle +++ b/os400/libssh2rpg/libssh2_sftp.rpgle @@ -33,6 +33,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause /if not defined(LIBSSH2_SFTP_H_) /define LIBSSH2_SFTP_H_ diff --git a/os400/macros.h b/os400/macros.h index d1e6fc16..80cba05b 100644 --- a/os400/macros.h +++ b/os400/macros.h @@ -34,6 +34,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * +* SPDX-License-Identifier: BSD-3-Clause */ #ifndef LIBSSH2_MACROS_H_ diff --git a/os400/make-include.sh b/os400/make-include.sh index 2cb7b726..efa03465 100644 --- a/os400/make-include.sh +++ b/os400/make-include.sh @@ -1,4 +1,6 @@ #!/bin/sh +# Copyright (C) The libssh2 project and its contributors. +# SPDX-License-Identifier: BSD-3-Clause # # Installation of the header files in the OS/400 library. # diff --git a/os400/make-rpg.sh b/os400/make-rpg.sh index c8a26472..82bdbfc6 100644 --- a/os400/make-rpg.sh +++ b/os400/make-rpg.sh @@ -1,4 +1,6 @@ #!/bin/sh +# Copyright (C) The libssh2 project and its contributors. +# SPDX-License-Identifier: BSD-3-Clause # # Installation of the ILE/RPG header files in the OS/400 library. # diff --git a/os400/make-src.sh b/os400/make-src.sh index 3d352cbe..b93f36eb 100644 --- a/os400/make-src.sh +++ b/os400/make-src.sh @@ -1,4 +1,6 @@ #!/bin/sh +# Copyright (C) The libssh2 project and its contributors. +# SPDX-License-Identifier: BSD-3-Clause # # libssh2 compilation script for the OS/400. # diff --git a/os400/make.sh b/os400/make.sh index 0cfa7ec6..317c56e7 100644 --- a/os400/make.sh +++ b/os400/make.sh @@ -1,4 +1,6 @@ #!/bin/sh +# Copyright (C) The libssh2 project and its contributors. +# SPDX-License-Identifier: BSD-3-Clause # # libssh2 compilation script for the OS/400. # diff --git a/os400/os400sys.c b/os400/os400sys.c index 1dd320bc..ffaf9235 100644 --- a/os400/os400sys.c +++ b/os400/os400sys.c @@ -34,6 +34,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ /* OS/400 additional support. */ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1c59ee6f..3a2077d0 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -33,6 +33,8 @@ # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE # USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY # OF SUCH DAMAGE. +# +# SPDX-License-Identifier: BSD-3-Clause if(CRYPTO_BACKEND) list(APPEND PRIVATE_COMPILE_DEFINITIONS ${CRYPTO_BACKEND_DEFINE}) diff --git a/src/Makefile.am b/src/Makefile.am index 380674bc..bd7b8de8 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,3 +1,5 @@ +# Copyright (C) The libssh2 project and its contributors. +# SPDX-License-Identifier: BSD-3-Clause AUTOMAKE_OPTIONS = foreign nostdinc # Get the CSOURCES, HHEADERS and EXTRA_DIST defines diff --git a/src/Makefile.inc b/src/Makefile.inc index 2928ba2b..a1876dac 100644 --- a/src/Makefile.inc +++ b/src/Makefile.inc @@ -1,3 +1,5 @@ +# Copyright (C) The libssh2 project and its contributors. +# SPDX-License-Identifier: BSD-3-Clause CSOURCES = \ agent.c \ bcrypt_pbkdf.c \ diff --git a/src/agent.c b/src/agent.c index a808ac1f..d99a3195 100644 --- a/src/agent.c +++ b/src/agent.c @@ -35,6 +35,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_priv.h" diff --git a/src/agent_win.c b/src/agent_win.c index 17422bc5..3764fe43 100644 --- a/src/agent_win.c +++ b/src/agent_win.c @@ -35,6 +35,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause AND BSD-2-Clause */ #ifdef HAVE_WIN32_AGENTS /* Compile this via agent.c */ diff --git a/src/bcrypt_pbkdf.c b/src/bcrypt_pbkdf.c index d69e178e..d0885878 100644 --- a/src/bcrypt_pbkdf.c +++ b/src/bcrypt_pbkdf.c @@ -13,6 +13,8 @@ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * SPDX-License-Identifier: MIT */ #include "libssh2_priv.h" diff --git a/src/blowfish.c b/src/blowfish.c index 42210c46..5de54f59 100644 --- a/src/blowfish.c +++ b/src/blowfish.c @@ -28,6 +28,8 @@ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ /* diff --git a/src/channel.c b/src/channel.c index 4ecf7ef6..c35658a0 100644 --- a/src/channel.c +++ b/src/channel.c @@ -35,6 +35,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_priv.h" diff --git a/src/channel.h b/src/channel.h index 5470f666..6d035501 100644 --- a/src/channel.h +++ b/src/channel.h @@ -36,6 +36,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ /* diff --git a/src/comp.c b/src/comp.c index 760bcb19..55ddb85a 100644 --- a/src/comp.c +++ b/src/comp.c @@ -34,6 +34,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_priv.h" diff --git a/src/comp.h b/src/comp.h index a8054b16..cce113b2 100644 --- a/src/comp.h +++ b/src/comp.h @@ -35,6 +35,7 @@ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_priv.h" diff --git a/src/crypt.c b/src/crypt.c index 9a8eae52..2fb661fd 100644 --- a/src/crypt.c +++ b/src/crypt.c @@ -34,6 +34,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_priv.h" diff --git a/src/crypto.c b/src/crypto.c index 79ea2828..b3b1afcb 100644 --- a/src/crypto.c +++ b/src/crypto.c @@ -1,4 +1,7 @@ -/* Copyright (C) Viktor Szakats */ +/* Copyright (C) Viktor Szakats + * + * SPDX-License-Identifier: BSD-3-Clause + */ #define LIBSSH2_CRYPTO_C #include "libssh2_priv.h" diff --git a/src/crypto.h b/src/crypto.h index 941e4083..561cd96e 100644 --- a/src/crypto.h +++ b/src/crypto.h @@ -37,6 +37,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #if defined(LIBSSH2_OPENSSL) || defined(LIBSSH2_WOLFSSL) diff --git a/src/global.c b/src/global.c index 0e37d2c1..a8bc3807 100644 --- a/src/global.c +++ b/src/global.c @@ -34,6 +34,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_priv.h" diff --git a/src/hostkey.c b/src/hostkey.c index f966f0d2..56eee369 100644 --- a/src/hostkey.c +++ b/src/hostkey.c @@ -34,6 +34,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_priv.h" diff --git a/src/keepalive.c b/src/keepalive.c index 81926c08..54fddb06 100644 --- a/src/keepalive.c +++ b/src/keepalive.c @@ -34,6 +34,7 @@ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_priv.h" diff --git a/src/kex.c b/src/kex.c index d4be2d4a..8972d44b 100644 --- a/src/kex.c +++ b/src/kex.c @@ -34,6 +34,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_priv.h" diff --git a/src/knownhost.c b/src/knownhost.c index eb332d88..1caab147 100644 --- a/src/knownhost.c +++ b/src/knownhost.c @@ -34,6 +34,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_priv.h" diff --git a/src/libgcrypt.c b/src/libgcrypt.c index 563912be..e463d9e3 100644 --- a/src/libgcrypt.c +++ b/src/libgcrypt.c @@ -34,6 +34,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #ifdef LIBSSH2_CRYPTO_C /* Compile this via crypto.c */ diff --git a/src/libgcrypt.h b/src/libgcrypt.h index 43b40a58..10e36fc7 100644 --- a/src/libgcrypt.h +++ b/src/libgcrypt.h @@ -37,6 +37,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #define LIBSSH2_CRYPTO_ENGINE libssh2_gcrypt diff --git a/src/libssh2.rc b/src/libssh2.rc index c154951d..4862d78e 100644 --- a/src/libssh2.rc +++ b/src/libssh2.rc @@ -1,5 +1,8 @@ /*************************************************************************** -* libssh2 Windows resource file * +* libssh2 Windows resource file +* Copyright (C) The libssh2 project and its contributors. +* +* SPDX-License-Identifier: BSD-3-Clause ***************************************************************************/ #include #include "libssh2.h" diff --git a/src/libssh2_config_cmake.h.in b/src/libssh2_config_cmake.h.in index ab4a8b89..515bfafb 100644 --- a/src/libssh2_config_cmake.h.in +++ b/src/libssh2_config_cmake.h.in @@ -34,6 +34,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ /* Headers */ diff --git a/src/libssh2_priv.h b/src/libssh2_priv.h index 2c931181..c51ad804 100644 --- a/src/libssh2_priv.h +++ b/src/libssh2_priv.h @@ -37,6 +37,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ /* Header used by 'src' */ diff --git a/src/libssh2_setup.h b/src/libssh2_setup.h index da6e429d..8e56a060 100644 --- a/src/libssh2_setup.h +++ b/src/libssh2_setup.h @@ -1,4 +1,7 @@ -/* Copyright (C) Viktor Szakats */ +/* Copyright (C) Viktor Szakats + * + * SPDX-License-Identifier: BSD-3-Clause + */ #ifndef LIBSSH2_SETUP_H #define LIBSSH2_SETUP_H diff --git a/src/mac.c b/src/mac.c index ac4f8330..db6f57a4 100644 --- a/src/mac.c +++ b/src/mac.c @@ -33,6 +33,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_priv.h" diff --git a/src/mac.h b/src/mac.h index 494c4259..696f835a 100644 --- a/src/mac.h +++ b/src/mac.h @@ -36,6 +36,7 @@ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_priv.h" diff --git a/src/mbedtls.c b/src/mbedtls.c index 12e6c787..77ce8c8f 100644 --- a/src/mbedtls.c +++ b/src/mbedtls.c @@ -33,6 +33,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #ifdef LIBSSH2_CRYPTO_C /* Compile this via crypto.c */ diff --git a/src/mbedtls.h b/src/mbedtls.h index 22c794a1..e4e99516 100644 --- a/src/mbedtls.h +++ b/src/mbedtls.h @@ -35,6 +35,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #define LIBSSH2_CRYPTO_ENGINE libssh2_mbedtls diff --git a/src/misc.c b/src/misc.c index fe419b89..b386e3d6 100644 --- a/src/misc.c +++ b/src/misc.c @@ -35,6 +35,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_priv.h" diff --git a/src/misc.h b/src/misc.h index 27b6bd75..bf3e3c36 100644 --- a/src/misc.h +++ b/src/misc.h @@ -35,6 +35,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #ifdef LIBSSH2_NO_CLEAR_MEMORY diff --git a/src/openssl.c b/src/openssl.c index c232d823..2dc2340c 100644 --- a/src/openssl.c +++ b/src/openssl.c @@ -35,6 +35,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #ifdef LIBSSH2_CRYPTO_C /* Compile this via crypto.c */ diff --git a/src/openssl.h b/src/openssl.h index ad7f84db..ad256a18 100644 --- a/src/openssl.h +++ b/src/openssl.h @@ -36,6 +36,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #define LIBSSH2_CRYPTO_ENGINE libssh2_openssl diff --git a/src/os400qc3.c b/src/os400qc3.c index 9c01413c..ce28cf60 100644 --- a/src/os400qc3.c +++ b/src/os400qc3.c @@ -35,6 +35,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #ifdef LIBSSH2_CRYPTO_C /* Compile this via crypto.c */ diff --git a/src/os400qc3.h b/src/os400qc3.h index e3d0172c..8280d9ce 100644 --- a/src/os400qc3.h +++ b/src/os400qc3.h @@ -37,6 +37,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #define LIBSSH2_CRYPTO_ENGINE libssh2_os400qc3 diff --git a/src/packet.c b/src/packet.c index 6619749c..e3ccf814 100644 --- a/src/packet.c +++ b/src/packet.c @@ -36,6 +36,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_priv.h" diff --git a/src/packet.h b/src/packet.h index 834a4e4d..55428d06 100644 --- a/src/packet.h +++ b/src/packet.h @@ -37,6 +37,7 @@ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. * + * SPDX-License-Identifier: BSD-3-Clause */ int _libssh2_packet_read(LIBSSH2_SESSION * session); diff --git a/src/pem.c b/src/pem.c index 866d6d0c..912498c5 100644 --- a/src/pem.c +++ b/src/pem.c @@ -34,6 +34,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_priv.h" diff --git a/src/publickey.c b/src/publickey.c index 2708471a..db45be99 100644 --- a/src/publickey.c +++ b/src/publickey.c @@ -34,6 +34,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_priv.h" diff --git a/src/scp.c b/src/scp.c index a13d7498..ff20a80a 100644 --- a/src/scp.c +++ b/src/scp.c @@ -34,6 +34,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_priv.h" diff --git a/src/session.c b/src/session.c index d4653ba7..4d9edc5c 100644 --- a/src/session.c +++ b/src/session.c @@ -35,6 +35,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_priv.h" diff --git a/src/session.h b/src/session.h index 1641676d..bfc9b545 100644 --- a/src/session.h +++ b/src/session.h @@ -37,6 +37,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ /* Conveniance-macros to allow code like this; diff --git a/src/sftp.c b/src/sftp.c index cc9799c1..16ee7b86 100644 --- a/src/sftp.c +++ b/src/sftp.c @@ -35,6 +35,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_priv.h" diff --git a/src/sftp.h b/src/sftp.h index 6a68f77e..647ddbc0 100644 --- a/src/sftp.h +++ b/src/sftp.h @@ -37,6 +37,7 @@ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. * + * SPDX-License-Identifier: BSD-3-Clause */ /* diff --git a/src/transport.c b/src/transport.c index 2553df9b..c73b859e 100644 --- a/src/transport.c +++ b/src/transport.c @@ -34,6 +34,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ /* diff --git a/src/transport.h b/src/transport.h index 3437c475..64482290 100644 --- a/src/transport.h +++ b/src/transport.h @@ -38,6 +38,8 @@ * OF SUCH DAMAGE. * * This file handles reading and writing to the SECSH transport layer. RFC4253. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_priv.h" diff --git a/src/userauth.c b/src/userauth.c index 4c870ec4..e7578759 100644 --- a/src/userauth.c +++ b/src/userauth.c @@ -35,6 +35,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_priv.h" diff --git a/src/userauth.h b/src/userauth.h index 015d682e..24f8037e 100644 --- a/src/userauth.h +++ b/src/userauth.h @@ -36,6 +36,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ int diff --git a/src/userauth_kbd_packet.c b/src/userauth_kbd_packet.c index a0724c5b..216048e2 100644 --- a/src/userauth_kbd_packet.c +++ b/src/userauth_kbd_packet.c @@ -33,6 +33,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_priv.h" diff --git a/src/userauth_kbd_packet.h b/src/userauth_kbd_packet.h index 2b64c176..bee34495 100644 --- a/src/userauth_kbd_packet.h +++ b/src/userauth_kbd_packet.h @@ -33,6 +33,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef __LIBSSH2_USERAUTH_KBD_PARSE_H diff --git a/src/version.c b/src/version.c index 94b76689..d32ae64a 100644 --- a/src/version.c +++ b/src/version.c @@ -34,6 +34,7 @@ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_priv.h" diff --git a/src/wincng.c b/src/wincng.c index 270c0638..a2a6d6e5 100644 --- a/src/wincng.c +++ b/src/wincng.c @@ -34,6 +34,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #ifdef LIBSSH2_CRYPTO_C /* Compile this via crypto.c */ diff --git a/src/wincng.h b/src/wincng.h index 531608e1..bf0e664a 100644 --- a/src/wincng.h +++ b/src/wincng.h @@ -36,6 +36,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #define LIBSSH2_CRYPTO_ENGINE libssh2_wincng diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index a7d1327c..e1235106 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -33,6 +33,8 @@ # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE # USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY # OF SUCH DAMAGE. +# +# SPDX-License-Identifier: BSD-3-Clause include(CopyRuntimeDependencies) diff --git a/tests/Makefile.am b/tests/Makefile.am index 03e70b87..20ed5bfa 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,3 +1,5 @@ +# Copyright (C) The libssh2 project and its contributors. +# SPDX-License-Identifier: BSD-3-Clause SUBDIRS = ossfuzz AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src -I$(top_srcdir)/include diff --git a/tests/Makefile.inc b/tests/Makefile.inc index 1c9c23fb..dccb1efa 100644 --- a/tests/Makefile.inc +++ b/tests/Makefile.inc @@ -1,3 +1,5 @@ +# Copyright (C) The libssh2 project and its contributors. +# SPDX-License-Identifier: BSD-3-Clause # Keep this list sorted # # NOTE: test_auth_keyboard_info_request does not use the network, but when diff --git a/tests/gen_keys.sh b/tests/gen_keys.sh index e07925ae..4feaa596 100755 --- a/tests/gen_keys.sh +++ b/tests/gen_keys.sh @@ -1,6 +1,7 @@ #!/bin/sh - +# # Copyright (C) Viktor Szakats +# SPDX-License-Identifier: BSD-3-Clause set -e set -u diff --git a/tests/mansyntax.sh b/tests/mansyntax.sh index 6991f473..093da36e 100755 --- a/tests/mansyntax.sh +++ b/tests/mansyntax.sh @@ -1,4 +1,6 @@ #!/bin/sh +# Copyright (C) The libssh2 project and its contributors. +# SPDX-License-Identifier: BSD-3-Clause set -e set -u diff --git a/tests/openssh_fixture.c b/tests/openssh_fixture.c index aae1fdda..bce9029d 100644 --- a/tests/openssh_fixture.c +++ b/tests/openssh_fixture.c @@ -33,6 +33,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "session_fixture.h" diff --git a/tests/openssh_fixture.h b/tests/openssh_fixture.h index 8363ad96..eb076a14 100644 --- a/tests/openssh_fixture.h +++ b/tests/openssh_fixture.h @@ -33,6 +33,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef LIBSSH2_TESTS_OPENSSH_FIXTURE_H diff --git a/tests/runner.c b/tests/runner.c index ec1596cc..84993979 100644 --- a/tests/runner.c +++ b/tests/runner.c @@ -33,6 +33,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "runner.h" diff --git a/tests/runner.h b/tests/runner.h index 6f43f7ae..926736b7 100644 --- a/tests/runner.h +++ b/tests/runner.h @@ -33,6 +33,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef LIBSSH2_TESTS_RUNNER_H diff --git a/tests/session_fixture.c b/tests/session_fixture.c index 5250bce7..752615d7 100644 --- a/tests/session_fixture.c +++ b/tests/session_fixture.c @@ -33,6 +33,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "session_fixture.h" diff --git a/tests/session_fixture.h b/tests/session_fixture.h index 91e29b7c..68226bb9 100644 --- a/tests/session_fixture.h +++ b/tests/session_fixture.h @@ -33,6 +33,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef LIBSSH2_TESTS_SESSION_FIXTURE_H diff --git a/tests/test_aa_warmup.c b/tests/test_aa_warmup.c index e6fe5a3f..7e8307d5 100644 --- a/tests/test_aa_warmup.c +++ b/tests/test_aa_warmup.c @@ -1,4 +1,7 @@ -/* Copyright (C) Viktor Szakats */ +/* Copyright (C) Viktor Szakats + * + * SPDX-License-Identifier: BSD-3-Clause + */ /* Warm-up test. Always return success. Workaround for CI/docker/etc flakiness on the first run. */ diff --git a/tests/test_agent_forward_ok.c b/tests/test_agent_forward_ok.c index acac8510..cc282c18 100644 --- a/tests/test_agent_forward_ok.c +++ b/tests/test_agent_forward_ok.c @@ -1,4 +1,7 @@ -/* Copyright (C) The libssh2 project and its contributors. */ +/* Copyright (C) The libssh2 project and its contributors. + * + * SPDX-License-Identifier: BSD-3-Clause + */ #include "runner.h" diff --git a/tests/test_auth_keyboard_fail.c b/tests/test_auth_keyboard_fail.c index a8f09ca2..7fc95df2 100644 --- a/tests/test_auth_keyboard_fail.c +++ b/tests/test_auth_keyboard_fail.c @@ -1,4 +1,7 @@ -/* Copyright (C) The libssh2 project and its contributors. */ +/* Copyright (C) The libssh2 project and its contributors. + * + * SPDX-License-Identifier: BSD-3-Clause + */ #include "runner.h" diff --git a/tests/test_auth_keyboard_info_request.c b/tests/test_auth_keyboard_info_request.c index 9a6f13cb..85099872 100644 --- a/tests/test_auth_keyboard_info_request.c +++ b/tests/test_auth_keyboard_info_request.c @@ -33,6 +33,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_priv.h" diff --git a/tests/test_auth_keyboard_ok.c b/tests/test_auth_keyboard_ok.c index 7b20265e..517f8bf6 100644 --- a/tests/test_auth_keyboard_ok.c +++ b/tests/test_auth_keyboard_ok.c @@ -1,4 +1,7 @@ -/* Copyright (C) The libssh2 project and its contributors. */ +/* Copyright (C) The libssh2 project and its contributors. + * + * SPDX-License-Identifier: BSD-3-Clause + */ #include "runner.h" diff --git a/tests/test_auth_password_fail_password.c b/tests/test_auth_password_fail_password.c index a436b3bc..4e08bb51 100644 --- a/tests/test_auth_password_fail_password.c +++ b/tests/test_auth_password_fail_password.c @@ -1,4 +1,7 @@ -/* Copyright (C) The libssh2 project and its contributors. */ +/* Copyright (C) The libssh2 project and its contributors. + * + * SPDX-License-Identifier: BSD-3-Clause + */ #include "runner.h" diff --git a/tests/test_auth_password_fail_username.c b/tests/test_auth_password_fail_username.c index 171027ef..99f65b53 100644 --- a/tests/test_auth_password_fail_username.c +++ b/tests/test_auth_password_fail_username.c @@ -1,4 +1,7 @@ -/* Copyright (C) The libssh2 project and its contributors. */ +/* Copyright (C) The libssh2 project and its contributors. + * + * SPDX-License-Identifier: BSD-3-Clause + */ #include "runner.h" diff --git a/tests/test_auth_password_ok.c b/tests/test_auth_password_ok.c index 3b26eb38..2ebc2e3b 100644 --- a/tests/test_auth_password_ok.c +++ b/tests/test_auth_password_ok.c @@ -1,4 +1,7 @@ -/* Copyright (C) The libssh2 project and its contributors. */ +/* Copyright (C) The libssh2 project and its contributors. + * + * SPDX-License-Identifier: BSD-3-Clause + */ #include "runner.h" diff --git a/tests/test_auth_pubkey_fail.c b/tests/test_auth_pubkey_fail.c index 39e5c4d6..3bf16577 100644 --- a/tests/test_auth_pubkey_fail.c +++ b/tests/test_auth_pubkey_fail.c @@ -1,4 +1,7 @@ -/* Copyright (C) The libssh2 project and its contributors. */ +/* Copyright (C) The libssh2 project and its contributors. + * + * SPDX-License-Identifier: BSD-3-Clause + */ #include "runner.h" diff --git a/tests/test_auth_pubkey_ok_dsa.c b/tests/test_auth_pubkey_ok_dsa.c index db7e2a22..983eaa88 100644 --- a/tests/test_auth_pubkey_ok_dsa.c +++ b/tests/test_auth_pubkey_ok_dsa.c @@ -1,4 +1,7 @@ -/* Copyright (C) The libssh2 project and its contributors. */ +/* Copyright (C) The libssh2 project and its contributors. + * + * SPDX-License-Identifier: BSD-3-Clause + */ #include "runner.h" diff --git a/tests/test_auth_pubkey_ok_ecdsa.c b/tests/test_auth_pubkey_ok_ecdsa.c index 23ab377c..681e0189 100644 --- a/tests/test_auth_pubkey_ok_ecdsa.c +++ b/tests/test_auth_pubkey_ok_ecdsa.c @@ -1,4 +1,7 @@ -/* Copyright (C) The libssh2 project and its contributors. */ +/* Copyright (C) The libssh2 project and its contributors. + * + * SPDX-License-Identifier: BSD-3-Clause + */ #include "runner.h" diff --git a/tests/test_auth_pubkey_ok_ecdsa_signed.c b/tests/test_auth_pubkey_ok_ecdsa_signed.c index 66bb0f22..6ac4f671 100644 --- a/tests/test_auth_pubkey_ok_ecdsa_signed.c +++ b/tests/test_auth_pubkey_ok_ecdsa_signed.c @@ -1,4 +1,7 @@ -/* Copyright (C) The libssh2 project and its contributors. */ +/* Copyright (C) The libssh2 project and its contributors. + * + * SPDX-License-Identifier: BSD-3-Clause + */ #include "runner.h" diff --git a/tests/test_auth_pubkey_ok_ed25519.c b/tests/test_auth_pubkey_ok_ed25519.c index f5a1f111..280ed702 100644 --- a/tests/test_auth_pubkey_ok_ed25519.c +++ b/tests/test_auth_pubkey_ok_ed25519.c @@ -1,4 +1,7 @@ -/* Copyright (C) The libssh2 project and its contributors. */ +/* Copyright (C) The libssh2 project and its contributors. + * + * SPDX-License-Identifier: BSD-3-Clause + */ #include "runner.h" diff --git a/tests/test_auth_pubkey_ok_ed25519_encrypted.c b/tests/test_auth_pubkey_ok_ed25519_encrypted.c index 83a1fc98..f6160f37 100644 --- a/tests/test_auth_pubkey_ok_ed25519_encrypted.c +++ b/tests/test_auth_pubkey_ok_ed25519_encrypted.c @@ -1,4 +1,7 @@ -/* Copyright (C) The libssh2 project and its contributors. */ +/* Copyright (C) The libssh2 project and its contributors. + * + * SPDX-License-Identifier: BSD-3-Clause + */ #include "runner.h" diff --git a/tests/test_auth_pubkey_ok_ed25519_mem.c b/tests/test_auth_pubkey_ok_ed25519_mem.c index 88e493d2..8274b073 100644 --- a/tests/test_auth_pubkey_ok_ed25519_mem.c +++ b/tests/test_auth_pubkey_ok_ed25519_mem.c @@ -1,4 +1,7 @@ -/* Copyright (C) The libssh2 project and its contributors. */ +/* Copyright (C) The libssh2 project and its contributors. + * + * SPDX-License-Identifier: BSD-3-Clause + */ #include "runner.h" diff --git a/tests/test_auth_pubkey_ok_rsa.c b/tests/test_auth_pubkey_ok_rsa.c index e9866553..25b24920 100644 --- a/tests/test_auth_pubkey_ok_rsa.c +++ b/tests/test_auth_pubkey_ok_rsa.c @@ -1,4 +1,7 @@ -/* Copyright (C) The libssh2 project and its contributors. */ +/* Copyright (C) The libssh2 project and its contributors. + * + * SPDX-License-Identifier: BSD-3-Clause + */ #include "runner.h" diff --git a/tests/test_auth_pubkey_ok_rsa_encrypted.c b/tests/test_auth_pubkey_ok_rsa_encrypted.c index 4e639537..d9d9243e 100644 --- a/tests/test_auth_pubkey_ok_rsa_encrypted.c +++ b/tests/test_auth_pubkey_ok_rsa_encrypted.c @@ -1,4 +1,7 @@ -/* Copyright (C) The libssh2 project and its contributors. */ +/* Copyright (C) The libssh2 project and its contributors. + * + * SPDX-License-Identifier: BSD-3-Clause + */ #include "runner.h" diff --git a/tests/test_auth_pubkey_ok_rsa_openssh.c b/tests/test_auth_pubkey_ok_rsa_openssh.c index 4462895f..2e78df1a 100644 --- a/tests/test_auth_pubkey_ok_rsa_openssh.c +++ b/tests/test_auth_pubkey_ok_rsa_openssh.c @@ -1,4 +1,7 @@ -/* Copyright (C) The libssh2 project and its contributors. */ +/* Copyright (C) The libssh2 project and its contributors. + * + * SPDX-License-Identifier: BSD-3-Clause + */ #include "runner.h" diff --git a/tests/test_auth_pubkey_ok_rsa_signed.c b/tests/test_auth_pubkey_ok_rsa_signed.c index 1f7bd44e..1956dd58 100644 --- a/tests/test_auth_pubkey_ok_rsa_signed.c +++ b/tests/test_auth_pubkey_ok_rsa_signed.c @@ -1,4 +1,7 @@ -/* Copyright (C) The libssh2 project and its contributors. */ +/* Copyright (C) The libssh2 project and its contributors. + * + * SPDX-License-Identifier: BSD-3-Clause + */ #include "runner.h" diff --git a/tests/test_hostkey.c b/tests/test_hostkey.c index 6ae30317..f54a275f 100644 --- a/tests/test_hostkey.c +++ b/tests/test_hostkey.c @@ -1,4 +1,7 @@ -/* Copyright (C) The libssh2 project and its contributors. */ +/* Copyright (C) The libssh2 project and its contributors. + * + * SPDX-License-Identifier: BSD-3-Clause + */ #include "runner.h" diff --git a/tests/test_hostkey_hash.c b/tests/test_hostkey_hash.c index b646af4f..578c024d 100644 --- a/tests/test_hostkey_hash.c +++ b/tests/test_hostkey_hash.c @@ -1,4 +1,7 @@ -/* Copyright (C) The libssh2 project and its contributors. */ +/* Copyright (C) The libssh2 project and its contributors. + * + * SPDX-License-Identifier: BSD-3-Clause + */ #include "runner.h" diff --git a/tests/test_read.c b/tests/test_read.c index 4b67ed4d..ac1a4a82 100644 --- a/tests/test_read.c +++ b/tests/test_read.c @@ -1,6 +1,8 @@ /* Copyright (C) The libssh2 project and its contributors. * * libssh2 test receiving large amounts of data through a channel + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "runner.h" diff --git a/tests/test_read_algos.test b/tests/test_read_algos.test index 9de7ec86..c283873c 100755 --- a/tests/test_read_algos.test +++ b/tests/test_read_algos.test @@ -1,6 +1,6 @@ #!/usr/bin/env bash - # Copyright (C) Viktor Szakats +# SPDX-License-Identifier: BSD-3-Clause set -e set -u diff --git a/tests/test_simple.c b/tests/test_simple.c index 3b9489c5..3ba04071 100644 --- a/tests/test_simple.c +++ b/tests/test_simple.c @@ -34,6 +34,8 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. + * + * SPDX-License-Identifier: BSD-3-Clause */ #include "libssh2_priv.h" diff --git a/tests/test_ssh2.c b/tests/test_ssh2.c index 3c622eea..50a50e9a 100644 --- a/tests/test_ssh2.c +++ b/tests/test_ssh2.c @@ -1,6 +1,9 @@ -/* Copyright (C) The libssh2 project and its contributors. */ - -/* Self test, based on example/ssh2.c. */ +/* Copyright (C) The libssh2 project and its contributors. + * + * SPDX-License-Identifier: BSD-3-Clause + * + * Self test, based on example/ssh2.c. + */ #include "libssh2_setup.h" #include diff --git a/tests/test_sshd.test b/tests/test_sshd.test index ccfede92..9d45c63c 100755 --- a/tests/test_sshd.test +++ b/tests/test_sshd.test @@ -1,7 +1,8 @@ #!/usr/bin/env bash - -# Written by Simon Josefsson and Viktor Szakats - +# Copyright (C) Simon Josefsson +# Copyright (C) Viktor Szakats +# SPDX-License-Identifier: BSD-3-Clause +# # Start sshd, invoke test(s), saving exit code, kill sshd, and # return exit code.