Skip to content

Commit 415105e

Browse files
Urist-McGitfmoessbauer
authored andcommitted
refactor(tests): replace copyright files with custom ones
Replace all copied copyright files with custom ones containing the relevant information for our tests. The new copyright files do not contain any File-globs that match files in our project. Also set the copyright holder of these imaginary files to Siemens. Signed-off-by: Christoph Steiger <christoph.steiger@siemens.com>
1 parent 860161b commit 415105e

File tree

5 files changed

+74
-348
lines changed

5 files changed

+74
-348
lines changed

tests/data/apt-copyright

Lines changed: 0 additions & 155 deletions
This file was deleted.

tests/data/copyright

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
3+
Files: copyright-tests/GPL-2+
4+
Copyright: 2026 Siemens
5+
License: GPL-2+
6+
7+
Files: copyright-tests/GPL-2
8+
Copyright: 2026 Siemens
9+
License: GPL-2
10+
11+
Files: copyright-tests/BSD-3-clause
12+
Copyright: 2026 Siemens
13+
License: BSD-3-clause
14+
15+
Files: copyright-tests/Expat
16+
Copyright: 2026 Siemens
17+
License: Expat
18+
19+
License: GPL-2
20+
This package is free software; you can redistribute it and/or modify
21+
it under the terms version 2 of the GNU General Public License
22+
as published by the Free Software Foundation.
23+
.
24+
This package is distributed in the hope that it will be useful,
25+
but WITHOUT ANY WARRANTY; without even the implied warranty of
26+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27+
GNU General Public License for more details.
28+
.
29+
You should have received a copy of the GNU General Public License
30+
along with this program. If not, see <https://www.gnu.org/licenses/>
31+
Comment:
32+
On Debian systems, the complete text of the GNU General
33+
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
34+
35+
License: GPL-2+
36+
This program is free software; you can redistribute it and/or modify
37+
it under the terms of the GNU General Public License as published by
38+
the Free Software Foundation; either version 2 of the License, or
39+
(at your option) any later version.
40+
.
41+
This program is distributed in the hope that it will be useful,
42+
but WITHOUT ANY WARRANTY; without even the implied warranty of
43+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
44+
GNU General Public License for more details.
45+
.
46+
You should have received a copy of the GNU General Public License
47+
along with this program; if not, write to the Free Software
48+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
49+
Comment:
50+
On Debian systems, the complete text of the GNU General
51+
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
Lines changed: 4 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,11 @@
11
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2-
Upstream-Name: libcap
3-
Upstream-Contact: Andrew G. Morgan <morgan@kernel.org>
4-
Source: https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/
52

6-
Files: *
7-
Copyright: 1997-2016 Andrew G. Morgan <morgan@linux.kernel.org>
3+
Files: copyright-tests/BSD-3-clause-OR-GPL-2
4+
Copyright: 2026 Siemens
85
License: BSD-3-clause or GPL-2
96

10-
Files: libcap/cap_text.c
11-
Copyright: 1997-2008 Andrew G. Morgan <morgan@linux.kernel.org>
12-
1997 Andrew Main <zefram@dcs.warwick.ac.uk>
13-
License: BSD-3-clause or GPL-2
14-
15-
Files: libcap/include/sys/capability.h
16-
Copyright: 1997-2008 Andrew G. Morgan <morgan@kernel.org>
17-
1997 Aleph One
18-
License: BSD-3-clause or GPL-2
19-
20-
Files: libcap/include/sys/securebits.h
21-
Copyright: 2010 Serge Hallyn <serue@us.ibm.com>
22-
License: BSD-3-clause or GPL-2
23-
24-
Files: progs/old/sucap.c
25-
Copyright: 1998 Finn Arne Gangstad <finnag@guardian.no>
26-
License: BSD-3-clause or GPL-2
27-
28-
Files: contrib/*
29-
Copyright: 2006, Matt Kern <matt.kern@undue.org>
30-
2008, Andrew G. Morgan <morgan@linux.kernel.org>
31-
2008, Chris Friedhoff <chris@friedhoff.org>
32-
License: BSD-3-clause or GPL-2
33-
34-
Files: debian/*
35-
Copyright: 2014, Daniel Baumann <mail@daniel-baumann.ch>
36-
2014-2022, Christian Kastner <ckk@debian.org>
37-
License: BSD-3-clause or GPL-2+
38-
39-
Files: debian/manpages/*
40-
Copyright: 1997-2014 Andrew G. Morgan <morgan@linux.kernel.org>
41-
2011 Scott Schaefer <saschaefer@neurodiverse.org>
42-
License: BSD-3-clause or GPL-2
43-
44-
Files: debian/patches/*
45-
Copyright: 2011, Andrew Straw <strawman@astraw.com>
46-
2011, Zhi Li <lizhi1215@gmail.com>
47-
2014-2016, Christian Kastner <ckk@debian.org>
48-
2015, Helmut Grohne <helmut@subdivi.de>
7+
Files: copyright-tests/BSD-3-clause-OR-GPL-2+
8+
Copyright: 2026 Siemens
499
License: BSD-3-clause or GPL-2+
5010

5111
License: BSD-3-clause

0 commit comments

Comments
 (0)