public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
From: bage@linutronix.de
To: Masahiro Yamada <masahiroy@kernel.org>,
	Michal Marek <michal.lkml@markovi.net>
Cc: Bastian Germann <bage@linutronix.de>,
	linux-kbuild@vger.kernel.org, tglx@linutronix.de
Subject: [PATCH 4/6] builddeb: use standard format for copyright file
Date: Sun, 11 Apr 2021 12:14:20 +0200	[thread overview]
Message-ID: <20210411101422.7092-5-bage@linutronix.de> (raw)
In-Reply-To: <20210411101422.7092-1-bage@linutronix.de>

From: Bastian Germann <bage@linutronix.de>

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@linutronix.de>
---
 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


  parent reply	other threads:[~2021-04-11 10:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-11 10:14 [PATCH 0/6] builddeb: make deb building more flexible bage
2021-04-11 10:14 ` [PATCH 1/6] builddeb: diff-ignore unexported top-level files bage
2021-04-17  8:29   ` Masahiro Yamada
2021-04-17  8:34     ` Masahiro Yamada
2021-04-11 10:14 ` [PATCH 2/6] builddeb: set CC on cross build to prefixed gcc bage
2021-04-11 10:14 ` [PATCH 3/6] builddeb: clean generated package content bage
2021-04-19  6:07   ` Masahiro Yamada
2021-04-11 10:14 ` bage [this message]
2021-04-19  6:40   ` [PATCH 4/6] builddeb: use standard format for copyright file Masahiro Yamada
2021-04-11 10:14 ` [PATCH 5/6] builddeb: introduce profile excluding the dbg pkg bage
2021-04-11 10:14 ` [PATCH 6/6] kbuild: introduce srcdeb-pkg target bage
2021-04-17 16:58   ` Masahiro Yamada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210411101422.7092-5-bage@linutronix.de \
    --to=bage@linutronix.de \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=masahiroy@kernel.org \
    --cc=michal.lkml@markovi.net \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox