Re: What license is multipath-tools under

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

 



Hello James,

On Thu, 2016-07-28 at 13:26 -0400, James Bottomley wrote:
> On Thu, 2016-07-28 at 22:23 +0530, Ritesh Raj Sarraf wrote:
> > Thanks Xose, for digging this information. But shouldn't this 
> > information go into respective source files?
> 
> If there's a COPYING file, there's no need for individual files to have
> a copyright.  The licence of the file defaults to whatever COPYING (or
> LICENCE or some recognizable top level file says).  A significant
> number of Linux Kernel files don't have individual file header copyrigh
> ts, if you want an example of this.

Yes. But as I understand, the entire Linux [1] code base is GPLv2 only. Whereas
in case of multipath-tools, as Xose mentioned in the previous email, it is a mix
of:

* GPLv2 (only?)
* GPLv2+
* LGPLv2

Having this information in the source repository (not necessarily as individual
source headers) will speak out much clear.

I think something like Debian's Machine-readable copyright format will be a good
fit in this case.

https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/

An example project, with mixed licenses:
http://metadata.ftp-master.debian.org/changelogs/main/libs/libstoragemgmt/unstab
le_copyright

BTW, this topic hit my mind 2 days ago when I looked at the aging (old format)
multipath-tools/debian/copyright in my packaging repo and wanted to fix it.

http://metadata.ftp-master.debian.org/changelogs/main/m/multipath-tools/unstable
_copyright



I have attached a patch for a copyright file, based on what Xose had mentioned
in the email. There still are files, like libmultipath/prioritizers/alua.c,
which mention the license as plain GPL. So, this patch is still not complete.


[1] with some minor exceptions I just noticed.

-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System
From a148c6de8b558858e3210c973574859954ad2e63 Mon Sep 17 00:00:00 2001
From: Ritesh Raj Sarraf <rrs@xxxxxxxxxx>
Date: Fri, 29 Jul 2016 00:03:27 +0530
Subject: [PATCH] Add initial licensing/copyright file

Signed-off-by: Ritesh Raj Sarraf <rrs@xxxxxxxxxx>
---
 copyright | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)
 create mode 100644 copyright

diff --git a/copyright b/copyright
new file mode 100644
index 0000000..0758ab0
--- /dev/null
+++ b/copyright
@@ -0,0 +1,63 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: multipath-tools
+Upstream-Contact: Multipath Tools Project (dm-devel@xxxxxxxxxx)
+Source: https://http://git.opensvc.com/?p=multipath-tools/.git;a=summary
+
+Files: *
+License: LGPL-2.1+
+
+Files: kpartx/
+        multipath/main.c
+        libmultipath/checkers/cciss_tur.c
+        libmultipath/memory.c
+        libmultipath/memory.h
+        libmultipath/parser.c
+        libmultipath/parser.h
+        libmultipath/vector.c
+        libmultipath/vector.h
+        libmultipath/version.h
+        libmultipath/file.c
+        libmultipath/alias.c
+License: GPL-2+
+
+Files: libmulitpath/uevent.c
+        libmultipath/sysfs.c
+        libmultipath/prioritizers/ontap.c
+License: GPL-2
+
+
+License: GPL-2+
+ This package 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 package 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/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+
+License: LGPL-2.1+
+ This package 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 of the License, or
+ (at your option) any later version.
+ .
+ This package 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 program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU Lesser General
+ Public License version 2 can be found in "/usr/share/common-licenses/LGPL-2.1".
+
-- 
2.8.1

Attachment: signature.asc
Description: This is a digitally signed message part

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux