Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/xenomai: fallback to http
From: Romain Naour @ 2017-04-25 21:26 UTC (permalink / raw)
  To: buildroot

The https protocol return:
"ERROR 503: Service Temporarily Unavailable"

Fixes:
http://autobuild.buildroot.net/results/120/12034603c46c8bd69590c88bbfe85261460b699c

Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
 package/xenomai/xenomai.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/xenomai/xenomai.mk b/package/xenomai/xenomai.mk
index 4844fff..c1477d9 100644
--- a/package/xenomai/xenomai.mk
+++ b/package/xenomai/xenomai.mk
@@ -11,7 +11,7 @@ else
 BR_NO_CHECK_HASH_FOR += $(XENOMAI_SOURCE)
 endif
 
-XENOMAI_SITE = https://xenomai.org/downloads/xenomai/stable
+XENOMAI_SITE = http://xenomai.org/downloads/xenomai/stable
 XENOMAI_SOURCE = xenomai-$(XENOMAI_VERSION).tar.bz2
 XENOMAI_LICENSE = GPL-2.0+ with exception (headers), LGPL-2.1+ (libraries), GPL-2.0+ (kernel), GFDL-1.2+ (docs), GPL-2.0 (ipipe patch, can driver)
 # GFDL is not included but refers to gnu.org
-- 
2.9.3

^ permalink raw reply related

* [Buildroot] [PATCH] package/python-json-schema-validator: Remove Python2 dependency
From: Thomas Petazzoni @ 2017-04-25 21:25 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170425184824.11534-1-andrew.smirnov@gmail.com>

Hello,

On Tue, 25 Apr 2017 11:48:24 -0700, Andrey Smirnov wrote:
> Python-json-schema-validator supports Python3, so there's no reason to
> limit it to Python2 only.
> 
> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
> Signed-off-by: Matthew Carruth <carruthm@gmail.com>
> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
> ---

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply

* [Buildroot] [PATCH] package/python-versiontools: Remove Python2 dependency
From: Thomas Petazzoni @ 2017-04-25 21:25 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170425184806.11368-1-andrew.smirnov@gmail.com>

Hello,

On Tue, 25 Apr 2017 11:48:06 -0700, Andrey Smirnov wrote:
> Python-versiontools supports Python3, so there's no reason to limit it
> to Python2 only.
> 
> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
> Signed-off-by: Matthew Carruth <carruthm@gmail.com>
> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
> ---

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply

* [Buildroot] [git commit branch/2017.02.x] libsamplerate: security bump to version 0.1.9
From: Peter Korsgaard @ 2017-04-25 21:11 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=35f735cd5a2f23d297f1b6d9f09bf4273104a082
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x

libsamplerate is relicensed under the 2 clause BSD license.

Fixes CVE-2017-7697 - In libsamplerate before 0.1.9, a buffer over-read
occurs in the calc_output_single function in src_sinc.c via a crafted audio
file.

For more details, see:
https://blogs.gentoo.org/ago/2017/04/11/libsamplerate-global-buffer-overflow-in-calc_output_single-src_sinc-c/

[Peter: add CVE info]
Signed-off-by: J??rg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit bcdaf4ca8482f0ecb02ee828ce0d3b16f724e9eb)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/libsamplerate/libsamplerate.hash | 2 +-
 package/libsamplerate/libsamplerate.mk   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/libsamplerate/libsamplerate.hash b/package/libsamplerate/libsamplerate.hash
index a495108..a303f0b 100644
--- a/package/libsamplerate/libsamplerate.hash
+++ b/package/libsamplerate/libsamplerate.hash
@@ -1,2 +1,2 @@
 # Locally calculated after checking pgp signature
-sha256	93b54bdf46d5e6d2354b7034395fe329c222a966790de34520702bb9642f1c06	libsamplerate-0.1.8.tar.gz
+sha256  0a7eb168e2f21353fb6d84da152e4512126f7dc48ccb0be80578c565413444c1  libsamplerate-0.1.9.tar.gz
diff --git a/package/libsamplerate/libsamplerate.mk b/package/libsamplerate/libsamplerate.mk
index 28fd644..802b5b1 100644
--- a/package/libsamplerate/libsamplerate.mk
+++ b/package/libsamplerate/libsamplerate.mk
@@ -4,12 +4,12 @@
 #
 ################################################################################
 
-LIBSAMPLERATE_VERSION = 0.1.8
+LIBSAMPLERATE_VERSION = 0.1.9
 LIBSAMPLERATE_SITE = http://www.mega-nerd.com/SRC
 LIBSAMPLERATE_INSTALL_STAGING = YES
 LIBSAMPLERATE_DEPENDENCIES = host-pkgconf
 LIBSAMPLERATE_CONF_OPTS = --disable-fftw --program-transform-name=''
-LIBSAMPLERATE_LICENSE = Dual GPLv2+ / libsamplerate commercial use license
+LIBSAMPLERATE_LICENSE = BSD-2c
 LIBSAMPLERATE_LICENSE_FILES = COPYING
 
 ifeq ($(BR2_PACKAGE_LIBSNDFILE),y)

^ permalink raw reply related

* [Buildroot] [git commit] package/python-json-schema-validator: remove Python2 dependency
From: Thomas Petazzoni @ 2017-04-25 19:50 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=990bc8b2ad87a413726e81595e31363212455c0f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

python-json-schema-validator supports Python 3, so there's no reason
to limit it to Python 2 only.

Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Matthew Carruth <carruthm@gmail.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/python-json-schema-validator/Config.in | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/python-json-schema-validator/Config.in b/package/python-json-schema-validator/Config.in
index 6ae1eb1..dbc5328 100644
--- a/package/python-json-schema-validator/Config.in
+++ b/package/python-json-schema-validator/Config.in
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_PYTHON_JSON_SCHEMA_VALIDATOR
 	bool "python-json-schema-validator"
-	depends on BR2_PACKAGE_PYTHON
 	select BR2_PACKAGE_PYTHON_VERSIONTOOLS
 	help
 	  JSON Schema Validator

^ permalink raw reply related

* [Buildroot] [git commit] package/python-versiontools: remove Python2 dependency
From: Thomas Petazzoni @ 2017-04-25 19:50 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=ce98cea8fb1e1ef0f2453b17447a00af6e25e03f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

python-versiontools supports Python 3, so there's no reason to limit
it to Python 2 only.

Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Matthew Carruth <carruthm@gmail.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/python-versiontools/Config.in | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/python-versiontools/Config.in b/package/python-versiontools/Config.in
index cb260c1..d15de1f 100644
--- a/package/python-versiontools/Config.in
+++ b/package/python-versiontools/Config.in
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_PYTHON_VERSIONTOOLS
 	bool "python-versiontools"
-	depends on BR2_PACKAGE_PYTHON
 	help
 	  Smart replacement for plain tuple used in __version__.
 

^ permalink raw reply related

* [Buildroot] [PATCH 9/9] package/python-ipython: Add dependecy list
From: Andrey Smirnov @ 2017-04-25 19:14 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170425191423.13294-1-andrew.smirnov@gmail.com>

List minimal set of packages needed to be installed alongside to be able
to run IPython with Python 3 (not tested on Python 2)

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
 package/python-ipython/Config.in         | 10 ++++++++++
 package/python-ipython/python-ipython.mk | 14 ++++++++++++++
 2 files changed, 24 insertions(+)

diff --git a/package/python-ipython/Config.in b/package/python-ipython/Config.in
index 1d92873..a1dfd48 100644
--- a/package/python-ipython/Config.in
+++ b/package/python-ipython/Config.in
@@ -1,4 +1,14 @@
 config BR2_PACKAGE_PYTHON_IPYTHON
+	select BR2_PACKAGE_PYTHON_SIX
+	select BR2_PACKAGE_PYTHON_TRAITLETS
+	select BR2_PACKAGE_PYTHON_IPYTHON_GENUTILS
+	select BR2_PACKAGE_PYTHON_PYGMENTS
+	select BR2_PACKAGE_PYTHON_PEXPECT
+	select BR2_PACKAGE_PYTHON_PTYPROCESS
+	select BR2_PACKAGE_PYTHON_PICKLESHARE
+	select BR2_PACKAGE_PYTHON_PROMPT_TOOLKIT
+	select BR2_PACKAGE_PYTHON_SIMPLEGENERIC
+	select BR2_PACKAGE_PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE if BR2_PACKAGE_PYTHON
 	bool "python-ipython"
 	help
 	  IPython is a command shell for interactive computing in multiple
diff --git a/package/python-ipython/python-ipython.mk b/package/python-ipython/python-ipython.mk
index e57d69d..f627846 100644
--- a/package/python-ipython/python-ipython.mk
+++ b/package/python-ipython/python-ipython.mk
@@ -10,5 +10,19 @@ PYTHON_IPYTHON_SITE = https://pypi.python.org/packages/6e/cf/c2a3ca5942e2d808457
 PYTHON_IPYTHON_LICENSE = BSD-3-Clause
 PYTHON_IPYTHON_LICENSE_FILES = COPYING.rst
 PYTHON_IPYTHON_SETUP_TYPE = distutils
+PYTHON_IPYTHON_DEPENDS = 	\
+	python-traitlets 	\
+	python-six 		\
+	python-ipython-genutils \
+	python-pygments		\
+	python-pexpect		\
+	python-ptyprocess	\
+	python-pickleshare	\
+	python-prompt-toolkit	\
+	python-simplegeneric
+
+ifeq ($(BR2_PACKAGE_PYTHON),y)
+PYTHON_IPYTHON_DEPENDS += python-backports-shutil-get-terminal-size
+endif
 
 $(eval $(python-package))
-- 
2.9.3

^ permalink raw reply related

* [Buildroot] [PATCH 8/9] package/python-backports-shutil-get-terminal-size: New package
From: Andrey Smirnov @ 2017-04-25 19:14 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170425191423.13294-1-andrew.smirnov@gmail.com>

Add 'scandir'[1] package to buildroot. Needed by 'IPython', when
building against Python2.

[1] https://pypi.python.org/pypi/backports.shutil_get_terminal_size

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
 package/Config.in                                           |  1 +
 package/python-backports-shutil-get-terminal-size/Config.in |  9 +++++++++
 .../python-backports-shutil-get-terminal-size.hash          |  2 ++
 .../python-backports-shutil-get-terminal-size.mk            | 13 +++++++++++++
 4 files changed, 25 insertions(+)
 create mode 100644 package/python-backports-shutil-get-terminal-size/Config.in
 create mode 100644 package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash
 create mode 100644 package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk

diff --git a/package/Config.in b/package/Config.in
index a749b78..87240ef 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -675,6 +675,7 @@ menu "External python modules"
 	source "package/python-autobahn/Config.in"
 	source "package/python-babel/Config.in"
 	source "package/python-backports-abc/Config.in"
+	source "package/python-backports-shutil-get-terminal-size/Config.in"
 	source "package/python-beautifulsoup4/Config.in"
 	source "package/python-bitstring/Config.in"
 	source "package/python-bottle/Config.in"
diff --git a/package/python-backports-shutil-get-terminal-size/Config.in b/package/python-backports-shutil-get-terminal-size/Config.in
new file mode 100644
index 0000000..24bf3b7
--- /dev/null
+++ b/package/python-backports-shutil-get-terminal-size/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE
+	bool "python-backports-shutil-get-terminal-size"
+	depends on BR2_PACKAGE_PYTHON
+	help
+
+	  A backport of the get_terminal_size function from Python
+	  3.3's shutil.
+
+	  https://pypi.python.org/pypi/backports.shutil_get_terminal_size
diff --git a/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash b/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash
new file mode 100644
index 0000000..0df0cf7
--- /dev/null
+++ b/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash
@@ -0,0 +1,2 @@
+# sha256 locally computed
+sha256 713e7a8228ae80341c70586d1cc0a8caa5207346927e23d09dcbcaf18eadec80 backports.shutil_get_terminal_size-1.0.0.tar.gz
diff --git a/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk b/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk
new file mode 100644
index 0000000..63cf363
--- /dev/null
+++ b/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-backports-shutil-get-terminal-size
+#
+################################################################################
+
+PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_VERSION = 1.0.0
+PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_SOURCE = backports.shutil_get_terminal_size-$(PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_VERSION).tar.gz
+PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_SITE = https://pypi.python.org/packages/ec/9c/368086faa9c016efce5da3e0e13ba392c9db79e3ab740b763fe28620b18b
+PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_SETUP_TYPE = setuptools
+PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_LICENSE = MIT
+
+$(eval $(python-package))
-- 
2.9.3

^ permalink raw reply related

* [Buildroot] [PATCH 7/9] package/python-pickleshare: New package
From: Andrey Smirnov @ 2017-04-25 19:14 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170425191423.13294-1-andrew.smirnov@gmail.com>

Add 'pickleshare'[1] package to buildroot. Needed by 'IPython'.

[1] https://pypi.python.org/pypi/pickleshare

Add pickleshare to satisfy IPython's dependency.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
 package/Config.in                                  |  1 +
 package/python-pickleshare/Config.in               |  7 +++++++
 package/python-pickleshare/python-pickleshare.hash |  2 ++
 package/python-pickleshare/python-pickleshare.mk   | 22 ++++++++++++++++++++++
 4 files changed, 32 insertions(+)
 create mode 100644 package/python-pickleshare/Config.in
 create mode 100644 package/python-pickleshare/python-pickleshare.hash
 create mode 100644 package/python-pickleshare/python-pickleshare.mk

diff --git a/package/Config.in b/package/Config.in
index d8880df..a749b78 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -771,6 +771,7 @@ menu "External python modules"
 	source "package/python-pathlib2/Config.in"
 	source "package/python-pathvalidate/Config.in"
 	source "package/python-pexpect/Config.in"
+	source "package/python-pickleshare/Config.in"
 	source "package/python-pillow/Config.in"
 	source "package/python-posix-ipc/Config.in"
 	source "package/python-prompt-toolkit/Config.in"
diff --git a/package/python-pickleshare/Config.in b/package/python-pickleshare/Config.in
new file mode 100644
index 0000000..ff37550
--- /dev/null
+++ b/package/python-pickleshare/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_PICKLESHARE
+	select BR2_PACKAGE_PYTHON_PATHLIB2 if BR2_PACKAGE_PYTHON
+	bool "python-pickleshare"
+	help
+	  A configuration system for Python applications.
+
+	  https://pypi.python.org/pypi/pickleshare
diff --git a/package/python-pickleshare/python-pickleshare.hash b/package/python-pickleshare/python-pickleshare.hash
new file mode 100644
index 0000000..f9f9beb
--- /dev/null
+++ b/package/python-pickleshare/python-pickleshare.hash
@@ -0,0 +1,2 @@
+# sha256 locally computed
+sha256 a9ccf2c87c2224f26dd5b7dfd135f2472e374ae972f8d510b1b940861beb1eb4 pickleshare-0.7.4.tar.gz
diff --git a/package/python-pickleshare/python-pickleshare.mk b/package/python-pickleshare/python-pickleshare.mk
new file mode 100644
index 0000000..c613859
--- /dev/null
+++ b/package/python-pickleshare/python-pickleshare.mk
@@ -0,0 +1,22 @@
+################################################################################
+#
+# python-pickleshare
+#
+################################################################################
+
+PYTHON_PICKLESHARE_VERSION = 0.7.4
+PYTHON_PICKLESHARE_SOURCE = pickleshare-$(PYTHON_PICKLESHARE_VERSION).tar.gz
+PYTHON_PICKLESHARE_SITE = $(call github,pickleshare,pickleshare,$(PYTHON_PICKLESHARE_VERSION))
+PYTHON_PICKLESHARE_LICENSE = MIT
+PYTHON_PICKLESHARE_SETUP_TYPE = setuptools
+
+#
+# Strictly speaking any python from 2.7 to 3.3 should have this as a
+# dependency, but since BR ships 3.6+ for Python3, we can simplify
+# things a bit
+#
+ifeq ($(BR2_PACKAGE_PYTHON),y)
+PYTHON_PICKLESHARE_DEPENDS += python-pathlib2
+endif
+
+$(eval $(python-package))
-- 
2.9.3

^ permalink raw reply related

* [Buildroot] [PATCH 6/9] package/python-pathlib2: New package
From: Andrey Smirnov @ 2017-04-25 19:14 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170425191423.13294-1-andrew.smirnov@gmail.com>

Add 'pathlib2'[1] package to Buildroot. Needed by 'pickleshare'
package, which is added in the next patch.

[1] https://pypi.python.org/pypi/pathlib2

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
 package/Config.in                            |  1 +
 package/python-pathlib2/Config.in            | 14 ++++++++++++++
 package/python-pathlib2/python-pathlib2.hash |  2 ++
 package/python-pathlib2/python-pathlib2.mk   | 24 ++++++++++++++++++++++++
 4 files changed, 41 insertions(+)
 create mode 100644 package/python-pathlib2/Config.in
 create mode 100644 package/python-pathlib2/python-pathlib2.hash
 create mode 100644 package/python-pathlib2/python-pathlib2.mk

diff --git a/package/Config.in b/package/Config.in
index c64105e..d8880df 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -768,6 +768,7 @@ menu "External python modules"
 	source "package/python-paramiko/Config.in"
 	source "package/python-pathpy/Config.in"
 	source "package/python-pathtools/Config.in"
+	source "package/python-pathlib2/Config.in"
 	source "package/python-pathvalidate/Config.in"
 	source "package/python-pexpect/Config.in"
 	source "package/python-pillow/Config.in"
diff --git a/package/python-pathlib2/Config.in b/package/python-pathlib2/Config.in
new file mode 100644
index 0000000..80f1bc4
--- /dev/null
+++ b/package/python-pathlib2/Config.in
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_PYTHON_PATHLIB2
+	depends on BR2_PACKAGE_PYTHON
+        select BR2_PACKAGE_PYTHON_SIX
+	select BR2_PACKAGE_PYTHON_SCANDIR
+	bool "python-pathlib2"
+	help
+	  Object-oriented filesystem paths.
+
+	  The goal of pathlib2 is to provide a backport of standard
+	  pathlib module which tracks the standard library module, so
+	  all the newest features of the standard pathlib can be used
+	  also on older Python versions.
+
+	  https://pypi.python.org/pypi/pathlib2
diff --git a/package/python-pathlib2/python-pathlib2.hash b/package/python-pathlib2/python-pathlib2.hash
new file mode 100644
index 0000000..e09496a
--- /dev/null
+++ b/package/python-pathlib2/python-pathlib2.hash
@@ -0,0 +1,2 @@
+# sha256 locally computed
+sha256 ce9007df617ef6b7bd8a31cd2089ed0c1fed1f7c23cf2bf1ba140b3dd563175d pathlib2-2.2.1.tar.gz
diff --git a/package/python-pathlib2/python-pathlib2.mk b/package/python-pathlib2/python-pathlib2.mk
new file mode 100644
index 0000000..6c6ded4
--- /dev/null
+++ b/package/python-pathlib2/python-pathlib2.mk
@@ -0,0 +1,24 @@
+################################################################################
+#
+# python-pathlib2
+#
+################################################################################
+
+PYTHON_PATHLIB2_VERSION = 2.2.1
+PYTHON_PATHLIB2_SOURCE = pathlib2-$(PYTHON_PATHLIB2_VERSION).tar.gz
+PYTHON_PATHLIB2_SITE = https://pypi.python.org/packages/ab/d8/ac7489d50146f29d0a14f65545698f4545d8a6b739b24b05859942048b56
+PYTHON_PATHLIB2_LICENSE = MIT
+PYTHON_PATHLIB2_SETUP_TYPE = setuptools
+
+#
+# Strictly speaking any python from 2.7 to 3.4 should have this as a
+# dependency, but since BR ships 3.6+ for Python3, we can simplify
+# things a bit
+#
+ifeq ($(BR2_PACKAGE_PYTHON),y)
+PYTHON_PATHLIB2_DEPENDS += python-scandir
+endif
+
+PYTHON_PATHLIB2_DEPENDS += python-six
+
+$(eval $(python-package))
-- 
2.9.3

^ permalink raw reply related

* [Buildroot] [PATCH 5/9] package/python-scandir: New package
From: Andrey Smirnov @ 2017-04-25 19:14 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170425191423.13294-1-andrew.smirnov@gmail.com>

Add 'scandir'[1] package to buildroot. Needed by 'pathlib2'.

[1] https://pypi.python.org/pypi/scandir
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
 package/Config.in                          |  1 +
 package/python-scandir/Config.in           |  6 ++++++
 package/python-scandir/python-scandir.hash |  2 ++
 package/python-scandir/python-scandir.mk   | 13 +++++++++++++
 4 files changed, 22 insertions(+)
 create mode 100644 package/python-scandir/Config.in
 create mode 100644 package/python-scandir/python-scandir.hash
 create mode 100644 package/python-scandir/python-scandir.mk

diff --git a/package/Config.in b/package/Config.in
index 143bccc..c64105e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -823,6 +823,7 @@ menu "External python modules"
 	source "package/python-rpi-gpio/Config.in"
 	source "package/python-rtslib-fb/Config.in"
 	source "package/python-scapy3k/Config.in"
+	source "package/python-scandir/Config.in"
 	source "package/python-sdnotify/Config.in"
 	source "package/python-serial/Config.in"
 	source "package/python-service-identity/Config.in"
diff --git a/package/python-scandir/Config.in b/package/python-scandir/Config.in
new file mode 100644
index 0000000..5e8ca0d
--- /dev/null
+++ b/package/python-scandir/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_SCANDIR
+	bool "python-scandir"
+	help
+	  A configuration system for Python applications.
+
+	  https://pypi.python.org/pypi/pickleshare
diff --git a/package/python-scandir/python-scandir.hash b/package/python-scandir/python-scandir.hash
new file mode 100644
index 0000000..a7ee337
--- /dev/null
+++ b/package/python-scandir/python-scandir.hash
@@ -0,0 +1,2 @@
+# sha256 locally computed
+sha256 c2612d1a487d80fb4701b4a91ca1b8f8a695b1ae820570815e85e8c8b23f1283 scandir-1.5.tar.gz
diff --git a/package/python-scandir/python-scandir.mk b/package/python-scandir/python-scandir.mk
new file mode 100644
index 0000000..e32c4e7
--- /dev/null
+++ b/package/python-scandir/python-scandir.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-scandir
+#
+################################################################################
+
+PYTHON_SCANDIR_VERSION = 1.5
+PYTHON_SCANDIR_SOURCE = scandir-$(PYTHON_SCANDIR_VERSION).tar.gz
+PYTHON_SCANDIR_SITE = https://pypi.python.org/packages/bd/f4/3143e0289faf0883228017dbc6387a66d0b468df646645e29e1eb89ea10e
+PYTHON_SCANDIR_LICENSE = BSD-3c
+PYTHON_SCANDIR_SETUP_TYPE = distutils
+
+$(eval $(python-package))
-- 
2.9.3

^ permalink raw reply related

* [Buildroot] [PATCH 4/9] package/python-ipython-genutils: New package
From: Andrey Smirnov @ 2017-04-25 19:14 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170425191423.13294-1-andrew.smirnov@gmail.com>

Add 'ipython_genutils'[1] package to Buildroot. Needed by IPython.

[1] https://pypi.python.org/pypi/ipython_genutils

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
 package/Config.in                                          |  1 +
 package/python-ipython-genutils/Config.in                  |  6 ++++++
 .../python-ipython-genutils/python-ipython-genutils.hash   |  4 ++++
 package/python-ipython-genutils/python-ipython-genutils.mk | 14 ++++++++++++++
 4 files changed, 25 insertions(+)
 create mode 100644 package/python-ipython-genutils/Config.in
 create mode 100644 package/python-ipython-genutils/python-ipython-genutils.hash
 create mode 100644 package/python-ipython-genutils/python-ipython-genutils.mk

diff --git a/package/Config.in b/package/Config.in
index 1a0702d..143bccc 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -735,6 +735,7 @@ menu "External python modules"
 	source "package/python-ipaddress/Config.in"
 	source "package/python-ipy/Config.in"
 	source "package/python-ipython/Config.in"
+	source "package/python-ipython-genutils/Config.in"
 	source "package/python-itsdangerous/Config.in"
 	source "package/python-jinja2/Config.in"
 	source "package/python-jsonschema/Config.in"
diff --git a/package/python-ipython-genutils/Config.in b/package/python-ipython-genutils/Config.in
new file mode 100644
index 0000000..d49442e
--- /dev/null
+++ b/package/python-ipython-genutils/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_IPYTHON_GENUTILS
+	bool "python-ipython-genutils"
+	help
+	  IPython vestigial utilities
+
+	  https://pypi.python.org/pypi/ipython_genutils
diff --git a/package/python-ipython-genutils/python-ipython-genutils.hash b/package/python-ipython-genutils/python-ipython-genutils.hash
new file mode 100644
index 0000000..868502e
--- /dev/null
+++ b/package/python-ipython-genutils/python-ipython-genutils.hash
@@ -0,0 +1,4 @@
+# sha256 locally computed.
+
+sha256  424a6ecb33b8c9a8320f8601c533067ed75b491e4bc31621d6278f288497cb1a ipython_genutils-0.2.0.tar.gz
+
diff --git a/package/python-ipython-genutils/python-ipython-genutils.mk b/package/python-ipython-genutils/python-ipython-genutils.mk
new file mode 100644
index 0000000..33982a5
--- /dev/null
+++ b/package/python-ipython-genutils/python-ipython-genutils.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-ipython-genutils
+#
+################################################################################
+
+PYTHON_IPYTHON_GENUTILS_VERSION = 0.2.0
+PYTHON_IPYTHON_GENUTILS_SOURCE = ipython_genutils-$(PYTHON_IPYTHON_GENUTILS_VERSION).tar.gz
+PYTHON_IPYTHON_GENUTILS_SITE = \
+$(call github,ipython,ipython_genutils,$(PYTHON_IPYTHON_GENUTILS_VERSION))
+PYTHON_IPYTHON_GENUTILS_LICENSE = BSD-3c
+PYTHON_IPYTHON_GENUTILS_SETUP_TYPE = distutils
+
+$(eval $(python-package))
-- 
2.9.3

^ permalink raw reply related

* [Buildroot] [PATCH 3/9] package/python-simplegeneric: New package
From: Andrey Smirnov @ 2017-04-25 19:14 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170425191423.13294-1-andrew.smirnov@gmail.com>

Add 'simplegeneric'[1] package to Buildroot. Needed by IPython.

[1] https://pypi.python.org/pypi/simplegeneric

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
 package/Config.in                                     |  1 +
 package/python-simplegeneric/Config.in                |  6 ++++++
 .../python-simplegeneric/python-simplegeneric.hash    |  4 ++++
 package/python-simplegeneric/python-simplegeneric.mk  | 19 +++++++++++++++++++
 4 files changed, 30 insertions(+)
 create mode 100644 package/python-simplegeneric/Config.in
 create mode 100644 package/python-simplegeneric/python-simplegeneric.hash
 create mode 100644 package/python-simplegeneric/python-simplegeneric.mk

diff --git a/package/Config.in b/package/Config.in
index 47f43eb..1a0702d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -830,6 +830,7 @@ menu "External python modules"
 	source "package/python-sh/Config.in"
 	source "package/python-shutilwhich/Config.in"
 	source "package/python-simpleaudio/Config.in"
+	source "package/python-simplegeneric/Config.in"
 	source "package/python-simplejson/Config.in"
 	source "package/python-singledispatch/Config.in"
 	source "package/python-sip/Config.in"
diff --git a/package/python-simplegeneric/Config.in b/package/python-simplegeneric/Config.in
new file mode 100644
index 0000000..b5ebfec
--- /dev/null
+++ b/package/python-simplegeneric/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_SIMPLEGENERIC
+	bool "python-simplegeneric"
+	help
+	  A configuration system for Python applications.
+
+	  https://pypi.python.org/pypi/simplegeneric
diff --git a/package/python-simplegeneric/python-simplegeneric.hash b/package/python-simplegeneric/python-simplegeneric.hash
new file mode 100644
index 0000000..6ec74f9
--- /dev/null
+++ b/package/python-simplegeneric/python-simplegeneric.hash
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/simplegeneric, sha256 locally computed
+md5 f9c1fab00fd981be588fc32759f474e3 simplegeneric-0.8.1.zip
+sha256 dc972e06094b9af5b855b3df4a646395e43d1c9d0d39ed345b7393560d0b9173 simplegeneric-0.8.1.zip
+
diff --git a/package/python-simplegeneric/python-simplegeneric.mk b/package/python-simplegeneric/python-simplegeneric.mk
new file mode 100644
index 0000000..684cda1
--- /dev/null
+++ b/package/python-simplegeneric/python-simplegeneric.mk
@@ -0,0 +1,19 @@
+################################################################################
+#
+# python-simplegeneric
+#
+################################################################################
+
+PYTHON_SIMPLEGENERIC_VERSION = 0.8.1
+PYTHON_SIMPLEGENERIC_SOURCE = simplegeneric-$(PYTHON_SIMPLEGENERIC_VERSION).zip
+PYTHON_SIMPLEGENERIC_SITE = https://pypi.python.org/packages/3d/57/4d9c9e3ae9a255cd4e1106bb57e24056d3d0709fc01b2e3e345898e49d5b
+PYTHON_SIMPLEGENERIC_LICENSE = BSD-3c
+PYTHON_SIMPLEGENERIC_SETUP_TYPE = distutils
+
+define PYTHON_SIMPLEGENERIC_EXTRACT_CMDS
+	unzip $(DL_DIR)/$(PYTHON_SIMPLEGENERIC_SOURCE) -d $(@D)
+	mv $(@D)/simplegeneric-$(PYTHON_SIMPLEGENERIC_VERSION)/* $(@D)
+	rmdir $(@D)/simplegeneric-$(PYTHON_SIMPLEGENERIC_VERSION)
+endef
+
+$(eval $(python-package))
-- 
2.9.3

^ permalink raw reply related

* [Buildroot] [PATCH 2/9] package/python-traitlets: New package
From: Andrey Smirnov @ 2017-04-25 19:14 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170425191423.13294-1-andrew.smirnov@gmail.com>

Add 'traitlets'[1] package to Buildroot. Needed by IPython.

[1] https://pypi.python.org/pypi/traitlets

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
 package/Config.in                              |  1 +
 package/python-traitlets/Config.in             |  8 ++++++++
 package/python-traitlets/python-traitlets.hash |  2 ++
 package/python-traitlets/python-traitlets.mk   | 18 ++++++++++++++++++
 4 files changed, 29 insertions(+)
 create mode 100644 package/python-traitlets/Config.in
 create mode 100644 package/python-traitlets/python-traitlets.hash
 create mode 100644 package/python-traitlets/python-traitlets.mk

diff --git a/package/Config.in b/package/Config.in
index eb6d197..47f43eb 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -843,6 +843,7 @@ menu "External python modules"
 	source "package/python-tomako/Config.in"
 	source "package/python-toml/Config.in"
 	source "package/python-tornado/Config.in"
+	source "package/python-traitlets/Config.in"
 	source "package/python-treq/Config.in"
 	source "package/python-twisted/Config.in"
 	source "package/python-txaio/Config.in"
diff --git a/package/python-traitlets/Config.in b/package/python-traitlets/Config.in
new file mode 100644
index 0000000..ba79218
--- /dev/null
+++ b/package/python-traitlets/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_TRAITLETS
+	select BR2_PACKAGE_PYTHON_DECORATOR
+	select BR2_PACKAGE_PYTHON_ENUM if BR2_PACKAGE_PYTHON
+	bool "python-traitlets"
+	help
+	  A configuration system for Python applications.
+
+	  https://pypi.python.org/pypi/traitlets
diff --git a/package/python-traitlets/python-traitlets.hash b/package/python-traitlets/python-traitlets.hash
new file mode 100644
index 0000000..3b14991
--- /dev/null
+++ b/package/python-traitlets/python-traitlets.hash
@@ -0,0 +1,2 @@
+# sha256 locally computed
+sha256 370f938ad730d52272ef74f96f831cb21138f6168e46fe582fe256c35cc656ce python-traitlets-4.3.2.tar.gz
diff --git a/package/python-traitlets/python-traitlets.mk b/package/python-traitlets/python-traitlets.mk
new file mode 100644
index 0000000..6cfd3e5
--- /dev/null
+++ b/package/python-traitlets/python-traitlets.mk
@@ -0,0 +1,18 @@
+################################################################################
+#
+# python-traitlets
+#
+################################################################################
+
+PYTHON_TRAITLETS_VERSION = 4.3.2
+PYTHON_TRAITLETS_SOURCE = python-traitlets-$(PYTHON_TRAITLETS_VERSION).tar.gz
+PYTHON_TRAITLETS_SITE = $(call github,ipython,traitlets,$(PYTHON_TRAITLETS_VERSION))
+PYTHON_TRAITLETS_LICENSE = BSD-3c
+PYTHON_TRAITLETS_SETUP_TYPE = distutils
+PYTHON_TRAITLETS_DEPENDENCIES = python-decorator
+
+ifeq ($(BR2_PACKAGE_PYTHON),y)
+PYTHON_TRAITLETS_DEPENDENCIES += python-enum
+endif
+
+$(eval $(python-package))
-- 
2.9.3

^ permalink raw reply related

* [Buildroot] [PATCH 1/9] package/python-decorator: New package
From: Andrey Smirnov @ 2017-04-25 19:14 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170425191423.13294-1-andrew.smirnov@gmail.com>

Add 'decorator'[1] package to Buildroot. Needed by 'traitlets'
package, which is added in the next patch.

[1] https://pypi.python.org/pypi/decorator

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
 package/Config.in                            |  1 +
 package/python-decorator/Config.in           |  6 ++++++
 package/python-decorator/python-decorator.mk | 13 +++++++++++++
 3 files changed, 20 insertions(+)
 create mode 100644 package/python-decorator/Config.in
 create mode 100644 package/python-decorator/python-decorator.mk

diff --git a/package/Config.in b/package/Config.in
index 25405c1..eb6d197 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -701,6 +701,7 @@ menu "External python modules"
 	source "package/python-daemon/Config.in"
 	source "package/python-dataproperty/Config.in"
 	source "package/python-dateutil/Config.in"
+	source "package/python-decorator/Config.in"
 	source "package/python-dialog/Config.in"
 	source "package/python-dialog3/Config.in"
 	source "package/python-dicttoxml/Config.in"
diff --git a/package/python-decorator/Config.in b/package/python-decorator/Config.in
new file mode 100644
index 0000000..e7ec00c
--- /dev/null
+++ b/package/python-decorator/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_DECORATOR
+	bool "python-decorator"
+	help
+	  Better living through Python with decorators
+
+	  https://github.com/micheles/decorator
diff --git a/package/python-decorator/python-decorator.mk b/package/python-decorator/python-decorator.mk
new file mode 100644
index 0000000..f900580
--- /dev/null
+++ b/package/python-decorator/python-decorator.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-decorator
+#
+################################################################################
+
+PYTHON_DECORATOR_VERSION = 4.0.11
+PYTHON_DECORATOR_SITE = https://github.com/micheles/decorator.git
+PYTHON_DECORATOR_SITE_METHOD = git
+PYTHON_DECORATOR_LICENSE = BSD-2c
+PYTHON_DECORATOR_SETUP_TYPE = setuptools
+
+$(eval $(python-package))
-- 
2.9.3

^ permalink raw reply related

* [Buildroot] [PATCH 0/9] Update IPython's dependencies
From: Andrey Smirnov @ 2017-04-25 19:14 UTC (permalink / raw)
  To: buildroot

Hi everyone,

I recently tried using IPython on Buidroot based system and ran into a
number of missing dependencies. The patches in this series are all of
the fixes I had to apply in order to make IPython work.

Any feedback is welcome.

Thanks,
Andrey Smirnov

Andrey Smirnov (9):
  package/python-decorator: New package
  package/python-traitlets: New package
  package/python-simplegeneric: New package
  package/python-ipython-genutils: New package
  package/python-scandir: New package
  package/python-pathlib2: New package
  package/python-pickleshare: New package
  package/python-backports-shutil-get-terminal-size: New package
  package/python-ipython: Add dependecy list

 package/Config.in                                  |  8 ++++++++
 .../Config.in                                      |  9 ++++++++
 .../python-backports-shutil-get-terminal-size.hash |  2 ++
 .../python-backports-shutil-get-terminal-size.mk   | 13 ++++++++++++
 package/python-decorator/Config.in                 |  6 ++++++
 package/python-decorator/python-decorator.mk       | 13 ++++++++++++
 package/python-ipython-genutils/Config.in          |  6 ++++++
 .../python-ipython-genutils.hash                   |  4 ++++
 .../python-ipython-genutils.mk                     | 14 +++++++++++++
 package/python-ipython/Config.in                   | 10 +++++++++
 package/python-ipython/python-ipython.mk           | 14 +++++++++++++
 package/python-pathlib2/Config.in                  | 14 +++++++++++++
 package/python-pathlib2/python-pathlib2.hash       |  2 ++
 package/python-pathlib2/python-pathlib2.mk         | 24 ++++++++++++++++++++++
 package/python-pickleshare/Config.in               |  7 +++++++
 package/python-pickleshare/python-pickleshare.hash |  2 ++
 package/python-pickleshare/python-pickleshare.mk   | 22 ++++++++++++++++++++
 package/python-scandir/Config.in                   |  6 ++++++
 package/python-scandir/python-scandir.hash         |  2 ++
 package/python-scandir/python-scandir.mk           | 13 ++++++++++++
 package/python-simplegeneric/Config.in             |  6 ++++++
 .../python-simplegeneric/python-simplegeneric.hash |  4 ++++
 .../python-simplegeneric/python-simplegeneric.mk   | 19 +++++++++++++++++
 package/python-traitlets/Config.in                 |  8 ++++++++
 package/python-traitlets/python-traitlets.hash     |  2 ++
 package/python-traitlets/python-traitlets.mk       | 18 ++++++++++++++++
 26 files changed, 248 insertions(+)
 create mode 100644 package/python-backports-shutil-get-terminal-size/Config.in
 create mode 100644 package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash
 create mode 100644 package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk
 create mode 100644 package/python-decorator/Config.in
 create mode 100644 package/python-decorator/python-decorator.mk
 create mode 100644 package/python-ipython-genutils/Config.in
 create mode 100644 package/python-ipython-genutils/python-ipython-genutils.hash
 create mode 100644 package/python-ipython-genutils/python-ipython-genutils.mk
 create mode 100644 package/python-pathlib2/Config.in
 create mode 100644 package/python-pathlib2/python-pathlib2.hash
 create mode 100644 package/python-pathlib2/python-pathlib2.mk
 create mode 100644 package/python-pickleshare/Config.in
 create mode 100644 package/python-pickleshare/python-pickleshare.hash
 create mode 100644 package/python-pickleshare/python-pickleshare.mk
 create mode 100644 package/python-scandir/Config.in
 create mode 100644 package/python-scandir/python-scandir.hash
 create mode 100644 package/python-scandir/python-scandir.mk
 create mode 100644 package/python-simplegeneric/Config.in
 create mode 100644 package/python-simplegeneric/python-simplegeneric.hash
 create mode 100644 package/python-simplegeneric/python-simplegeneric.mk
 create mode 100644 package/python-traitlets/Config.in
 create mode 100644 package/python-traitlets/python-traitlets.hash
 create mode 100644 package/python-traitlets/python-traitlets.mk

-- 
2.9.3

^ permalink raw reply

* [Buildroot] [PATCH] package/python-json-schema-validator: Remove Python2 dependency
From: Andrey Smirnov @ 2017-04-25 18:48 UTC (permalink / raw)
  To: buildroot

Python-json-schema-validator supports Python3, so there's no reason to
limit it to Python2 only.

Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Matthew Carruth <carruthm@gmail.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---

This is a follow up on patch [1]. Matthew is a colleague of mine and I
am picking up where he left off.

[1] http://lists.busybox.net/pipermail/buildroot/2017-April/189874.html

 package/python-json-schema-validator/Config.in | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/python-json-schema-validator/Config.in b/package/python-json-schema-validator/Config.in
index 6ae1eb1..dbc5328 100644
--- a/package/python-json-schema-validator/Config.in
+++ b/package/python-json-schema-validator/Config.in
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_PYTHON_JSON_SCHEMA_VALIDATOR
 	bool "python-json-schema-validator"
-	depends on BR2_PACKAGE_PYTHON
 	select BR2_PACKAGE_PYTHON_VERSIONTOOLS
 	help
 	  JSON Schema Validator
-- 
2.9.3

^ permalink raw reply related

* [Buildroot] [PATCH] package/python-versiontools: Remove Python2 dependency
From: Andrey Smirnov @ 2017-04-25 18:48 UTC (permalink / raw)
  To: buildroot

Python-versiontools supports Python3, so there's no reason to limit it
to Python2 only.

Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Matthew Carruth <carruthm@gmail.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---

This is a follow up on patch [1]. Matthew is a colleague of mine and I
am picking up where he left off.

[1] http://lists.busybox.net/pipermail/buildroot/2017-April/189874.html

 package/python-versiontools/Config.in | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/python-versiontools/Config.in b/package/python-versiontools/Config.in
index cb260c1..d15de1f 100644
--- a/package/python-versiontools/Config.in
+++ b/package/python-versiontools/Config.in
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_PYTHON_VERSIONTOOLS
 	bool "python-versiontools"
-	depends on BR2_PACKAGE_PYTHON
 	help
 	  Smart replacement for plain tuple used in __version__.
 
-- 
2.9.3

^ permalink raw reply related

* [Buildroot] [PATCH] lua-resty-http: new package
From: Semyon Kolganov @ 2017-04-25 18:10 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <lua-resty-http: new package>

Signed-off-by: Semyon Kolganov <semenak94@mail.ru>
---
 DEVELOPERS                                 |  1 +
 package/Config.in                          |  1 +
 package/lua-resty-http/Config.in           |  6 ++++++
 package/lua-resty-http/lua-resty-http.hash |  2 ++
 package/lua-resty-http/lua-resty-http.mk   | 12 ++++++++++++
 5 files changed, 22 insertions(+)
 create mode 100644 package/lua-resty-http/Config.in
 create mode 100644 package/lua-resty-http/lua-resty-http.hash
 create mode 100644 package/lua-resty-http/lua-resty-http.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 123a8f9..1bcf2da 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1423,6 +1423,7 @@ F:	package/yaml-cpp/
 N:	Semyon Kolganov <semenak94@mail.ru>
 F:	package/fmt/
 F:	package/libbson/
+F:	package/lua-resty-http/
 F:	package/mpir/
 
 N:	Sergio Prado <sergio.prado@e-labworks.com>
diff --git a/package/Config.in b/package/Config.in
index 4eaa95b..1fdf186 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -570,6 +570,7 @@ menu "Lua libraries/modules"
 	source "package/luajson/Config.in"
 	source "package/lualogging/Config.in"
 	source "package/luaposix/Config.in"
+	source "package/lua-resty-http/Config.in"
 	source "package/luasec/Config.in"
 	source "package/luasocket/Config.in"
 	source "package/luasql-sqlite3/Config.in"
diff --git a/package/lua-resty-http/Config.in b/package/lua-resty-http/Config.in
new file mode 100644
index 0000000..4697c90
--- /dev/null
+++ b/package/lua-resty-http/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LUA_RESTY_HTTP
+	bool "lua-resty-http"
+	help
+	  Lua HTTP client cosocket driver for OpenResty / ngx_lua.
+
+	  http://github.com/pintsized/lua-resty-http
diff --git a/package/lua-resty-http/lua-resty-http.hash b/package/lua-resty-http/lua-resty-http.hash
new file mode 100644
index 0000000..02c5659
--- /dev/null
+++ b/package/lua-resty-http/lua-resty-http.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256	3d30dd5a273438e39741fcf87ae5e147d8700bd8faa7dfe9916ea425f9c716f7  lua-resty-http-0.10-0.src.rock
diff --git a/package/lua-resty-http/lua-resty-http.mk b/package/lua-resty-http/lua-resty-http.mk
new file mode 100644
index 0000000..2b6b8e6
--- /dev/null
+++ b/package/lua-resty-http/lua-resty-http.mk
@@ -0,0 +1,12 @@
+################################################################################
+#
+# lua-resty-http
+#
+################################################################################
+
+LUA_RESTY_HTTP_VERSION = 0.10-0
+LUA_RESTY_HTTP_SUBDIR = lua-resty-http
+LUA_RESTY_HTTP_LICENSE = BSD 2-clause
+LUA_RESTY_HTTP_LICENSE_FILES = LICENSE
+
+$(eval $(luarocks-package))
-- 
2.7.4

^ permalink raw reply related

* [Buildroot] uboot-tools autobuild failures
From: Fabio Estevam @ 2017-04-25 17:09 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <CANQCQpb5_1uO+TR6X6Mk6XFW0HBV1f5b6zVvd0BF=yOOOjTT3Q@mail.gmail.com>

On Tue, Apr 25, 2017 at 2:07 PM, Matthew Weber
<matthew.weber@rockwellcollins.com> wrote:

> No luck, same error.  I did notice this seems to be impacted by -j level.

Please report this error in the U-boot list. Thanks

^ permalink raw reply

* [Buildroot] uboot-tools autobuild failures
From: Matthew Weber @ 2017-04-25 17:07 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <CAOMZO5D8cXv4+TF=kXMwE5_YE_mCKMhgjS+PCAbSkKHkewzSjA@mail.gmail.com>

Fabio

On Sun, Apr 23, 2017 at 6:44 PM, Fabio Estevam <festevam@gmail.com> wrote:
> Hi Matthew,
>
> On Wed, Apr 19, 2017 at 10:55 PM, Matthew Weber
> <matthew.weber@rockwellcollins.com> wrote:
>> It looks like all of these recent failures are because the python swig
>> build does a "$(if $(shell which swig 2> /dev/null),_libfdt.so)" to
>> determine if the host system has swig and if so, try to build the
>> python bindings.  Obviously not taking into account any prefix we'd
>> provide to the host/ in out build.
>>
>> http://autobuild.buildroot.org/?reason=uboot-tools-2017.03
>>
>> I don't directly have a need for those bindings, would a patch that
>> disables this swig detect be reasonable at this point?  Other option
>> would be to rewrite how they're doing it to search a prefix path vs
>> using the shell's which.  Then work upstreaming of that change.
>
> U-Boot mainline has a fix for this already:
> http://git.denx.de/?p=u-boot.git;a=commitdiff;h=9963890b8be1d208035945abc5ba9f77637b6542
>
> My host PC does not have Python 3, so I cannot reproduce this error myself.
>
> Could you please try the attached Buildroot patch?

No luck, same error.  I did notice this seems to be impacted by -j level.

Matt

^ permalink raw reply

* [Buildroot] [PATCH-2017.02.x] linux-headers: bump 3.18.x series to 3.18.50
From: Peter Korsgaard @ 2017-04-25 15:51 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170425065328.27645-1-peter@korsgaard.com>

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

 > Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Committed to 2017.02.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [PATCH-2017.02.x] xen: security bump to version 4.7.2
From: Peter Korsgaard @ 2017-04-25 15:51 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170424212942.11905-1-peter@korsgaard.com>

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

 > The 4.7.2 release brings a number of bugfixes and improvements:
 > https://www.xenproject.org/downloads/xen-archives/xen-project-47-series/xen-472.html

 > Including fixes for the following security issues:

 > XSA-191: x86 null segments not always treated as unusable (CVE-2016-9386)
 > XSA-192: x86 task switch to VM86 mode mis-handled (CVE-2016-9382)
 > XSA-193: x86 segment base write emulation lacking canonical address checks
 > 	 (CVE-2016-9385)
 > XSA-194: guest 32-bit ELF symbol table load leaking host data (CVE-2016-9384)
 > XSA-195: x86 64-bit bit test instruction emulation broken (CVE-2016-9383)
 > XSA-196: x86 software interrupt injection mis-handled
 > 	 (CVE-2016-9377 CVE-2016-9378)
 > XSA-197: qemu incautious about shared ring processing (CVE-2016-9381)
 > XSA-198: delimiter injection vulnerabilities in pygrub
 > 	 (CVE-2016-9379 CVE-2016-9380)
 > XSA-199: qemu ioport array overflow (CVE-2016-9637)
 > XSA-200: x86 CMPXCHG8B emulation fails to ignore operand size override
 > 	 Files (CVE-2016-9932)
 > XSA-201: ARM guests may induce host asynchronous abort
 >          (CVE-2016-9815 CVE-2016-9816 CVE-2016-9817 CVE-2016-9818)
 > XSA-202: x86 PV guests may be able to mask interrupts (CVE-2016-10024)
 > XSA-203: x86: missing NULL pointer check in VMFUNC emulation (CVE-2016-10025)
 > XSA-204: x86: Mishandling of SYSCALL singlestep during emulation
 >          (CVE-2016-10013)
 > XSA-207: memory leak when destroying guest without PT devices
 > XSA-208: oob access in cirrus bitblt copy (CVE-2017-2615)
 > XSA-209: cirrus_bitblt_cputovideo does not check if memory region is safe
 >          (CVE-2017-2620)

 > Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Committed to 2017.02.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [PATCH-2017.02.x] nodejs: bump 6.x version to 6.10.2
From: Peter Korsgaard @ 2017-04-25 15:51 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170424202440.22731-1-peter@korsgaard.com>

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

 > 6.10.2 is the latest release in the LTS series, fixing a number of issues:
 > https://nodejs.org/en/blog/release/v6.10.2/

 > Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Committed to 2017.02.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit branch/2017.02.x] xen: security bump to version 4.7.2
From: Peter Korsgaard @ 2017-04-25 15:50 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=392b4a6670dfd103887de7f7565ce8e2ffb23d08
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x

The 4.7.2 release brings a number of bugfixes and improvements:

https://www.xenproject.org/downloads/xen-archives/xen-project-47-series/xen-472.html

Including fixes for the following security issues:

XSA-191: x86 null segments not always treated as unusable (CVE-2016-9386)
XSA-192: x86 task switch to VM86 mode mis-handled (CVE-2016-9382)
XSA-193: x86 segment base write emulation lacking canonical address checks
	 (CVE-2016-9385)
XSA-194: guest 32-bit ELF symbol table load leaking host data (CVE-2016-9384)
XSA-195: x86 64-bit bit test instruction emulation broken (CVE-2016-9383)
XSA-196: x86 software interrupt injection mis-handled
	 (CVE-2016-9377 CVE-2016-9378)
XSA-197: qemu incautious about shared ring processing (CVE-2016-9381)
XSA-198: delimiter injection vulnerabilities in pygrub
	 (CVE-2016-9379 CVE-2016-9380)
XSA-199: qemu ioport array overflow (CVE-2016-9637)
XSA-200: x86 CMPXCHG8B emulation fails to ignore operand size override
	 Files (CVE-2016-9932)
XSA-201: ARM guests may induce host asynchronous abort
         (CVE-2016-9815 CVE-2016-9816 CVE-2016-9817 CVE-2016-9818)
XSA-202: x86 PV guests may be able to mask interrupts (CVE-2016-10024)
XSA-203: x86: missing NULL pointer check in VMFUNC emulation (CVE-2016-10025)
XSA-204: x86: Mishandling of SYSCALL singlestep during emulation
         (CVE-2016-10013)
XSA-207: memory leak when destroying guest without PT devices
XSA-208: oob access in cirrus bitblt copy (CVE-2017-2615)
XSA-209: cirrus_bitblt_cputovideo does not check if memory region is safe
         (CVE-2017-2620)

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/xen/xen.hash | 2 +-
 package/xen/xen.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/xen/xen.hash b/package/xen/xen.hash
index c3df243..2143f46 100644
--- a/package/xen/xen.hash
+++ b/package/xen/xen.hash
@@ -1,2 +1,2 @@
 # Locally computed
-sha256 e87f4b0575e78657ee23d31470a15ecf1ce8c3a92a771cda46bbcd4d0d671ffe xen-4.7.1.tar.gz
+sha256 61494a56d9251e2108080f95b0dc8e3d175f1ba4da34603fc07b91cfebf358d5 xen-4.7.2.tar.gz
diff --git a/package/xen/xen.mk b/package/xen/xen.mk
index 7d32e52..9ff1b40 100644
--- a/package/xen/xen.mk
+++ b/package/xen/xen.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-XEN_VERSION = 4.7.1
+XEN_VERSION = 4.7.2
 XEN_SITE = http://bits.xensource.com/oss-xen/release/$(XEN_VERSION)
 XEN_LICENSE = GPLv2
 XEN_LICENSE_FILES = COPYING

^ permalink raw reply related


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox