From: Bastian Germann <bage@xxxxxxxxxxxxx> Convert the minimal copyright file to the DEP-5 standard format that is commonly used in Debian. Link: https://trends.debian.net/#copyright-format-machine-readable-dep-5-vs-old-format Signed-off-by: Bastian Germann <bage@xxxxxxxxxxxxx> --- scripts/package/mkdebian | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian index 717223ef6b03..bb5c19735345 100755 --- a/scripts/package/mkdebian +++ b/scripts/package/mkdebian @@ -152,22 +152,23 @@ EOF # Generate copyright file cat <<EOF > debian/copyright -This is a packacked upstream version of the Linux kernel. - -The sources may be found at most Linux archive sites, including: -https://www.kernel.org/pub/linux/kernel - -Copyright: 1991 - 2018 Linus Torvalds and others. - -The git repository for mainline kernel development is at: -git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git - +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Linux +Source: https://www.kernel.org/pub/linux/kernel +Comment: This is a packaged upstream version of the Linux kernel. + +Files: * +Copyright: 1991 - 2021 Linus Torvalds and others. +License: GPL-2 + The git repository for mainline kernel development is at: + git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git + . This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991. - -On Debian GNU/Linux systems, the complete text of the GNU General Public -License version 2 can be found in \`/usr/share/common-licenses/GPL-2'. + . + On Debian GNU/Linux systems, the complete text of the GNU General Public + License version 2 can be found in \`/usr/share/common-licenses/GPL-2'. EOF # Generate a control file -- 2.30.2