1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-07-31 00:03:08 +03:00

copyright: remove years from copyright headers

Also:
- uppercase `(C)`.
- add missing 'All rights reserved.' lines.
- drop duplicate 'Author' lines.
- add copyright headers where missing.
- enable copyright header check in checksrc.

Reasons for deleting years (copied as-is from curl):
- they are mostly pointless in all major jurisdictions
- many big corporations and projects already don't use them
- saves us from pointless churn
- git keeps history for us
- the year range is kept in COPYING

Closes #1082
This commit is contained in:
Viktor Szakats
2023-06-04 02:09:41 +00:00
parent 43df6a46b1
commit 187d89bb07
159 changed files with 280 additions and 207 deletions

View File

@ -1,5 +1,5 @@
# Copyright (c) 2014, 2015 Alexander Lamaison <alexander.lamaison@gmail.com>
# Copyright (c) 2023 Viktor Szakats
# Copyright (C) Alexander Lamaison <alexander.lamaison@gmail.com>
# Copyright (C) Viktor Szakats
#
# Redistribution and use in source and binary forms,
# with or without modification, are permitted provided

View File

@ -1,3 +1,5 @@
/* Copyright (C) The libssh2 project and its contributors. */
#include "libssh2_setup.h"
#include <libssh2.h>

View File

@ -1,4 +1,5 @@
/*
/* Copyright (C) The libssh2 project and its contributors.
*
* Sample showing how to do a simple SCP transfer.
*/

View File

@ -1,4 +1,5 @@
/*
/* Copyright (C) The libssh2 project and its contributors.
*
* Sample showing how to do SCP transfers in a non-blocking manner.
*
* The sample code has default values for host name, user name, password

View File

@ -1,4 +1,5 @@
/*
/* Copyright (C) The libssh2 project and its contributors.
*
* Sample showing how to do an SCP upload.
*/

View File

@ -1,4 +1,5 @@
/*
/* Copyright (C) The libssh2 project and its contributors.
*
* Sample showing how to do an SCP non-blocking upload transfer.
*/

View File

@ -1,4 +1,5 @@
/*
/* Copyright (C) The libssh2 project and its contributors.
*
* Sample showing how to do SFTP transfers.
*
* The sample code has default values for host name, user name, password

View File

@ -1,4 +1,5 @@
/*
/* Copyright (C) The libssh2 project and its contributors.
*
* Sample showing how to do SFTP transfers in a non-blocking manner.
*
* It will first download a given source file, store it locally and then

View File

@ -1,4 +1,5 @@
/*
/* Copyright (C) The libssh2 project and its contributors.
*
* Sample showing how to do SFTP append of a local file onto a remote one.
*
* The sample code has default values for host name, user name, password

View File

@ -1,4 +1,5 @@
/*
/* Copyright (C) The libssh2 project and its contributors.
*
* Sample showing how to do SFTP mkdir
*
* The sample code has default values for host name, user name, password

View File

@ -1,4 +1,5 @@
/*
/* Copyright (C) The libssh2 project and its contributors.
*
* Sample showing how to do SFTP non-blocking mkdir.
*
* The sample code has default values for host name, user name, password

View File

@ -1,4 +1,5 @@
/*
/* Copyright (C) The libssh2 project and its contributors.
*
* Sample showing how to do SFTP non-blocking transfers.
*
* The sample code has default values for host name, user name, password

View File

@ -1,4 +1,5 @@
/*
/* Copyright (C) The libssh2 project and its contributors.
*
* Sample showing how to do SFTP write transfers.
*
* The sample code has default values for host name, user name, password

View File

@ -1,4 +1,5 @@
/*
/* Copyright (C) The libssh2 project and its contributors.
*
* Sample showing how to do SFTP non-blocking write transfers.
*
* The sample code has default values for host name, user name, password

View File

@ -1,4 +1,5 @@
/*
/* Copyright (C) The libssh2 project and its contributors.
*
* Sample showing how to do SFTP non-blocking write transfers.
*
* The sample code has default values for host name, user name, password

View File

@ -1,4 +1,5 @@
/*
/* Copyright (C) The libssh2 project and its contributors.
*
* Sample doing an SFTP directory listing.
*
* The sample code has default values for host name, user name, password and

View File

@ -1,4 +1,5 @@
/*
/* Copyright (C) The libssh2 project and its contributors.
*
* Sample doing an SFTP directory listing.
*
* The sample code has default values for host name, user name, password and

View File

@ -1,4 +1,5 @@
/*
/* Copyright (C) The libssh2 project and its contributors.
*
* Sample showing how to do SSH2 connect.
*
* The sample code has default values for host name, user name, password

View File

@ -1,4 +1,5 @@
/*
/* Copyright (C) The libssh2 project and its contributors.
*
* Sample showing how to do SSH2 connect using ssh-agent.
*
* The sample code has default values for host name, user name:

View File

@ -1,4 +1,5 @@
/*
/* Copyright (C) The libssh2 project and its contributors.
*
* Sample showing how to use libssh2 to request agent forwarding
* on the remote host. The command executed will run with agent forwarded
* so you should be able to do things like clone out protected git

View File

@ -1,4 +1,5 @@
/*
/* Copyright (C) The libssh2 project and its contributors.
*
* The code sends a 'cat' command, and then writes a lot of data to it only to
* check that reading the returned data sums up to the same amount.
*

View File

@ -1,4 +1,5 @@
/*
/* Copyright (C) The libssh2 project and its contributors.
*
* Sample showing how to use libssh2 to execute a command remotely.
*
* The sample code has fixed values for host name, user name, password

View File

@ -1,3 +1,5 @@
/* Copyright (C) The libssh2 project and its contributors. */
#include "libssh2_setup.h"
#include <libssh2.h>

View File

@ -1,3 +1,5 @@
/* Copyright (C) The libssh2 project and its contributors. */
#include "libssh2_setup.h"
#include <libssh2.h>

View File

@ -1,4 +1,5 @@
/*
/* Copyright (C) The libssh2 project and its contributors.
*
* Sample showing how to makes SSH2 with X11 Forwarding works.
*
* $ ./x11 host user password [DEBUG]