Bug#580767: lintian: [PATCH] Improve description of copyright-without-copyright-notice
Package: lintian
Version: 2.4.1
Severity: wishlist
Tags: patch
Command:
$ echo W: ifhp: copyright-without-copyright-notice | lintian-info
Describes:
N: The copyright file for this package does not appear to contain a
N: copyright notice. You should copy the copyright notice from the
N: upstream source (or add one of your own for a native package). A
N: copyright notice must consist of Copyright, Copr., or the Unicode
N: symbol of C in a circle followed by ....
The attached patch extends the description to give concrete
examples. This will help to complement the description text.
Patch is against Git 2010-05-08 1e4eeb0
Attached in next mail (due to UTF-chars).
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lintian depends on:
ii binutils 2.20.1-8 The GNU assembler, linker and bina
ii diffstat 1.47-1 produces graph of changes introduc
ii dpkg-dev 1.15.7.1 Debian package development tools
ii file 5.04-2 Determines file type using "magic"
ii gettext 0.17-11 GNU Internationalization utilities
ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libapt-pkg-perl 0.1.24 Perl interface to libapt-pkg
ii libclass-accessor-perl 0.34-1 Perl module that automatically gen
ii libipc-run-perl 0.89-1 Perl module for running processes
ii libparse-debianchangel 1.1.1-2 parse Debian changelogs and output
ii libtimedate-perl 1.2000-1 collection of modules to manipulat
ii liburi-perl 1.54-1 module to manipulate and access UR
ii locales 2.10.2-6 Embedded GNU C Library: National L
ii man-db 2.5.7-2 on-line manual pager
ii perl [libdigest-sha-pe 5.10.1-12 Larry Wall's Practical Extraction
lintian recommends no packages.
Versions of packages lintian suggests:
pn binutils-multiarch <none> (no description available)
ii libtext-template-perl 1.45-1 Text::Template perl module
ii man-db 2.5.7-2 on-line manual pager
-- no debconf information
>From b3142c710b43f6ea3f95c3a8c8e8760ec5f02f35 Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aalto@cante.net>
Date: Sat, 8 May 2010 15:25:19 +0300
Subject: [PATCH] checks/copyright-file.desc: Add examples
Organization: Private
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Signed-off-by: Jari Aalto <jari.aalto@cante.net>
---
checks/copyright-file.desc | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/checks/copyright-file.desc b/checks/copyright-file.desc
index 589ffa3..d6d041c 100644
--- a/checks/copyright-file.desc
+++ b/checks/copyright-file.desc
@@ -293,7 +293,12 @@ Info: The copyright file for this package does not appear to contain a
followed by the years and the copyright holder. A copyright notice is
not required for a work to be copyrighted, but Debian requires the
copyright file include the authors and years of copyright, and including
- a valid copyright notice is the best way to do that.
+ a valid copyright notice is the best way to do that. Exmaples:
+ .
+ Copyright (C) YYYY Firstname Lastname <address@example.com>
+ Copyright (C) YYYY-YYYY Firstname Lastname <address@example.com>
+ Copyright © YYYY,YYYY Firstname Lastname <address@example.com>
+ .
.
If the package is in the public domain rather than copyrighted, be sure
to mention "public domain" in the copyright file. Please be aware that
--
1.7.0
Reply to: