Skip to content

Commit

Permalink
copyright: make repository REUSE compliant
Browse files Browse the repository at this point in the history
Add licensing and copyright information for all files in this repository. This
either happens in the file itself as a comment header or in the file
`.reuse/dep5`.

This commit also adds a Github workflow to check pull requests and adapts
copyright.pl to the changes.

Closes #8869
  • Loading branch information
mxmehl authored and bagder committed Jun 13, 2022
1 parent 9651198 commit ad9bc59
Show file tree
Hide file tree
Showing 1,570 changed files with 4,852 additions and 1,132 deletions.
2 changes: 2 additions & 0 deletions .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
# KIND, either express or implied.
#
# SPDX-License-Identifier: curl
#
###########################################################################
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
Expand Down
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
# KIND, either express or implied.
#
# SPDX-License-Identifier: curl
#
###########################################################################

# View these jobs in the browser: https://app.circleci.com/pipelines/github/curl/curl
Expand Down
2 changes: 2 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
# KIND, either express or implied.
#
# SPDX-License-Identifier: curl
#
###########################################################################
# Cirrus CI configuration
# https://cirrus-ci.com/github/curl/curl
Expand Down
4 changes: 4 additions & 0 deletions .dcignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
#
# SPDX-License-Identifier: curl

tests/**
docs/**
docs/examples/**
4 changes: 3 additions & 1 deletion .dir-locals.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
;;; | (__| |_| | _ <| |___
;;; \___|\___/|_| \_\_____|
;;;
;;; Copyright (C) 1998 - 2020, Daniel Stenberg, <[email protected]>, et al.
;;; Copyright (C) 1998 - 2022, Daniel Stenberg, <[email protected]>, et al.
;;;
;;; This software is licensed as described in the file COPYING, which
;;; you should have received as part of this distribution. The terms
Expand All @@ -18,6 +18,8 @@
;;; This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
;;; KIND, either express or implied.
;;;
;;; SPDX-License-Identifier: curl
;;;
;;;***************************************************************************
;;; Directory Local Variables
;;; See Info node `(emacs) Directory Variables' for more information.
Expand Down
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
#
# SPDX-License-Identifier: curl

*.dsw -crlf
buildconf eol=lf
configure.ac eol=lf
Expand Down
6 changes: 6 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
Copyright (C) 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
SPDX-License-Identifier: curl
-->

How to contribute to curl
=========================

Expand Down
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# Copyright (C) 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
#
# SPDX-License-Identifier: curl

github: curl
open_collective: curl
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
Copyright (C) 2000 - 2022, Daniel Stenberg, <[email protected]>, et al.
SPDX-License-Identifier: curl
-->

---
name: Bug report
about: Create a report to help us improve
Expand Down
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
#
# SPDX-License-Identifier: curl

blank_issues_enabled: false
contact_links:
- name: Feature request
Expand Down
4 changes: 4 additions & 0 deletions .github/lock.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
#
# SPDX-License-Identifier: curl

# Configuration for lock-threads - https://github.com/dessant/lock-threads

# Number of days of inactivity before a closed issue or pull request is locked
Expand Down
4 changes: 4 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
#
# SPDX-License-Identifier: curl

# Number of days of inactivity before an issue becomes stale
daysUntilStale: 180
# Number of days of inactivity before a stale issue is closed
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/bearssl.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
#
# SPDX-License-Identifier: curl

name: Linux

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
#
# SPDX-License-Identifier: curl

name: CodeQL

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/event-based.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
#
# SPDX-License-Identifier: curl

name: Linux

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
#
# SPDX-License-Identifier: curl

name: Fuzzer

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/hacktoberfest-accepted.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
#
# SPDX-License-Identifier: curl

name: Hacktoberfest

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
#
# SPDX-License-Identifier: curl

name: Markdown links

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/linux-hyper.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
#
# SPDX-License-Identifier: curl

name: Linux

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
#
# SPDX-License-Identifier: curl

name: macOS

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/mbedtls.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
#
# SPDX-License-Identifier: curl

name: Linux

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/msh3.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
#
# SPDX-License-Identifier: curl

name: Linux

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/nss.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
#
# SPDX-License-Identifier: curl

name: Linux

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/openssl3.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
#
# SPDX-License-Identifier: curl

name: Linux

on:
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright (C) 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
# SPDX-FileCopyrightText: 2022 Free Software Foundation Europe e.V. <https://fsfe.org>
#
# SPDX-License-Identifier: curl

name: REUSE Compliance Check

on:
# Trigger the workflow on push or pull requests, but only for the
# master branch
push:
branches:
- master
- '*/ci'
pull_request:
branches:
- master

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v1
4 changes: 4 additions & 0 deletions .github/workflows/rustls.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
#
# SPDX-License-Identifier: curl

name: Linux

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/wolfssl.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
#
# SPDX-License-Identifier: curl

name: Linux

on:
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
#
# SPDX-License-Identifier: curl

*.asc
*.dll
*.exe
Expand Down
2 changes: 2 additions & 0 deletions .lgtm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
# KIND, either express or implied.
#
# SPDX-License-Identifier: curl
#
###########################################################################
extraction:
cpp:
Expand Down
4 changes: 4 additions & 0 deletions .lift/config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
#
# SPDX-License-Identifier: curl

ignoreRules = [ "DEAD_STORE" ]
build = "make"
setup = ".lift/setup.sh"
3 changes: 3 additions & 0 deletions .lift/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# Copyright (C) 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
#
# SPDX-License-Identifier: curl
autoreconf -fi
./configure --with-openssl
echo "Ran the setup script for Lift including autoconf and executing ./configure --with-openssl"
3 changes: 3 additions & 0 deletions .mailmap.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2017 - 2022 Daniel Stenberg, <[email protected]>, et al.

SPDX-License-Identifier: curl
92 changes: 92 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: curl
Upstream-Contact: Daniel Stenberg <[email protected]>
Source: https://curl.se

# Tests
Files: tests/*
Copyright: 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
License: curl

# Documentation
Files: docs/*
Copyright: 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
License: curl

# Windows
Files: projects/Windows/*
Copyright: 2014 - 2022 Daniel Stenberg, <[email protected]>, et al.
License: curl

# Single files we do not want to edit directly
Files: CHANGES
Copyright: 2019 - 2022 Daniel Stenberg, <[email protected]>, et al.
License: curl

Files: GIT-INFO
Copyright: 2010 - 2022 Daniel Stenberg, <[email protected]>, et al.
License: curl

Files: RELEASE-NOTES
Copyright: 2003 - 2022 Daniel Stenberg, <[email protected]>, et al.
License: curl

Files: lib/.checksrc
Copyright: 2021 - 2022 Daniel Stenberg, <[email protected]>, et al.
License: curl

Files: lib/libcurl.plist.in
Copyright: 2022 - 2022 Daniel Stenberg, <[email protected]>, et al.
License: curl

Files: lib/libcurl.vers.in
Copyright: 2011 - 2022 Daniel Stenberg, <[email protected]>, et al.
License: curl

Files: mlc_config.json
Copyright: 2022 - 2022 Daniel Stenberg, <[email protected]>, et al.
License: curl

Files: packages/DOS/README
Copyright: 2003 - 2022 Daniel Stenberg, <[email protected]>, et al.
License: curl

Files: packages/OS400/README.OS400
Copyright: 2007 - 2022 Daniel Stenberg, <[email protected]>, et al.
License: curl

Files: packages/README
Copyright: 2000 - 2022 Daniel Stenberg, <[email protected]>, et al.
License: curl

Files: packages/vms/build_vms.com
Copyright: 2004 - 2022 Daniel Stenberg, <[email protected]>, et al.
License: curl

Files: packages/vms/curl_release_note_start.txt
Copyright: 2013 - 2022 Daniel Stenberg, <[email protected]>, et al.
License: curl

Files: packages/vms/curlmsg.sdl
Copyright: 2004 - 2022 Daniel Stenberg, <[email protected]>, et al.
License: curl

Files: packages/vms/macro32_exactcase.patch
Copyright: 2013 - 2022 Daniel Stenberg, <[email protected]>, et al.
License: curl

Files: packages/vms/readme
Copyright: 2004 - 2022 Daniel Stenberg, <[email protected]>, et al.
License: curl

Files: plan9/README
Copyright: 2020 - 2020 Daniel Stenberg, <[email protected]>, et al.
License: curl

Files: projects/wolfssl_override.props
Copyright: 2015 - 2018 Daniel Stenberg, <[email protected]>, et al.
License: curl

Files: README
Copyright: 1999 - 2021 Daniel Stenberg, <[email protected]>, et al.
License: curl
4 changes: 3 additions & 1 deletion CMake/CMakeConfigurableFile.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
# Copyright (C) 1998 - 2020, Daniel Stenberg, <[email protected]>, et al.
# Copyright (C) 1998 - 2022, Daniel Stenberg, <[email protected]>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
Expand All @@ -18,5 +18,7 @@
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
# KIND, either express or implied.
#
# SPDX-License-Identifier: curl
#
###########################################################################
@CMAKE_CONFIGURABLE_FILE_CONTENT@

0 comments on commit ad9bc59

Please sign in to comment.