Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v6 26/31] package/kodi: add optional support for lcms2
From: Bernd Kuhls @ 2017-04-24 21:32 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170424213206.26247-1-bernd.kuhls@t-online.de>

Support was added by https://github.com/xbmc/xbmc/pull/11846

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/kodi/Config.in | 6 ++++++
 package/kodi/kodi.mk   | 7 +++++++
 2 files changed, 13 insertions(+)

diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index af88aa334f..662dd89f25 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -151,6 +151,12 @@ config BR2_PACKAGE_KODI_LIBCEC
 comment "hdmi cec support needs udev /dev management"
 	depends on !BR2_PACKAGE_HAS_UDEV
 
+config BR2_PACKAGE_KODI_LCMS2
+	bool "lcms2"
+	select BR2_PACKAGE_LCMS2
+	help
+	  Enable color management support.
+
 config BR2_PACKAGE_KODI_LIRC
 	bool "lirc"
 	help
diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
index 7d8adcd2b9..245b8bfbe6 100644
--- a/package/kodi/kodi.mk
+++ b/package/kodi/kodi.mk
@@ -290,6 +290,13 @@ else
 KODI_CONF_OPTS += -DENABLE_CEC=OFF
 endif
 
+ifeq ($(BR2_PACKAGE_KODI_LCMS2),y)
+KODI_DEPENDENCIES += lcms2
+KODI_CONF_OPTS += -DENABLE_LCMS2=ON
+else
+KODI_CONF_OPTS += -DENABLE_LCMS2=OFF
+endif
+
 ifeq ($(BR2_PACKAGE_KODI_LIRC),y)
 KODI_CONF_OPTS += -DENABLE_LIRC=ON
 else
-- 
2.11.0

^ permalink raw reply related

* [Buildroot] [PATCH v6 27/31] package/kodi-inputstream-rtmp: new package
From: Bernd Kuhls @ 2017-04-24 21:32 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170424213206.26247-1-bernd.kuhls@t-online.de>

Select the new package by the legacy option for easier update.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 Config.in.legacy                                         |  1 +
 package/kodi-inputstream-rtmp/Config.in                  |  7 +++++++
 package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.hash |  2 ++
 package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.mk   | 13 +++++++++++++
 package/kodi/Config.in                                   |  4 ++++
 5 files changed, 27 insertions(+)
 create mode 100644 package/kodi-inputstream-rtmp/Config.in
 create mode 100644 package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.hash
 create mode 100644 package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.mk

diff --git a/Config.in.legacy b/Config.in.legacy
index 6b038dba2c..cfdcd193eb 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -148,6 +148,7 @@ comment "Legacy options removed in 2017.05"
 config BR2_PACKAGE_KODI_RTMPDUMP
 	bool "kodi rtmp"
 	select BR2_LEGACY
+	select BR2_PACKAGE_KODI_INPUTSTREAM_RTMP
 	help
 	  Internal rtmp support was removed from Kodi.
 
diff --git a/package/kodi-inputstream-rtmp/Config.in b/package/kodi-inputstream-rtmp/Config.in
new file mode 100644
index 0000000000..c40bff2d7e
--- /dev/null
+++ b/package/kodi-inputstream-rtmp/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_KODI_INPUTSTREAM_RTMP
+	bool "kodi-inputstream-rtmp"
+	select BR2_PACKAGE_RTMPDUMP
+	help
+	  RTMP input stream add-on for Kodi
+
+	  https://github.com/notspiff/inputstream.rtmp
diff --git a/package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.hash b/package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.hash
new file mode 100644
index 0000000000..f5a82d2aae
--- /dev/null
+++ b/package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 75a3cc87243a7c92a0a2e3f16710a1e60d05cd8dbc8b7fd1852244fbc5da2ae8  kodi-inputstream-rtmp-v1.0.4.tar.gz
diff --git a/package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.mk b/package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.mk
new file mode 100644
index 0000000000..414c8dfc39
--- /dev/null
+++ b/package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# kodi-inputstream-rtmp
+#
+################################################################################
+
+KODI_INPUTSTREAM_RTMP_VERSION = v1.0.4
+KODI_INPUTSTREAM_RTMP_SITE = $(call github,notspiff,inputstream.rtmp,$(KODI_INPUTSTREAM_RTMP_VERSION))
+KODI_INPUTSTREAM_RTMP_LICENSE = GPLv2+
+KODI_INPUTSTREAM_RTMP_LICENSE_FILES = src/RTMPStream.cpp
+KODI_INPUTSTREAM_RTMP_DEPENDENCIES = kodi rtmpdump
+
+$(eval $(cmake-package))
diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index 662dd89f25..85b030dce8 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -291,6 +291,10 @@ menu "Audio encoder addons"
 	source "package/kodi-audioencoder-wav/Config.in"
 endmenu
 
+menu "Inputstream addons"
+	source "package/kodi-inputstream-rtmp/Config.in"
+endmenu
+
 menu "PVR addons"
 	source "package/kodi-pvr-argustv/Config.in"
 	source "package/kodi-pvr-dvblink/Config.in"
-- 
2.11.0

^ permalink raw reply related

* [Buildroot] [PATCH v6 28/31] package/kodi-inputstream-adaptive: new package
From: Bernd Kuhls @ 2017-04-24 21:32 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170424213206.26247-1-bernd.kuhls@t-online.de>

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/kodi-inputstream-adaptive/Config.in                 |  8 ++++++++
 .../kodi-inputstream-adaptive.hash                          |  2 ++
 .../kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk  | 13 +++++++++++++
 package/kodi/Config.in                                      |  1 +
 4 files changed, 24 insertions(+)
 create mode 100644 package/kodi-inputstream-adaptive/Config.in
 create mode 100644 package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash
 create mode 100644 package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk

diff --git a/package/kodi-inputstream-adaptive/Config.in b/package/kodi-inputstream-adaptive/Config.in
new file mode 100644
index 0000000000..d5fe5e61cc
--- /dev/null
+++ b/package/kodi-inputstream-adaptive/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_KODI_INPUTSTREAM_ADAPTIVE
+	bool "kodi-inputstream-adaptive"
+	select BR2_PACKAGE_LIBPLATFORM
+	select BR2_PACKAGE_KODI_PLATFORM
+	help
+	  Kodi inputstream addon for several manifest types
+
+	  https://github.com/peak3d/inputstream.adaptive
diff --git a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash
new file mode 100644
index 0000000000..d3600eb197
--- /dev/null
+++ b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 7e3fbb9bac11777b2f553fce0f36f2dd463adbb956a957e6c000c7013202b9ad  kodi-inputstream-adaptive-v1.0.6.tar.gz
diff --git a/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk
new file mode 100644
index 0000000000..bd3c34c0c9
--- /dev/null
+++ b/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# kodi-inputstream-adaptive
+#
+################################################################################
+
+KODI_INPUTSTREAM_ADAPTIVE_VERSION = v1.0.6
+KODI_INPUTSTREAM_ADAPTIVE_SITE = $(call github,peak3d,inputstream.adaptive,$(KODI_INPUTSTREAM_ADAPTIVE_VERSION))
+KODI_INPUTSTREAM_ADAPTIVE_LICENSE = GPLv2+
+KODI_INPUTSTREAM_ADAPTIVE_LICENSE_FILES = src/main.cpp
+KODI_INPUTSTREAM_ADAPTIVE_DEPENDENCIES = libplatform kodi-platform
+
+$(eval $(cmake-package))
diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index 85b030dce8..a5fc940a2b 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -292,6 +292,7 @@ menu "Audio encoder addons"
 endmenu
 
 menu "Inputstream addons"
+	source "package/kodi-inputstream-adaptive/Config.in"
 	source "package/kodi-inputstream-rtmp/Config.in"
 endmenu
 
-- 
2.11.0

^ permalink raw reply related

* [Buildroot] [PATCH v6 29/31] package/libsquish: Remove Kodi-specific patch
From: Bernd Kuhls @ 2017-04-24 21:32 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170424213206.26247-1-bernd.kuhls@t-online.de>

Kodi 17 does not depend on libsquish anymore:
https://github.com/xbmc/xbmc/commit/ed03f828be3615d294eb4a4cfccc5cdccec22997

We can therefore remove the patch which was needed for Kodi <= 16.x.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/libsquish/0001-kodi.patch | 327 --------------------------------------
 1 file changed, 327 deletions(-)
 delete mode 100644 package/libsquish/0001-kodi.patch

diff --git a/package/libsquish/0001-kodi.patch b/package/libsquish/0001-kodi.patch
deleted file mode 100644
index a9bca66904..0000000000
--- a/package/libsquish/0001-kodi.patch
+++ /dev/null
@@ -1,327 +0,0 @@
-Add Kodi-specific patch
-
-Kodi 15.0 contains an updated version of libsquish:
-https://github.com/xbmc/xbmc/tree/master/tools/depends/native/libsquish-native
-
-The OpenElec project provides a separate tarball including the Kodi-
-specific patches:
-http://sources.openelec.tv/devel/libsquish-1.10-openelec.tar.gz
-
-This patch contains the relevant diff between upstream libsquish 1.13
-and the OpenElec tarball.
-
-Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
-
-diff -uwNr 1.13/squish.cpp libsquish-1.10-openelec/squish.cpp
---- 1.13/squish.cpp	2015-04-30 12:48:49.000000000 +0200
-+++ libsquish-1.10-openelec/squish.cpp	2015-01-09 10:58:43.000000000 +0100
-@@ -23,6 +23,7 @@
- 
-    -------------------------------------------------------------------------- */
- 
-+#include <string.h>
- #include <squish.h>
- #include "colourset.h"
- #include "maths.h"
-@@ -39,7 +40,7 @@
-     // grab the flag bits
-     int method = flags & ( kDxt1 | kDxt3 | kDxt5 );
-     int fit = flags & ( kColourIterativeClusterFit | kColourClusterFit | kColourRangeFit );
--    int extra = flags & kWeightColourByAlpha;
-+	int extra = flags & ( kWeightColourByAlpha | kSourceBGRA );
- 
-     // set defaults
-     if( method != kDxt3 && method != kDxt5 )
-@@ -124,8 +125,30 @@
-     return blockcount*blocksize;
- }
- 
-+void CopyRGBA( u8 const* source, u8* dest, int flags )
-+{
-+	if (flags & kSourceBGRA)
-+	{
-+		// convert from bgra to rgba
-+		dest[0] = source[2];
-+		dest[1] = source[1];
-+		dest[2] = source[0];
-+		dest[3] = source[3];
-+	}
-+	else
-+	{
-+		for( int i = 0; i < 4; ++i )
-+			*dest++ = *source++;
-+	}
-+}
-+
- void CompressImage( u8 const* rgba, int width, int height, void* blocks, int flags, float* metric )
- {
-+	CompressImage(rgba, width, height, width*4, blocks, flags, metric);
-+}
-+  
-+void CompressImage( u8 const* rgba, int width, int height, int pitch, void* blocks, int flags, float* metric )
-+{
-     // fix any bad flags
-     flags = FixFlags( flags );
- 
-@@ -154,20 +177,14 @@
-                     if( sx < width && sy < height )
-                     {
-                         // copy the rgba value
--                        u8 const* sourcePixel = rgba + 4*( width*sy + sx );
--                        for( int i = 0; i < 4; ++i )
--                            *targetPixel++ = *sourcePixel++;
--
-+						u8 const* sourcePixel = rgba + pitch*sy + 4*sx;
-+						CopyRGBA(sourcePixel, targetPixel, flags);
-                         // enable this pixel
-                         mask |= ( 1 << ( 4*py + px ) );
-                     }
--                    else
--                    {
--                        // skip this pixel as its outside the image
-                         targetPixel += 4;
-                     }
-                 }
--            }
- 
-             // compress it into the output
-             CompressMasked( sourceRgba, mask, targetBlock, flags, metric );
-@@ -180,6 +197,11 @@
- 
- void DecompressImage( u8* rgba, int width, int height, void const* blocks, int flags )
- {
-+	DecompressImage( rgba, width, height, width*4, blocks, flags );
-+}
-+
-+void DecompressImage( u8* rgba, int width, int height, int pitch, void const* blocks, int flags )
-+{
-     // fix any bad flags
-     flags = FixFlags( flags );
- 
-@@ -207,24 +229,132 @@
-                     int sy = y + py;
-                     if( sx < width && sy < height )
-                     {
--                        u8* targetPixel = rgba + 4*( width*sy + sx );
-+						u8* targetPixel = rgba + pitch*sy + 4*sx;
- 
-                         // copy the rgba value
-+						CopyRGBA(sourcePixel, targetPixel, flags);
-+					}
-+					sourcePixel += 4;
-+				}
-+			}
-+			
-+			// advance
-+			sourceBlock += bytesPerBlock;
-+		}
-+	}
-+}
-+
-+static double ErrorSq(double x, double y)
-+{
-+	return (x - y) * (x - y);
-+}
-+
-+static void ComputeBlockWMSE(u8 const *original, u8 const *compressed, unsigned int w, unsigned int h, double &cmse, double &amse)
-+{
-+	// Computes the MSE for the block and weights it by the variance of the original block.
-+	// If the variance of the original block is less than 4 (i.e. a standard deviation of 1 per channel)
-+	// then the block is close to being a single colour. Quantisation errors in single colour blocks
-+	// are easier to see than similar errors in blocks that contain more colours, particularly when there
-+	// are many such blocks in a large area (eg a blue sky background) as they cause banding.  Given that
-+	// banding is easier to see than small errors in "complex" blocks, we weight the errors by a factor
-+	// of 5. This implies that images with large, single colour areas will have a higher potential WMSE
-+	// than images with lots of detail.
-+
-+	cmse = amse = 0;
-+	unsigned int sum_p[4];  // per channel sum of pixels
-+	unsigned int sum_p2[4]; // per channel sum of pixels squared
-+	memset(sum_p, 0, sizeof(sum_p));
-+	memset(sum_p2, 0, sizeof(sum_p2));
-+	for( unsigned int py = 0; py < 4; ++py )
-+	{
-+		for( unsigned int px = 0; px < 4; ++px )
-+		{
-+			if( px < w && py < h )
-+			{
-+				double pixelCMSE = 0;
-+				for( int i = 0; i < 3; ++i )
-+				{
-+					pixelCMSE += ErrorSq(original[i], compressed[i]);
-+					sum_p[i] += original[i];
-+					sum_p2[i] += (unsigned int)original[i]*original[i];
-+				}
-+				if( original[3] == 0 && compressed[3] == 0 )
-+					pixelCMSE = 0; // transparent in both, so colour is inconsequential
-+				amse += ErrorSq(original[3], compressed[3]);
-+				cmse += pixelCMSE;
-+				sum_p[3] += original[3];
-+				sum_p2[3] += (unsigned int)original[3]*original[3];
-+			}
-+			original += 4;
-+			compressed += 4;
-+		}
-+	}
-+	unsigned int variance = 0;
-                         for( int i = 0; i < 4; ++i )
--                            *targetPixel++ = *sourcePixel++;
-+		variance += w*h*sum_p2[i] - sum_p[i]*sum_p[i];
-+	if( variance < 4 * w * w * h * h )
-+	{
-+		amse *= 5;
-+		cmse *= 5;
-                     }
--                    else
-+}
-+  
-+void ComputeMSE( u8 const *rgba, int width, int height, u8 const *dxt, int flags, double &colourMSE, double &alphaMSE )
-                     {
--                        // skip this pixel as its outside the image
--                        sourcePixel += 4;
-+	ComputeMSE(rgba, width, height, width*4, dxt, flags, colourMSE, alphaMSE);
-+}
-+                
-+void ComputeMSE( u8 const *rgba, int width, int height, int pitch, u8 const *dxt, int flags, double &colourMSE, double &alphaMSE )
-+{
-+	// fix any bad flags
-+	flags = FixFlags( flags );
-+	colourMSE = alphaMSE = 0;
-+
-+	// initialise the block input
-+	squish::u8 const* sourceBlock = dxt;
-+	int bytesPerBlock = ( ( flags & squish::kDxt1 ) != 0 ) ? 8 : 16;
-+
-+	// loop over blocks
-+	for( int y = 0; y < height; y += 4 )
-+	{
-+		for( int x = 0; x < width; x += 4 )
-+		{
-+			// decompress the block
-+			u8 targetRgba[4*16];
-+			Decompress( targetRgba, sourceBlock, flags );
-+			u8 const* sourcePixel = targetRgba;
-+
-+			// copy across to a similar pixel block
-+			u8 originalRgba[4*16];
-+			u8* originalPixel = originalRgba;
-+
-+			for( int py = 0; py < 4; ++py )
-+			{
-+				for( int px = 0; px < 4; ++px )
-+				{
-+					int sx = x + px;
-+					int sy = y + py;
-+					if( sx < width && sy < height )
-+					{
-+						u8 const* targetPixel = rgba + pitch*sy + 4*sx;
-+						CopyRGBA(targetPixel, originalPixel, flags);
-                     }
-+					sourcePixel += 4;
-+					originalPixel += 4;
-                 }
-             }
- 
-+			// compute the weighted MSE of the block
-+			double blockCMSE, blockAMSE;
-+			ComputeBlockWMSE(originalRgba, targetRgba, std::min(4, width - x), std::min(4, height - y), blockCMSE, blockAMSE);
-+			colourMSE += blockCMSE;
-+			alphaMSE += blockAMSE;
-             // advance
-             sourceBlock += bytesPerBlock;
-         }
-     }
-+	colourMSE /= (width * height * 3);
-+	alphaMSE /= (width * height);
- }
- 
- } // namespace squish
-diff -uwNr 1.13/squish.h libsquish-1.10-openelec/squish.h
---- 1.13/squish.h	2015-04-30 12:55:27.000000000 +0200
-+++ libsquish-1.10-openelec/squish.h	2015-01-09 10:58:43.000000000 +0100
-@@ -57,7 +57,10 @@
-     kColourRangeFit = ( 1 << 4 ),
- 
-     //! Weight the colour by alpha during cluster fit (disabled by default).
--    kWeightColourByAlpha = ( 1 << 7 )
-+	kWeightColourByAlpha = ( 1 << 7 ),
-+	
-+	//! Source is BGRA rather than RGBA
-+	kSourceBGRA = ( 1 << 9 ),
- };
- 
- // -----------------------------------------------------------------------------
-@@ -194,6 +197,7 @@
-     @param rgba   The pixels of the source.
-     @param width  The width of the source image.
-     @param height The height of the source image.
-+	@param pitch	The pitch of the source image.
-     @param blocks Storage for the compressed output.
-     @param flags  Compression flags.
-     @param metric An optional perceptual metric.
-@@ -231,6 +235,7 @@
-     to allocate for the compressed output.
- */
- void CompressImage( u8 const* rgba, int width, int height, void* blocks, int flags, float* metric = 0 );
-+void CompressImage( u8 const* rgba, int width, int height, int pitch, void* blocks, int flags, float* metric = 0 );
- 
- // -----------------------------------------------------------------------------
- 
-@@ -239,6 +244,7 @@
-     @param rgba   Storage for the decompressed pixels.
-     @param width  The width of the source image.
-     @param height The height of the source image.
-+	@param pitch    The pitch of the decompressed pixels.
-     @param blocks The compressed DXT blocks.
-     @param flags  Compression flags.
- 
-@@ -254,6 +260,32 @@
-     Internally this function calls squish::Decompress for each block.
- */
- void DecompressImage( u8* rgba, int width, int height, void const* blocks, int flags );
-+void DecompressImage( u8* rgba, int width, int height, int pitch, void const* blocks, int flags );
-+
-+// -----------------------------------------------------------------------------
-+
-+/*! @brief Computes MSE of an compressed image in memory.
-+
-+	@param rgba		The original image pixels.
-+	@param width	The width of the source image.
-+	@param height	The height of the source image.
-+	@param pitch  	The pitch of the source image.
-+	@param dxt		The compressed dxt blocks
-+	@param flags	Compression flags.
-+	@param colourMSE	The MSE of the colour values.
-+	@param alphaMSE	The MSE of the alpha values.
-+	
-+	The colour MSE and alpha MSE are computed across all pixels. The colour MSE is
-+	averaged across all rgb values (i.e. colourMSE = sum sum_k ||dxt.k - rgba.k||/3)
-+	
-+	The flags parameter should specify either kDxt1, kDxt3 or kDxt5 compression, 
-+	however, DXT1 will be used by default if none is specified. All other flags 
-+	are ignored.
-+
-+	Internally this function calls squish::Decompress for each block.
-+*/
-+void ComputeMSE(u8 const *rgba, int width, int height, u8 const *dxt, int flags, double &colourMSE, double &alphaMSE);
-+void ComputeMSE(u8 const *rgba, int width, int height, int pitch, u8 const *dxt, int flags, double &colourMSE, double &alphaMSE);
- 
- // -----------------------------------------------------------------------------
- 
-diff -uwNr 1.13/squish.pc.in libsquish-1.10-openelec/squish.pc.in
---- 1.13/squish.pc	1970-01-01 01:00:00.000000000 +0100
-+++ libsquish-1.10-openelec/squish.pc	2015-01-09 10:58:43.000000000 +0100
-@@ -0,0 +1,13 @@
-+prefix=/usr
-+exec_prefix=${prefix}
-+libdir=${prefix}/lib
-+sharedlibdir=${libdir}
-+includedir=${prefix}/include
-+
-+Name: squish
-+Description: squish DXT lib
-+Version: 1.1.3-kodi
-+
-+Requires:
-+Libs: -L${libdir} -L${sharedlibdir} -lsquish
-+Cflags: -I${includedir}
-- 
2.11.0

^ permalink raw reply related

* [Buildroot] [PATCH v6 30/31] package/libsquish: bump version to 1.15
From: Bernd Kuhls @ 2017-04-24 21:32 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170424213206.26247-1-bernd.kuhls@t-online.de>

Added md5 hash provided by upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/libsquish/libsquish.hash | 3 ++-
 package/libsquish/libsquish.mk   | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/libsquish/libsquish.hash b/package/libsquish/libsquish.hash
index caa7198642..e68d28d66f 100644
--- a/package/libsquish/libsquish.hash
+++ b/package/libsquish/libsquish.hash
@@ -1,2 +1,3 @@
 # From http://sourceforge.net/projects/libsquish/files
-sha1	7bcdd7d0f0460a29e25dcdab8dc41a30e58bb366	libsquish-1.13.tgz
+sha1 51844b9a8bc815a27e2cc0ffbede5fee3ef75110 libsquish-1.15.tgz
+md5 c02645800131e55b519ff8dbe7284f93 libsquish-1.15.tgz
diff --git a/package/libsquish/libsquish.mk b/package/libsquish/libsquish.mk
index 73f8de9cc1..a707355b55 100644
--- a/package/libsquish/libsquish.mk
+++ b/package/libsquish/libsquish.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBSQUISH_VERSION = 1.13
+LIBSQUISH_VERSION = 1.15
 LIBSQUISH_SOURCE = libsquish-$(LIBSQUISH_VERSION).tgz
 LIBSQUISH_SITE = http://downloads.sourceforge.net/project/libsquish
 LIBSQUISH_INSTALL_STAGING = YES
-- 
2.11.0

^ permalink raw reply related

* [Buildroot] [PATCH v6 31/31] package/kodi: Add support for more archs
From: Bernd Kuhls @ 2017-04-24 21:32 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170424213206.26247-1-bernd.kuhls@t-online.de>

For the autoconf-based build system it was necessary to allow each
supported architecture separatly:
https://github.com/xbmc/xbmc/blob/Krypton/m4/xbmc_arch.m4

The CMake build system supports more archs which are added by this
commit.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/kodi/Config.in | 9 ++++++++-
 package/kodi/kodi.mk   | 8 +++++++-
 2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index a5fc940a2b..1f56874077 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -1,7 +1,14 @@
 config BR2_PACKAGE_KODI_ARCH_SUPPORTS
 	bool
 	depends on BR2_USE_MMU # libcdio, and others
-	default y if (BR2_arm || (BR2_mipsel && BR2_TOOLCHAIN_USES_GLIBC) || BR2_i386 || BR2_x86_64) \
+	default y if ( \
+		BR2_aarch64 || BR2_aarch64_be || \
+		BR2_arcle || BR2_arceb || \
+		BR2_arm || BR2_armeb || \
+		BR2_mips || BR2_mips64 || \
+		BR2_mipsel || BR2_mips64el || \
+		BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le || \
+		BR2_i386 || BR2_x86_64) \
 		&& BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS \
 		&& BR2_TOOLCHAIN_HAS_SYNC_8
 
diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
index 245b8bfbe6..455d38d97e 100644
--- a/package/kodi/kodi.mk
+++ b/package/kodi/kodi.mk
@@ -73,10 +73,16 @@ KODI_CONF_OPTS += \
 	-DDEPENDS_PATH=$(@D) \
 	-DWITH_TEXTUREPACKER=$(HOST_DIR)/usr/bin/TexturePacker
 
-ifeq ($(BR2_arm),y)
+ifeq ($(BR2_aarch64),y)
+KODI_CONF_OPTS += -DWITH_ARCH=aarch64 -DWITH_CPU=aarch64
+else ifeq ($(BR2_arm)$(BR2_armeb),y)
 KODI_CONF_OPTS += -DWITH_ARCH=arm -DWITH_CPU=arm
 else ifeq ($(BR2_mips),y)
 KODI_CONF_OPTS += -DWITH_ARCH=mips -DWITH_CPU=mips
+else ifeq ($(BR2_mips64el),y)
+KODI_CONF_OPTS += -DWITH_ARCH=mips64 -DWITH_CPU=mips64
+else ifeq ($(BR2_powerpc64)$(BR2_powerpc64le),y)
+KODI_CONF_OPTS += -DWITH_ARCH=powerpc64 -DWITH_CPU=powerpc64
 else ifeq ($(BR2_i386),y)
 KODI_CONF_OPTS += -DWITH_ARCH=i486-linux -DWITH_CPU=$(BR2_GCC_TARGET_ARCH)
 else ifeq ($(BR2_x86_64),y)
-- 
2.11.0

^ permalink raw reply related

* [Buildroot] [PATCH v6 00/31] [PATCH v6 00/31] kodi: bump to version 17.1-Krypton
From: Bernd Kuhls @ 2017-04-24 21:38 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170424213206.26247-1-bernd.kuhls@t-online.de>

Am Mon, 24 Apr 2017 23:31:35 +0200 schrieb Bernd Kuhls:

> Hi,
> 
> this series bumps Kodi to 17.1-Krypton, released 2017/03/21:
> https://kodi.tv/kodi-v17-1-krypton/

Hi,

just updated the github branch as well:
https://github.com/bkuhls/buildroot/tree/kodi_cmake

@Yann: On top of the kodi_cmake branch I am updating the libudev patch 
series as well: https://github.com/bkuhls/buildroot/tree/libudev

Regards, Bernd

^ permalink raw reply

* [Buildroot] [PATCH] busybox: no need to disable clear and reset
From: Matthew Weber @ 2017-04-24 22:38 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170424201323.30582-1-arnout@mind.be>

Arnout,

On Apr 24, 2017 3:13 PM, "Arnout Vandecappelle (Essensium/Mind)" <
arnout@mind.be> wrote:

Removing clear and reset from the busybox config when the ncurses tools
are enabled is not really needed.

Since commit 802bff9c42, the busybox install will not overwrite
existing programs. Therefore, the tools will be installed correctly
regardless of the order of the build:
- if busybox is built first, the clear and reset apps are installed,
  but they will be overwritten by ncurses;
- if ncurses is built first, it will install the clear and reset apps,
  and busybox will no longer install them.

We prefer not to modify the busybox configuration when not strictly
necessary, because it is surprising for the user that his configuration
is not applied. Clearly, it's not ideal that busybox is configured with
redundant apps, but if the user wants to shrink it, it's possible to
provide a custom config.

This partially reverts commit 33c72344a8686a136c1da6a056ed6c0945bbf8b7.


I'll give this a test tonight


Cc: Matthew Weber <matthew.weber@rockwellcollins.com>
Cc: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/busybox/busybox.mk | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
index 689830e7f8..a536ed2953 100644
--- a/package/busybox/busybox.mk
+++ b/package/busybox/busybox.mk
@@ -148,17 +148,6 @@ define BUSYBOX_MUSL_TWEAKS
 endef
 endif

-ifeq ($(BR2_PACKAGE_NCURSES_TARGET_PROGS),y)
-# Ncurses package overlaps:
-#     /usr/bin/clear
-#     /usr/bin/reset -> /usr/bin/tset (symlink)
-#
-define BUSYBOX_DISABLE_NCURSES_PROGS
-       $(call KCONFIG_DISABLE_OPT,CONFIG_CLEAR,$(BUSYBOX_BUILD_CONFIG))
-       $(call KCONFIG_DISABLE_OPT,CONFIG_RESET,$(BUSYBOX_BUILD_CONFIG))
-endef
-endif
-
 define BUSYBOX_INSTALL_UDHCPC_SCRIPT
        if grep -q CONFIG_UDHCPC=y $(@D)/.config; then \
                $(INSTALL) -m 0755 -D package/busybox/udhcpc.script \
@@ -240,7 +229,6 @@ define BUSYBOX_KCONFIG_FIXUP_CMDS
        $(BUSYBOX_SET_WATCHDOG)
        $(BUSYBOX_SET_SELINUX)
        $(BUSYBOX_MUSL_TWEAKS)
-       $(BUSYBOX_DISABLE_NCURSES_PROGS)
 endef

 define BUSYBOX_CONFIGURE_CMDS
--
2.11.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170424/563bb696/attachment.html>

^ permalink raw reply related

* [Buildroot] [PATCH] busybox: no need to disable clear and reset
From: Matthew Weber @ 2017-04-25  1:44 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170424201323.30582-1-arnout@mind.be>

Arnout,

On Mon, Apr 24, 2017 at 3:13 PM, Arnout Vandecappelle (Essensium/Mind)
<arnout@mind.be> wrote:
> Removing clear and reset from the busybox config when the ncurses tools
> are enabled is not really needed.
>
> Since commit 802bff9c42, the busybox install will not overwrite
> existing programs. Therefore, the tools will be installed correctly
> regardless of the order of the build:
> - if busybox is built first, the clear and reset apps are installed,
>   but they will be overwritten by ncurses;
> - if ncurses is built first, it will install the clear and reset apps,
>   and busybox will no longer install them.
>
> We prefer not to modify the busybox configuration when not strictly
> necessary, because it is surprising for the user that his configuration
> is not applied. Clearly, it's not ideal that busybox is configured with
> redundant apps, but if the user wants to shrink it, it's possible to
> provide a custom config.
>
> This partially reverts commit 33c72344a8686a136c1da6a056ed6c0945bbf8b7.
>

Verified with a the BR default config doing a clean make all for each case.

Tested-by: Matt Weber  <matthew.weber@rockwellcollins.com>


> Cc: Matthew Weber <matthew.weber@rockwellcollins.com>
> Cc: Danomi Manchego <danomimanchego123@gmail.com>
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> ---
>  package/busybox/busybox.mk | 12 ------------
>  1 file changed, 12 deletions(-)
>
> diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
> index 689830e7f8..a536ed2953 100644
> --- a/package/busybox/busybox.mk
> +++ b/package/busybox/busybox.mk
> @@ -148,17 +148,6 @@ define BUSYBOX_MUSL_TWEAKS
>  endef
>  endif
>
> -ifeq ($(BR2_PACKAGE_NCURSES_TARGET_PROGS),y)
> -# Ncurses package overlaps:
> -#     /usr/bin/clear
> -#     /usr/bin/reset -> /usr/bin/tset (symlink)
> -#
> -define BUSYBOX_DISABLE_NCURSES_PROGS
> -       $(call KCONFIG_DISABLE_OPT,CONFIG_CLEAR,$(BUSYBOX_BUILD_CONFIG))
> -       $(call KCONFIG_DISABLE_OPT,CONFIG_RESET,$(BUSYBOX_BUILD_CONFIG))
> -endef
> -endif
> -
>  define BUSYBOX_INSTALL_UDHCPC_SCRIPT
>         if grep -q CONFIG_UDHCPC=y $(@D)/.config; then \
>                 $(INSTALL) -m 0755 -D package/busybox/udhcpc.script \
> @@ -240,7 +229,6 @@ define BUSYBOX_KCONFIG_FIXUP_CMDS
>         $(BUSYBOX_SET_WATCHDOG)
>         $(BUSYBOX_SET_SELINUX)
>         $(BUSYBOX_MUSL_TWEAKS)
> -       $(BUSYBOX_DISABLE_NCURSES_PROGS)
>  endef
>
>  define BUSYBOX_CONFIGURE_CMDS
> --
> 2.11.0
>



-- 
Matthew L Weber / Pr Software Engineer
Airborne Information Systems / Security Systems and Software / Secure Platforms
MS 131-100, C Ave NE, Cedar Rapids, IA, 52498, USA
www.rockwellcollins.com

Note: Any Export License Required Information and License Restricted
Third Party Intellectual Property (TPIP) content must be encrypted and
sent to matthew.weber at corp.rockwellcollins.com.

^ permalink raw reply

* [Buildroot] [PATCH v6 31/31] package/kodi: Add support for more archs
From: Chris Packham @ 2017-04-25  4:00 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170424213206.26247-32-bernd.kuhls@t-online.de>

Hi Bernd,

On Tue, Apr 25, 2017 at 9:32 AM, Bernd Kuhls <bernd.kuhls@t-online.de> wrote:
> For the autoconf-based build system it was necessary to allow each
> supported architecture separatly:
> https://github.com/xbmc/xbmc/blob/Krypton/m4/xbmc_arch.m4
>
> The CMake build system supports more archs which are added by this
> commit.
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/kodi/Config.in | 9 ++++++++-
>  package/kodi/kodi.mk   | 8 +++++++-
>  2 files changed, 15 insertions(+), 2 deletions(-)
>
> diff --git a/package/kodi/Config.in b/package/kodi/Config.in
> index a5fc940a2b..1f56874077 100644
> --- a/package/kodi/Config.in
> +++ b/package/kodi/Config.in
> @@ -1,7 +1,14 @@
>  config BR2_PACKAGE_KODI_ARCH_SUPPORTS
>         bool
>         depends on BR2_USE_MMU # libcdio, and others
> -       default y if (BR2_arm || (BR2_mipsel && BR2_TOOLCHAIN_USES_GLIBC) || BR2_i386 || BR2_x86_64) \
> +       default y if ( \
> +               BR2_aarch64 || BR2_aarch64_be || \
> +               BR2_arcle || BR2_arceb || \
> +               BR2_arm || BR2_armeb || \
> +               BR2_mips || BR2_mips64 || \
> +               BR2_mipsel || BR2_mips64el || \
> +               BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le || \
> +               BR2_i386 || BR2_x86_64) \
>                 && BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS \
>                 && BR2_TOOLCHAIN_HAS_SYNC_8
>
> diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
> index 245b8bfbe6..455d38d97e 100644
> --- a/package/kodi/kodi.mk
> +++ b/package/kodi/kodi.mk
> @@ -73,10 +73,16 @@ KODI_CONF_OPTS += \
>         -DDEPENDS_PATH=$(@D) \
>         -DWITH_TEXTUREPACKER=$(HOST_DIR)/usr/bin/TexturePacker
>
> -ifeq ($(BR2_arm),y)
> +ifeq ($(BR2_aarch64),y)
> +KODI_CONF_OPTS += -DWITH_ARCH=aarch64 -DWITH_CPU=aarch64

Would it make more sense to have

  KODI_CONF_OPTS += -DWITH_ARCH=$(BR2_ARCH) -DWITH_CPU=$(BR2_ARCH)

and have explicit cases where BR2_arch doesn't meet Kodi's view of the world

> +else ifeq ($(BR2_arm)$(BR2_armeb),y)
>  KODI_CONF_OPTS += -DWITH_ARCH=arm -DWITH_CPU=arm
>  else ifeq ($(BR2_mips),y)
>  KODI_CONF_OPTS += -DWITH_ARCH=mips -DWITH_CPU=mips
> +else ifeq ($(BR2_mips64el),y)
> +KODI_CONF_OPTS += -DWITH_ARCH=mips64 -DWITH_CPU=mips64
> +else ifeq ($(BR2_powerpc64)$(BR2_powerpc64le),y)
> +KODI_CONF_OPTS += -DWITH_ARCH=powerpc64 -DWITH_CPU=powerpc64
>  else ifeq ($(BR2_i386),y)
>  KODI_CONF_OPTS += -DWITH_ARCH=i486-linux -DWITH_CPU=$(BR2_GCC_TARGET_ARCH)
>  else ifeq ($(BR2_x86_64),y)
> --
> 2.11.0
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply

* [Buildroot] [autobuild.buildroot.net] Build results for 2017-04-24
From: Thomas Petazzoni @ 2017-04-25  6:28 UTC (permalink / raw)
  To: buildroot

Hello,

Build statistics for 2017-04-24
================================

      successes : 166
       failures : 87 
       timeouts : 1  
          TOTAL : 254

Classification of failures by reason
====================================

           host-protobuf-3.2.0 | 29
                    ola-0.10.2 | 16
                 xenomai-3.0.4 | 7 
                protobuf-3.2.0 | 6 
                busybox-1.26.2 | 4 
                 mplayer-1.3.0 | 4 
           uboot-tools-2017.03 | 3 
expedite-0529ce56b6fb01e965... | 2 
             rabbitmq-c-v0.8.0 | 2 
                 xorriso-1.4.6 | 2 
               acpica-20161117 | 1 
                           all | 1 
                  arp-scan-1.9 | 1 
                 binutils-2.27 | 1 
kvm-unit-tests-5731572b2ac2... | 1 
                  libcdio-0.94 | 1 
                libmpeg2-0.5.1 | 1 
                 libxml2-2.9.4 | 1 
             lttng-tools-2.9.4 | 1 
                    mpir-3.0.0 | 1 
openblas-f04af36ad0e85b64f1... | 1 
                poppler-0.54.0 | 1 
                 qt5base-5.8.0 | 1 


Detail of failures
===================

         arm |                acpica-20161117 | NOK | http://autobuild.buildroot.net/results/e69b97a93008265932e9945f6ae32c3c7d4da121 |     
        i586 |                            all | TIM | http://autobuild.buildroot.net/results/ca692b220aad7db99aa0c2ec408e9f5def05f223 |     
         arm |                   arp-scan-1.9 | NOK | http://autobuild.buildroot.net/results/edea93f40b709ae5535c733dff415cf6735e0cf2 |     
        bfin |                  binutils-2.27 | NOK | http://autobuild.buildroot.net/results/fc9c77742a293973cd770da441b2701d40497c4e | ORPH
         arm |                 busybox-1.26.2 | NOK | http://autobuild.buildroot.net/results/6449a94112cea9caf1e9dcaa536e2575d102b708 | ORPH
         arm |                 busybox-1.26.2 | NOK | http://autobuild.buildroot.net/results/5f886df33538ee12b784aa98240a89caebd64116 | ORPH
         arm |                 busybox-1.26.2 | NOK | http://autobuild.buildroot.net/results/becc9070d6fd371840bcbd11625fd0a68ca68165 | ORPH
         arm |                 busybox-1.26.2 | NOK | http://autobuild.buildroot.net/results/5dde29960326d27f5a7d052f3c43fd22c0fb2cf9 | ORPH
     powerpc | expedite-0529ce56b6fb01e965... | NOK | http://autobuild.buildroot.net/results/dc9d7be90452d127ba9ad37bf1ac1ea713bd9e91 |     
        i686 | expedite-0529ce56b6fb01e965... | NOK | http://autobuild.buildroot.net/results/a42e5e9643351795f6cd5b1ccbb5bea25282288b |     
      x86_64 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/4b3a2b389fa1fb223db8b6b3cac3d3c9f5161989 | ORPH
     powerpc |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/d76764d5bee7216b99501d4c3ef96299dc334842 | ORPH
         arm |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/0af6a908eaedbbf3a42dbb32453cf1acbe5ae7c8 | ORPH
        m68k |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/fbec010f21a63e9df45dc29970be6a711cc2c991 | ORPH
        i686 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/73531daa4d5e0a5fb1dd95a47a1ba8bbbf83c457 | ORPH
         arm |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/25024d9bc7692f7ff37e7c4acf18fa8bd877e83d | ORPH
        m68k |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/cf3a0c7161ff89c863e9c10032abd7da9ef65d7b | ORPH
      x86_64 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/8e65c3b77fafc7ef366a87a4fddc3b5a3bd1ae4b | ORPH
        i686 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/355af073b397812654f01e5e02dc2b2a685bc675 | ORPH
         arc |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/0df914d584afad358915cc6ac62ad120d879f1ec | ORPH
        i686 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/6f1fe1f882e2265023b7115d1a8056f4d6595e00 | ORPH
     powerpc |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/cccacfc18bf4f4281b555f7e0f645ad2c4983e41 | ORPH
      x86_64 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/088f55af8b16afee0b0f6586605f5a1075ab5170 | ORPH
        or1k |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/fc8d2ef2168948eea8ea3f16aefa8b5244d35c3b | ORPH
     aarch64 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/aff580fac3751ca6497aef0b0392584fb3780637 | ORPH
      xtensa |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/3367f01760ee2e3c931164b3825665a5c30af8c7 | ORPH
         arm |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/c0caef5ef7ca88fe7b6cb88bc65d1ae09104a3e9 | ORPH
      x86_64 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/6e349c3de0750676b181c08cc8cc2744cac72b7b | ORPH
        sh4a |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/06cca371bc6ec6c8eca0e263528a19dcabc744cf | ORPH
         arm |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/fcaad1a4c6fa6e5bfdcf55b8a3510d0192279db9 | ORPH
   powerpc64 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/01eb30d856891649216a6adeba3d795c08ddff4f | ORPH
      x86_64 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/24aa403aa2d4e0f35011156b234eaa84de25ed23 | ORPH
        i686 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/fadef7d141acd454c7c4e75e4ff41204b4577634 | ORPH
      x86_64 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/a960850ed5237b10ed9294584da43389eacfb2ba | ORPH
       nios2 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/7c1298982c6ccf63dd424692c6cc7a218ba08247 | ORPH
   powerpc64 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/35adb6342c7d6ab0915b964494c21761221c2d45 | ORPH
        mips |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/6b42a864381ae13cfbfbbf023660a6945ff67b43 | ORPH
microblazeel |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/00c560c58daa9be913b1d8dbbb3be96688283cba | ORPH
         arm |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/1435b738f00a0c0fcee08f1d4f91ebee3562b2cd | ORPH
      x86_64 | kvm-unit-tests-5731572b2ac2... | NOK | http://autobuild.buildroot.net/results/0ebb17ebb7f4e8f6bd841115536c0f225cac8dde |     
         arc |                   libcdio-0.94 | NOK | http://autobuild.buildroot.net/results/6c0e9a7fdd0a6d7708278c7261c757ba6aa564a1 |     
       sparc |                 libmpeg2-0.5.1 | NOK | http://autobuild.buildroot.net/results/5a83dfa0813a606e80794754e177260341158a74 | ORPH
         arm |                  libxml2-2.9.4 | NOK | http://autobuild.buildroot.net/results/c1940a8042322b26dadeb84d2cade85d7950df69 | ORPH
     powerpc |              lttng-tools-2.9.4 | NOK | http://autobuild.buildroot.net/results/94411e480486b8ac7380ff12f9bc8c7e45ad50f4 |     
    mips64el |                     mpir-3.0.0 | NOK | http://autobuild.buildroot.net/results/44ae3ce7102d5ee296b4a57e93f2e710a0e56f38 |     
         arm |                  mplayer-1.3.0 | NOK | http://autobuild.buildroot.net/results/6502f0c9c04407257e45907971a4db3c900461b4 |     
      x86_64 |                  mplayer-1.3.0 | NOK | http://autobuild.buildroot.net/results/b79dbb650b0f0b6bcf9d954608c1ca245432fd90 |     
         arm |                  mplayer-1.3.0 | NOK | http://autobuild.buildroot.net/results/8287918a75276ff0dd8eefabe065b310e5da3f4f |     
        i686 |                  mplayer-1.3.0 | NOK | http://autobuild.buildroot.net/results/a08ad2128284b9896a12db6c6cddd1fe9f78edd5 |     
    mips64el |                     ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/b556e2b79130768b6a7da2a4a3cdd9bcb477f51f |     
       nios2 |                     ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/74adbb42bbf28fc74816bdc222e76d18ee797320 |     
         sh4 |                     ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/900501f3878b9e4f315a400a204b6578a1342fa1 |     
         arm |                     ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/f05cd9293d5dc61fe174e31f8117e1df6af6bb07 |     
     powerpc |                     ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/0f90127a6adff9f55324fcf47d90b0c57a35a876 |     
         arm |                     ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/ddc2e3a5432e08239351d391cac19783d027820b |     
        i686 |                     ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/a8ec3a4999822f3645af35edf11bd0e8543028e5 |     
         arm |                     ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/0c067badb2e2124f96751ce5503c85ae623082c9 |     
     powerpc |                     ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/99abdb12c007a9972e34a913b46a5e1a2d0bfad5 |     
        i686 |                     ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/55fa699f5846e2c1d4c5ee92110cfd1786c3253a |     
        or1k |                     ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/60aa780ecfdd153821a2c7a9ceaa96dbc9dff7e6 |     
         sh4 |                     ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/94ff0c3d232ce4940e6f66f31e4b2e3f684047ec |     
    mips64el |                     ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/564cc2b9fb794da3f90eacb0aad425b6d5190a2a |     
     sparc64 |                     ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/317065f3a76bda5d303b9bacd0b1d9ba7d0be453 |     
      x86_64 |                     ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/1288dbccb266da4163116b4e966df08c786b0cea |     
     aarch64 |                     ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/d5d4c7c6bfc37c41a62be70bc19532a9c0f2b089 |     
       sparc | openblas-f04af36ad0e85b64f1... | NOK | http://autobuild.buildroot.net/results/a02fbbfc4bf9a70095f574ca70c835a8d8f13688 |     
        m68k |                 poppler-0.54.0 | NOK | http://autobuild.buildroot.net/results/e4546e7f85bf799e071798475a2f81ee5e632051 |     
        i586 |                 protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/ba9fee0edfac0051ee725b9ef20d599249a26980 | ORPH
       sparc |                 protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/a8b9a2395e666f58d7d40112edbda2be9eb84af7 | ORPH
         arm |                 protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/ea1af7d7a738d4feaf404c6f839e359015da7657 | ORPH
        i586 |                 protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/7f3fcf8ff4e63889abdf708374323ac78bdc357d | ORPH
         arm |                 protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/4791faf1ca43bb0e3a59e92b2c6b72601af8f3c0 | ORPH
         arm |                 protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/3c59db592ed09b8af173cde55593f91b1e1cccac | ORPH
     powerpc |                  qt5base-5.8.0 | NOK | http://autobuild.buildroot.net/results/040ab283dbbec623fe5ff4eaece754d9701fafc5 |     
        i586 |              rabbitmq-c-v0.8.0 | NOK | http://autobuild.buildroot.net/results/dc677f21218084c87298dde970edad74e630f3cd |     
         arm |              rabbitmq-c-v0.8.0 | NOK | http://autobuild.buildroot.net/results/2d121c94a7c0baf327eac0e0ea571e6557c39329 |     
 powerpc64le |            uboot-tools-2017.03 | NOK | http://autobuild.buildroot.net/results/7803351da86cfee402101c37b1734c174c9ed73f | ORPH
         arm |            uboot-tools-2017.03 | NOK | http://autobuild.buildroot.net/results/ec6c7fb3d4ee0a691db4dba29fb66a1d830baefd | ORPH
      x86_64 |            uboot-tools-2017.03 | NOK | http://autobuild.buildroot.net/results/6ebd08aae1a54e9e8e71d51a3db1224dc7709d2c | ORPH
        bfin |                  xenomai-3.0.4 | NOK | http://autobuild.buildroot.net/results/2ea49b082030cb07cd7ff5dd1e96f9f2284f6c05 |     
     powerpc |                  xenomai-3.0.4 | NOK | http://autobuild.buildroot.net/results/0555ac457645b7419c6aec010ddf803f879277b9 |     
      x86_64 |                  xenomai-3.0.4 | NOK | http://autobuild.buildroot.net/results/8470268a0137b35f3c9669de7f010c03cec76ed1 |     
         arm |                  xenomai-3.0.4 | NOK | http://autobuild.buildroot.net/results/f9bafb381364bd6976da56a730b97399a17447dc |     
         arm |                  xenomai-3.0.4 | NOK | http://autobuild.buildroot.net/results/6ed8509045791726169aff31f96c674cc159fc48 |     
         arm |                  xenomai-3.0.4 | NOK | http://autobuild.buildroot.net/results/c447b582076541e211ae0e8ef69def9a71dfa6de |     
         arm |                  xenomai-3.0.4 | NOK | http://autobuild.buildroot.net/results/39183a35280bf02bd6c9d45d47699502e298ab94 |     
      xtensa |                  xorriso-1.4.6 | NOK | http://autobuild.buildroot.net/results/04433b96b9a51b9e5df26f2e7b1d184638f7bdec |     
      xtensa |                  xorriso-1.4.6 | NOK | http://autobuild.buildroot.net/results/254f9559f90b722d531cfa36426c97fdbf24942c |     

-- 
http://autobuild.buildroot.net

^ 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  6:53 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/linux-headers/Config.in.host | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host
index f4a843061..7e246b962 100644
--- a/package/linux-headers/Config.in.host
+++ b/package/linux-headers/Config.in.host
@@ -218,7 +218,7 @@ config BR2_DEFAULT_KERNEL_HEADERS
 	default "3.4.113"	if BR2_KERNEL_HEADERS_3_4
 	default "3.10.105"	if BR2_KERNEL_HEADERS_3_10
 	default "3.12.73"	if BR2_KERNEL_HEADERS_3_12
-	default "3.18.48"	if BR2_KERNEL_HEADERS_3_18
+	default "3.18.50"	if BR2_KERNEL_HEADERS_3_18
 	default "3.19.8"	if BR2_KERNEL_HEADERS_3_19
 	default "4.0.9"		if BR2_KERNEL_HEADERS_4_0
 	default "4.1.39"	if BR2_KERNEL_HEADERS_4_1
-- 
2.11.0

^ permalink raw reply related

* [Buildroot] [PATCH] x11vnc: update to 0.9.14
From: Martin Kepplinger @ 2017-04-25  7:23 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <e8750710-f475-fe87-79a4-edd6f655d5a0@mind.be>



On 2017-04-24 21:47, Arnout Vandecappelle wrote:
> 
> 
> On 24-04-17 15:26, Martin Kepplinger wrote:
>>
>>
>> On 2017-04-24 14:55, Vicente Olivert Riera wrote:
>>> Hi Martin,
>>>
>>> On 24/04/17 13:27, Martin Kepplinger wrote:
>>>> On 2017-04-24 14:22, Martin Kepplinger wrote:
>>>>> This uses x11vnc's new upstream location, github, via https. Autoreconf is
>>>>> added, because it's really only a code snapshot release.
>>>>>
>>>>> Signed-off-by: Martin Kepplinger <martin.kepplinger@ginzinger.com>
>>>>> ---
>>>>>  package/x11vnc/x11vnc.hash | 2 +-
>>>>>  package/x11vnc/x11vnc.mk   | 9 +++++++--
>>>>>  2 files changed, 8 insertions(+), 3 deletions(-)
>>>>>
>>>>> diff --git a/package/x11vnc/x11vnc.hash b/package/x11vnc/x11vnc.hash
>>>>> index 5828b12..0da7765 100644
>>>>> --- a/package/x11vnc/x11vnc.hash
>>>>> +++ b/package/x11vnc/x11vnc.hash
>>>>> @@ -1,2 +1,2 @@
>>>>>  # Locally computed:
>>>>> -sha256  f6829f2e629667a5284de62b080b13126a0736499fe47cdb447aedb07a59f13b  x11vnc-0.9.13.tar.gz
>>>>> +sha256  45f87c5e4382988c73e8c7891ac2bfb45d8f9ce1196ae06651c84636684ea143  0.9.14.tar.gz
>>>>
>>>>
>>>> It's ugly to have 0.9.14.tar.gz. Is there a buildroot-style solution to
>>>> this?
> 
>  Yes, the github helper. If the link contains 'archive', it's for the github
> helper. If it contains 'releases', it's an uploaded tarball and you should use
> the expanded URL.

thanks.

> 
> 
>>> This is just fine, it's not the only package whose tarball name doesn't
>>> include the package name. Look for instance the mpv and yaffs2utils
>>> packages.
>>>
>>>>
>>>> And other than that, is there a reason why x11vnc had not been updated
>>>> before? 0.9.14 is one and a half years old.
>>>
>>> Because nobody did it, probably. Anyway, the 0.9.14 is considered a
>>> bleeding edge development release (according to x11vnc's website) and
>>> even with that, as you said, is one and a half years old. Just
>>> wondering..., shouldn't be better to go with ToT (top of the tree) instead?
>>>
>>> X11VNC_VERSION = e47d922d4a4d980f8dce3e466c73dc4665e4bc01
>>> X11VNC_SITE = $(call github,LibVNC,x11vnc,$(X11VNC_VERSION))
>>>
>>
>> They don't seem to use development branches; While I think it would be
>> fine to use the master branch, just from my personal feeling I'd use the
>> tagged versions. Seems like the project is maintained and 0.9.15 somehow
>> on the horizon sometime sooner or later.
> 
>  We indeed prefer to stick to officially released versions when upstream has
> them. And we generally don't like to take releases that upstream considers a
> development/alpha/... release.
> 
>  Is there a reason why you need this bump?

Actually, no. There'd be a reason for me to have the next release. I
just thought to update in order to make it easier for 0.9.15. Let's
leave it as it is. I'll propose an update to 0.9.15 when released and
tested.

                          martin

> 
>  Regards,
>  Arnout
> 
> 

^ permalink raw reply

* [Buildroot] [PATCH v6 31/31] package/kodi: Add support for more archs
From: Bernd Kuhls @ 2017-04-25  7:31 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <CAFOYHZABJ6nDTRv0xxT=daZM4VacXDSepiCF9p3exCHyQ3j9ag@mail.gmail.com>

Am Tue, 25 Apr 2017 16:00:51 +1200 schrieb Chris Packham:

>> -ifeq ($(BR2_arm),y)
>> +ifeq ($(BR2_aarch64),y)
>> +KODI_CONF_OPTS += -DWITH_ARCH=aarch64 -DWITH_CPU=aarch64
> 
> Would it make more sense to have
> 
>   KODI_CONF_OPTS += -DWITH_ARCH=$(BR2_ARCH) -DWITH_CPU=$(BR2_ARCH)
> 
> and have explicit cases where BR2_arch doesn't meet Kodi's view of the
> world

Hi Chris,

yes, of course. It is part of my to-do list mentioned in the cover letter:
http://lists.busybox.net/pipermail/buildroot/2017-April/190369.html ;)

Regards, Bernd

^ permalink raw reply

* [Buildroot] [PATCH] gcc: Fix build failure related to -fPIC for x86_64 -> i686 builds
From: Jan Kundrát @ 2017-04-25 11:17 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <4697e49d-c953-cf51-2361-3e5d06bdd21b@mind.be>

On pond?l? 24. dubna 2017 22:21:28 CEST, Arnout Vandecappelle wrote:
> No, if you managed to build all these host packages with the 
> default-PIE host compiler, then I guess it's OK.

You're right. Indeed, my regular PIE-using compiler is used when building 
these host utilities. Sorry for this confusion on my side re `make 
foo-rebuild`.

Does that change your position on the original patch? Should I 
resend/reformat it to explicitly refer to the Gentoo Hardened compiler 
which is happy to use PIC/PIE? Or is that nonetheless something that does 
not belong to Buildroot in your opinion?

Cheers,
Jan

^ permalink raw reply

* [Buildroot] [PATCH] minicom: security bump to version 2.7.1
From: Peter Korsgaard @ 2017-04-25 11:44 UTC (permalink / raw)
  To: buildroot

Fixes CVE-2017-7467 - minicom and prl-vzvncserver vt100.c escparms[] buffer
overflow.

For more details about the issue, see the nice writeup on oss-security:

http://www.openwall.com/lists/oss-security/2017/04/18/5

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

diff --git a/package/minicom/minicom.hash b/package/minicom/minicom.hash
index 33ba4ef10..ca3087160 100644
--- a/package/minicom/minicom.hash
+++ b/package/minicom/minicom.hash
@@ -1,2 +1,2 @@
 # Locally calculated
-sha256 9ac3a663b82f4f5df64114b4792b9926b536c85f59de0f2d2b321c7626a904f4  minicom-2.7.tar.gz
+sha256 532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1  minicom-2.7.1.tar.gz
diff --git a/package/minicom/minicom.mk b/package/minicom/minicom.mk
index 75cd0c4ff..cb0648237 100644
--- a/package/minicom/minicom.mk
+++ b/package/minicom/minicom.mk
@@ -4,8 +4,8 @@
 #
 ################################################################################
 
-MINICOM_VERSION = 2.7
-MINICOM_SITE = https://alioth.debian.org/frs/download.php/file/3977
+MINICOM_VERSION = 2.7.1
+MINICOM_SITE = https://alioth.debian.org/frs/download.php/file/4215
 MINICOM_LICENSE = GPL-2.0+
 MINICOM_LICENSE_FILES = COPYING
 
-- 
2.11.0

^ permalink raw reply related

* [Buildroot] [PATCH] python-web2py: security bump to version 2.14.6
From: Peter Korsgaard @ 2017-04-25 13:44 UTC (permalink / raw)
  To: buildroot

CVE-2016-4806 - Web2py versions 2.14.5 and below was affected by Local File
Inclusion vulnerability, which allows a malicious intended user to
read/access web server sensitive files.

CVE-2016-4807 - Web2py versions 2.14.5 and below was affected by Reflected
XSS vulnerability, which allows an attacker to perform an XSS attack on
logged in user (admin).

CVE-2016-4808 - Web2py versions 2.14.5 and below was affected by CSRF (Cross
Site Request Forgery) vulnerability, which allows an attacker to trick a
logged in user to perform some unwanted actions i.e An attacker can trick an
victim to disable the installed application just by sending a URL to victim.

CVE-2016-10321 - web2py before 2.14.6 does not properly check if a host is
denied before verifying passwords, allowing a remote attacker to perform
brute-force attacks.

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

diff --git a/package/python-web2py/python-web2py.hash b/package/python-web2py/python-web2py.hash
index 3de8dbf4d..9c1de904c 100644
--- a/package/python-web2py/python-web2py.hash
+++ b/package/python-web2py/python-web2py.hash
@@ -1,2 +1,2 @@
 # sha256 locally computed
-sha256 7e22a5624d8d2909e165110f0bec6b43ee36ff6834d689f4027e06dece662031   python-web2py-R-2.12.3.tar.gz
+sha256 6079aeaa352ec51e0da5e6abc71fa74cdb3a781e06a311b5826618624362a7b2   python-web2py-R-2.14.6.tar.gz
diff --git a/package/python-web2py/python-web2py.mk b/package/python-web2py/python-web2py.mk
index 7fe9f82f8..9aadb3027 100644
--- a/package/python-web2py/python-web2py.mk
+++ b/package/python-web2py/python-web2py.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-PYTHON_WEB2PY_VERSION = R-2.12.3
+PYTHON_WEB2PY_VERSION = R-2.14.6
 PYTHON_WEB2PY_SITE = $(call github,web2py,web2py,$(PYTHON_WEB2PY_VERSION))
 PYTHON_WEB2PY_LICENSE = LGPL-3.0
 PYTHON_WEB2PY_LICENSE_FILES = LICENSE
-- 
2.11.0

^ permalink raw reply related

* [Buildroot] [PATCH] cukinia: new package
From: Alexandre Leblanc @ 2017-04-25 13:58 UTC (permalink / raw)
  To: buildroot

Cukinia is designed to help Linux-based embedded firmware developers
run simple validation tests on their firmware. For basic usage it
requires no dependencies other than busybox.

Cukinia can run tests at boot time which is why we are using SZZcukinia
since it would possibly be the last script to be executed in 'init.d'.

Signed-off-by: Alexandre Leblanc <alexandre.leblanc@savoirfairelinux.com>
---
 package/Config.in            |  1 +
 package/cukinia/Config.in    | 12 ++++++++++++
 package/cukinia/SZZcukinia   |  7 +++++++
 package/cukinia/cukinia.conf |  1 +
 package/cukinia/cukinia.mk   | 26 ++++++++++++++++++++++++++
 5 files changed, 47 insertions(+)
 create mode 100644 package/cukinia/Config.in
 create mode 100644 package/cukinia/SZZcukinia
 create mode 100644 package/cukinia/cukinia.conf
 create mode 100644 package/cukinia/cukinia.mk

diff --git a/package/Config.in b/package/Config.in
index 4eaa95b..e3f8ce4 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -73,6 +73,7 @@ menu "Debugging, profiling and benchmark"
 	source "package/blktrace/Config.in"
 	source "package/bonnie/Config.in"
 	source "package/cache-calibrator/Config.in"
+	source "package/cukinia/Config.in"
 	source "package/dhrystone/Config.in"
 	source "package/dieharder/Config.in"
 	source "package/dmalloc/Config.in"
diff --git a/package/cukinia/Config.in b/package/cukinia/Config.in
new file mode 100644
index 0000000..2588bb6
--- /dev/null
+++ b/package/cukinia/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_CUKINIA
+	bool "cukinia"
+	help
+	  Cukinia is designed to help Linux-based embedded firmware
+	  developers run simple validation tests on their firmware.
+
+	  https://github.com/savoirfairelinux/cukinia
+
+config BR2_PACKAGE_CUKINIA_BOOT
+	bool "run at boot time"
+	depends on BR2_PACKAGE_CUKINIA && (BR2_INIT_SYSV || BR2_INIT_BUSYBOX)
+
diff --git a/package/cukinia/SZZcukinia b/package/cukinia/SZZcukinia
new file mode 100644
index 0000000..d9dc144
--- /dev/null
+++ b/package/cukinia/SZZcukinia
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+# Run cukinia
+#
+
+[ "$1" == "start"] || exit 0
+/usr/bin/cukinia
diff --git a/package/cukinia/cukinia.conf b/package/cukinia/cukinia.conf
new file mode 100644
index 0000000..0593662
--- /dev/null
+++ b/package/cukinia/cukinia.conf
@@ -0,0 +1 @@
+cukinia_user root
diff --git a/package/cukinia/cukinia.mk b/package/cukinia/cukinia.mk
new file mode 100644
index 0000000..d507e33
--- /dev/null
+++ b/package/cukinia/cukinia.mk
@@ -0,0 +1,26 @@
+################################################################################
+#
+# cukinia
+#
+################################################################################
+
+CUKINIA_VERSION = 152d4965dd1024a3f345a9ee1df6cf663a5775ed
+CUKINIA_SITE = $(call github,savoirfairelinux,cukinia,$(CUKINIA_VERSION))
+CUKINIA_LICENSE = Apache-2.0 or GPLv3
+
+define CUKINIA_INSTALL_TARGET_CMDS
+	$(INSTALL) -D -m 0755 $(@D)/cukinia \
+		$(TARGET_DIR)/usr/bin/cukinia
+
+	$(INSTALL) -D -m 0644 $(CUKINIA_PKGDIR)/cukinia.conf \
+		$(TARGET_DIR)/etc/cukinia/cukinia.conf
+endef
+
+ifeq ($(BR2_PACKAGE_CUKINIA_BOOT),y)
+define CUKINIA_INSTALL_INIT_SYSV
+	$(INSTALL) -D -m 0755 $(CUKINIA_PKGDIR)/SZZcukinia \
+		$(TARGET_DIR)/etc/init.d/SZZcukinia
+endef
+endif
+
+$(eval $(generic-package))
-- 
2.9.3

^ permalink raw reply related

* [Buildroot] [PATCH 1/2] libcroco: add upstream security fixes
From: Peter Korsgaard @ 2017-04-25 14:16 UTC (permalink / raw)
  To: buildroot

These have been added to upstream git after 0.6.12 was released.

CVE-2017-7960 - The cr_input_new_from_uri function in cr-input.c in libcroco
0.6.11 and 0.6.12 allows remote attackers to cause a denial of service
(heap-based buffer over-read) via a crafted CSS file.

CVE-2017-7961 - The cr_tknzr_parse_rgb function in cr-tknzr.c in libcroco
0.6.11 and 0.6.12 has an "outside the range of representable values of type
long" undefined behavior issue, which might allow remote attackers to cause
a denial of service (application crash) or possibly have unspecified other
impact via a crafted CSS file.

For more details, see:
https://blogs.gentoo.org/ago/2017/04/17/libcroco-heap-overflow-and-undefined-behavior/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 ...-check-end-of-input-before-reading-a-byte.patch | 62 ++++++++++++++++++++++
 ...02-tknzr-support-only-max-long-rgb-values.patch | 46 ++++++++++++++++
 2 files changed, 108 insertions(+)
 create mode 100644 package/libcroco/0001-input-check-end-of-input-before-reading-a-byte.patch
 create mode 100644 package/libcroco/0002-tknzr-support-only-max-long-rgb-values.patch

diff --git a/package/libcroco/0001-input-check-end-of-input-before-reading-a-byte.patch b/package/libcroco/0001-input-check-end-of-input-before-reading-a-byte.patch
new file mode 100644
index 000000000..831b1a745
--- /dev/null
+++ b/package/libcroco/0001-input-check-end-of-input-before-reading-a-byte.patch
@@ -0,0 +1,62 @@
+From 898e3a8c8c0314d2e6b106809a8e3e93cf9d4394 Mon Sep 17 00:00:00 2001
+From: Ignacio Casal Quinteiro <qignacio@amazon.com>
+Date: Sun, 16 Apr 2017 13:13:43 +0200
+Subject: [PATCH] input: check end of input before reading a byte
+
+Fixes CVE-2017-7960
+
+When reading bytes we weren't check that the index wasn't
+out of bound and this could produce an invalid read which
+could deal to a security bug.
+
+Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
+---
+ src/cr-input.c | 11 +++++++++--
+ 1 file changed, 9 insertions(+), 2 deletions(-)
+
+diff --git a/src/cr-input.c b/src/cr-input.c
+index 49000b1..3b63a88 100644
+--- a/src/cr-input.c
++++ b/src/cr-input.c
+@@ -256,7 +256,7 @@ cr_input_new_from_uri (const gchar * a_file_uri, enum CREncoding a_enc)
+                  *we should  free buf here because it's own by CRInput.
+                  *(see the last parameter of cr_input_new_from_buf().
+                  */
+-                buf = NULL ;
++                buf = NULL;
+         }
+ 
+  cleanup:
+@@ -404,6 +404,8 @@ cr_input_get_nb_bytes_left (CRInput const * a_this)
+ enum CRStatus
+ cr_input_read_byte (CRInput * a_this, guchar * a_byte)
+ {
++        gulong nb_bytes_left = 0;
++
+         g_return_val_if_fail (a_this && PRIVATE (a_this)
+                               && a_byte, CR_BAD_PARAM_ERROR);
+ 
+@@ -413,6 +415,12 @@ cr_input_read_byte (CRInput * a_this, guchar * a_byte)
+         if (PRIVATE (a_this)->end_of_input == TRUE)
+                 return CR_END_OF_INPUT_ERROR;
+ 
++        nb_bytes_left = cr_input_get_nb_bytes_left (a_this);
++
++        if (nb_bytes_left < 1) {
++                return CR_END_OF_INPUT_ERROR;
++        }
++
+         *a_byte = PRIVATE (a_this)->in_buf[PRIVATE (a_this)->next_byte_index];
+ 
+         if (PRIVATE (a_this)->nb_bytes -
+@@ -477,7 +485,6 @@ cr_input_read_char (CRInput * a_this, guint32 * a_char)
+                 if (*a_char == '\n') {
+                         PRIVATE (a_this)->end_of_line = TRUE;
+                 }
+-
+         }
+ 
+         return status;
+-- 
+2.11.0
+
diff --git a/package/libcroco/0002-tknzr-support-only-max-long-rgb-values.patch b/package/libcroco/0002-tknzr-support-only-max-long-rgb-values.patch
new file mode 100644
index 000000000..1a9bcd947
--- /dev/null
+++ b/package/libcroco/0002-tknzr-support-only-max-long-rgb-values.patch
@@ -0,0 +1,46 @@
+From 9ad72875e9f08e4c519ef63d44cdbd94aa9504f7 Mon Sep 17 00:00:00 2001
+From: Ignacio Casal Quinteiro <qignacio@amazon.com>
+Date: Sun, 16 Apr 2017 13:56:09 +0200
+Subject: [PATCH] tknzr: support only max long rgb values
+
+Fixes CVE-2017-7961
+
+This fixes a possible out of bound when reading rgbs which
+are longer than the support MAXLONG
+
+Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
+---
+ src/cr-tknzr.c | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+
+diff --git a/src/cr-tknzr.c b/src/cr-tknzr.c
+index 1a7cfeb..1548c35 100644
+--- a/src/cr-tknzr.c
++++ b/src/cr-tknzr.c
+@@ -1279,6 +1279,11 @@ cr_tknzr_parse_rgb (CRTknzr * a_this, CRRgb ** a_rgb)
+         status = cr_tknzr_parse_num (a_this, &num);
+         ENSURE_PARSING_COND ((status == CR_OK) && (num != NULL));
+ 
++        if (num->val > G_MAXLONG) {
++                status = CR_PARSING_ERROR;
++                goto error;
++        }
++
+         red = num->val;
+         cr_num_destroy (num);
+         num = NULL;
+@@ -1298,6 +1303,11 @@ cr_tknzr_parse_rgb (CRTknzr * a_this, CRRgb ** a_rgb)
+                 status = cr_tknzr_parse_num (a_this, &num);
+                 ENSURE_PARSING_COND ((status == CR_OK) && (num != NULL));
+ 
++                if (num->val > G_MAXLONG) {
++                        status = CR_PARSING_ERROR;
++                        goto error;
++                }
++
+                 PEEK_BYTE (a_this, 1, &next_bytes[0]);
+                 if (next_bytes[0] == '%') {
+                         SKIP_CHARS (a_this, 1);
+-- 
+2.11.0
+
-- 
2.11.0

^ permalink raw reply related

* [Buildroot] [PATCH 2/2] libcroco: bump to version 0.6.12
From: Peter Korsgaard @ 2017-04-25 14:17 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170425141700.30077-1-peter@korsgaard.com>

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

diff --git a/package/libcroco/libcroco.hash b/package/libcroco/libcroco.hash
index edf0b1f38..83d2ffe51 100644
--- a/package/libcroco/libcroco.hash
+++ b/package/libcroco/libcroco.hash
@@ -1,2 +1,2 @@
-# From http://ftp.acc.umu.se/pub/gnome/sources/libcroco/0.6/libcroco-0.6.11.sha256sum
-sha256	132b528a948586b0dfa05d7e9e059901bca5a3be675b6071a90a90b81ae5a056	libcroco-0.6.11.tar.xz
+# From http://ftp.acc.umu.se/pub/gnome/sources/libcroco/0.6/libcroco-0.6.12.sha256sum
+sha256	ddc4b5546c9fb4280a5017e2707fbd4839034ed1aba5b7d4372212f34f84f860	libcroco-0.6.12.tar.xz
diff --git a/package/libcroco/libcroco.mk b/package/libcroco/libcroco.mk
index 5ea0b77cd..612fd1f47 100644
--- a/package/libcroco/libcroco.mk
+++ b/package/libcroco/libcroco.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 LIBCROCO_VERSION_MAJOR = 0.6
-LIBCROCO_VERSION = $(LIBCROCO_VERSION_MAJOR).11
+LIBCROCO_VERSION = $(LIBCROCO_VERSION_MAJOR).12
 LIBCROCO_SITE = http://ftp.gnome.org/pub/gnome/sources/libcroco/$(LIBCROCO_VERSION_MAJOR)
 LIBCROCO_SOURCE = libcroco-$(LIBCROCO_VERSION).tar.xz
 LIBCROCO_INSTALL_STAGING = YES
-- 
2.11.0

^ permalink raw reply related

* [Buildroot] [PATCH] imagemagick: add upstream security fix for CVE-2017-7606
From: Peter Korsgaard @ 2017-04-25 15:35 UTC (permalink / raw)
  To: buildroot

This is not yet part of any release.

coders/rle.c in ImageMagick 7.0.5-4 has an "outside the range of
representable values of type unsigned char" undefined behavior issue, which
might allow remote attackers to cause a denial of service (application
crash) or possibly have unspecified other impact via a crafted image.

For more details, see:
https://blogs.gentoo.org/ago/2017/04/02/imagemagick-undefined-behavior-in-codersrle-c/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 ...ub.com-ImageMagick-ImageMagick-issues-415.patch | 52 ++++++++++++++++++++++
 1 file changed, 52 insertions(+)
 create mode 100644 package/imagemagick/0001-https-github.com-ImageMagick-ImageMagick-issues-415.patch

diff --git a/package/imagemagick/0001-https-github.com-ImageMagick-ImageMagick-issues-415.patch b/package/imagemagick/0001-https-github.com-ImageMagick-ImageMagick-issues-415.patch
new file mode 100644
index 000000000..943679eda
--- /dev/null
+++ b/package/imagemagick/0001-https-github.com-ImageMagick-ImageMagick-issues-415.patch
@@ -0,0 +1,52 @@
+From b218117cad34d39b9ffb587b45c71c5a49b12bde Mon Sep 17 00:00:00 2001
+From: Cristy <urban-warrior@imagemagick.org>
+Date: Fri, 31 Mar 2017 15:24:33 -0400
+Subject: [PATCH] https://github.com/ImageMagick/ImageMagick/issues/415
+
+Fixes CVE-2017-7606
+
+Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
+---
+ coders/pnm.c | 2 +-
+ coders/rle.c | 5 +++--
+ 2 files changed, 4 insertions(+), 3 deletions(-)
+
+diff --git a/coders/pnm.c b/coders/pnm.c
+index 9a1221d79..c525ebb8f 100644
+--- a/coders/pnm.c
++++ b/coders/pnm.c
+@@ -1979,7 +1979,7 @@ static MagickBooleanType WritePNMImage(const ImageInfo *image_info,Image *image,
+                           pixel=ScaleQuantumToChar(GetPixelRed(image,p));
+                         else
+                           pixel=ScaleQuantumToAny(GetPixelRed(image,p),
+-                          max_value);
++                            max_value);
+                       }
+                     q=PopCharPixel((unsigned char) pixel,q);
+                     p+=GetPixelChannels(image);
+diff --git a/coders/rle.c b/coders/rle.c
+index 2318901ec..ec071dc7b 100644
+--- a/coders/rle.c
++++ b/coders/rle.c
+@@ -271,7 +271,8 @@ static Image *ReadRLEImage(const ImageInfo *image_info,ExceptionInfo *exception)
+         p=colormap;
+         for (i=0; i < (ssize_t) number_colormaps; i++)
+           for (x=0; x < (ssize_t) map_length; x++)
+-            *p++=(unsigned char) ScaleShortToQuantum(ReadBlobLSBShort(image));
++            *p++=(unsigned char) ScaleQuantumToChar(ScaleShortToQuantum(
++              ReadBlobLSBShort(image)));
+       }
+     if ((flags & 0x08) != 0)
+       {
+@@ -476,7 +477,7 @@ static Image *ReadRLEImage(const ImageInfo *image_info,ExceptionInfo *exception)
+               for (x=0; x < (ssize_t) number_planes; x++)
+               {
+                 ValidateColormapValue(image,(size_t) (x*map_length+
+-                    (*p & mask)),&index,exception);
++                  (*p & mask)),&index,exception);
+                 *p=colormap[(ssize_t) index];
+                 p++;
+               }
+-- 
+2.11.0
+
-- 
2.11.0

^ permalink raw reply related

* [Buildroot] libcurl: propagate buildroot debugging option
From: Olivier Valentin @ 2017-04-25 15:42 UTC (permalink / raw)
  To: buildroot

When buildroot has debugging enabled, let libcurl configure
its build accordingly.

Signed-off-by: Olivier Valentin <ovalentin@awox.com>
---
   package/libcurl/libcurl.mk | 4 ++++
   1 file changed, 4 insertions(+)

diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk
index 6f4803e0c..cba771c61 100644
--- a/package/libcurl/libcurl.mk
+++ b/package/libcurl/libcurl.mk
@@ -22,6 +22,10 @@ LIBCURL_INSTALL_STAGING = YES
   LIBCURL_CONF_OPTS = --disable-manual --disable-ntlm-wb \
       --enable-hidden-symbols --with-random=/dev/urandom 
--disable-curldebug

+ifeq ($(BR2_ENABLE_DEBUG),y)
+LIBCURL_CONF_OPTS += --enable-debug
+endif
+
   ifeq ($(BR2_PACKAGE_LIBCURL_VERBOSE),y)
   LIBCURL_CONF_OPTS += --enable-verbose
   else
-- 
2.11.0

^ permalink raw reply related

* [Buildroot] [git commit branch/2017.02.x] linux-headers: bump 3.18.x series to 3.18.50
From: Peter Korsgaard @ 2017-04-25 15:50 UTC (permalink / raw)
  To: buildroot

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

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/linux-headers/Config.in.host | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host
index f4a8430..7e246b9 100644
--- a/package/linux-headers/Config.in.host
+++ b/package/linux-headers/Config.in.host
@@ -218,7 +218,7 @@ config BR2_DEFAULT_KERNEL_HEADERS
 	default "3.4.113"	if BR2_KERNEL_HEADERS_3_4
 	default "3.10.105"	if BR2_KERNEL_HEADERS_3_10
 	default "3.12.73"	if BR2_KERNEL_HEADERS_3_12
-	default "3.18.48"	if BR2_KERNEL_HEADERS_3_18
+	default "3.18.50"	if BR2_KERNEL_HEADERS_3_18
 	default "3.19.8"	if BR2_KERNEL_HEADERS_3_19
 	default "4.0.9"		if BR2_KERNEL_HEADERS_4_0
 	default "4.1.39"	if BR2_KERNEL_HEADERS_4_1

^ permalink raw reply related

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

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

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>
---
 package/nodejs/Config.in   | 2 +-
 package/nodejs/nodejs.hash | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/nodejs/Config.in b/package/nodejs/Config.in
index b8c45f5..ad5ca05 100644
--- a/package/nodejs/Config.in
+++ b/package/nodejs/Config.in
@@ -43,7 +43,7 @@ config BR2_PACKAGE_NODEJS_V8_ARCH_SUPPORTS
 
 config BR2_PACKAGE_NODEJS_VERSION_STRING
 	string
-	default "6.9.4"		if BR2_PACKAGE_NODEJS_V8_ARCH_SUPPORTS
+	default "6.10.2"		if BR2_PACKAGE_NODEJS_V8_ARCH_SUPPORTS
 	default "0.10.48"
 
 config BR2_PACKAGE_NODEJS_NPM
diff --git a/package/nodejs/nodejs.hash b/package/nodejs/nodejs.hash
index 8c8c5a3..4c63f58 100644
--- a/package/nodejs/nodejs.hash
+++ b/package/nodejs/nodejs.hash
@@ -1,5 +1,5 @@
 # From upstream URL: http://nodejs.org/dist/v0.10.48/SHASUMS256.txt
 sha256  365a93d9acc076a0d93f087d269f376abeebccad599a9dab72f2f6ed96c8ae6e  node-v0.10.48.tar.xz
 
-# From upstream URL: http://nodejs.org/dist/v6.9.4/SHASUMS256.txt
-sha256  c51d7c61db40455d57428abcadc7eb0f0a08a8878cb1d8ea3c1e211c54532c35  node-v6.9.4.tar.xz
+# From upstream URL: http://nodejs.org/dist/v6.10.2/SHASUMS256.txt
+sha256  80aa11333da99813973a99646e2113c6be5b63f665c0731ed14ecb94cbe846b6  node-v6.10.2.tar.xz

^ permalink raw reply related

* [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