Skip to content

Commit c1b00c4

Browse files
committed
provide SPDX identifiers and a REUSE CI job to verify
All files have their licence and copyright information clearly identifiable. If not in the file header, they are set separately in .reuse/dep5. All used license texts are provided in LICENSES/
1 parent 903a613 commit c1b00c4

File tree

257 files changed

+2121
-44
lines changed

Some content is hidden

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

257 files changed

+2121
-44
lines changed

.cirrus.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) The c-ares project and its contributors
2+
# SPDX-License-Identifier: MIT
3+
14
env:
25
CIRRUS_CLONE_DEPTH: 1
36
CMAKE_FLAGS: "-DCMAKE_BUILD_TYPE=DEBUG -DCARES_STATIC=ON -DCARES_STATIC_PIC=ON -DCARES_BUILD_TESTS=ON"

.github/workflows/reuse.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# SPDX-FileCopyrightText: 2022 Free Software Foundation Europe e.V. <https://fsfe.org>
2+
#
3+
# SPDX-License-Identifier: MIT
4+
5+
name: REUSE compliance
6+
7+
on:
8+
push:
9+
branches:
10+
- main
11+
- '*/ci'
12+
pull_request:
13+
branches:
14+
- main
15+
16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
18+
cancel-in-progress: true
19+
20+
permissions: {}
21+
22+
jobs:
23+
check:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: actions/checkout@v3
27+
- name: REUSE Compliance Check
28+
uses: fsfe/reuse-action@v1

.reuse/dep5

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
Upstream-Name: c-ares
3+
Upstream-Contact: The c-ares team <c-ares@lists.haxx.se>
4+
Source: https://c-ares.org/
5+
6+
# Fuzzer data
7+
Files: test/fuzzinput/* test/fuzznames/*
8+
Copyright: The c-ares project and its contributors.
9+
License: MIT
10+
11+
# Docs
12+
Files: AUTHORS CHANGES CHANGES.0 CONTRIBUTING.md GIT-INFO NEWS README.cares README.md README.msvc RELEASE-NOTES RELEASE-PROCEDURE.md SECURITY.md TODO INSTALL.md test/README.md test/gmock-1.11.0/README.md
13+
Copyright: The c-ares project and its contributors.
14+
License: MIT
15+
16+
# dotfiles
17+
Files: .gitignore m4/.gitignore test/.gitignore
18+
Copyright: The c-ares project and its contributors.
19+
License: MIT
20+
21+
# Imported m4 files
22+
Files: m4/ax_pthread.m4
23+
Copyright: see file
24+
License: GPL-3.0-or-later WITH Autoconf-exception-3.0
25+
26+
Files: m4/ax_cxx_compile_stdcxx.m4 m4/ax_cxx_compile_stdcxx_11.m4 me/ax_require_defined.m4 m4/ax_check_gnu_make.m4 m4/ax_file_escapes.m4 m4/ax_require_defined.m4 m4/ax_ac_append_to_file.m4 m4/ax_ac_print_to_file.m4 m4/ax_add_am_macro_static.m4 m4/ax_file_escapes.m4 m4/ax_am_macros_static.m4
27+
Copyright: see files
28+
License: FSFAP
29+
30+
Files: m4/ax_code_coverage.m4
31+
Copyright: see file
32+
License: LGPL-2.1-or-later

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) The c-ares project and its contributors
2+
# SPDX-License-Identifier: MIT
3+
14
language: c++
25
dist: bionic
36
sudo: false

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Copyright (C) The c-ares project and its contributors
2+
# SPDX-License-Identifier: MIT
13
CMAKE_MINIMUM_REQUIRED (VERSION 3.1.0)
24

35
INCLUDE (CheckIncludeFiles)

LICENSES/Autoconf-exception-3.0.txt

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
AUTOCONF CONFIGURE SCRIPT EXCEPTION
2+
3+
Version 3.0, 18 August 2009
4+
5+
Copyright © 2009 Free Software Foundation, Inc. >http://fsf.org/<
6+
7+
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
8+
9+
This Exception is an additional permission under section 7 of the GNU General Public License, version 3 ("GPLv3"). It applies to a given file that bears a notice placed by the copyright holder of the file stating that the file is governed by GPLv3 along with this Exception.
10+
11+
The purpose of this Exception is to allow distribution of Autoconf's typical output under terms of the recipient's choice (including proprietary).
12+
13+
0. Definitions.
14+
15+
"Covered Code" is the source or object code of a version of Autoconf that is a covered work under this License.
16+
17+
"Normally Copied Code" for a version of Autoconf means all parts of its Covered Code which that version can copy from its code (i.e., not from its input file) into its minimally verbose, non-debugging and non-tracing output.
18+
19+
"Ineligible Code" is Covered Code that is not Normally Copied Code.
20+
1. Grant of Additional Permission.
21+
22+
You have permission to propagate output of Autoconf, even if such propagation would otherwise violate the terms of GPLv3. However, if by modifying Autoconf you cause any Ineligible Code of the version you received to become Normally Copied Code of your modified version, then you void this Exception for the resulting covered work. If you convey that resulting covered work, you must remove this Exception in accordance with the second paragraph of Section 7 of GPLv3.
23+
2. No Weakening of Autoconf Copyleft.
24+
25+
The availability of this Exception does not imply any general presumption that third-party software is unaffected by the copyleft requirements of the license of Autoconf.

LICENSES/BSD-3-Clause.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Copyright (c) <year> <owner>.
2+
3+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4+
5+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
6+
7+
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.
8+
9+
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.
10+
11+
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.

LICENSES/FSFAP.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Copying and distribution of this file, with or without modification, are
2+
permitted in any medium without royalty provided the copyright notice
3+
and this notice are preserved. This file is offered as-is, without any
4+
warranty.

0 commit comments

Comments
 (0)