[linenoise] added licensing clarifications

Dan Callaghan dcallagh at fedoraproject.org
Wed Jan 23 00:11:58 UTC 2013


commit a295c350a097c2ee347447138eb5202ca33c46dd
Author: Dan Callaghan <dcallagh at redhat.com>
Date:   Wed Jan 23 10:11:26 2013 +1000

    added licensing clarifications

 COPYING                            |   29 +++++++++++++
 jimtcl-LICENSE                     |   45 ++++++++++++++++++++
 linenoise.spec                     |   22 +++++++++-
 steve-bennett-license-confirmation |   80 ++++++++++++++++++++++++++++++++++++
 4 files changed, 174 insertions(+), 2 deletions(-)
---
diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..b84bd2f
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,29 @@
+Copyright (c) 2010, Salvatore Sanfilippo <antirez at gmail dot com>
+Copyright (c) 2010, Pieter Noordhuis <pcnoordhuis at gmail dot com>
+Copyright (c) 2011, Steve Bennett <steveb at workware dot net dot au>
+Copyright (c) 2011, Alan DeKok <aland at freeradius dot org>
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ *  Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+
+ *  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 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 COPYRIGHT
+HOLDER 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.
diff --git a/jimtcl-LICENSE b/jimtcl-LICENSE
new file mode 100644
index 0000000..48f2cc8
--- /dev/null
+++ b/jimtcl-LICENSE
@@ -0,0 +1,45 @@
+Unless explicitly stated, all files within Jim repository are released
+under following license:
+
+/* Jim - A small embeddable Tcl interpreter
+ *
+ * Copyright 2005 Salvatore Sanfilippo <antirez at invece.org>
+ * Copyright 2005 Clemens Hintze <c.hintze at gmx.net>
+ * Copyright 2005 patthoyts - Pat Thoyts <patthoyts at users.sf.net>
+ * Copyright 2008 oharboe - Øyvind Harboe - oyvind.harboe at zylin.com
+ * Copyright 2008 Andrew Lunn <andrew at lunn.ch>
+ * Copyright 2008 Duane Ellis <openocd at duaneellis.com>
+ * Copyright 2008 Uwe Klein <uklein at klein-messgeraete.de>
+ * Copyright 2008 Steve Bennett <steveb at workware.net.au>
+ * Copyright 2009 Nico Coesel <ncoesel at dealogic.nl>
+ * Copyright 2009 Zachary T Welch zw at superlucidity.net
+ * Copyright 2009 David Brownell
+ *
+ * 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 BY THE JIM TCL PROJECT ``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
+ * JIM TCL PROJECT 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.
+ *
+ * The views and conclusions contained in the software and documentation
+ * are those of the authors and should not be interpreted as representing
+ * official policies, either expressed or implied, of the Jim Tcl Project.
+ */
diff --git a/linenoise.spec b/linenoise.spec
index 04f07d8..963aaac 100644
--- a/linenoise.spec
+++ b/linenoise.spec
@@ -3,11 +3,25 @@
 
 Name:           linenoise
 Version:        0
-Release:        1.git%{git_rev}%{?dist}
+Release:        2.git%{git_rev}%{?dist}
 Summary:        Minimal replacement for readline
+# The licenses are a bit of a mess here...
+# utf8.{c,h} contain incomplete license headers. They refer to a "LICENSE" file 
+# which is actually from jimtcl. A copy is committed in dist-git as 
+# jimtcl-LICENSE, retrieved from 
+# <https://raw.github.com/msteveb/jimtcl/master/LICENSE>. I received a mail 
+# from the author, committed as steve-bennett-license-confirmation, confirming 
+# that that is indeed the LICENSE file referred to and therefore utf8.{c,h} are 
+# under a BSD-like license.
+# linenoise.{c,h} contain complete BSD-like license headers so they are fine. 
+# And it means the whole library is definitely under a BSD-like license.
+# But there is no separate license file shipped in the tarball. I queried Tad 
+# Marshall on 2013-01-10 to include one but never received a reply. So 
+# I synthesized one as Source1.
 License:        BSD
 URL:            https://github.com/tadmarshall/linenoise
 Source0:        https://github.com/tadmarshall/linenoise/tarball/%{git_rev}/%{name}-%{git_rev}.tar.gz
+Source1:        COPYING
 Patch0:         %{name}-build-shared-lib.patch
 Patch1:         %{name}-symbol-visibility.patch
 
@@ -25,6 +39,7 @@ This package contains files needed for developing software that uses
 
 %prep
 %setup -q -n tadmarshall-%{name}-%{git_rev}
+cp %{SOURCE1} COPYING
 %patch0 -p1
 %patch1 -p1
 
@@ -35,7 +50,7 @@ LIBDIR="%{_libdir}" INCLUDEDIR="%{_includedir}" CFLAGS="%{optflags}" make %{?_sm
 LIBDIR="%{_libdir}" INCLUDEDIR="%{_includedir}" CFLAGS="%{optflags}" make %{?_smp_mflags} DESTDIR="%{buildroot}" install
 
 %files
-%doc README.markdown
+%doc README.markdown COPYING
 %{_libdir}/liblinenoise.so.*
 
 %files devel
@@ -47,5 +62,8 @@ LIBDIR="%{_libdir}" INCLUDEDIR="%{_includedir}" CFLAGS="%{optflags}" make %{?_sm
 %postun -p /sbin/ldconfig
 
 %changelog
+* Wed Jan 23 2013 Dan Callaghan <dcallagh at redhat.com> - 0-2.git7946e2c
+- added licensing clarifications
+
 * Tue Jan 08 2013 Dan Callaghan <dcallagh at redhat.com> - 0-1.git7946e2c
 - initial version
diff --git a/steve-bennett-license-confirmation b/steve-bennett-license-confirmation
new file mode 100644
index 0000000..bdb0ada
--- /dev/null
+++ b/steve-bennett-license-confirmation
@@ -0,0 +1,80 @@
+Return-Path: steveb at workware.net.au
+Received: from mail.corp.redhat.com [10.4.128.1]
+	by galangal.usersys.redhat.com with IMAP (fetchmail-6.3.22)
+	for <dcallagh at localhost> (single-drop); Thu, 10 Jan 2013 11:25:38 +1000 (EST)
+Received: from zmta06.collab.prod.int.phx2.redhat.com (LHLO
+ zmta06.collab.prod.int.phx2.redhat.com) (10.5.81.13) by
+ zmail11.collab.prod.int.phx2.redhat.com with LMTP; Wed, 9 Jan 2013 20:25:36
+ -0500 (EST)
+Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25])
+	by zmta06.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 99DC41603F6
+	for <dcallagh at mail.corp.redhat.com>; Wed,  9 Jan 2013 20:25:36 -0500 (EST)
+Received: from mx1.redhat.com (ext-mx12.extmail.prod.ext.phx2.redhat.com [10.5.110.17])
+	by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r0A1Palh020059
+	for <dcallagh at redhat.com>; Wed, 9 Jan 2013 20:25:36 -0500
+Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145])
+	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r0A1PYbT015954
+	for <dcallagh at redhat.com>; Wed, 9 Jan 2013 20:25:35 -0500
+Received: from ppp188-40.static.internode.on.net (HELO mail.workware.net.au) ([150.101.188.40])
+  by ipmail06.adl6.internode.on.net with ESMTP; 10 Jan 2013 11:50:27 +1030
+Received: from localhost (localhost.internal.workware.net.au [127.0.0.1])
+	by mail.workware.net.au (Postfix) with ESMTP id A0CED10BAFB8
+	for <dcallagh at redhat.com>; Thu, 10 Jan 2013 11:20:25 +1000 (EST)
+X-Virus-Scanned: amavisd-new at workware.net.au
+Received: from mail.workware.net.au ([127.0.0.1])
+	by localhost (server.internal.workware.net.au [127.0.0.1]) (amavisd-new, port 10024)
+	with ESMTP id bfFOF7YW3TKC for <dcallagh at redhat.com>;
+	Thu, 10 Jan 2013 11:20:24 +1000 (EST)
+Received: from [192.168.9.23] (d110-32-13-173.rdl800.qld.optusnet.com.au [110.32.13.173])
+	by mail.workware.net.au (Postfix) with ESMTPSA id C5C9C10BAFAC
+	for <dcallagh at redhat.com>; Thu, 10 Jan 2013 11:20:24 +1000 (EST)
+Subject: Re: License for utf8.{c,h} in linenoise
+References: <1357774129-sup-1924 at galangal.usersys.redhat.com>
+From: Steve Bennett <steveb at workware.net.au>
+Content-Type: text/plain;
+	charset=us-ascii
+In-Reply-To: <1357774129-sup-1924 at galangal.usersys.redhat.com>
+Message-Id: <48F891FD-CFEF-4AF0-972E-388D19E015D5 at workware.net.au>
+Date: Thu, 10 Jan 2013 11:20:16 +1000
+To: Dan Callaghan <dcallagh at redhat.com>
+Content-Transfer-Encoding: 7bit
+Mime-Version: 1.0 (1.0)
+X-RedHat-Spam-Score: -2.31  (BAYES_00,DCC_REPUT_00_12,RCVD_IN_DNSWL_NONE)
+X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25
+X-Scanned-By: MIMEDefang 2.68 on 10.5.110.17
+
+Hi Dan,
+
+WorkWare Systems      P:0434 921 300
+www.workware.net.au   F:07 3102 9221
+
+On 10/01/2013, at 9:34, Dan Callaghan <dcallagh at redhat.com> wrote:
+
+> Hi Steve,
+> 
+> I'm just in the process of packaging linenoise for Fedora and I noticed 
+> that the copyright headers for the files utf8.c and utf8.h (authored by 
+> you) are not clear about the license they are under.
+> 
+> It looks like those files were copied from the jimtcl project, so I'm 
+> assuming the LICENCE file referred to in the header to is the BSD-like 
+> license in jimtcl.
+
+That is correct 
+
+> 
+> But just to be clear, I'd appreciate if you could:
+> * confirm those files are under a BSD-like license; and
+> * give me permission to share your reply e-mail publicly in case the 
+>  license of those files comes into question.
+
+Yes (same as the rest of jim tcl) and yes.
+
+Regards,
+Steve
+
+> 
+> -- 
+> Dan Callaghan <dcallagh at redhat.com>
+> Software Engineer, Infrastructure Engineering and Development
+> Red Hat, Inc.


More information about the scm-commits mailing list