Debian Bug report logs - #472199
licensecheck: output formats: DEP-5 output is imperfect

Package: licensecheck; Maintainer for licensecheck is Debian Perl Group <[email protected]>; Source for licensecheck is src:licensecheck (PTS, buildd, popcon).

Reported by: Jan Hauke Rahm <[email protected]>

Date: Sat, 22 Mar 2008 16:45:01 UTC

Severity: wishlist

Tags: confirmed

Merged with 595272

Fix blocked by 526701: licensecheck: options: recursive scan should check all files (--check=".*" by default), 545193: licensecheck: options: recursive scan should check all files (--recursive should imply --check=".*"), 828941: licensecheck: source formats: extract strings from binary files with binwalk or hachoir, 828948: licensecheck: source formats: extract strings from binary files with binwalk or hachoir, 837973: licensecheck: source formats: extract metadata from fonts, 960694: licensecheck: file selection: detect and skip binary files by default, 960695: licensecheck: options: profiles other than current "code comments in independent plaintext files", 1040063: licensecheck: source formats: extract metadata from fonts

Full log


Message #114 received at [email protected] (full text, mbox, reply):

Received: (at 472199) by bugs.debian.org; 15 May 2020 12:55:23 +0000
From [email protected] Fri May 15 12:55:23 2020
X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02
	(2018-09-13) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-21.2 required=4.0 tests=BAYES_00,DIGITS_LETTERS,
	HAS_BUG_NUMBER,PGPSIGNATURE,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,
	TXREP autolearn=ham autolearn_force=no
	version=3.4.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 32; hammy, 150; neutral, 64; spammy,
	0. spammytokens: hammytokens:0.000-+--dep5, 0.000-+--DEP5,
	0.000-+--H*RU:xayide.jones.dk, 0.000-+--H*UA:alot, 0.000-+--H*u:alot
Return-path: <[email protected]>
Received: from jawa.homebase.dk ([94.18.231.212]:45932)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <[email protected]>)
	id 1jZZs1-0000fX-Dx
	for [email protected]; Fri, 15 May 2020 12:55:23 +0000
Received: from localhost (unknown [94.18.231.210])
	by localhost.homebase.dk (Postfix) with ESMTP id CB62D5AF;
	Fri, 15 May 2020 14:55:17 +0200 (CEST)
Received: from jawa.homebase.dk ([94.18.231.212])
	by localhost (tomos.homebase.dk [94.18.231.210]) (amavisd-new, port 10024)
	with LMTP id 8G3Acl-Lt9Oi; Fri, 15 May 2020 14:55:02 +0200 (CEST)
Received: from xayide.jones.dk (xayide.jones.dk [188.183.5.254])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	(Authenticated sender: postmaster-jones.dk)
	by jawa.homebase.dk (Postfix) with ESMTPSA id DC891664;
	Fri, 15 May 2020 14:55:01 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by xayide.jones.dk (Postfix) with ESMTP id 987C6B75;
	Fri, 15 May 2020 14:54:58 +0200 (CEST)
Received: from xayide.jones.dk ([127.0.0.1])
	by localhost (xayide.jones.dk [127.0.0.1]) (amavisd-new, port 10024)
	with SMTP id rSRr3uGlVHNS; Fri, 15 May 2020 14:54:53 +0200 (CEST)
Received: from localhost (unknown [192.168.222.180])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by xayide.jones.dk (Postfix) with ESMTPSA id 2ED4B408;
	Fri, 15 May 2020 14:54:53 +0200 (CEST)
Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="===============7505080023962118263=="
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <[email protected]>
References: <[email protected]> <[email protected]>
Subject: Re: Bug#472199: need a tool to create dep-5 file from source file
From: Jonas Smedegaard <[email protected]>
To: Debian Bug Tracking System <[email protected]>, Lars Kruse <[email protected]>
Date: Fri, 15 May 2020 14:54:52 +0200
Message-ID: <[email protected]>
User-Agent: alot/0.9
[Message part 1 (text/plain, inline)]
Control: retitle -1 licensecheck: DEP-5 output is imperfect
Control: block -1 by 828941 837973

Quoting Lars Kruse (2018-05-22 02:17:49)
> currently the following methods for creating a DEP-5 compliant 
> copyright file:
> 
>  debmake -c
>  cme check dpkg-copyright
>  licensecheck -r --merge-licenses --deb-machine .
>
> Thus this wishlist bug can probably be closed.

Let's instead repurpose this bugreport to track making _ideal_ DEP5 
output with licensecheck.

What we have now is this:

  licensecheck -r --merge-licenses --deb-machine --lines 0 .

The plan is to integrate these scripts:

  cdbs:/usr/lib/cdbs/license-miner
  cdbs:/usr/lib/cdbs/licensecheck2dep5

When that's done, we will likely have different opinions on what is 
ideal - how aggressively (and thus slow) licensecheck should scan, and 
how the DEP-5 output should be laid out (e.g. if same-licensed files by 
different authors should be grouped or not).  Hopefully we can identify 
some broad patterns that groups of us can agree on being ideal, and 
licensecheck can offer such "profiles" under a --usage option.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 11:33:21 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.