Bug#641879: unused-license-paragraph-in-dep5-copyright generated for used license paragraphs

2011-09-17 Thread Jakub Wilk

* Matt Kraai kr...@ftbfs.org, 2011-09-16, 20:48:
When I run lintian -I on the .changes for theunarchiver, it shows the 
following tags:


I: theunarchiver source: unused-license-paragraph-in-dep5-copyright paragraph 6 
gpl-2+
I: theunarchiver source: unused-license-paragraph-in-dep5-copyright paragraph 8 
mpl-1.1

However, these paragraphs are used as follows:

Files: UniversalDetector/universalchardet/*
Copyright: 1998, Netscape Communications Corporation
License: MPL-1.1 or GPL-2+ or LGPL-2.1+

This matches one of the examples in DEP5, which says:

Files: src/js/editline/*
Copyright: 1993, John Doe
   1993, Joe Average
License: MPL-1.1 or GPL-2 or LGPL-2.1


I believe that Lintian is correct here. Stand-alone License paragraph 
matching each license short name listed in the first line of License is 
required only if remaining lines of the field are left blank. But this 
is not the case here:



Files: UniversalDetector/universalchardet/*
Copyright: 1998, Netscape Communications Corporation
License: MPL-1.1 or GPL-2+ or LGPL-2.1+
The contents of this file are subject to the Mozilla Public License Version
1.1 (the License);

[snip - many more lines]

So in my understanding, MPL-1.1 and GPL-2+ license paragraphs are indeed 
unused here.


--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#641879: unused-license-paragraph-in-dep5-copyright generated for used license paragraphs

2011-09-16 Thread Matt Kraai
Package: lintian
Version: 2.5.3
Severity: minor

Hi,

When I run lintian -I on the .changes for theunarchiver, it shows
the following tags:

 I: theunarchiver source: unused-license-paragraph-in-dep5-copyright paragraph 
6 gpl-2+
 I: theunarchiver source: unused-license-paragraph-in-dep5-copyright paragraph 
8 mpl-1.1

However, these paragraphs are used as follows:

 Files: UniversalDetector/universalchardet/*
 Copyright: 1998, Netscape Communications Corporation
 License: MPL-1.1 or GPL-2+ or LGPL-2.1+

This matches one of the examples in DEP5, which says:

 Files: src/js/editline/*
 Copyright: 1993, John Doe
1993, Joe Average
 License: MPL-1.1 or GPL-2 or LGPL-2.1

I've attached the full copyright file.

-- 
Matt Kraai
https://ftbfs.org/kraai
Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=filerev=174
Upstream-Name: The Unarchiver
Upstream-Contact: Dag Ågren paracel...@gmail.com
Source: http://wakaba.c3.cx/s/apps/unarchiver.html

Files: *
Copyright: Dag Ågren paracel...@gmail.com
License: LGPL-2.1+
 This program, The Unarchiver, its accompanying libraries, XADMaster
 and UniversalDetector, and the various smaller utility programs, such
 as unar and lsar, are distributed under the GNU Lesser General
 Public License as published by the Free Software Foundation; either
 version 2.1 of the License, or (at your option) any later version.
 .
 UniversalDetector is also available under other licenses, such as the
 Mozilla Public License. Please refer to the files in its subdirectory
 for further information.
 .
 On Debian systems, the full text of the GNU Lesser General Public License
 version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1'.

Files: UniversalDetector/universalchardet/*
Copyright: 1998, Netscape Communications Corporation
License: MPL-1.1 or GPL-2+ or LGPL-2.1+
 The contents of this file are subject to the Mozilla Public License Version
 1.1 (the License); you may not use this file except in compliance with
 the License. You may obtain a copy of the License at
 http://www.mozilla.org/MPL/
 .
 Software distributed under the License is distributed on an AS IS basis,
 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 for the specific language governing rights and limitations under the
 License.
 .
 The Original Code is Mozilla Communicator client code.
 .
 The Initial Developer of the Original Code is
 Netscape Communications Corporation.
 Portions created by the Initial Developer are Copyright (C) 1998
 the Initial Developer. All Rights Reserved.
 .
 Contributor(s):
 .
 Alternatively, the contents of this file may be used under the terms of
 either the GNU General Public License Version 2 or later (the GPL), or
 the GNU Lesser General Public License Version 2.1 or later (the LGPL),
 in which case the provisions of the GPL or the LGPL are applicable instead
 of those above. If you wish to allow use of your version of this file only
 under the terms of either the GPL or the LGPL, and not to allow others to
 use your version of this file under the terms of the MPL, indicate your
 decision by deleting the provisions above and replace them with the notice
 and other provisions required by the GPL or the LGPL. If you do not delete
 the provisions above, a recipient may use your version of this file under
 the terms of any one of the MPL, the GPL or the LGPL.

Files: XADMaster/libxad/*
Copyright: 1998 and later, Dirk Stöcker s...@dstoecker.de
License: LGPL-2.1+
 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2.1 of the License, or (at your option) any later version.
 .
 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Lesser General Public License for more details.
 .
 You should have received a copy of the GNU Lesser General Public
 License along with this library; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA

Files: debian/*
Copyright: 2011, Matt Kraai kr...@debian.org
License: LGPL-2.1+

License: GPL-2+
 On Debian systems, the full text of the GNU General Public License version 2
 can be found in the file `/usr/share/common-licenses/GPL-2.

License: LGPL-2.1+
 On Debian systems, the full text of the GNU Lesser General Public License
 version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1'.

License: MPL-1.1
   MOZILLA PUBLIC LICENSE
 Version 1.1
 .
   ---
 .
 1. Definitions.
 .
  1.0.1. Commercial Use means distribution or otherwise making the
  Covered Code available to a third party.
 .
  1.1. Contributor means each entity that creates or contributes