mirror of
https://github.com/libssh2/libssh2.git
synced 2025-11-02 10:53:16 +03:00
REUSE: add copyright headers to more files, and .gitignore updates
Also: - rename a spellcheck file to match curl. - editorconfig: fix line width. - editorconfig: make it use UTF-8. - editroconfig: apply some rules to all files. - .gitignore: drop dupe, drop `.DS_Store` (not created by this repo), sort. - .gitignore: add for tests executables. Closes #1718
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
# Copyright (C) The libssh2 project and its contributors.
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
root = true
|
||||
|
||||
[*.{c, h}]
|
||||
end_of_line = lf
|
||||
[*]
|
||||
charset = utf-8
|
||||
insert_final_newline = true
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
trim_trailing_whitespace = true
|
||||
max_line_length = 80
|
||||
|
||||
[*.{c,h}]
|
||||
indent_size = 4
|
||||
max_line_length = 79
|
||||
|
||||
6
.github/SECURITY.md
vendored
6
.github/SECURITY.md
vendored
@@ -1,3 +1,9 @@
|
||||
<!--
|
||||
Copyright (C) The libssh2 project and its contributors.
|
||||
|
||||
SPDX-License-Identifier: BSD-3-Clause
|
||||
-->
|
||||
|
||||
# Security Policy
|
||||
|
||||
See [SECURITY.md](https://github.com/libssh2/libssh2/blob/master/docs/SECURITY.md) for full details.
|
||||
|
||||
63
.gitignore
vendored
63
.gitignore
vendored
@@ -1,50 +1,51 @@
|
||||
# Copyright (C) The libssh2 project and its contributors.
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
.deps
|
||||
.libs
|
||||
*.a
|
||||
*.lib
|
||||
*.pdb
|
||||
*.dll
|
||||
*.def
|
||||
*.exe
|
||||
*.obj
|
||||
*.gcno
|
||||
*.gcda
|
||||
.*.swp
|
||||
*-*-*
|
||||
Debug
|
||||
Release
|
||||
*.a
|
||||
*.def
|
||||
*.dll
|
||||
*.exe
|
||||
*.exp
|
||||
Makefile
|
||||
Makefile.in
|
||||
Makefile.inc.cmake
|
||||
stamp-h*
|
||||
*.gcda
|
||||
*.gcno
|
||||
*.la
|
||||
*.lib
|
||||
*.lo
|
||||
*.o
|
||||
*.obj
|
||||
*.pdb
|
||||
*~
|
||||
aclocal.m4
|
||||
autom4te.cache
|
||||
build
|
||||
compile
|
||||
test-driver
|
||||
config.guess
|
||||
config.log
|
||||
config.status
|
||||
config.sub
|
||||
configure
|
||||
Debug
|
||||
depcomp
|
||||
libtool
|
||||
ltmain.sh
|
||||
missing
|
||||
tap-driver.sh
|
||||
test-driver
|
||||
install-sh
|
||||
libssh2-*.tar.bz2
|
||||
libssh2-*.tar.gz
|
||||
libssh2-*.tar.xz
|
||||
libssh2-*.zip
|
||||
install-sh
|
||||
*.o
|
||||
*.lo
|
||||
*.la
|
||||
mkinstalldirs
|
||||
tags
|
||||
libssh2.pc
|
||||
libtool
|
||||
ltmain.sh
|
||||
Makefile
|
||||
Makefile.in
|
||||
Makefile.inc.cmake
|
||||
missing
|
||||
mkinstalldirs
|
||||
Release
|
||||
stamp-h*
|
||||
tags
|
||||
TAGS
|
||||
*~
|
||||
.DS_Store
|
||||
build
|
||||
tap-driver.sh
|
||||
test-driver
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
<!--
|
||||
Copyright (C) The libssh2 project and its contributors.
|
||||
|
||||
SPDX-License-Identifier: BSD-3-Clause
|
||||
-->
|
||||
|
||||
# libssh2 - SSH2 library
|
||||
|
||||
libssh2 is a library implementing the SSH2 protocol, available under
|
||||
|
||||
21
REUSE.toml
21
REUSE.toml
@@ -15,40 +15,19 @@ SPDX-PackageDownloadLocation = "https://libssh2.org/"
|
||||
[[annotations]]
|
||||
path = [
|
||||
".github/ISSUE_TEMPLATE/bug_report.md",
|
||||
".github/SECURITY.md",
|
||||
"NEWS",
|
||||
"README",
|
||||
"README.md",
|
||||
"RELEASE-NOTES",
|
||||
"ci/spellcheck-words.txt",
|
||||
"docs/AUTHORS",
|
||||
"docs/BINDINGS.md",
|
||||
"docs/HACKING-CRYPTO",
|
||||
"docs/HACKING.md",
|
||||
"docs/INSTALL_CMAKE.md",
|
||||
"docs/SECURITY.md",
|
||||
"docs/TODO",
|
||||
"os400/README400",
|
||||
"tests/key_*",
|
||||
"tests/openssh_server/.gitattributes",
|
||||
"tests/openssh_server/authorized_keys",
|
||||
"tests/openssh_server/ca_*",
|
||||
"tests/openssh_server/ssh_*",
|
||||
"tests/openssh_server/sshd_config",
|
||||
"tests/test_read_algos.txt",
|
||||
"vms/libssh2_config.h",
|
||||
"vms/libssh2_*.dcl",
|
||||
"vms/man2help.c",
|
||||
"vms/readme.vms",
|
||||
# dotfiles
|
||||
".editorconfig",
|
||||
".gitignore",
|
||||
"docs/.gitignore",
|
||||
"example/.gitignore",
|
||||
"m4/.gitignore",
|
||||
"src/.gitignore",
|
||||
"tests/.gitignore",
|
||||
"tests/ossfuzz/.gitignore",
|
||||
]
|
||||
SPDX-FileCopyrightText = "The libssh2 project and its contributors."
|
||||
SPDX-License-Identifier = "BSD-3-Clause"
|
||||
|
||||
6
ci/codespell-ignore.words
Normal file
6
ci/codespell-ignore.words
Normal file
@@ -0,0 +1,6 @@
|
||||
# Copyright (C) The libssh2 project and its contributors.
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
gord
|
||||
pase
|
||||
nam
|
||||
@@ -1,3 +0,0 @@
|
||||
gord
|
||||
pase
|
||||
nam
|
||||
@@ -8,5 +8,5 @@ cd "$(dirname "$0")"/..
|
||||
|
||||
# shellcheck disable=SC2046
|
||||
codespell --skip='docs/AUTHORS' \
|
||||
--ignore-words='ci/spellcheck-words.txt' \
|
||||
--ignore-words='ci/codespell-ignore.words' \
|
||||
$(git ls-files)
|
||||
|
||||
4
docs/.gitignore
vendored
4
docs/.gitignore
vendored
@@ -1 +1,5 @@
|
||||
# Copyright (C) The libssh2 project and its contributors.
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
coverage
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
<!--
|
||||
Copyright (C) The libssh2 project and its contributors.
|
||||
|
||||
SPDX-License-Identifier: BSD-3-Clause
|
||||
-->
|
||||
|
||||
libssh2 bindings
|
||||
================
|
||||
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
<!--
|
||||
Copyright (C) The libssh2 project and its contributors.
|
||||
|
||||
SPDX-License-Identifier: BSD-3-Clause
|
||||
-->
|
||||
|
||||
# libssh2 source code style guide
|
||||
|
||||
- 4 level indent
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
<!--
|
||||
Copyright (C) The libssh2 project and its contributors.
|
||||
|
||||
SPDX-License-Identifier: BSD-3-Clause
|
||||
-->
|
||||
|
||||
License: see COPYING
|
||||
|
||||
Source code: https://github.com/libssh2/libssh2
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
<!--
|
||||
Copyright (C) The libssh2 project and its contributors.
|
||||
|
||||
SPDX-License-Identifier: BSD-3-Clause
|
||||
-->
|
||||
|
||||
libssh2 security
|
||||
================
|
||||
|
||||
|
||||
4
example/.gitignore
vendored
4
example/.gitignore
vendored
@@ -1,3 +1,7 @@
|
||||
# Copyright (C) The libssh2 project and its contributors.
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
direct_tcpip
|
||||
scp
|
||||
scp_nonblock
|
||||
|
||||
4
m4/.gitignore
vendored
4
m4/.gitignore
vendored
@@ -1,3 +1,7 @@
|
||||
# Copyright (C) The libssh2 project and its contributors.
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
libtool.m4
|
||||
ltoptions.m4
|
||||
ltsugar.m4
|
||||
|
||||
4
src/.gitignore
vendored
4
src/.gitignore
vendored
@@ -1,3 +1,7 @@
|
||||
# Copyright (C) The libssh2 project and its contributors.
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
libssh2.pc
|
||||
libssh2_config.h
|
||||
libssh2_config.h.in
|
||||
|
||||
32
tests/.gitignore
vendored
Normal file
32
tests/.gitignore
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright (C) The libssh2 project and its contributors.
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
test_aa_warmup
|
||||
test_agent_forward_ok
|
||||
test_auth_keyboard_fail
|
||||
test_auth_keyboard_info_request
|
||||
test_auth_keyboard_ok
|
||||
test_auth_password_fail_password
|
||||
test_auth_password_fail_username
|
||||
test_auth_password_ok
|
||||
test_auth_pubkey_fail
|
||||
test_auth_pubkey_fail-pat1
|
||||
test_auth_pubkey_fail-pat2
|
||||
test_auth_pubkey_ok_dsa
|
||||
test_auth_pubkey_ok_ecdsa
|
||||
test_auth_pubkey_ok_ecdsa_signed
|
||||
test_auth_pubkey_ok_ed25519
|
||||
test_auth_pubkey_ok_ed25519_encrypted
|
||||
test_auth_pubkey_ok_ed25519_mem
|
||||
test_auth_pubkey_ok_rsa
|
||||
test_auth_pubkey_ok_rsa_aes256gcm
|
||||
test_auth_pubkey_ok_rsa_encrypted
|
||||
test_auth_pubkey_ok_rsa_openssh
|
||||
test_auth_pubkey_ok_rsa_sha2_256_signed
|
||||
test_auth_pubkey_ok_rsa_signed
|
||||
test_hostkey
|
||||
test_hostkey_hash
|
||||
test_read
|
||||
test_simple
|
||||
test_ssh2
|
||||
4
tests/openssh_server/.gitattributes
vendored
4
tests/openssh_server/.gitattributes
vendored
@@ -1,3 +1,7 @@
|
||||
# Copyright (C) The libssh2 project and its contributors.
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# OpenSSH requires LF EOLs in key files, even on Windows, where
|
||||
# a git checkout may set CRLF EOLs by default.
|
||||
* text eol=lf
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
# Copyright (C) The libssh2 project and its contributors.
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
HostKeyAlgorithms +ssh-rsa
|
||||
PubkeyAcceptedKeyTypes +ssh-rsa,ssh-rsa-cert-v01@openssh.com
|
||||
MACs +hmac-sha1,hmac-sha1-96,hmac-sha2-256,hmac-sha2-512,hmac-md5,hmac-md5-96,umac-64@openssh.com,umac-128@openssh.com,hmac-sha1-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-md5-etm@openssh.com,hmac-md5-96-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com
|
||||
|
||||
4
tests/ossfuzz/.gitignore
vendored
4
tests/ossfuzz/.gitignore
vendored
@@ -1 +1,5 @@
|
||||
# Copyright (C) The libssh2 project and its contributors.
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
ssh2_client_fuzzer
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
$! Copyright (C) The libssh2 project and its contributors.
|
||||
$!
|
||||
$! SPDX-License-Identifier: BSD-3-Clause
|
||||
$!
|
||||
$!
|
||||
$ olddir = f$environment("default")
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
$! Copyright (C) The libssh2 project and its contributors.
|
||||
$!
|
||||
$! SPDX-License-Identifier: BSD-3-Clause
|
||||
$!
|
||||
$!
|
||||
$ olddir = f$environment( "default" )
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
$! Copyright (C) The libssh2 project and its contributors.
|
||||
$!
|
||||
$! SPDX-License-Identifier: BSD-3-Clause
|
||||
$!
|
||||
$!
|
||||
$ olddir = f$environment("default")
|
||||
$ on error then goto End
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
$! Copyright (C) The libssh2 project and its contributors.
|
||||
$!
|
||||
$! SPDX-License-Identifier: BSD-3-Clause
|
||||
$!
|
||||
$!
|
||||
$ olddir = f$environment("default")
|
||||
|
||||
Reference in New Issue
Block a user