Skip to contentSkip to conversation

python-pip: correct license to GPLv2+

PATCH In review [email protected] 2 participants 3 messages Jan 30, 2015 – Feb 6, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python-pip: correct license to GPLv2+

From: Ting Liu <[email protected]>

WARNING: python-pip: No generic license file exists for: GPL in any provider

---
 meta-python/recipes-devtools/python/python-pip_1.3.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-pip_1.3.1.bb +1 -1
index d1a7c8b..87493f5 100644
@@ -1,5 +1,5 @@
 SUMMARY = "PIP is a tool for installing and managing Python packages"
-LICENSE = "MIT & GPL"
+LICENSE = "MIT & GPLv2+"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cd00425a3465a0e4c81929b94241d3de"
 
 SRC_URI = "https://pypi.python.org/packages/source/p/pip/pip-${PV}.tar.gz"
Signature · 1 line
1.9.1
#1 lore raw

PATCH 2/2 rng-tools: Fixes for latest OE layouts

From: Gary Thomas <[email protected]>

The current recipe has a few installation errors:
* The manipulation of configurable paths drops a '/'
* The init script defaults are placed in the wrong file
* Finer control over init script start/stop
* The default device is non-standard

This patch fixes these little nits and makes the package usable again.

Based on the original patch:
http://patchwork.openembedded.org/patch/41049/

---
 meta-oe/recipes-support/rng-tools/files/default  | 3 ++-
 meta-oe/recipes-support/rng-tools/rng-tools_4.bb | 6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)
meta-oe/recipes-support/rng-tools/files/default +2 -1
index ab7cd93..7aede9b 100644
@@ -1,2 +1,3 @@
 # Specify rng device
-RNG_DEVICE=/dev/hwrng
+#RNG_DEVICE=/dev/hwrng
+RNG_DEVICE=/dev/urandom
meta-oe/recipes-support/rng-tools/rng-tools_4.bb +3 -3
index 0b40fc5..b3d880f 100644
@@ -24,13 +24,13 @@ do_install_append() {
     if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
         install -d "${D}${sysconfdir}/init.d"
         install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/rng-tools
-        sed -i -e 's,/etc/,${sysconfdir}/,' -e 's,/usr/sbin/,${sbindir},' \
+        sed -i -e 's,/etc/,${sysconfdir}/,' -e 's,/usr/sbin/,${sbindir}/,' \
             ${D}${sysconfdir}/init.d/rng-tools
 
         install -d "${D}${sysconfdir}/default"
-        install -m 0644 ${WORKDIR}/default ${D}${sysconfdir}/default
+        install -m 0644 ${WORKDIR}/default ${D}${sysconfdir}/rng-tools
     fi
 }
 
 INITSCRIPT_NAME = "rng-tools"
-INITSCRIPT_PARAMS = "defaults"
+INITSCRIPT_PARAMS = "start 30 S . stop 30 0 6 1 ."
Signature · 1 line
1.9.1
#2 lore raw
In reply to [email protected]
Quoted 3 lines · On Fri, Jan 30, 2015 at 04:20:44PM +0800, [email protected] wrote:

From: Ting Liu <[email protected]>

WARNING: python-pip: No generic license file exists for: GPL in any provider

It looks like LGPL-2.0 as http://patchwork.openembedded.org/patch/88013/
does, so I'll drop this patch.

Quoted 20 lines
---
 meta-python/recipes-devtools/python/python-pip_1.3.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-pip_1.3.1.bb +1 -1
index d1a7c8b..87493f5 100644
@@ -1,5 +1,5 @@
 SUMMARY = "PIP is a tool for installing and managing Python packages"
-LICENSE = "MIT & GPL"
+LICENSE = "MIT & GPLv2+"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cd00425a3465a0e4c81929b94241d3de"
 
 SRC_URI = "https://pypi.python.org/packages/source/p/pip/pip-${PV}.tar.gz"
Signature · 1 line
1.9.1
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]