[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DEP-5 (copyright file format) ... gap with practice



Quoting Russ Allbery (2014-09-10 06:38:21)
> Osamu Aoki <osamu@debian.org> writes:
>
>> It may be good to have a set of specifically defined file types for
>> exclusion in DEP-5 policy.  Then we can skip listing them in the
>> copyright file.  The helper script can generate a template for the
>> copyright file in line with the actual practice and not to contradict
>> with the DEP-5 policy.
>
> The general rule of thumb appears to be that, provided that the files 
> are DFSG-free and don't pose any surprises or conflicts, there's no 
> need to exhaustively document any source files that are only used as 
> part of the build system and don't contribute code to the binary 
> package.
> 
> I've wanted to document this explicitly in Policy for a while, but the 
> blocker is that I've never been able to get anyone to commit to a 
> clear enough rule that it felt like something we could put in Policy.  
> For example, I'm not sure if it applies to the build system in 
> general, or if it's specifically for Autoconf, Automake, Libtool, and 
> friends, which have very well-known and standard license behavior and 
> are common across vast swaths of the archive.
> 
> If we had a concrete rule, we could document it in Policy.
> 
> Personally, I just document the licenses of all of those files in my 
> debian/copyright files, but I also automated that (with a truly awful 
> and horrible Perl script).  And I'm not sure that documentation is 
> really of much use.

I do the same: document all those licenses in debian/copyright.  And 
also noticed a strong pattern of those files when doing that across 
maybe 50 packages.

How about - instead of codifying into Polict that some licensing is ok 
to ignore (which sounds very wrong to me) we instead recognize that some 
pattern of files are very commonly the same across packages: Add a DEP-5 
snippet to /usr/share/common-licenses that is always assumed included in 
debian/copyright of any package.

Concretely I propose the attached file for that.


 - Jonas

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

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/

Files: lt*.m4
Copyright: 2004-2005,2007-2009, Free Software Foundation
License: GAP

Files: aclocal.m4
 config.guess
 config.sub
 compile
 depcomp
 missing
Copyright: Free Software Foundation, Inc.
License: GPL-2+ with Autoconf exception
 As a special exception to the GNU General Public License, if you
 distribute this file as part of a program that contains a
 configuration script generated by Autoconf, you may include it under
 the same distribution terms that you use for the rest of that program.

Files: ltmain.sh
 libtool.m4
Copyright: Free Software Foundation, Inc.
License: GPL-2+ with Libtool exception
 As a special exception to the GNU General Public License, if you
 distribute this file as part of a program or library that is built
 using GNU Libtool, you may include this file under the same
 distribution terms that you use for the rest of that program.

Files: configure
Copyright: Free Software Foundation, Inc.
License: GAP~configure

Files: install-sh
Copyright: X Consortium
License: Expat~X with X exception
 Except as contained in this notice, the name of the X Consortium shall
 not be used in advertising or otherwise to promote the sale, use or
 other dealings in this Software without prior written authorization
 from the X Consortium.

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, 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.
Comment:
 On Debian systems the 'GNU General Public License' version 2 is located
 in '/usr/share/common-licenses/GPL-2'.
 .
 You should have received a copy of the 'GNU General Public License'
 along with this program.  If not, see <http://www.gnu.org/licenses/>.

License: Expat~X
 Permission is hereby granted, free of charge, to any person obtaining a
 copy of this software and associated documentation files (the
 "Software"), to deal in the Software without restriction, including
 without limitation the rights to use, copy, modify, merge, publish,
 distribute, sublicense, and/or sell copies of the Software, and to
 permit persons to whom the Software is furnished to do so, subject to
 the following conditions:
 .
 The above copyright notice and this permission notice shall be included
 in all copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 OTHER DEALINGS IN THE SOFTWARE.

License: GAP
 This file is free software; the Free Software Foundation gives
 unlimited permission to copy and/or distribute it, with or without
 modifications, as long as this notice is preserved.
 .
 This program is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.

License: GAP~configure
 This configure script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it.

Attachment: signature.asc
Description: signature


Reply to: