guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] gnu: Add mtd-utils.


From: Alex Kost
Subject: Re: [PATCH] gnu: Add mtd-utils.
Date: Wed, 31 Aug 2016 10:24:53 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Danny Milosavljevic (2016-08-30 11:39 +0300) wrote:

> On Tue, 30 Aug 2016 11:08:17 +0300
> Alex Kost <address@hidden> wrote:
>
>> It would be good if you write a comment before licenses, like what files
>> have what licenses.  Also is it really 'gpl2'?  If the license says "or
>> any later version", it should be 'gpl2+'.
>
> They are:
>
> ./compr.c: "  * JFFS2 -- Journalling Flash File System, Version 2.  *  * 
> Copyright  ( C )  2004 Ferenc Havasi <address@hidden>,  *                    
> University of Szeged, Hungary  *  * For licensing information, see the file 
> 'LICENCE' in this directory  * in the jffs2 directory.  "
> ./compr.h: "  * JFFS2 -- Journalling Flash File System, Version 2.  *  * 
> Copyright  ( C )  2004 Ferenc Havasi <address@hidden>,  *                    
> University of Szeged, Hungary  *  * For licensing information, see the file 
> 'LICENCE' in the  * jffs2 directory.  "
> ./compr_rtime.c: '  * JFFS2 -- Journalling Flash File System, Version 2.  *  
> * Copyright  ( C )  2001-2003 Red Hat, Inc.  *  * Created by Arjan van de Ven 
> <address@hidden>  *  * For licensing information, see the file \'LICENCE\' in 
> this directory.  *  '
> ./flashcp.c: '  * Copyright  ( c )  2d3D, Inc.  * Written by Abraham vd Merwe 
> <address@hidden>  * All rights reserved.  *  * Renamed to flashcp.c to avoid 
> conflicts with fcp from fsh package  *  * 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  *\t  notice, this list of conditions 
> and the following disclaimer.  * 2. Redistributions in binary form must 
> reproduce the above copyright  *\t  notice, this list of conditions and the 
> following disclaimer in the  *\t  documentation and/or other materials 
> provided with the distribution.  * 3. Neither the name of the author nor the 
> names of other contributors  *\t  may be used t
>  o endorse or promote products derived from this software  *\t  without 
> specific prior written permission.  *  * THIS SOFTWARE IS PROVIDED BY THE 
> COPYRIGHT HOLDERS AND CONTRIBUTORS "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 REGENTS OR CONTRIBUTORS 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.  '
> ./ftl_check.c: ' Ported to MTD system.  * Based on:  
> ======================================================================    
> Utility to create an FTL partition in a memory region    ftl_check.c 1.10 
> 1999/10/25 20:01:35    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 initial developer of the 
> original code is David A. Hinds   <address@hidden>.  P
>  ortions created by David A. Hinds   are Copyright  ( C )  1999 David A. 
> Hinds.  All Rights Reserved.    Alternatively, the contents of this file may 
> be used under the   terms of the GNU Public Licen
>  se version 2  ( the "GPL" ) , in which   case the provisions of the GPL are 
> applicable instead of the   above.  If you wish to allow the use of your 
> version of this file   only under the terms of the GPL and not to allow 
> others to use   your version of this file under the MPL, indicate your 
> decision   by deleting the provisions above and replace them with the notice  
>  and other provisions required by the GPL.  If you do not delete   the 
> provisions above, a recipient may use your version of this   file under 
> either the MPL or the GPL.    
> ======================================================================'
> ./ftl_format.c: ' Ported to MTD system.  * Based on:  
> ======================================================================    
> Utility to create an FTL partition in a memory region    ftl_format.c 1.13 
> 1999/10/25 20:01:35    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 initial developer of the 
> original code is David A. Hinds   <address@hidden>. 
>   Portions created by David A. Hinds   are Copyright  ( C )  1999 David A. 
> Hinds.  All Rights Reserved.    Alternatively, the contents of this file may 
> be used under the   terms of the GNU Public Lic
>  ense version 2  ( the "GPL" ) , in which   case the provisions of the GPL 
> are applicable instead of the   above.  If you wish to allow the use of your 
> version of this file   only under the terms of the GPL and not to allow 
> others to use   your version of this file under the MPL, indicate your 
> decision   by deleting the provisions above and replace them with the notice  
>  and other provisions required by the GPL.  If you do not delete   the 
> provisions above, a recipient may use your version of this   file under 
> either the MPL or the GPL.    
> ======================================================================'
> ./include/linux/jffs2.h: "  * JFFS2 -- Journalling Flash File System, Version 
> 2.  *  * Copyright  ( C )  2001-2003 Red Hat, Inc.  *  * Created by David 
> Woodhouse <address@hidden>  *  * For licensing information, see the file 
> 'LICENCE' in the  * jffs2 directory.  *  * $Id: jffs2.h,v 1.38 2005/09/26 
> 11:37:23 havasi Exp $  *  "
> ./jffs2reader.c: IS COPYRIGHT HEADER b" vi: set sw=4 ts=4:   * jffs2reader 
> v0.0.18 A jffs2 image reader  *  * Copyright  ( c )  2001 Jari Kirma 
> <address@hidden>  *  * This software is provided 'as-is', without any express 
> or implied  * warranty. In no event will the author be held liable for any 
> damages  * arising from the use of this software.  *  * Permission is granted 
> to anyone to use this software for any  * purpose, including commercial 
> applications, and to alter it and  * redistribute it freely, subject to the 
> following restrictions:  *  * 1. The origin of this software must not be 
> misrepresented; you must  * not claim that you wrote the original software. 
> If you use this  * software in a product, an acknowledgment in the product  * 
> documentation would be appreciated but is not r
>  equired.  *  * 2. Altered source versions must be plainly marked as such, 
> and must  * not be misrepresented as being the original software.  *  * 3. 
> This notice may not be removed or altered from an
>  y source  * distribution.  *  *  *********  *  This code was altered 
> September 2001  *  Changes are Copyright  ( c )  Erik Andersen 
> <address@hidden>  *  * In compliance with  ( 2 )  above, this is hereby 
> marked as an altered  * version of this software.  It has been altered as 
> follows:  *      * )  Listing a directory now mimics the behavior of 'ls -l'  
> *      * )  Support for recursive listing has been added  *      * )  Without 
> options, does a recursive 'ls' on the whole filesystem  *      * )  option 
> parsing now uses getopt (  )   *      * )  Now uses printf, and error 
> messages go to stderr.  *      * )  The copyright notice has been cleaned up 
> and reformatted  *      * )  The code has been reformatted  *      * )  
> Several twisty code paths have been fixed so I can understand th
>  em.  *  -Erik, 1 September 2001  *  *      * )  Made it show major/minor 
> numbers for device nodes  *      * )  Made it show symlink targets  *  -Erik, 
> 13 September 2001   TODO:  - Add CRC checking c
>  ode to places marked with XXX. - Add support for other node compression 
> types.  - Test with real life images. - Maybe port into bootloader.   BUGS:  
> - Doesn't check CRC checksums.  "
> ./mkfs.ubifs/crc16.h: '  * Implements the standard CRC-16:  *   Width 16  *   
> Poly  0x8005  ( x^16 + x^15 + x^2 + 1 )   *   Init  0  *  * Copyright  ( c )  
> 2005 Ben Gardner <address@hidden>  *  * This code was taken from the linux 
> kernel. The license is GPL Version 2.  '
> ./mkfs.ubifs/hashtable/hashtable.c: ' Copyright  ( C )  2004 Christopher 
> Clark <address@hidden> '
> ./mkfs.ubifs/hashtable/hashtable.h: ' Copyright  ( C )  2002 Christopher 
> Clark <address@hidden> '
> ./mkfs.ubifs/hashtable/hashtable_itr.c: ' Copyright  ( C )  2002, 2004 
> Christopher Clark  <address@hidden> '
> ./mkfs.ubifs/hashtable/hashtable_itr.h: ' Copyright  ( C )  2002, 2004 
> Christopher Clark <address@hidden> '
> ./mkfs.ubifs/hashtable/hashtable_private.h: ' Copyright  ( C )  2002, 2004 
> Christopher Clark <address@hidden> '
> ./mtd_debug.c: '  * Copyright  ( c )  2d3D, Inc.  * Written by Abraham vd 
> Merwe <address@hidden>  * 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  *\t  notice, this list of 
> conditions and the following disclaimer.  * 2. Redistributions in binary form 
> must reproduce the above copyright  *\t  notice, this list of conditions and 
> the following disclaimer in the  *\t  documentation and/or other materials 
> provided with the distribution.  * 3. Neither the name of the author nor the 
> names of other contributors  *\t  may be used to endorse or promote products 
> derived from this software  *\t  without
>   specific prior written permission.  *  * THIS SOFTWARE IS PROVIDED BY THE 
> COPYRIGHT HOLDERS AND CONTRIBUTORS "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 REGENTS OR CONTRIBUTORS 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.  '
> ./summary.h: IS COPYRIGHT HEADER b"  * JFFS2 -- Journalling Flash File 
> System, Version 2.  *  * Copyright  ( C )  2004  Ferenc Havasi 
> <address@hidden>,  *                     Zoltan Sogor <address@hidden>,  *    
>                  Patrik Kluba <address@hidden>,  *                     
> University of Szeged, Hungary  *  * For licensing information, see the file 
> 'LICENCE' in this directory.  "
> ./tests/checkfs/checkfs.c: '   * Copyright Daniel Industries.  *  * Created 
> by: Vipin Malik  ( address@hidden )   *  * This code is released under the 
> GPL version 2. See the file COPYING  * for more details.  *  * Software 
> distributed under the Licence is distributed on an "AS IS"  * basis, WITHOUT 
> WARRANTY OF ANY KIND, either express or implied.  * See the Licence for the 
> specific language governing rights and  * limitations under the Licence. '
> ./tests/checkfs/makefiles.c: '   * Copyright Daniel Industries.   * Created 
> by: Vipin Malik  ( address@hidden )   *  * This is GPL code. See the file 
> COPYING for more details  *  * Software distributed under the Licence is 
> distributed on an "AS IS"  * basis, WITHOUT WARRANTY OF ANY KIND, either 
> express or implied.  * See the Licence for the specific language governing 
> rights and  * limitations under the Licence.'
>
> GPL2-only parts (which constitute the vast majority) were omitted.
>
> I'd say the entire thing can only be distributed under GPLv2. What do you 
> think?

This question is too hard for me :-)

- Some of these files reference LICENSE/COPYING which is a usual "GNU
  GPLv2 or later" file.

- Some (for example, "docfdisk.c") have a usual license header with "or
  any later version".

- Some (for example, "compr_lzo.c") have a proper license header, but
  without "or any later".

So I would probably use both gpl2 and gpl2+, but I don't really know.

-- 
Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]