From 5a6e8ae6c6831c64c6b789f3bccef95b4a345110 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 21 Apr 2024 22:53:36 +0200 Subject: [PATCH] debian: Use machine-readable debian/copyright file. Machine-readable copyright files are generally recommended to deal with the diversity of free software licenses. See https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ for details. Since the package contains epigrams in the public domain as well as source code which is licensed under the GPL-3, we need two Files stanzas and two stand-alone License stanzas, plus the required header stanza. By convention, the last matching Files: pattern applies, so the pattern for the epigrams needs to listed *after* the asterisk pattern that matches everything. Suggested-by: lintian(1) Reviewed-by: Andreas Metzler --- debian/copyright | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/debian/copyright b/debian/copyright index ed6d353..a009d1b 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,10 +1,21 @@ -Copyright 2018-2019 Andre Noll +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: http://people.tuebingen.mpg.de/maan/tfortune/ -The code of this package is free software; you can redistribute it -and/or modify it under the terms of the GNU General Public License, -version 3. On Debian GNU systems, the complete text of the GNU General -Public License can be found in `/usr/share/common-licenses/GPL-3'. +Files: * +License: GPL-3 +Copyright: 2018-2019 Andre Noll -All epigrams provided by the tfortunes package are believed to be in -the public domain. Please notify the author if there is an epigram -which is not. +Files: epigrams/* +Copyright: none +License: public-domain + +License: GPL-3 + The code of this package is free software; you can redistribute it + and/or modify it under the terms of the GNU General Public License, + version 3. On Debian GNU systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-3'. + +License: public-domain + All epigrams provided by the tfortunes package are believed to be + in the public domain. Please notify the author if there is an epigram + which is not. -- 2.39.5