Skip to content

Commit 9a8b3b3

Browse files
committed
copyright: fix out-of-date copyright ranges and missing headers
Reported by the new script 'scripts/copyright.pl'. The script has a regex whitelist for the files that don't need copyright headers. Removed three (mostly usesless) README files from docs/ Closes curl#5141
1 parent 18c7084 commit 9a8b3b3

File tree

353 files changed

+2240
-356
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

353 files changed

+2240
-356
lines changed

.azure-pipelines.yml

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
#***************************************************************************
2+
# _ _ ____ _
3+
# Project ___| | | | _ \| |
4+
# / __| | | | |_) | |
5+
# | (__| |_| | _ <| |___
6+
# \___|\___/|_| \_\_____|
7+
#
8+
# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
9+
#
10+
# This software is licensed as described in the file COPYING, which
11+
# you should have received as part of this distribution. The terms
12+
# are also available at https://curl.haxx.se/docs/copyright.html.
13+
#
14+
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
15+
# copies of the Software, and permit persons to whom the Software is
16+
# furnished to do so, under the terms of the COPYING file.
17+
#
18+
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19+
# KIND, either express or implied.
20+
#
21+
###########################################################################
122
# Starter pipeline
223
# Start with a minimal pipeline that you can customize to build and deploy your code.
324
# Add steps that build, run tests, deploy, and more:

.cirrus.yml

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
#***************************************************************************
2+
# _ _ ____ _
3+
# Project ___| | | | _ \| |
4+
# / __| | | | |_) | |
5+
# | (__| |_| | _ <| |___
6+
# \___|\___/|_| \_\_____|
7+
#
8+
# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
9+
#
10+
# This software is licensed as described in the file COPYING, which
11+
# you should have received as part of this distribution. The terms
12+
# are also available at https://curl.haxx.se/docs/copyright.html.
13+
#
14+
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
15+
# copies of the Software, and permit persons to whom the Software is
16+
# furnished to do so, under the terms of the COPYING file.
17+
#
18+
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19+
# KIND, either express or implied.
20+
#
21+
###########################################################################
122
# Cirrus CI configuration
223
# https://cirrus-ci.com/github/curl/curl
324

.dir-locals.el

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
;;;***************************************************************************
2+
;;; _ _ ____ _
3+
;;; Project ___| | | | _ \| |
4+
;;; / __| | | | |_) | |
5+
;;; | (__| |_| | _ <| |___
6+
;;; \___|\___/|_| \_\_____|
7+
;;;
8+
;;; Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
9+
;;;
10+
;;; This software is licensed as described in the file COPYING, which
11+
;;; you should have received as part of this distribution. The terms
12+
;;; are also available at https://curl.haxx.se/docs/copyright.html.
13+
;;;
14+
;;; You may opt to use, copy, modify, merge, publish, distribute and/or sell
15+
;;; copies of the Software, and permit persons to whom the Software is
16+
;;; furnished to do so, under the terms of the COPYING file.
17+
;;;
18+
;;; This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19+
;;; KIND, either express or implied.
20+
;;;
21+
;;;***************************************************************************
122
;;; Directory Local Variables
223
;;; See Info node `(emacs) Directory Variables' for more information.
324

.lgtm.yml

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
#***************************************************************************
2+
# _ _ ____ _
3+
# Project ___| | | | _ \| |
4+
# / __| | | | |_) | |
5+
# | (__| |_| | _ <| |___
6+
# \___|\___/|_| \_\_____|
7+
#
8+
# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
9+
#
10+
# This software is licensed as described in the file COPYING, which
11+
# you should have received as part of this distribution. The terms
12+
# are also available at https://curl.haxx.se/docs/copyright.html.
13+
#
14+
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
15+
# copies of the Software, and permit persons to whom the Software is
16+
# furnished to do so, under the terms of the COPYING file.
17+
#
18+
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19+
# KIND, either express or implied.
20+
#
21+
###########################################################################
122
extraction:
223
cpp:
324
prepare:

.travis.yml

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
#***************************************************************************
2+
# _ _ ____ _
3+
# Project ___| | | | _ \| |
4+
# / __| | | | |_) | |
5+
# | (__| |_| | _ <| |___
6+
# \___|\___/|_| \_\_____|
7+
#
8+
# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
9+
#
10+
# This software is licensed as described in the file COPYING, which
11+
# you should have received as part of this distribution. The terms
12+
# are also available at https://curl.haxx.se/docs/copyright.html.
13+
#
14+
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
15+
# copies of the Software, and permit persons to whom the Software is
16+
# furnished to do so, under the terms of the COPYING file.
17+
#
18+
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19+
# KIND, either express or implied.
20+
#
21+
###########################################################################
122
language: c
223
sudo: required
324
cache:

CMake/CMakeConfigurableFile.in

+21
Original file line numberDiff line numberDiff line change
@@ -1 +1,22 @@
1+
#***************************************************************************
2+
# _ _ ____ _
3+
# Project ___| | | | _ \| |
4+
# / __| | | | |_) | |
5+
# | (__| |_| | _ <| |___
6+
# \___|\___/|_| \_\_____|
7+
#
8+
# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
9+
#
10+
# This software is licensed as described in the file COPYING, which
11+
# you should have received as part of this distribution. The terms
12+
# are also available at https://curl.haxx.se/docs/copyright.html.
13+
#
14+
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
15+
# copies of the Software, and permit persons to whom the Software is
16+
# furnished to do so, under the terms of the COPYING file.
17+
#
18+
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19+
# KIND, either express or implied.
20+
#
21+
###########################################################################
122
@CMAKE_CONFIGURABLE_FILE_CONTENT@

CMake/CurlSymbolHiding.cmake

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
#***************************************************************************
2+
# _ _ ____ _
3+
# Project ___| | | | _ \| |
4+
# / __| | | | |_) | |
5+
# | (__| |_| | _ <| |___
6+
# \___|\___/|_| \_\_____|
7+
#
8+
# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
9+
#
10+
# This software is licensed as described in the file COPYING, which
11+
# you should have received as part of this distribution. The terms
12+
# are also available at https://curl.haxx.se/docs/copyright.html.
13+
#
14+
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
15+
# copies of the Software, and permit persons to whom the Software is
16+
# furnished to do so, under the terms of the COPYING file.
17+
#
18+
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19+
# KIND, either express or implied.
20+
#
21+
###########################################################################
122
include(CheckCSourceCompiles)
223

324
option(CURL_HIDDEN_SYMBOLS "Set to ON to hide libcurl internal symbols (=hide all symbols that aren't officially external)." ON)

CMake/FindBearSSL.cmake

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
#***************************************************************************
2+
# _ _ ____ _
3+
# Project ___| | | | _ \| |
4+
# / __| | | | |_) | |
5+
# | (__| |_| | _ <| |___
6+
# \___|\___/|_| \_\_____|
7+
#
8+
# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
9+
#
10+
# This software is licensed as described in the file COPYING, which
11+
# you should have received as part of this distribution. The terms
12+
# are also available at https://curl.haxx.se/docs/copyright.html.
13+
#
14+
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
15+
# copies of the Software, and permit persons to whom the Software is
16+
# furnished to do so, under the terms of the COPYING file.
17+
#
18+
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19+
# KIND, either express or implied.
20+
#
21+
###########################################################################
122
find_path(BEARSSL_INCLUDE_DIRS bearssl.h)
223

324
find_library(BEARSSL_LIBRARY bearssl)

CMake/FindBrotli.cmake

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
#***************************************************************************
2+
# _ _ ____ _
3+
# Project ___| | | | _ \| |
4+
# / __| | | | |_) | |
5+
# | (__| |_| | _ <| |___
6+
# \___|\___/|_| \_\_____|
7+
#
8+
# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
9+
#
10+
# This software is licensed as described in the file COPYING, which
11+
# you should have received as part of this distribution. The terms
12+
# are also available at https://curl.haxx.se/docs/copyright.html.
13+
#
14+
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
15+
# copies of the Software, and permit persons to whom the Software is
16+
# furnished to do so, under the terms of the COPYING file.
17+
#
18+
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19+
# KIND, either express or implied.
20+
#
21+
###########################################################################
122
include(FindPackageHandleStandardArgs)
223

324
find_path(BROTLI_INCLUDE_DIR "brotli/decode.h")

CMake/FindCARES.cmake

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
#***************************************************************************
2+
# _ _ ____ _
3+
# Project ___| | | | _ \| |
4+
# / __| | | | |_) | |
5+
# | (__| |_| | _ <| |___
6+
# \___|\___/|_| \_\_____|
7+
#
8+
# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
9+
#
10+
# This software is licensed as described in the file COPYING, which
11+
# you should have received as part of this distribution. The terms
12+
# are also available at https://curl.haxx.se/docs/copyright.html.
13+
#
14+
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
15+
# copies of the Software, and permit persons to whom the Software is
16+
# furnished to do so, under the terms of the COPYING file.
17+
#
18+
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19+
# KIND, either express or implied.
20+
#
21+
###########################################################################
122
# - Find c-ares
223
# Find the c-ares includes and library
324
# This module defines

CMake/FindGSS.cmake

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
#***************************************************************************
2+
# _ _ ____ _
3+
# Project ___| | | | _ \| |
4+
# / __| | | | |_) | |
5+
# | (__| |_| | _ <| |___
6+
# \___|\___/|_| \_\_____|
7+
#
8+
# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
9+
#
10+
# This software is licensed as described in the file COPYING, which
11+
# you should have received as part of this distribution. The terms
12+
# are also available at https://curl.haxx.se/docs/copyright.html.
13+
#
14+
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
15+
# copies of the Software, and permit persons to whom the Software is
16+
# furnished to do so, under the terms of the COPYING file.
17+
#
18+
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19+
# KIND, either express or implied.
20+
#
21+
###########################################################################
122
# - Try to find the GSS Kerberos library
223
# Once done this will define
324
#

CMake/FindLibSSH2.cmake

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
#***************************************************************************
2+
# _ _ ____ _
3+
# Project ___| | | | _ \| |
4+
# / __| | | | |_) | |
5+
# | (__| |_| | _ <| |___
6+
# \___|\___/|_| \_\_____|
7+
#
8+
# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
9+
#
10+
# This software is licensed as described in the file COPYING, which
11+
# you should have received as part of this distribution. The terms
12+
# are also available at https://curl.haxx.se/docs/copyright.html.
13+
#
14+
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
15+
# copies of the Software, and permit persons to whom the Software is
16+
# furnished to do so, under the terms of the COPYING file.
17+
#
18+
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19+
# KIND, either express or implied.
20+
#
21+
###########################################################################
122
# - Try to find the libssh2 library
223
# Once done this will define
324
#

CMake/FindMbedTLS.cmake

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
#***************************************************************************
2+
# _ _ ____ _
3+
# Project ___| | | | _ \| |
4+
# / __| | | | |_) | |
5+
# | (__| |_| | _ <| |___
6+
# \___|\___/|_| \_\_____|
7+
#
8+
# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
9+
#
10+
# This software is licensed as described in the file COPYING, which
11+
# you should have received as part of this distribution. The terms
12+
# are also available at https://curl.haxx.se/docs/copyright.html.
13+
#
14+
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
15+
# copies of the Software, and permit persons to whom the Software is
16+
# furnished to do so, under the terms of the COPYING file.
17+
#
18+
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19+
# KIND, either express or implied.
20+
#
21+
###########################################################################
122
find_path(MBEDTLS_INCLUDE_DIRS mbedtls/ssl.h)
223

324
find_library(MBEDTLS_LIBRARY mbedtls)

CMake/FindNGHTTP2.cmake

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
#***************************************************************************
2+
# _ _ ____ _
3+
# Project ___| | | | _ \| |
4+
# / __| | | | |_) | |
5+
# | (__| |_| | _ <| |___
6+
# \___|\___/|_| \_\_____|
7+
#
8+
# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
9+
#
10+
# This software is licensed as described in the file COPYING, which
11+
# you should have received as part of this distribution. The terms
12+
# are also available at https://curl.haxx.se/docs/copyright.html.
13+
#
14+
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
15+
# copies of the Software, and permit persons to whom the Software is
16+
# furnished to do so, under the terms of the COPYING file.
17+
#
18+
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19+
# KIND, either express or implied.
20+
#
21+
###########################################################################
122
include(FindPackageHandleStandardArgs)
223

324
find_path(NGHTTP2_INCLUDE_DIR "nghttp2/nghttp2.h")

CMake/FindNSS.cmake

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
#***************************************************************************
2+
# _ _ ____ _
3+
# Project ___| | | | _ \| |
4+
# / __| | | | |_) | |
5+
# | (__| |_| | _ <| |___
6+
# \___|\___/|_| \_\_____|
7+
#
8+
# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
9+
#
10+
# This software is licensed as described in the file COPYING, which
11+
# you should have received as part of this distribution. The terms
12+
# are also available at https://curl.haxx.se/docs/copyright.html.
13+
#
14+
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
15+
# copies of the Software, and permit persons to whom the Software is
16+
# furnished to do so, under the terms of the COPYING file.
17+
#
18+
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19+
# KIND, either express or implied.
20+
#
21+
###########################################################################
122
if(UNIX)
223
find_package(PkgConfig QUIET)
324
pkg_search_module(PC_NSS nss)

CMake/FindWolfSSL.cmake

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
#***************************************************************************
2+
# _ _ ____ _
3+
# Project ___| | | | _ \| |
4+
# / __| | | | |_) | |
5+
# | (__| |_| | _ <| |___
6+
# \___|\___/|_| \_\_____|
7+
#
8+
# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
9+
#
10+
# This software is licensed as described in the file COPYING, which
11+
# you should have received as part of this distribution. The terms
12+
# are also available at https://curl.haxx.se/docs/copyright.html.
13+
#
14+
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
15+
# copies of the Software, and permit persons to whom the Software is
16+
# furnished to do so, under the terms of the COPYING file.
17+
#
18+
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19+
# KIND, either express or implied.
20+
#
21+
###########################################################################
122
find_path(WolfSSL_INCLUDE_DIR NAMES wolfssl/ssl.h)
223
find_library(WolfSSL_LIBRARY NAMES wolfssl)
324
mark_as_advanced(WolfSSL_INCLUDE_DIR WolfSSL_LIBRARY)

0 commit comments

Comments
 (0)