Laurent Dard wrote :
> In debian/copyright, /usr/share/common-licenses/GPL refers to the last version
> of the GPL but previous versions of apt-spy to which it applies were licensed
> under the GPL v2, not v3.
> (Old sources:
> http://archive.debian.org/debian/pool/main/a/apt-spy/)

I was wrong!

In apt-spy-2.3/COPYING, I found GPL-2.
But in apt-spy-2.3/apt-sources/main.{c,h}, it's clearly GPL-2 or later version:
/***************************************************************************
 *                                                                         *
 *   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; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

In apt-spy-2.3/README, Danny Rodriguez wrote: "It's also no distro'd under GPL."
It's unclear for me and it makes me doubt.

Anyway, the GPL is only cited for historical reasons, since apt-spy has now
a BSD-like license, defined in apt-spy-3.1/debian/copyright.

Finally, I think that:
"Versions 1.x and 2.x were licensed under the GNU GPL (see
 /usr/share/common-licenses/GPL)."
should be corrected to:
"Versions 1.x and 2.x were licensed under the GNU GPL v2 or any later
 version (see /usr/share/common-licenses/GPL-2 or
 /usr/share/common-licenses/GPL-3)"

In the attached patch, I also tried to reformat the file according to
http://dep.debian.net/deps/dep5/ [and added debian/source/format -->
3.0 (native)]

-- 
Laurent Dard
From: Laurent Dard <f.coupe...@online.fr>
Description: Historical precision about the license of the previous version.
 /usr/share/common-licenses/GPL refers to the last version of the GPL but
 previous versions of apt-spy (previously named apt-sources) were licensed
 under the GPL v2+, not simply v3.
 (avoids the Lintian tag copyright-refers-to-versionless-license-file)
Bug-Debian: 645910

--- a/debian/copyright
+++ b/debian/copyright
@@ -1,46 +1,83 @@
-This package was debianized by Stephen Stafford <bagp...@debian.org>
-on Tuesday, 20 May 2003
-
-Upstream Author: Steven Holmes <s...@bsdeviant.net>
-
-It was downloaded from: http://aptspy.ipv6peer.net/apt-spy-3.0.tar.gz
-
-This software is copyright (c) 2003 Steven Holmes
-
-This is version 3 of apt-spy.  Versions 1.x and 2.x were written by Danny
-Rodriguez <mess...@optonline.net>
-
-Versions 1.x and 2.x were licensed under the GNU GPL (see
-/usr/share/common-licenses/GPL).
-
-This version 3 is a total rewrite from scratch, and is licensed under the
-following (BSD style) license:
-
-Copyright (c) 2003, Steven Holmes
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
-   
-   1. Redistributions of source code must retain the above copyright notice,
-      this list of conditions and the following disclaimer in this position
-      and unchanged. 
-   
-   2. Redistributions in binary form must reproduce the above copyright
-      notice, this list of conditions and the following disclaimer in the
-      documentation and/or other materials provided with the distribution.
-   
-   3. The name of the author may not be used to endorse or promote products
-      derived from this software without specific prior written permission
-	 
-   THIS SOFTWARE IS PROVIDED BY THE AUTHOR `AS IS'' AND ANY EXPRESS OR
-   IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-   OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-   IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
-   INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-   NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
-   THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+Format-Specification: http://anonscm.debian.org/gitweb/?p=dbnpolicy/policy.git;a=blob;f=copyright-format/copyright-format.xml;hb=b4d036bab75ac794c3500563768d60ad994ae4f1
+Upstream-Name: apt-spy
+Source: almost a native debian package (no upstream source since 2003)
+
+Files: *
+Copyright: 2003 Steven Holmes
+Comment:
+ This package was debianized by Stephen Stafford <bagp...@debian.org>
+ on Tuesday, 20 May 2003
+ .
+ Upstream Author: Steven Holmes <s...@bsdeviant.net>
+ .
+ It was downloaded from: http://aptspy.ipv6peer.net/apt-spy-3.0.tar.gz
+ .
+ This software is copyright (c) 2003 Steven Holmes
+ .
+ This is version 3 of apt-spy.  Versions 1.x and 2.x were written by Danny
+ Rodriguez <mess...@optonline.net>
+ .
+ Versions 1.x and 2.x were licensed under the GNU GPL v2 or any later
+ version (see /usr/share/common-licenses/GPL-2 or
+ /usr/share/common-licenses/GPL-3).
+ .
+ This version 3 is a total rewrite from scratch, and is licensed under the
+ following (BSD style) license:
+License: BSD-3-clause
+ Copyright (c) 2003, Steven Holmes
+ All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ .
+    1. Redistributions of source code must retain the above copyright notice,
+       this list of conditions and the following disclaimer in this position
+       and unchanged.
+ .
+    2. Redistributions in binary form must reproduce the above copyright
+       notice, this list of conditions and the following disclaimer in the
+       documentation and/or other materials provided with the distribution.
+ .
+    3. The name of the author may not be used to endorse or promote products
+       derived from this software without specific prior written permission
+ .
+    THIS SOFTWARE IS PROVIDED BY THE AUTHOR `AS IS'' AND ANY EXPRESS OR
+    IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+    OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+    IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+    INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+    NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+    DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+    THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+    THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Files: include/parse.h
+Copyright:
+ 2003 Steven Holmes
+ 2008 Stefano Canepa
+License: BSD-3-clause
+ (as above)
+
+Files: debian/postinst
+Copyright: 2008 Stefano Canepa
+License: GPL-2+
+ 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; either version 2
+ of the License, or (at your option) any later version.
+ .
+ This program 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 General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor
+ Boston, MA 02110-1301, USA.
+ .
+ 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'.
--- a/debian/apt-spy.lintian
+++ /dev/null
@@ -1,3 +0,0 @@
-# copyright is a BSD-a-like that is fully quoted in debian/copyright
-# The GPL referred to is the OLD version (1.x and 2.x)
-apt-spy: copyright-should-refer-to-common-license-file-for-gpl
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,3 @@
+# The license is a BSD-3-clause that is fully quoted in debian/copyright.
+# The GPL referred to is GPL-2+, for old versions of apt-spy.
+apt-spy binary: copyright-should-refer-to-common-license-file-for-gpl

Reply via email to