* oe-core license description practices
@ 2012-01-15 15:15 Peter Bigot
2012-01-15 16:05 ` Chris Larson
2012-05-21 0:43 ` Bob Cochran
0 siblings, 2 replies; 6+ messages in thread
From: Peter Bigot @ 2012-01-15 15:15 UTC (permalink / raw)
To: openembedded-devel
I need a resolution to this question so I can complete the port of an
oe-classic recipe to oe-core.
http://www.openembedded.org/wiki/OpenEmbedded-Core states that the
LICENSE field should be "as correct as possible (e.g. 'GPLv2', not
just 'GPL')". If the upstream package self-describes as "GPL", is it
necessary that this be refined to a more specific version? I again
note there are numerous existing recipes that do not provide more than
"GPL".
Depending on the answer, I will resubmit with a license of GPL | HPND
or will attempt to contact the upstream maintainer for clarification.
Thanks.
Peter
On Sat, Dec 31, 2011 at 3:28 PM, Peter Bigot <bigotp@acm.org> wrote:
> On Sat, Dec 31, 2011 at 1:40 PM, Koen Kooi <koen@dominion.thruhere.net> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Op 31-12-11 18:32, Peter A. Bigot schreef:
>>> From: "Peter A. Bigot" <bigotp@acm.org>
>>>
>>
>>> +++ b/meta-oe/recipes-devtools/python/python-mysqldb_1.2.3.bb @@ -0,0
>>> +1,24 @@ +DESCRIPTION = "Python interface to MySQL" +HOMEPAGE =
>>> "http://sourceforge.net/projects/mysql-python/" +SECTION =
>>> "devel/python" +# "GPL or the original license based on Python 1.5.2's
>>> license" +LICENSE = "GPL"
>>
>> That really needs a version specifier for the GPL version.
>
> I agree in theory, but what I quoted is what the author provided in
> the README. It's characterized as an unqualified "GPL" on SourceForge
> and the Python Package Index. There is no COPYING file in the
> distribution, hence my use of the README as the license file. I note
> there are several dozen other recipes in meta-openembedded and
> openembedded-core that have the same unqualified GPL license.
>
> Digging a little more, the only further source of guidance is _mysql.c
> which has the following text in a header comment. If we assume the
> other files are the same, I can update LICENSE to be GPLv2+. The
> alternative appears to be an HPND equivalent; I don't know how to
> represent that, as I can't find any recipes that reference it.
>
> How do you want this resolved?
>
> 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. Alternatively, you may use the original license
> reproduced below.
>
> Copyright 1999 by Comstar.net, Inc., Atlanta, GA, US.
>
> All Rights Reserved
>
> Permission to use, copy, modify, and distribute this software and its
> documentation for any purpose and without fee is hereby granted,
> provided that the above copyright notice appear in all copies and that
> both that copyright notice and this permission notice appear in
> supporting documentation, and that the name of Comstar.net, Inc.
> or COMSTAR not be used in advertising or publicity pertaining to
> distribution of the software without specific, written prior permission.
>
> COMSTAR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
> INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
> EVENT SHALL COMSTAR BE LIABLE FOR ANY SPECIAL, INDIRECT OR
> CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
> USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
> OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
> PERFORMANCE OF THIS SOFTWARE.
>
>
>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.11 (Darwin)
>> Comment: GPGTools - http://gpgtools.org
>>
>> iEYEARECAAYFAk7/ZTYACgkQMkyGM64RGpFc8wCcCU8ufb4FiToMuk0WYns9eAea
>> +QkAoJd+xMnAHtk/Sf5eG2eoCusm8D/G
>> =maSn
>> -----END PGP SIGNATURE-----
>>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: oe-core license description practices
2012-01-15 15:15 oe-core license description practices Peter Bigot
@ 2012-01-15 16:05 ` Chris Larson
2012-01-15 16:22 ` Peter Bigot
2012-05-21 0:43 ` Bob Cochran
1 sibling, 1 reply; 6+ messages in thread
From: Chris Larson @ 2012-01-15 16:05 UTC (permalink / raw)
To: openembedded-devel
On Sun, Jan 15, 2012 at 8:15 AM, Peter Bigot <bigotp@acm.org> wrote:
> http://www.openembedded.org/wiki/OpenEmbedded-Core states that the
> LICENSE field should be "as correct as possible (e.g. 'GPLv2', not
> just 'GPL')". If the upstream package self-describes as "GPL", is it
> necessary that this be refined to a more specific version?
Generally they may say they're GPL, but are actually GPLv2+ or
similar. Read the actual license text included in the source tree, and
the headers of the files.
--
Christopher Larson
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: oe-core license description practices
2012-01-15 16:05 ` Chris Larson
@ 2012-01-15 16:22 ` Peter Bigot
2012-01-15 16:52 ` Mark Hatle
0 siblings, 1 reply; 6+ messages in thread
From: Peter Bigot @ 2012-01-15 16:22 UTC (permalink / raw)
To: openembedded-devel
On Sun, Jan 15, 2012 at 10:05 AM, Chris Larson <clarson@kergoth.com> wrote:
> On Sun, Jan 15, 2012 at 8:15 AM, Peter Bigot <bigotp@acm.org> wrote:
>> http://www.openembedded.org/wiki/OpenEmbedded-Core states that the
>> LICENSE field should be "as correct as possible (e.g. 'GPLv2', not
>> just 'GPL')". If the upstream package self-describes as "GPL", is it
>> necessary that this be refined to a more specific version?
>
> Generally they may say they're GPL, but are actually GPLv2+ or
> similar. Read the actual license text included in the source tree, and
> the headers of the files.
I have done that. Please see the material I quoted below my question,
and let me know how to proceed based on my description of what I found
in the package. Perhaps I'm being too careful, but I didn't find it
clear enough to warrant unilaterally re-characterizing the licensing.
Thanks.
Peter
> --
> Christopher Larson
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: oe-core license description practices
2012-01-15 16:22 ` Peter Bigot
@ 2012-01-15 16:52 ` Mark Hatle
0 siblings, 0 replies; 6+ messages in thread
From: Mark Hatle @ 2012-01-15 16:52 UTC (permalink / raw)
To: openembedded-devel
Quick research.. Debian calls this GPLv2+... but I can find no corresponding
evidence to what was quoted in the Debian copyright file.
What I did find was the quoted piece from the _mysql.c:
> 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. Alternatively, you may use the original license
> reproduced below.
>
> Copyright 1999 by Comstar.net, Inc., Atlanta, GA, US.
>
> All Rights Reserved
>
> Permission to use, copy, modify, and distribute this software and its
> documentation for any purpose and without fee is hereby granted,
> provided that the above copyright notice appear in all copies and that
> both that copyright notice and this permission notice appear in
> supporting documentation, and that the name of Comstar.net, Inc.
> or COMSTAR not be used in advertising or publicity pertaining to
> distribution of the software without specific, written prior permission.
>
> COMSTAR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
> INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
> EVENT SHALL COMSTAR BE LIABLE FOR ANY SPECIAL, INDIRECT OR
> CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
> USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
> OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
> PERFORMANCE OF THIS SOFTWARE.
and the comment in the README file:
> License
> -------
>
> GPL or the original license based on Python 1.5.2's license.
>
>
> :Author: Andy Dustman <andy@dustman.net>
> :Revision: $Id: README 641 2010-02-25 21:28:13Z kylev $
Based on the above, I'd call it GPLv2+ due to the one file having a specific
license statement, and a compatible but nebulous license statement in the
README. I found no other license statements anywhere in the package.
--Mark
On 1/15/12 10:22 AM, Peter Bigot wrote:
> On Sun, Jan 15, 2012 at 10:05 AM, Chris Larson<clarson@kergoth.com> wrote:
>> On Sun, Jan 15, 2012 at 8:15 AM, Peter Bigot<bigotp@acm.org> wrote:
>>> http://www.openembedded.org/wiki/OpenEmbedded-Core states that the
>>> LICENSE field should be "as correct as possible (e.g. 'GPLv2', not
>>> just 'GPL')". If the upstream package self-describes as "GPL", is it
>>> necessary that this be refined to a more specific version?
>>
>> Generally they may say they're GPL, but are actually GPLv2+ or
>> similar. Read the actual license text included in the source tree, and
>> the headers of the files.
>
> I have done that. Please see the material I quoted below my question,
> and let me know how to proceed based on my description of what I found
> in the package. Perhaps I'm being too careful, but I didn't find it
> clear enough to warrant unilaterally re-characterizing the licensing.
> Thanks.
>
> Peter
>
>> --
>> Christopher Larson
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: oe-core license description practices
2012-01-15 15:15 oe-core license description practices Peter Bigot
2012-01-15 16:05 ` Chris Larson
@ 2012-05-21 0:43 ` Bob Cochran
2012-05-21 10:51 ` Peter Bigot
1 sibling, 1 reply; 6+ messages in thread
From: Bob Cochran @ 2012-05-21 0:43 UTC (permalink / raw)
To: openembedded-devel; +Cc: Peter Bigot
On 01/15/2012 10:15 AM, Peter Bigot wrote:
> I need a resolution to this question so I can complete the port of an
> oe-classic recipe to oe-core.
>
> http://www.openembedded.org/wiki/OpenEmbedded-Core states that the
> LICENSE field should be "as correct as possible (e.g. 'GPLv2', not
> just 'GPL')". If the upstream package self-describes as "GPL", is it
> necessary that this be refined to a more specific version? I again
> note there are numerous existing recipes that do not provide more than
> "GPL".
>
> Depending on the answer, I will resubmit with a license of GPL | HPND
> or will attempt to contact the upstream maintainer for clarification.
>
> Thanks.
>
> Peter
>
> On Sat, Dec 31, 2011 at 3:28 PM, Peter Bigot<bigotp@acm.org> wrote:
>> On Sat, Dec 31, 2011 at 1:40 PM, Koen Kooi<koen@dominion.thruhere.net> wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
snip
Hi Peter,
Did this get resolved? I'm not finding python-mysqldb on the git server
outside of classic.
However, I did make use of the 1.2.3 patches you offered on 12/31/11, so
thanks for that. I have done some minimal testing with django tonight,
and it seems to be working OK.
Bob
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: oe-core license description practices
2012-05-21 0:43 ` Bob Cochran
@ 2012-05-21 10:51 ` Peter Bigot
0 siblings, 0 replies; 6+ messages in thread
From: Peter Bigot @ 2012-05-21 10:51 UTC (permalink / raw)
To: Bob Cochran; +Cc: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1540 bytes --]
On Sun, May 20, 2012 at 7:43 PM, Bob Cochran
<openembedded@mindchasers.com> wrote:
> On 01/15/2012 10:15 AM, Peter Bigot wrote:
>>
>> I need a resolution to this question so I can complete the port of an
>> oe-classic recipe to oe-core.
>>
>> http://www.openembedded.org/wiki/OpenEmbedded-Core states that the
>> LICENSE field should be "as correct as possible (e.g. 'GPLv2', not
>> just 'GPL')". If the upstream package self-describes as "GPL", is it
>> necessary that this be refined to a more specific version? I again
>> note there are numerous existing recipes that do not provide more than
>> "GPL".
>>
>> Depending on the answer, I will resubmit with a license of GPL | HPND
>> or will attempt to contact the upstream maintainer for clarification.
>>
>> Thanks.
>>
>> Peter
>>
>> On Sat, Dec 31, 2011 at 3:28 PM, Peter Bigot<bigotp@acm.org> wrote:
>>>
>>> On Sat, Dec 31, 2011 at 1:40 PM, Koen Kooi<koen@dominion.thruhere.net>
>>> wrote:
>>>>
>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>> Hash: SHA1
>>>>
>
> snip
>
>
> Hi Peter,
>
> Did this get resolved? I'm not finding python-mysqldb on the git server
> outside of classic.
No, I never got what I felt was a legally approved answer to the basic
question, and haven't worked OE for a couple months so didn't pursue
it.
Peter
> However, I did make use of the 1.2.3 patches you offered on 12/31/11, so
> thanks for that. I have done some minimal testing with django tonight, and
> it seems to be working OK.
>
> Bob
>
>
>
[-- Attachment #2: 0001-python-mysqldb-import-from-OE-classic-update-to-1.2..patch --]
[-- Type: application/octet-stream, Size: 2872 bytes --]
From 32c8a08c0f10f387158ed899f4ba6f747cfb11ba Mon Sep 17 00:00:00 2001
From: "Peter A. Bigot" <bigotp@acm.org>
Date: Tue, 31 Jan 2012 08:51:46 -0600
Subject: [PATCH] python-mysqldb: import from OE classic, update to 1.2.3
Changes from classic recipe:
* Corrected license description based on text in README.
* Switched to setuptools since distutils produced an egg that had x86
encoded in it.
* Old site.patch no longer necessary; threadsafe is False in this version.
Overall licensing taken from README; GPL inferred to be GPLv2+ based on text
at top of _mysql.c
Signed-off-by: Peter A. Bigot <bigotp@acm.org>
---
.../python/python-mysqldb/mysqlpath.patch | 18 +++++++++++++++
.../python/python-mysqldb_1.2.3.bb | 24 ++++++++++++++++++++
2 files changed, 42 insertions(+), 0 deletions(-)
create mode 100644 meta-oe/recipes-devtools/python/python-mysqldb/mysqlpath.patch
create mode 100644 meta-oe/recipes-devtools/python/python-mysqldb_1.2.3.bb
diff --git a/meta-oe/recipes-devtools/python/python-mysqldb/mysqlpath.patch b/meta-oe/recipes-devtools/python/python-mysqldb/mysqlpath.patch
new file mode 100644
index 0000000..a38da6f
--- /dev/null
+++ b/meta-oe/recipes-devtools/python/python-mysqldb/mysqlpath.patch
@@ -0,0 +1,18 @@
+--- MySQL-python-1.2.3/_mysql.c.orig 2010-06-17 02:21:56.000000000 -0500
++++ MySQL-python-1.2.3/_mysql.c 2011-12-31 09:50:07.888056331 -0600
+@@ -33,11 +33,11 @@
+ #include <windows.h>
+ #include <config-win.h>
+ #else
+-#include "my_config.h"
++#include "mysql/my_config.h"
+ #endif
+-#include "mysql.h"
+-#include "mysqld_error.h"
+-#include "errmsg.h"
++#include "mysql/mysql.h"
++#include "mysql/mysqld_error.h"
++#include "mysql/errmsg.h"
+
+ #if PY_VERSION_HEX < 0x02020000
+ # define MyTuple_Resize(t,n,d) _PyTuple_Resize(t, n, d)
diff --git a/meta-oe/recipes-devtools/python/python-mysqldb_1.2.3.bb b/meta-oe/recipes-devtools/python/python-mysqldb_1.2.3.bb
new file mode 100644
index 0000000..ae0c7ca
--- /dev/null
+++ b/meta-oe/recipes-devtools/python/python-mysqldb_1.2.3.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "Python interface to MySQL"
+HOMEPAGE = "http://sourceforge.net/projects/mysql-python/"
+SECTION = "devel/python"
+# "GPL or the original license based on Python 1.5.2's license"
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://README;md5=f92e5d60b213d35288bc14f18e1e31b4"
+DEPENDS = "mysql5"
+
+SRC_URI = "\
+ ${SOURCEFORGE_MIRROR}/mysql-python/MySQL-python-${PV}.tar.gz \
+ file://mysqlpath.patch \
+"
+SRC_URI[md5sum] = "215eddb6d853f6f4be5b4afc4154292f"
+SRC_URI[sha256sum] = "7de66fbbf923634e7c965aeaefa74642ba75ae20ee1cefcefc3009595b7a7e6e"
+
+SRCNAME = "MySQL-python"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
+
+do_install_append() {
+ install -d ${D}${datadir}/doc/${PN}/
+ install -m 0644 ${S}/doc/*.txt ${D}${datadir}/doc/${PN}/
+}
--
1.7.7.6
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-05-21 11:01 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-15 15:15 oe-core license description practices Peter Bigot
2012-01-15 16:05 ` Chris Larson
2012-01-15 16:22 ` Peter Bigot
2012-01-15 16:52 ` Mark Hatle
2012-05-21 0:43 ` Bob Cochran
2012-05-21 10:51 ` Peter Bigot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.