THE SPDX WIKI IS NO LONGER ACTIVE. ALL CONTENT HAS BEEN MOVED TO https://github.com/spdx

FileNoticeExamples

From SPDX Wiki
Revision as of 17:07, 22 August 2014 by Mgisi (Talk | contribs)

Jump to: navigation, search

GPL-1.0+

Present: '+' as an operator example 1 (also see EPL-1.0+ AGPL-2.0+ examples to understand why '+' was made an operator)

* fileio.c --- Simple file I/O routines
*
* Copyright (C) 1997 Theodore Ts'o.
*
* %Begin-Header%
* This file may be redistributed under the terms of the GNU Public
* License.
* %End-Header%
*/

EPL-1.0+

Present: '+' as an operator - example 2

See link: https://github.com/technomancy/leiningen/blob/master/resources/leiningen/new/default/README.md

* 
* Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.
*

AGPL-3.0+

Present: '+' as an operator - example 3

* GPL Ghostscript is free software; you can redistribute it and/or
* modify it under the terms the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
* 
* GPL Ghostscript 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
* Affero General Public License for more details.
* 
* You should have received a copy of the GNU Affero General Public
* License along with this program so you can know your rights and
* responsibilities. It should be in a file named doc/COPYING. If not,
* write to the Free Software Foundation, Inc., 59 Temple Place Suite
* 330, Boston, MA 02111-1307, USA. 

GPL-2.0 OR Aladdin

Present: Disjunctive license choice example.

*                                                                 
*        awkdiff.awk: compare two Adobe Font Metric files 
*                                                               
*              Copyright (C) 2000 Nelson H. F. Beebe           
*                                                               
* This program is covered by the GNU General Public License (GPL), 
* version 2 or later, available as the file COPYING in the program 
* source distribution, and on the Internet at                      
*                                                                  
*               ftp://ftp.gnu.org/gnu/GPL                          
*                                                                  
*               http://www.gnu.org/copyleft/gpl.html               
*                                                                  
* 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., 59 Temple Place, Suite 330, Boston,   
* MA 02111-1307 USA                                                
*                                                                  
* This program may also be distributed as part of AFPL             
* Ghostscript, under the terms of the Aladdin Free Public License  
* (the "License").                                                 
*                                                                  
* Every copy of AFPL Ghostscript must include a copy of the        
* License, normally in a plain ASCII text file named PUBLIC.  The  
* License grants you the right to copy, modify and redistribute    
* AFPL Ghostscript, but only under certain conditions              
* described in the License.  Among other things, the License       
* requires that the copyright notice and this notice be preserved  
* on all copies.                                               *

GPL-2.0 AND MIT AND BSD-3-Clause

Present: Case where three different licenses are found in a file

/* Copyright (c) 2001 Aaron Lehmann <aaronl@vitelus.com>
*
* 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 AUTHORS OR COPYRIGHT HOLDERS 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.
*/
/*
* Arithmetic code ripped out of ash shell for code sharing.
*
* This code is derived from software contributed to Berkeley by
* Kenneth Almquist.
*
* Original BSD copyright notice is retained at the end of this file.
*
* Copyright (c) 1989, 1991, 1993, 1994
*      The Regents of the University of California.  All rights reserved.
*
* Copyright (c) 1997-2005 Herbert Xu <herbert@gondor.apana.org.au>
* was re-ported from NetBSD and debianized.
*
* rewrite arith.y to micro stack based cryptic algorithm by
* Copyright (c) 2001 Aaron Lehmann <aaronl@vitelus.com>
*
* Modified by Paul Mundt <lethal@linux-sh.org> (c) 2004 to support
* dynamic variables.
*
* Modified by Vladimir Oleynik <dzo@simtreas.ru> (c) 2001-2005 to be
* used in busybox and size optimizations,
* rewrote arith (see notes to this), added locale support,
* rewrote dynamic variables.
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
* Copyright (c) 1989, 1991, 1993, 1994
*      The Regents of the University of California.  All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Kenneth Almquist.
*
* 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.
* 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. Neither the name of the University nor the names of its contributors
*    may be used to endorse or promote products derived from this software
*    without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS 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.

GPL-2.0+ WITH Bison-Exception

Present: + as operator and Bison as an SPDX defined exception

* Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
*
* 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.
*
* 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. \
*
* As a special exception, when this file is copied by Bison into a
* Bison output file, you may use that output file without restriction.
* This special exception was added by the Free Software Foundation
* in version 1.24 of Bison.

GPL-3.0+ WITH Bison-Exception

   Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc.
  
  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 3 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, see <http://www.gnu.org/licenses/>. 
  As a special exception, you may create a larger work that contains
  part or all of the Bison parser skeleton and distribute that work
  under terms of your choice, so long as that work isn't itself a
  parser generator using the skeleton or a modified version thereof
  as a parser skeleton.  Alternatively, if you modify or redistribute
  the parser skeleton itself, you may (at your option) remove this
  special exception, which will cause the skeleton and the resulting
  Bison output files to be licensed under the GNU General Public
  License without this special exception.
  
  This special exception was added by the Free Software Foundation in
  version 2.2 of Bison.

AGPL-3.0 WITH LicenseRef-23-Exception

/*
* Copyright (C) Tildeslash Ltd. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License version 3.
*
* 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 Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* In addition, as a special exception, the copyright holders give
* permission to link the code of portions of this program with the
* OpenSSL library under certain conditions as described in each
* individual source file, and distribute linked combinations
* including the two.
*
* You must obey the GNU Affero General Public License in all respects
* for all of the code used other than OpenSSL.

LicenseRef-1 OR LGPL-2.1 WITH LicenseRef-2

** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:LGPL$
** No Commercial Usage
** This file contains pre-release code and may not be distributed.
** You may use this file in accordance with the terms and conditions
** contained in the Technology Preview License Agreement accompanying
** this package.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file.  Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
** rights.  These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.

(GPL-2.0 OR GPL-3.0) WITH LicRefence-3

** Copyright (c) 2012 Riverbank Computing Limited <info@riverbankcomputing.com>
** 
** This file may be used under the terms of the GNU General Public
** License versions 2.0 or 3.0 as published by the Free Software
** Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
** included in the packaging of this file. Alternatively you may (at
** your option) use any later version of the GNU General Public
** License if such license has been publicly approved by Riverbank
** Computing Limited (or its successors, if any) and the KDE Free Qt
** Foundation. In addition, as a special exception, Riverbank gives you
** certain additional rights. These rights are described in the Riverbank
** GPL Exception version 1.1, which can be found in the file
** GPL_EXCEPTION.txt in this package.

Application: (LGPL-2.0 and BSD-3-Clause and MIT and LicenseRef-1 and LicenseRef-2 and LicenseRef-3 and LicenseRef-4 and LicenseRef-5 and LicenseRef-6)

* image coming soon

Package Examples

The Next three package examples are still under consideration and are not supported in the SPDX 2.0 License Expression Syntax section.

Package: (GPL-2.0 ; LGPL-2.1 ; BSD-2-Clause)

Present: ';' as an operator where no one license applies to the package but in fact some subset of files in the package is under license1 and another subset is under license2 and so forth.

Package: gypsy-0.8.tar.gz (see ./LICENSE)

* The files in src/ are under GPL Version 2 (see file COPYING)
* gypsy-daemon contains code that is 
* Copyright (C) 2004 Manuel Kasper <mk@neon1.net>
* 
* and is licensed as follows
* 
* 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.
* 
* 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.
* 
* THIS SOFTWARE IS PROVIDED ``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.
* 
* The files in gypsy/ are under LGPL Version 2 (see file COPYING.lib)

Package: (GPL-2.0 ; LGPL-2.1)

Present: ';' as an operator where no one license applies to the package but in fact some subset of files in the package is under license1 and another subset is under license2 and so forth.

Package: lksctp-tools-1.0.9.tar.gz (see ./COPYING, ./COPYING.lib)

* Copyright: 
*  2001, 2003 IBM Corp. 2001, 2003
*  1999-2000 Cisco, Inc.
*  1999-2001 Motorola, Inc.
* 	
* SCTP reference implementation 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.
*
* The SCTP reference implementation 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 GNU CC; see the file COPYING.  If not, write to
* the Free Software Foundation, Inc., 51 Franklin St, Fith Floor,
* Boston, MA  02110-1301  USA.
*
* Libraries are distributed under the LGPL Version 2.1. 
* See /usr/share/common-licenses/LGPL or http://www.gnu.org/licenses/lgpl.html
* for details.
*
* Programs are distributed under the GPL Version 2.
* See /usr/share/common-licenses/GPL or http://www.gnu.org/licenses/gpl.html
* for details.

Package: (GPL-2.0 ; LGPL-2.1)

Present: ';' as an operator where no one license applies to the package but in fact some subset of files in the package is under license1 and another subset is under license2 and so forth.

Package: eglibc_2.18.orig.tar.xz

* This is the Debian prepackaged version of the Embedded GNU C Library
* version 2.18.
* 
* It was put together by the GNU Libc Maintainers <debian-glibc@lists.debian.org>
* from <svn://svn.eglibc.org>
* 
* Most of the GNU C library is under the following copyright:
* 
*     Copyright (C) 1991,92,93,94,95,96,97,98,99,2000,2001,2002,2003,2004,2005,
*     2006,2007,2008,2009,2010,2011 Free Software Foundation, Inc.
*
*    The GNU C 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.
*
*    The GNU C 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 the GNU C Library; if not, write to the Free
*    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
*    02110-1301 US *A
*
*  On Debian systems, the complete text of the GNU Library
*  General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'.
*
*  The utilities associated with GNU C library is under the following
*  copyright:
*
*    Copyright (C) 1991,92,93,94,95,96,97,98,99,2000,2001,2002,2003,2004,2005,
*    2006,2007,2008,2009,2010,2011 Free Software Foundation, Inc.
*
*    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; 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 St, Fifth Floor, Boston, MA 02110-1301 USA.
*
*  On Debian systems, the complete text of the GNU Library
*  General Public License can be found in `/usr/share/common-licenses/GPL-2'.