* [Buildroot] [PATCH 1/1] package/tinyxml2: bump version to 4.0.1
From: Bernd Kuhls @ 2017-04-29 20:30 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/tinyxml2/tinyxml2.hash | 2 +-
package/tinyxml2/tinyxml2.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/tinyxml2/tinyxml2.hash b/package/tinyxml2/tinyxml2.hash
index acbee0931a..e5e4d238ab 100644
--- a/package/tinyxml2/tinyxml2.hash
+++ b/package/tinyxml2/tinyxml2.hash
@@ -1,2 +1,2 @@
# Locally calculated
-sha256 128aa1553e88403833e0cccf1b651f45ce87bc207871f53fdcc8e7f9ec795747 tinyxml2-3.0.0.tar.gz
+sha256 14b38ef25cc136d71339ceeafb4856bb638d486614103453eccd323849267f20 tinyxml2-4.0.1.tar.gz
diff --git a/package/tinyxml2/tinyxml2.mk b/package/tinyxml2/tinyxml2.mk
index 461c36cf98..bb1e16776f 100644
--- a/package/tinyxml2/tinyxml2.mk
+++ b/package/tinyxml2/tinyxml2.mk
@@ -4,7 +4,7 @@
#
################################################################################
-TINYXML2_VERSION = 3.0.0
+TINYXML2_VERSION = 4.0.1
TINYXML2_SITE = $(call github,leethomason,tinyxml2,$(TINYXML2_VERSION))
TINYXML2_LICENSE = Zlib
TINYXML2_LICENSE_FILES = readme.md
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH v2 1/2] package/kodi-skin-confluence: new package
From: Bernd Kuhls @ 2017-04-29 20:36 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v2: bumped to git HEAD
v1: Sending as v1 the unchanged patch from Kodi series v5.
package/kodi-skin-confluence/Config.in | 6 ++++++
.../kodi-skin-confluence/kodi-skin-confluence.hash | 2 ++
.../kodi-skin-confluence/kodi-skin-confluence.mk | 25 ++++++++++++++++++++++
package/kodi/Config.in | 4 ++++
4 files changed, 37 insertions(+)
create mode 100644 package/kodi-skin-confluence/Config.in
create mode 100644 package/kodi-skin-confluence/kodi-skin-confluence.hash
create mode 100644 package/kodi-skin-confluence/kodi-skin-confluence.mk
diff --git a/package/kodi-skin-confluence/Config.in b/package/kodi-skin-confluence/Config.in
new file mode 100644
index 000000000..08b656808
--- /dev/null
+++ b/package/kodi-skin-confluence/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_KODI_SKIN_CONFLUENCE
+ bool "kodi-skin-confluence"
+ help
+ Kodi confluence skin
+
+ https://github.com/xbmc/skin.confluence
diff --git a/package/kodi-skin-confluence/kodi-skin-confluence.hash b/package/kodi-skin-confluence/kodi-skin-confluence.hash
new file mode 100644
index 000000000..9aa2ea4a8
--- /dev/null
+++ b/package/kodi-skin-confluence/kodi-skin-confluence.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 47970d61b2f617921dfbc36188ed11de9af366cd97d9105e19cbe96598fe7b62 kodi-skin-confluence-7044dabb3a818d7ff47b7a34bfb3480f2a9441d9.tar.gz
diff --git a/package/kodi-skin-confluence/kodi-skin-confluence.mk b/package/kodi-skin-confluence/kodi-skin-confluence.mk
new file mode 100644
index 000000000..c679ec687
--- /dev/null
+++ b/package/kodi-skin-confluence/kodi-skin-confluence.mk
@@ -0,0 +1,25 @@
+################################################################################
+#
+# kodi-skin-confluence
+#
+################################################################################
+
+KODI_SKIN_CONFLUENCE_VERSION = 7044dabb3a818d7ff47b7a34bfb3480f2a9441d9
+KODI_SKIN_CONFLUENCE_SITE = $(call github,xbmc,skin.confluence,$(KODI_SKIN_CONFLUENCE_VERSION))
+KODI_SKIN_CONFLUENCE_LICENSE = GPLv2+
+KODI_SKIN_CONFLUENCE_LICENSE_FILES = LICENSE.txt
+KODI_SKIN_CONFLUENCE_DEPENDENCIES = kodi
+KODI_SKIN_CONFLUENCE_CONF_OPTS = -DOVERRIDE_PATHS=1
+
+define KODI_SKIN_CONFLUENCE_BUILD_CMDS
+ $(HOST_DIR)/usr/bin/TexturePacker -input $(@D)/media/ -output $(@D)/media/Textures.xbt -dupecheck -use_none
+endef
+
+define KODI_SKIN_CONFLUENCE_INSTALL_TARGET_CMDS
+ mkdir -p $(TARGET_DIR)/usr/share/kodi/addons/skin.confluence
+ cp -dpfr $(@D)/* $(TARGET_DIR)/usr/share/kodi/addons/skin.confluence
+ find $(TARGET_DIR)/usr/share/kodi/addons/skin.confluence/media -name *.jpg -delete
+ find $(TARGET_DIR)/usr/share/kodi/addons/skin.confluence/media -name *.png -delete
+endef
+
+$(eval $(generic-package))
diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index 6bc81338a..cc747e816 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -326,6 +326,10 @@ menu "Screensavers"
source "package/kodi-screensaver-stars/Config.in"
endmenu
+menu "Skins"
+ source "package/kodi-skin-confluence/Config.in"
+endmenu
+
menu "Visualisations"
source "package/kodi-visualisation-fishbmc/Config.in"
source "package/kodi-visualisation-goom/Config.in"
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH v2 2/2] package/kodi: add Kconfig options to remove default skins
From: Bernd Kuhls @ 2017-04-29 20:36 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170429203608.17700-1-bernd.kuhls@t-online.de>
The skins estuary and estouchy are new in Kodi 17-Krypton and replace
the skin confluence, used until Kodi 16-Jarvis.
This patch allows to disable one or both of the new skins, it also takes
care that at least one skin needs to be enabled. With this patch Kodi
can be used only with skin confluence.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v2: no changes
v1: Sending as v1 the unchanged patch from Kodi series v5.
package/kodi-skin-confluence/Config.in | 1 +
package/kodi/Config.in | 35 ++++++++++++++++++++
package/kodi/kodi.mk | 58 ++++++++++++++++++++++++++++++++++
3 files changed, 94 insertions(+)
diff --git a/package/kodi-skin-confluence/Config.in b/package/kodi-skin-confluence/Config.in
index 08b656808..a623b03da 100644
--- a/package/kodi-skin-confluence/Config.in
+++ b/package/kodi-skin-confluence/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_KODI_SKIN_CONFLUENCE
bool "kodi-skin-confluence"
+ select BR2_PACKAGE_KODI_SKIN_ENABLED
help
Kodi confluence skin
diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index cc747e816..dfe92d2d1 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -55,6 +55,7 @@ menuconfig BR2_PACKAGE_KODI
select BR2_PACKAGE_FFMPEG_SWSCALE
select BR2_PACKAGE_FONTCONFIG
select BR2_PACKAGE_FREETYPE
+ select BR2_PACKAGE_KODI_SKIN_ESTUARY if !BR2_PACKAGE_KODI_SKIN_ENABLED
select BR2_PACKAGE_LIBASS
select BR2_PACKAGE_LIBCDIO
select BR2_PACKAGE_LIBCROSSGUID
@@ -327,6 +328,40 @@ menu "Screensavers"
endmenu
menu "Skins"
+
+config BR2_PACKAGE_KODI_SKIN_ENABLED
+ bool
+
+choice
+ prompt "Default skin"
+
+config BR2_PACKAGE_KODI_SKIN_DEFAULT_ESTUARY
+ bool "kodi-skin-estuary"
+ depends on BR2_PACKAGE_KODI_SKIN_ESTUARY
+
+config BR2_PACKAGE_KODI_SKIN_DEFAULT_ESTOUCHY
+ bool "kodi-skin-estouchy"
+ depends on BR2_PACKAGE_KODI_SKIN_ESTOUCHY
+
+config BR2_PACKAGE_KODI_SKIN_DEFAULT_CONFLUENCE
+ bool "kodi-skin-confluence"
+ depends on BR2_PACKAGE_KODI_SKIN_CONFLUENCE
+
+endchoice
+
+config BR2_PACKAGE_KODI_SKIN_ESTUARY
+ bool "kodi-skin-estuary"
+ default y
+ help
+ Default skin Estuary
+
+config BR2_PACKAGE_KODI_SKIN_ESTOUCHY
+ bool "kodi-skin-estouchy"
+ default y
+ select BR2_PACKAGE_KODI_SKIN_ENABLED
+ help
+ Default skin Estouchy
+
source "package/kodi-skin-confluence/Config.in"
endmenu
diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
index 0b89bdd86..73e44f861 100644
--- a/package/kodi/kodi.mk
+++ b/package/kodi/kodi.mk
@@ -355,6 +355,64 @@ define KODI_CLEAN_UNUSED_ADDONS
endef
KODI_POST_INSTALL_TARGET_HOOKS += KODI_CLEAN_UNUSED_ADDONS
+# Skins estuary and estouchy are installed by default and need to be
+# removed if they are disabled in buildroot
+ifeq ($(BR2_PACKAGE_KODI_SKIN_ESTUARY),y)
+define KODI_CLEAN_SKIN_ESTUARY
+ find $(TARGET_DIR)/usr/share/kodi/addons/skin.estuary/media -name *.gif -delete
+ find $(TARGET_DIR)/usr/share/kodi/addons/skin.estuary/media -name *.jpg -delete
+ find $(TARGET_DIR)/usr/share/kodi/addons/skin.estuary/media -name *.png -delete
+endef
+KODI_POST_INSTALL_TARGET_HOOKS += KODI_CLEAN_SKIN_ESTUARY
+else
+define KODI_REMOVE_SKIN_ESTUARY
+ rm -Rf $(TARGET_DIR)/usr/share/kodi/addons/skin.estuary
+ $(HOST_DIR)/usr/bin/xml ed -L \
+ -d "/addons/addon[text()='skin.estuary']" \
+ $(KODI_ADDON_MANIFEST)
+endef
+KODI_POST_INSTALL_TARGET_HOOKS += KODI_REMOVE_SKIN_ESTUARY
+endif
+
+ifeq ($(BR2_PACKAGE_KODI_SKIN_ESTOUCHY),y)
+define KODI_CLEAN_SKIN_ESTOUCHY
+ find $(TARGET_DIR)/usr/share/kodi/addons/skin.estouchy/media -name *.gif -delete
+ find $(TARGET_DIR)/usr/share/kodi/addons/skin.estouchy/media -name *.jpg -delete
+ find $(TARGET_DIR)/usr/share/kodi/addons/skin.estouchy/media -name *.png -delete
+endef
+KODI_POST_INSTALL_TARGET_HOOKS += KODI_CLEAN_SKIN_ESTOUCHY
+else
+define KODI_REMOVE_SKIN_ESTOUCHY
+ rm -Rf $(TARGET_DIR)/usr/share/kodi/addons/skin.estouchy
+ $(HOST_DIR)/usr/bin/xml ed -L \
+ -d "/addons/addon[text()='skin.estouchy']" \
+ $(KODI_ADDON_MANIFEST)
+endef
+KODI_POST_INSTALL_TARGET_HOOKS += KODI_REMOVE_SKIN_ESTOUCHY
+endif
+
+# The default value 'skin.estuary' is stored in
+# xbmc/system/settings/settings.xml.
+# If skin estuary is disabled this value needs to be changed to avoid
+# https://github.com/xbmc/xbmc/blob/32a6916059a0b14ab5fc65cedb17b2615c039918/xbmc/Application.cpp#L1124
+
+define KODI_SET_DEFAULT_SKIN_ESTOUCHY
+ $(SED) 's/skin.estuary/skin.estouchy/#g' $(TARGET_DIR)/usr/share/kodi/system/settings/settings.xml
+endef
+
+define KODI_SET_DEFAULT_SKIN_CONFLUENCE
+ $(SED) 's/skin.estuary/skin.confluence/#g' $(TARGET_DIR)/usr/share/kodi/system/settings/settings.xml
+ $(HOST_DIR)/usr/bin/xml ed -L -O --subnode "/addons" \
+ -t elem -n "addon" -v "skin.confluence" \
+ $(KODI_ADDON_MANIFEST)
+endef
+
+ifeq ($(BR2_PACKAGE_KODI_SKIN_DEFAULT_ESTOUCHY),y)
+KODI_POST_INSTALL_TARGET_HOOKS += KODI_SET_DEFAULT_SKIN_ESTOUCHY
+else ifeq ($(BR2_PACKAGE_KODI_SKIN_DEFAULT_CONFLUENCE),y)
+KODI_POST_INSTALL_TARGET_HOOKS += KODI_SET_DEFAULT_SKIN_CONFLUENCE
+endif
+
define KODI_INSTALL_BR_WRAPPER
$(INSTALL) -D -m 0755 package/kodi/br-kodi \
$(TARGET_DIR)/usr/bin/br-kodi
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH 1/1] package/x11r7/xserver_xorg-server: add sysv init script
From: Bernd Kuhls @ 2017-04-29 20:56 UTC (permalink / raw)
To: buildroot
We need ":0.0 vt01" to make sure Xorg finds the correct terminal.
Quoting https://www.x.org/archive/X11R6.8.0/doc/Xorg.1.html
-allowMouseOpenFail
Allow the server to start up even if the mouse device can't be
opened or initialised.
We need this option in case BR2_PACKAGE_XDRIVER_XF86_INPUT_MOUSE was
not enabled.
-noreset
prevents a server reset when the last client connection is closed.
We need this option to prevent auto-close of Xorg.
Tested with a qemu image and Kodi.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/x11r7/xserver_xorg-server/S40xorg | 39 ++++++++++++++++++++++
.../xserver_xorg-server/xserver_xorg-server.mk | 5 +++
2 files changed, 44 insertions(+)
create mode 100755 package/x11r7/xserver_xorg-server/S40xorg
diff --git a/package/x11r7/xserver_xorg-server/S40xorg b/package/x11r7/xserver_xorg-server/S40xorg
new file mode 100755
index 000000000..4299ed4cd
--- /dev/null
+++ b/package/x11r7/xserver_xorg-server/S40xorg
@@ -0,0 +1,39 @@
+#!/bin/sh
+#
+# Starts Xorg
+#
+
+BIN=/usr/bin/Xorg
+XORG_ARGS=":0.0 vt01 -s 0 -noreset -allowMouseOpenFail"
+PIDFILE=/var/run/xorg.pid
+
+start() {
+ printf "Starting Xorg: "
+ start-stop-daemon -S -q -b -m -p $PIDFILE --exec $BIN -- $XORG_ARGS
+ [ $? = 0 ] && sleep 3 && echo "OK" || echo "FAIL"
+}
+stop() {
+ printf "Stopping Xorg: "
+ start-stop-daemon -K -q -p $PIDFILE
+ [ $? = 0 ] && echo "OK" || echo "FAIL"
+}
+restart() {
+ stop
+ sleep 2
+ start
+}
+
+case "$1" in
+ start)
+ start
+ ;;
+ stop)
+ stop
+ ;;
+ restart|reload)
+ restart
+ ;;
+ *)
+ echo "Usage: $0 {start|stop|restart}"
+ exit 1
+esac
diff --git a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
index 306e9d03e..072819cb9 100644
--- a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
+++ b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
@@ -258,4 +258,9 @@ XSERVER_XORG_SERVER_CONF_OPTS += --with-sha1=libsha1
XSERVER_XORG_SERVER_DEPENDENCIES += libsha1
endif
+define XSERVER_XORG_SERVER_INSTALL_INIT_SYSV
+ $(INSTALL) -D -m 755 package/x11r7/xserver_xorg-server/S40xorg \
+ $(TARGET_DIR)/etc/init.d/S40xorg
+endef
+
$(eval $(autotools-package))
--
2.11.0
^ permalink raw reply related
* [Buildroot] [autobuild.buildroot.net] Build results for 2017-04-29
From: Thomas Petazzoni @ 2017-04-30 6:28 UTC (permalink / raw)
To: buildroot
Hello,
Build statistics for 2017-04-29
================================
successes : 135
failures : 51
timeouts : 1
TOTAL : 187
Classification of failures by reason
====================================
ola-0.10.2 | 16
host-protobuf-3.2.0 | 4
protobuf-3.2.0 | 4
binutils-2.27 | 3
libsquish-1.15 | 3
libsquish-legal-info | 3
busybox-1.26.2 | 2
mpv-0.25.0 | 2
x11vnc-0.9.14 | 2
aircrack-ng-1.2-rc4 | 1
bluez5_utils-5.44 | 1
bluez_utils-4.101 | 1
boost-1.63.0 | 1
libqmi-1.18.0 | 1
lttng-tools-2.9.4 | 1
make[1]: *** [all] Terminated | 1
mesa3d-17.0.5 | 1
mpir-3.0.0 | 1
quagga-1.1.1 | 1
rabbitmq-c-v0.8.0 | 1
toolchain-external-custom | 1
uboot-tools-2017.03 | 1
Detail of failures
===================
arm | aircrack-ng-1.2-rc4 | NOK | http://autobuild.buildroot.net/results/f65de186324e6c3cd689540a22fa46ae89afc8c8 |
bfin | binutils-2.27 | NOK | http://autobuild.buildroot.net/results/f3f806ae6d1f8bdd1dfab988339d2e468bb72ba0 | ORPH
bfin | binutils-2.27 | NOK | http://autobuild.buildroot.net/results/a7e238cd2b6615684ea4a64d92bf427c8560f195 | ORPH
bfin | binutils-2.27 | NOK | http://autobuild.buildroot.net/results/557df252b0aa7b7f52271dcb793fc4572541c523 | ORPH
sparc64 | bluez5_utils-5.44 | NOK | http://autobuild.buildroot.net/results/19adc0aa5a7e48119ef4ba25ba0403867f74f678 |
i586 | bluez_utils-4.101 | NOK | http://autobuild.buildroot.net/results/81e554594e39e68e7bfe2da9ef797be9257be535 |
microblazeel | boost-1.63.0 | NOK | http://autobuild.buildroot.net/results/d34e059517d704fda040edb88279201a4b3093fb |
arm | busybox-1.26.2 | NOK | http://autobuild.buildroot.net/results/ea07ccadd43bd73ab3c0c07a0d05884aa41def87 | ORPH
arm | busybox-1.26.2 | NOK | http://autobuild.buildroot.net/results/b4665fba928923e096b62dd153a0b034e10e211a | ORPH
mipsel | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/b1e97ce7c43a7b3f01bcd5dce7fbb0627d4bc55e | ORPH
arc | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/ec877d161623d4b7903999463263a59009bebf52 | ORPH
powerpc64le | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/31b88a76033c91bd66cb8086461a67dd4e08e96c | ORPH
i686 | host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/d42403d7855262c022835b740c7d604a21bced5f | ORPH
x86_64 | libqmi-1.18.0 | NOK | http://autobuild.buildroot.net/results/760dba36cd5c6c2e7a998f30a0a3343c80c22556 |
sparc64 | libsquish-1.15 | NOK | http://autobuild.buildroot.net/results/b30141743fc83ffd2753b6cbe5b7e7ecdd378dae |
i686 | libsquish-1.15 | NOK | http://autobuild.buildroot.net/results/c14bd94049a7bf2f468584890ba65edbdffdb0b4 |
powerpc | libsquish-1.15 | NOK | http://autobuild.buildroot.net/results/04c30f9a425d10111974a315a6d7474e243cbbd3 |
mipsel | libsquish-legal-info | NOK | http://autobuild.buildroot.net/results/0cb00fbfd548ac6a72716c62ce45af6f3231994f |
sh4 | libsquish-legal-info | NOK | http://autobuild.buildroot.net/results/4f81644ca2e0ec4064f43c6cb00f2d5c858bbf77 |
sh4a | libsquish-legal-info | NOK | http://autobuild.buildroot.net/results/80ff1c78f21a5326bacd6e7e4c48ac8dcac32c1c |
arm | lttng-tools-2.9.4 | NOK | http://autobuild.buildroot.net/results/eb822b96dccf58af86758eaee4458588c2fb8e24 |
microblazeel | make[1]: *** [all] Terminated | TIM | http://autobuild.buildroot.net/results/7b7de05af5a7991210f8c87120d2cd1528dd3011 |
arc | mesa3d-17.0.5 | NOK | http://autobuild.buildroot.net/results/99f84bc248d584ee55fd536010552d6e19e1b30f |
mips64el | mpir-3.0.0 | NOK | http://autobuild.buildroot.net/results/2598203a16802af9fb562fed2b7793f51dc573f8 |
powerpc64 | mpv-0.25.0 | NOK | http://autobuild.buildroot.net/results/be3da6597a1105e7253091c1847f003a347e197e |
mips64el | mpv-0.25.0 | NOK | http://autobuild.buildroot.net/results/649fb8df1ec8d114aed1f1bc61bf0969c86c1936 |
arm | ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/073985690872cc7f50737864cf7c0dc79f81f834 |
nios2 | ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/8520b1856a37aa6fea002dc82a6de6fdc14313ba |
xtensa | ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/e07ab9855ddff0600011e395d435fbd0841f1a3d |
arc | ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/acc9bf495fc9af0b7b15dae212cc85d3e94d7fd1 |
powerpc64 | ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/d7bd88e93fea03dda761b22ce19eeef90bf6acfe |
mips64el | ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/6924efd69751626b75f1a671da1235fd0b45a96a |
aarch64 | ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/d4b24c1545440ac4da079f98cdafb0442d1049ce |
powerpc | ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/8cb91f4b599f8d99b5a3bb6dbbbc2d525f136b78 |
powerpc | ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/b3d9120092faa008fe0ec417849f2d55814da8ee |
x86_64 | ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/2dc8da68ca44fc0de72bf8434a0c857a8c1d7665 |
sparc64 | ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/b5d013ebbc526f6b424287aa4c54c3c3b6af58c6 |
nios2 | ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/71bf3bed77f578d03372dcac2b50d58c75a100e3 |
arc | ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/834b03d25adad8e8742988765dfca9f748c0d0b2 |
powerpc64 | ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/89dadb4a2053c02e1b6f36e65f7c48e8238fada4 |
mips64el | ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/b26198b77b9e7d7a0394b2f5c864bb475c06c5d6 |
i686 | ola-0.10.2 | NOK | http://autobuild.buildroot.net/results/2386c9448eebfb41f57aafbd2567425e155fa0ab |
x86_64 | protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/b6efd8c9b9d05d475224a97413567cc2415f4222 | ORPH
i586 | protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/c250660c204c977aee2536afd283ed7cd9cd5be9 | ORPH
i586 | protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/3fc4e1b1ce5c2d94c4f5872b999419685b3ab66a | ORPH
x86_64 | protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/ed640b04302a359790d4434b5a58fad1a109a456 | ORPH
arc | quagga-1.1.1 | NOK | http://autobuild.buildroot.net/results/936e6855ab1c3ac24972e8f8dea1898556218395 | ORPH
arm | rabbitmq-c-v0.8.0 | NOK | http://autobuild.buildroot.net/results/103bcb106af6402ccaf3fcc2c04a6bdf60a43bf1 |
arm | toolchain-external-custom | NOK | http://autobuild.buildroot.net/results/39888c188c0d13219a8419897a833275fcc81597 |
mips64el | uboot-tools-2017.03 | NOK | http://autobuild.buildroot.net/results/9063d01137fa60478fc194794bfc3d8228c1008c | ORPH
microblazeel | x11vnc-0.9.14 | NOK | http://autobuild.buildroot.net/results/1c15b0999ec3e93296c2aaafdeef51eb21651b83 |
mips | x11vnc-0.9.14 | NOK | http://autobuild.buildroot.net/results/34f8045e772b96293cc7d25bd61ac0aa5842824f |
--
http://autobuild.buildroot.net
^ permalink raw reply
* [Buildroot] [git commit] DEVELOPERS: remove Patrick Ziegler, address bouncing
From: Thomas Petazzoni @ 2017-04-30 7:23 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=e147572cd5803805840977056cf2acd149c1cdd1
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
The e-mail address of Patrick Ziegler no longer exists:
patrick.ziegler at fh-kl.de - 550 5.1.1 User unknown
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
DEVELOPERS | 4 ----
1 file changed, 4 deletions(-)
diff --git a/DEVELOPERS b/DEVELOPERS
index 545ddc6..a95e5ba 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1209,10 +1209,6 @@ F: package/google-breakpad/
N: Patrick Gerber <kpa_info@yahoo.fr>
F: package/yavta/
-N: Patrick Ziegler <patrick.ziegler@fh-kl.de>
-F: package/aespipe/
-F: package/libqmi/
-
N: Paul Cercueil <paul.cercueil@analog.com>
F: package/libiio/
^ permalink raw reply related
* [Buildroot] [PATCH] package/protobuf: depend on gcc >= 4.5
From: Thomas Petazzoni @ 2017-04-30 7:29 UTC (permalink / raw)
To: buildroot
In-Reply-To: <CAKKQwLRyHdGAqK8QtPuOexXp+nokJ+7wgAbwvRE6b9fkg25jKQ@mail.gmail.com>
Hello,
On Sat, 29 Apr 2017 17:02:26 -0300, Mario Rugiero wrote:
> I just realized there was more before The question I answered. The bug got
> fixed in versi?n 4.5.0 of gcc, thus it is unsupported to build with earlier
> versions. The message seen is an instance of this bug.
Then we also have a problem with the host variant: host-protobuf also
requires gcc >= 4.5.0. I've restarted my autobuilder, and it uses an
old version of gcc on the host, which causes host-protobuf to fail
building:
http://autobuild.buildroot.net/results/539/53908fe11b5b6497205e17c151f02e94fab10999/build-end.log
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [PATCH] x11vnc: make x11vnc select libvncserver
From: Martin Kepplinger @ 2017-04-30 8:35 UTC (permalink / raw)
To: buildroot
x11vnc needs libvncserver, so select it explicitely.
In case of missing libvncserver, we see build failures like this:
http://autobuild.buildroot.net/results/34f/34f8045e772b96293cc7d25bd61ac0aa5842824f/
Signed-off-by: Martin Kepplinger <martink@posteo.de>
---
package/x11vnc/Config.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/x11vnc/Config.in b/package/x11vnc/Config.in
index 0909b9aec..4542c5080 100644
--- a/package/x11vnc/Config.in
+++ b/package/x11vnc/Config.in
@@ -5,6 +5,7 @@ config BR2_PACKAGE_X11VNC
select BR2_PACKAGE_XLIB_LIBXT
select BR2_PACKAGE_XLIB_LIBXEXT
select BR2_PACKAGE_XLIB_LIBXTST
+ select BR2_PACKAGE_LIBVNCSERVER
help
VNC server for X11 display
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH] atest: wordexp is enabled in uClibc now
From: Waldemar Brodkorb @ 2017-04-30 8:40 UTC (permalink / raw)
To: buildroot
Package can now be used for uClibc toolchains.
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
package/atest/Config.in | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/package/atest/Config.in b/package/atest/Config.in
index 1b357bb..9a2e342 100644
--- a/package/atest/Config.in
+++ b/package/atest/Config.in
@@ -1,6 +1,5 @@
config BR2_PACKAGE_ATEST
bool "atest"
- depends on !BR2_TOOLCHAIN_USES_UCLIBC # uclibc lacks wordexp
depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
depends on !BR2_bfin # libev
select BR2_PACKAGE_ALSA_LIB
@@ -11,6 +10,6 @@ config BR2_PACKAGE_ATEST
https://github.com/amouiche/atest
-comment "atest needs a glibc or musl toolchain w/ threads"
+comment "atest needs a toolchain w/ threads"
depends on !BR2_bfin
- depends on BR2_TOOLCHAIN_USES_UCLIBC || !BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
--
2.1.4
^ permalink raw reply related
* [Buildroot] [PATCH] ifupdown: wordexp is enabled in uClibc now
From: Waldemar Brodkorb @ 2017-04-30 8:41 UTC (permalink / raw)
To: buildroot
Package can now be used for uClibc toolchains.
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
package/ifupdown/Config.in | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/package/ifupdown/Config.in b/package/ifupdown/Config.in
index e683201..ccacd0f 100644
--- a/package/ifupdown/Config.in
+++ b/package/ifupdown/Config.in
@@ -2,8 +2,6 @@ config BR2_PACKAGE_IFUPDOWN
bool "ifupdown"
depends on BR2_USE_MMU # fork()
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # iproute2
- # Default/our uclibc lacks wordexp()
- depends on !BR2_TOOLCHAIN_USES_UCLIBC
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
# runtime for ip binary
select BR2_PACKAGE_IPROUTE2 if !BR2_PACKAGE_BUSYBOX
@@ -14,8 +12,7 @@ config BR2_PACKAGE_IFUPDOWN
https://tracker.debian.org/pkg/ifupdown
-comment "ifupdown needs a glibc or musl toolchain w/ headers >= 3.0"
+comment "ifupdown needs a toolchain w/ headers >= 3.0"
depends on BR2_USE_MMU
- depends on BR2_TOOLCHAIN_USES_UCLIBC || \
- !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
+ depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
--
2.1.4
^ permalink raw reply related
* [Buildroot] [PATCH] x11vnc: make x11vnc select libvncserver
From: Baruch Siach @ 2017-04-30 8:43 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170430083532.12941-1-martink@posteo.de>
Hi Martin,
On Sun, Apr 30, 2017 at 10:35:32AM +0200, Martin Kepplinger wrote:
> x11vnc needs libvncserver, so select it explicitely.
>
> In case of missing libvncserver, we see build failures like this:
>
> http://autobuild.buildroot.net/results/34f/34f8045e772b96293cc7d25bd61ac0aa5842824f/
>
> Signed-off-by: Martin Kepplinger <martink@posteo.de>
> ---
> package/x11vnc/Config.in | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/x11vnc/Config.in b/package/x11vnc/Config.in
> index 0909b9aec..4542c5080 100644
> --- a/package/x11vnc/Config.in
> +++ b/package/x11vnc/Config.in
> @@ -5,6 +5,7 @@ config BR2_PACKAGE_X11VNC
> select BR2_PACKAGE_XLIB_LIBXT
> select BR2_PACKAGE_XLIB_LIBXEXT
> select BR2_PACKAGE_XLIB_LIBXTST
> + select BR2_PACKAGE_LIBVNCSERVER
Since this is a build time dependency, you need to add it to
X11VNC_DEPENDENCIES to make sure libvncserver builds before x11vnc.
You also need to propagate the additional BR2_PACKAGE_LIBVNCSERVER dependency,
!BR2_nios2.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply
* [Buildroot] [PATCH 1/2] ext2.mk: ensure file system block count is not zero (0)
From: Yann E. MORIN @ 2017-04-30 9:18 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170429210358.716c51d4@free-electrons.com>
J, Thomas, All,
On 2017-04-29 21:03 +0200, Thomas Petazzoni spake thusly:
> On Sat, 29 Apr 2017 17:01:21 +0100, J Evans wrote:
>
> > -ifneq ($(strip $(BR2_TARGET_ROOTFS_EXT2_BLOCKS)),0)
> > +ifeq ($(strip $(BR2_TARGET_ROOTFS_EXT2_BLOCKS)),0)
> > +$(error BR2_TARGET_ROOTFS_EXT2_BLOCKS cannot be zero (0))
> > +else
> > EXT2_OPTS += -b $(BR2_TARGET_ROOTFS_EXT2_BLOCKS)
> > endif
>
> What is the motivation for checking that the size is not zero? Zero is
> like any other size too small to contain the target directory contents,
> so I don't see why we would add a specific check for it.
I agree, and that's exactly what I said in my review to the previous
iteration of the patch.
Just remove the check and keep the line:
EXT2_OPTS += -b $(BR2_TARGET_ROOTFS_EXT2_BLOCKS)
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply
* [Buildroot] [PATCH 2/2] mke2img: add parameter sanity checks to prevent odd error messages from genext2.fs
From: Yann E. MORIN @ 2017-04-30 9:25 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170429210606.37872b68@free-electrons.com>
Thomas, All,
On 2017-04-29 21:06 +0200, Thomas Petazzoni spake thusly:
> Hello,
>
> On Sat, 29 Apr 2017 17:01:22 +0100, J Evans wrote:
>
> > + if [ -z "${nb_blocks}" ]; then
> > + error "Error: you must specify a file system block count with '-b'. This cannot be zero, e.g. 61440 == 60MB\n"
Really, just state that it must be specified, this the value is
explained in the help text.
error "Error: you must specify a file system block count with '-b'.\n"
However, please also update the help text at the end of the script,m to
remove a hint about auto calculation:
https://git.buildroot.org/buildroot/tree/package/mke2img/mke2img#n152
-b BLOCKS
Create a filesystem of BLOCKS 1024-byte blocs. The default is to
compute the required number of blocks.
> > + fi
>
> Check this is useless: there is already error checking done by getopt
> itself, because the -b option *must* have an argument. Indeed, the
> current mke2img behaves like this:
>
> $ ./package/mke2img/mke2img -b
> mke2img: option 'b' expects a mandatory argument
>
> So it is already checked that ${nb_blocks} cannot be empty.
But if you don't pass the -b option, then nb_blocks *is* unset.
Adding the check is correct in my opinion.
> > + if [ "${nb_blocks}" -eq 0 ]; then
> > + error "Error: The file system block count size cannot be zero. e.g. 61440 == 60MB \n"
> > + fi
>
> See my reply to the previous commit: I don't see why 0 should be
> checked specifically. Please explain in the commit log why it should be.
Agreed, a zero size is like specifying any size that is too small to fit
the content of target/. There is no way we can check that the given size
is correct.
zero if of course special, because we *know* it is incorrect. But since
this is not the default value, the user would have explicitly set it to
zero. Which is justa little tad stupid to begin with.
As I previously said: I really don't see the point of checking that the
size is not zero.
Just keep the text tht nb_blocks is set, though, because it is required.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply
* [Buildroot] [PATCH 2/2] mke2img: add parameter sanity checks to prevent odd error messages from genext2.fs
From: Thomas Petazzoni @ 2017-04-30 9:32 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170430092533.GB12749@scaer>
Hello,
On Sun, 30 Apr 2017 11:25:33 +0200, Yann E. MORIN wrote:
> > $ ./package/mke2img/mke2img -b
> > mke2img: option 'b' expects a mandatory argument
> >
> > So it is already checked that ${nb_blocks} cannot be empty.
>
> But if you don't pass the -b option, then nb_blocks *is* unset.
>
> Adding the check is correct in my opinion.
Ah, yes agreed.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [PATCH v2] package/expedite: fix build issue with gcc < 5
From: Romain Naour @ 2017-04-30 10:25 UTC (permalink / raw)
To: buildroot
The code use for loop initial declarations which are only allowed in
C99 mode which is not the default C standard with gcc < 5.
This way of writing for loop was added by the latest commit and it is
not consistent with the rest of the code.
So revert to the C89 for loop syntax.
Reported upstream:
https://phab.enlightenment.org/T5440
Fixes:
http://autobuild.buildroot.net/results/ed8/ed840755e8e486e48eab8c13a8bb5e9a448199ce
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
.../0001-fix-build-failure-with-gcc-5.patch | 289 +++++++++++++++++++++
1 file changed, 289 insertions(+)
create mode 100644 package/expedite/0001-fix-build-failure-with-gcc-5.patch
diff --git a/package/expedite/0001-fix-build-failure-with-gcc-5.patch b/package/expedite/0001-fix-build-failure-with-gcc-5.patch
new file mode 100644
index 0000000..2d5d6ef
--- /dev/null
+++ b/package/expedite/0001-fix-build-failure-with-gcc-5.patch
@@ -0,0 +1,289 @@
+From 01a29e6a1d2ed083d1a1884dbca37ae518f354c7 Mon Sep 17 00:00:00 2001
+From: Romain Naour <romain.naour@gmail.com>
+Date: Sun, 30 Apr 2017 12:07:02 +0200
+Subject: [PATCH] fix build failure with gcc < 5
+
+Definition of variables inside the initialization part of for() loops
+was added by [1] and produce some build failure with "old" gcc version
+(gcc < 5).
+
+This way of writing for loop is not consistent with the rest of the
+code. So revert to the C89 for loop syntax.
+
+Reported upstream:
+https://phab.enlightenment.org/T5440
+
+[1] https://git.enlightenment.org/tools/expedite.git/commit/?id=0529ce56b6fb01e9651e76461e9608e15a040fb3
+
+Fixes:
+http://autobuild.buildroot.net/results/930/930796603d37bc309a591eec68037192c51028ce
+
+Signed-off-by: Romain Naour <romain.naour@gmail.com>
+---
+ src/bin/image_data_argb.c | 9 ++++++---
+ src/bin/image_data_argb_alpha.c | 6 ++++--
+ src/bin/image_data_ycbcr601pl.c | 12 ++++++++----
+ .../image_data_ycbcr601pl_map_nearest_solid_rotate.c | 12 ++++++++----
+ src/bin/image_data_ycbcr601pl_map_solid_rotate.c | 12 ++++++++----
+ src/bin/image_data_ycbcr601pl_wide_stride.c | 17 +++++++++++------
+ 6 files changed, 45 insertions(+), 23 deletions(-)
+
+diff --git a/src/bin/image_data_argb.c b/src/bin/image_data_argb.c
+index d5889ce..9c607b2 100644
+--- a/src/bin/image_data_argb.c
++++ b/src/bin/image_data_argb.c
+@@ -20,12 +20,13 @@ static Evas_Object *o_images[1];
+ /* setup */
+ static void _setup(void)
+ {
++ int i;
+ Evas_Object *o;
+ Eina_Slice sl;
+
+ sl.len = 640 * 480 * 4;
+ sl.mem = malloc(sl.len);
+- for (int i = 0; i < 1; i++)
++ for (i = 0; i < 1; i++)
+ {
+ o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
+ o_images[i] = o;
+@@ -42,7 +43,8 @@ static void _setup(void)
+ /* cleanup */
+ static void _cleanup(void)
+ {
+- for (int i = 0; i < 1; i++)
++ int i;
++ for (i = 0; i < 1; i++)
+ {
+ Evas_Object *o = o_images[i];
+ Eina_Slice sl = {};
+@@ -56,7 +58,8 @@ static void _cleanup(void)
+ /* loop - do things */
+ static void _loop(double t, int f)
+ {
+- for (int i = 0; i < 1; i++)
++ int i;
++ for (i = 0; i < 1; i++)
+ {
+ Evas_Object *o = o_images[i];
+ unsigned int *data, *p;
+diff --git a/src/bin/image_data_argb_alpha.c b/src/bin/image_data_argb_alpha.c
+index 79f4c54..ffbe57e 100644
+--- a/src/bin/image_data_argb_alpha.c
++++ b/src/bin/image_data_argb_alpha.c
+@@ -20,12 +20,13 @@ static Evas_Object *o_images[1];
+ /* setup */
+ static void _setup(void)
+ {
++ int i;
+ Evas_Object *o;
+ Eina_Slice sl;
+
+ sl.len = 640 * 480 * 4;
+ sl.mem = malloc(sl.len);
+- for (int i = 0; i < 1; i++)
++ for (i = 0; i < 1; i++)
+ {
+ o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
+ o_images[i] = o;
+@@ -42,7 +43,8 @@ static void _setup(void)
+ /* cleanup */
+ static void _cleanup(void)
+ {
+- for (int i = 0; i < 1; i++)
++ int i;
++ for (i = 0; i < 1; i++)
+ {
+ Evas_Object *o = o_images[i];
+ Eina_Slice sl = {};
+diff --git a/src/bin/image_data_ycbcr601pl.c b/src/bin/image_data_ycbcr601pl.c
+index 032d5b3..e126e98 100644
+--- a/src/bin/image_data_ycbcr601pl.c
++++ b/src/bin/image_data_ycbcr601pl.c
+@@ -21,9 +21,11 @@ static Eina_Slice slice[3];
+ /* setup */
+ static void _setup(void)
+ {
++ int i;
+ FILE *f;
+- for (int i = 0; i < 1; i++)
++ for (i = 0; i < 1; i++)
+ {
++ int p;
+ Evas_Object *o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
+ o_images[i] = o;
+ efl_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
+@@ -37,7 +39,7 @@ static void _setup(void)
+ slice[2].len = 320 * 240;
+ f = fopen(build_path("tp.yuv"), "rb");
+ if (!f) continue;
+- for (int p = 0; p < 3; p++)
++ for (p = 0; p < 3; p++)
+ {
+ slice[p].mem = malloc(slice[p].len);
+ fread((void *) slice[p].mem, slice[p].len, 1, f);
+@@ -51,10 +53,12 @@ static void _setup(void)
+ /* cleanup */
+ static void _cleanup(void)
+ {
+- for (int i = 0; i < 1; i++)
++ int i;
++ for (i = 0; i < 1; i++)
+ {
++ int p;
+ Evas_Object *o = o_images[i];
+- for (int p = 0; p < 3; p++)
++ for (p = 0; p < 3; p++)
+ {
+ efl_gfx_buffer_managed_set(o, NULL, 640, 480, 0, EFL_GFX_COLORSPACE_YCBCR422P601_PL, p);
+ free((void *) slice[p].mem);
+diff --git a/src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c b/src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c
+index 0a5bcf4..db52b0b 100644
+--- a/src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c
++++ b/src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c
+@@ -21,9 +21,11 @@ static Eina_Slice slice[3];
+ /* setup */
+ static void _setup(void)
+ {
++ int i;
+ FILE *f;
+- for (int i = 0; i < 1; i++)
++ for (i = 0; i < 1; i++)
+ {
++ int p;
+ Evas_Object *o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
+ o_images[i] = o;
+ efl_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
+@@ -37,7 +39,7 @@ static void _setup(void)
+ slice[2].len = 320 * 240;
+ f = fopen(build_path("tp.yuv"), "rb");
+ if (!f) continue;
+- for (int p = 0; p < 3; p++)
++ for (p = 0; p < 3; p++)
+ {
+ slice[p].mem = malloc(slice[p].len);
+ fread((void *) slice[p].mem, slice[p].len, 1, f);
+@@ -51,10 +53,12 @@ static void _setup(void)
+ /* cleanup */
+ static void _cleanup(void)
+ {
+- for (int i = 0; i < 1; i++)
++ int i;
++ for (i = 0; i < 1; i++)
+ {
++ int p;
+ Evas_Object *o = o_images[i];
+- for (int p = 0; p < 3; p++)
++ for (p = 0; p < 3; p++)
+ {
+ efl_gfx_buffer_managed_set(o, NULL, 640, 480, 0, EFL_GFX_COLORSPACE_YCBCR422P601_PL, p);
+ free((void *) slice[p].mem);
+diff --git a/src/bin/image_data_ycbcr601pl_map_solid_rotate.c b/src/bin/image_data_ycbcr601pl_map_solid_rotate.c
+index 355293f..ac4364d 100644
+--- a/src/bin/image_data_ycbcr601pl_map_solid_rotate.c
++++ b/src/bin/image_data_ycbcr601pl_map_solid_rotate.c
+@@ -22,8 +22,10 @@ static Eina_Slice slice[3];
+ static void _setup(void)
+ {
+ FILE *f;
+- for (int i = 0; i < 1; i++)
++ int i;
++ for (i = 0; i < 1; i++)
+ {
++ int p;
+ Evas_Object *o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
+ o_images[i] = o;
+ efl_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
+@@ -37,7 +39,7 @@ static void _setup(void)
+ slice[2].len = 320 * 240;
+ f = fopen(build_path("tp.yuv"), "rb");
+ if (!f) continue;
+- for (int p = 0; p < 3; p++)
++ for (p = 0; p < 3; p++)
+ {
+ slice[p].mem = malloc(slice[p].len);
+ fread((void *) slice[p].mem, slice[p].len, 1, f);
+@@ -51,10 +53,12 @@ static void _setup(void)
+ /* cleanup */
+ static void _cleanup(void)
+ {
+- for (int i = 0; i < 1; i++)
++ int i;
++ for (i = 0; i < 1; i++)
+ {
++ int p;
+ Evas_Object *o = o_images[i];
+- for (int p = 0; p < 3; p++)
++ for (p = 0; p < 3; p++)
+ {
+ efl_gfx_buffer_managed_set(o, NULL, 640, 480, 0, EFL_GFX_COLORSPACE_YCBCR422P601_PL, p);
+ free((void *) slice[p].mem);
+diff --git a/src/bin/image_data_ycbcr601pl_wide_stride.c b/src/bin/image_data_ycbcr601pl_wide_stride.c
+index d4e8fa2..9adb62f 100644
+--- a/src/bin/image_data_ycbcr601pl_wide_stride.c
++++ b/src/bin/image_data_ycbcr601pl_wide_stride.c
+@@ -21,11 +21,13 @@ static Eina_Slice slice[3];
+ /* setup */
+ static void _setup(void)
+ {
++ int i;
+ int stride;
+ FILE *f;
+ int w = 320 - 16;
+- for (int i = 0; i < 1; i++)
++ for (i = 0; i < 1; i++)
+ {
++ int p;
+ Evas_Object *o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
+ o_images[i] = o;
+ efl_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
+@@ -41,7 +43,7 @@ static void _setup(void)
+ f = fopen(build_path("tp.yuv"), "rb");
+ if (!f) continue;
+ stride = 640;
+- for (int p = 0; p < 3; p++)
++ for (p = 0; p < 3; p++)
+ {
+ slice[p].mem = malloc(slice[p].len);
+ fread((void *) slice[p].mem, slice[p].len, 1, f);
+@@ -57,10 +59,12 @@ static void _setup(void)
+ /* cleanup */
+ static void _cleanup(void)
+ {
+- for (int i = 0; i < 1; i++)
++ int i;
++ for (i = 0; i < 1; i++)
+ {
++ int p;
+ Evas_Object *o = o_images[i];
+- for (int p = 0; p < 3; p++)
++ for (p = 0; p < 3; p++)
+ {
+ efl_gfx_buffer_managed_set(o, NULL, 640, 480, 0,
+ EFL_GFX_COLORSPACE_YCBCR422P601_PL, p);
+@@ -77,11 +81,12 @@ static void _loop(double t, int f)
+ Evas_Coord x, y, w, h;
+ for (i = 0; i < 1; i++)
+ {
++ int p;
+ Evas_Object *o = o_images[i];
+ Eina_Slice sl[3];
+ int stride;
+
+- for (int p = 0; p < 3; p++)
++ for (p = 0; p < 3; p++)
+ efl_gfx_buffer_managed_get(o, &sl[p], p);
+
+ w = 640;
+@@ -97,7 +102,7 @@ static void _loop(double t, int f)
+ if (w > 640) w = 320;
+
+ stride = 640;
+- for (int p = 0; p < 3; p++)
++ for (p = 0; p < 3; p++)
+ {
+ efl_gfx_buffer_managed_set(o, &sl[p], w, 480, stride,
+ EFL_GFX_COLORSPACE_YCBCR422P601_PL, p);
+--
+2.9.3
+
--
2.9.3
^ permalink raw reply related
* [Buildroot] [PATCH] package/xenomai: update udev rules search path
From: Romain Naour @ 2017-04-30 11:14 UTC (permalink / raw)
To: buildroot
The udev rules has been moved to kernel/cobalt/udev.
Fixes:
http://autobuild.buildroot.net/results/8eb/8eb4643faed523ffccd421f20c2955adfde634a6
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
Do we want to keep the old path in the .mk for backward compatibility
with Xenomai < 3 ?
---
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 c1477d9..fa46819 100644
--- a/package/xenomai/xenomai.mk
+++ b/package/xenomai/xenomai.mk
@@ -146,7 +146,7 @@ XENOMAI_DEPENDENCIES += udev
define XENOMAI_INSTALL_UDEV_RULES
if test -d $(TARGET_DIR)/etc/udev/rules.d ; then \
- for f in $(@D)/ksrc/nucleus/udev/*.rules ; do \
+ for f in $(@D)/kernel/cobalt/udev/*.rules ; do \
cp $$f $(TARGET_DIR)/etc/udev/rules.d/ || exit 1 ; \
done ; \
fi;
--
2.9.3
^ permalink raw reply related
* [Buildroot] [PATCH 1/2] ext2.mk: ensure file system block count is not zero (0)
From: jerry at chordia.co.uk @ 2017-04-30 12:18 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170430091845.GA12749@scaer>
Yann, all
>
> Just remove the check and keep the line:
>
> EXT2_OPTS += -b $(BR2_TARGET_ROOTFS_EXT2_BLOCKS)
Yes, ideal. That will satisfy us both and (most importantly) make sure the
user cannot get this otherwise hard to debug error:
"genext2fs: Too many arguments. Try --help or else see the man page."
BTW many thanks for patience etc. with this shower of patches.
BR,
Jerry.
^ permalink raw reply
* [Buildroot] [PATCH] nanomsg: new package
From: Romain Naour @ 2017-04-30 12:29 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1492766524-3682-1-git-send-email-rahulbedarkar89@gmail.com>
Hi Rahul,
Le 21/04/2017 ? 11:22, Rahul Bedarkar a ?crit :
> Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Best regards,
Romain
> ---
> DEVELOPERS | 1 +
> package/Config.in | 1 +
> package/nanomsg/Config.in | 23 +++++++++++++++++++++++
> package/nanomsg/nanomsg.hash | 2 ++
> package/nanomsg/nanomsg.mk | 24 ++++++++++++++++++++++++
> 5 files changed, 51 insertions(+)
> create mode 100644 package/nanomsg/Config.in
> create mode 100644 package/nanomsg/nanomsg.hash
> create mode 100644 package/nanomsg/nanomsg.mk
>
> diff --git a/DEVELOPERS b/DEVELOPERS
> index 123a8f9..693cfe1 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -1303,6 +1303,7 @@ F: package/glog/
> F: package/gssdp/
> F: package/gupnp/
> F: package/gupnp-av/
> +F: package/nanomsg/
>
> N: Rahul Jain <rahul.jain@imgtec.com>
> F: package/uhttpd/
> diff --git a/package/Config.in b/package/Config.in
> index 4eaa95b..bfcfb73 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -1306,6 +1306,7 @@ menu "Networking"
> source "package/libwebsockets/Config.in"
> source "package/lksctp-tools/Config.in"
> source "package/mongoose/Config.in"
> + source "package/nanomsg/Config.in"
> source "package/neon/Config.in"
> source "package/norm/Config.in"
> source "package/nss-mdns/Config.in"
> diff --git a/package/nanomsg/Config.in b/package/nanomsg/Config.in
> new file mode 100644
> index 0000000..0cab8b4
> --- /dev/null
> +++ b/package/nanomsg/Config.in
> @@ -0,0 +1,23 @@
> +config BR2_PACKAGE_NANOMSG
> + bool "nanomsg"
> + depends on BR2_TOOLCHAIN_HAS_THREADS
> + help
> + nanomsg is a socket library that provides several common
> + communication patterns. It aims to make the networking layer
> + fast, scalable, and easy to use. Implemented in C, it works
> + on a wide range of operating systems with no further
> + dependencies.
> +
> + http://nanomsg.org/
> +
> +if BR2_PACKAGE_NANOMSG
> +
> +config BR2_PACKAGE_NANOMSG_TOOLS
> + bool "Build nanomsg tools"
> + help
> + Build nanomsg tools
> +
> +endif
> +
> +comment "nanomsg needs a toolchain w/ threads"
> + depends on !BR2_TOOLCHAIN_HAS_THREADS
> diff --git a/package/nanomsg/nanomsg.hash b/package/nanomsg/nanomsg.hash
> new file mode 100644
> index 0000000..5f947da
> --- /dev/null
> +++ b/package/nanomsg/nanomsg.hash
> @@ -0,0 +1,2 @@
> +# Locally computed
> +sha256 24afdeb71b2e362e8a003a7ecc906e1b84fd9f56ce15ec567481d1bb33132cc7 nanomsg-1.0.0.tar.gz
> diff --git a/package/nanomsg/nanomsg.mk b/package/nanomsg/nanomsg.mk
> new file mode 100644
> index 0000000..3b1c2ca
> --- /dev/null
> +++ b/package/nanomsg/nanomsg.mk
> @@ -0,0 +1,24 @@
> +################################################################################
> +#
> +# nanomsg
> +#
> +################################################################################
> +
> +NANOMSG_VERSION = 1.0.0
> +NANOMSG_SITE = $(call github,nanomsg,nanomsg,$(NANOMSG_VERSION))
> +NANOMSG_INSTALL_STAGING = YES
> +NANOMSG_LICENSE = MIT
> +NANOMSG_LICENSE_FILES = COPYING
> +NANOMSG_CONF_OPTS = -DNN_ENABLE_DOC=OFF -DNN_TESTS=OFF
> +
> +ifeq ($(BR2_STATIC_LIBS),y)
> +NANOMSG_CONF_OPTS += -DNN_STATIC_LIB=ON
> +endif
> +
> +ifeq ($(BR2_PACKAGE_NANOMSG_TOOLS),y)
> +NANOMSG_CONF_OPTS += -DNN_TOOLS=ON
> +else
> +NANOMSG_CONF_OPTS += -DNN_TOOLS=OFF
> +endif
> +
> +$(eval $(cmake-package))
>
^ permalink raw reply
* [Buildroot] [PATCH 1/1] ext2.mk: ensure -b option is always set for mke2img and genext2fs
From: J Evans @ 2017-04-30 12:35 UTC (permalink / raw)
To: buildroot
Signed-off-by: J Evans <g4@novadsp.com>
---
fs/ext2/ext2.mk | 2 --
1 file changed, 2 deletions(-)
diff --git a/fs/ext2/ext2.mk b/fs/ext2/ext2.mk
index 30f1d17..9d3e8fd 100644
--- a/fs/ext2/ext2.mk
+++ b/fs/ext2/ext2.mk
@@ -6,9 +6,7 @@
EXT2_OPTS = -G $(BR2_TARGET_ROOTFS_EXT2_GEN) -R $(BR2_TARGET_ROOTFS_EXT2_REV)
-ifneq ($(strip $(BR2_TARGET_ROOTFS_EXT2_BLOCKS)),0)
EXT2_OPTS += -b $(BR2_TARGET_ROOTFS_EXT2_BLOCKS)
-endif
ifneq ($(strip $(BR2_TARGET_ROOTFS_EXT2_INODES)),0)
EXT2_OPTS += -i $(BR2_TARGET_ROOTFS_EXT2_INODES)
--
2.7.4
^ permalink raw reply related
* [Buildroot] [PATCH v2] x11vnc: make x11vnc select libvncserver
From: Martin Kepplinger @ 2017-04-30 13:05 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170430084350.zpxjcn7y6ws4w4lf@sapphire.tkos.co.il>
x11vnc needs libvncserver, so select it explicitely.
In case of missing libvncserver, we see build failures like this:
http://autobuild.buildroot.net/results/34f/34f8045e772b96293cc7d25bd61ac0aa5842824f/
Signed-off-by: Martin Kepplinger <martink@posteo.de>
---
Thanks a lot for your help! I think that's what you meant, right?
revision history
----------------
v2: add libvncserver to build dependencies and !BR2_nios2 to depends
v1: initial patch. add select BR2_PACKAGE_LIBVNCSERVER
package/x11vnc/Config.in | 2 ++
package/x11vnc/x11vnc.mk | 2 ++
2 files changed, 4 insertions(+)
diff --git a/package/x11vnc/Config.in b/package/x11vnc/Config.in
index 0909b9aec..9d9541cbf 100644
--- a/package/x11vnc/Config.in
+++ b/package/x11vnc/Config.in
@@ -2,9 +2,11 @@ config BR2_PACKAGE_X11VNC
bool "x11vnc"
depends on BR2_PACKAGE_XORG7
depends on BR2_USE_MMU # fork()
+ depends on !BR2_nios2 # from libvncserver
select BR2_PACKAGE_XLIB_LIBXT
select BR2_PACKAGE_XLIB_LIBXEXT
select BR2_PACKAGE_XLIB_LIBXTST
+ select BR2_PACKAGE_LIBVNCSERVER
help
VNC server for X11 display
diff --git a/package/x11vnc/x11vnc.mk b/package/x11vnc/x11vnc.mk
index 9233b7047..5a505b920 100644
--- a/package/x11vnc/x11vnc.mk
+++ b/package/x11vnc/x11vnc.mk
@@ -16,6 +16,8 @@ X11VNC_LICENSE_FILES = COPYING
# Source coming from github, no configure included
X11VNC_AUTORECONF = YES
+X11VNC_DEPENDENCIES += libvncserver
+
ifeq ($(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_DBUS),yy)
X11VNC_DEPENDENCIES += avahi dbus
else
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH v3 1/2] cracklib: New package
From: Romain Naour @ 2017-04-30 13:36 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170419075602.22245-1-stefan.sorensen@spectralink.com>
Hi Stefan,
Le 19/04/2017 ? 09:56, Stefan S?rensen a ?crit :
> Changes since v2:
> * Add two upstream bugfixes
> * Add patch to force grep to treat the words file as text
> * Add $(HOST_MAKE_ENV) when build the dict
>
> Changes since v1:
> * Update DEVELOPERS file
> * Use SPDX license codes
> * Use the tools from host-cracklib for generating dictionary files
>
> Signed-off-by: Stefan S?rensen <stefan.sorensen@spectralink.com>
> ---
> DEVELOPERS | 1 +
> package/Config.in | 1 +
> .../0001-Apply-patch-to-fix-CVE-2016-6318.patch | 114 +++++++++++++++++++++
> ...x-a-buffer-overflow-processing-long-words.patch | 49 +++++++++
> ...to-treat-the-input-as-text-when-formattin.patch | 30 ++++++
> package/cracklib/Config.in | 28 +++++
> package/cracklib/cracklib.hash | 3 +
> package/cracklib/cracklib.mk | 36 +++++++
> 8 files changed, 262 insertions(+)
> create mode 100644 package/cracklib/0001-Apply-patch-to-fix-CVE-2016-6318.patch
> create mode 100644 package/cracklib/0002-Fix-a-buffer-overflow-processing-long-words.patch
> create mode 100644 package/cracklib/0003-Force-grep-to-treat-the-input-as-text-when-formattin.patch
> create mode 100644 package/cracklib/Config.in
> create mode 100644 package/cracklib/cracklib.hash
> create mode 100644 package/cracklib/cracklib.mk
>
> diff --git a/DEVELOPERS b/DEVELOPERS
> index 123a8f9..4139a19 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -1483,6 +1483,7 @@ F: package/proxychains-ng/
> F: package/yasm/
>
> N: Stefan S?rensen <stefan.sorensen@spectralink.com>
> +F: package/cracklib/
> F: package/libscrypt/
>
> N: Stephan Hoffmann <sho@relinux.de>
> diff --git a/package/Config.in b/package/Config.in
> index 4eaa95b..cf0d78d 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -1343,6 +1343,7 @@ menu "Other"
> source "package/clapack/Config.in"
> source "package/classpath/Config.in"
> source "package/cppcms/Config.in"
> + source "package/cracklib/Config.in"
> source "package/dawgdic/Config.in"
> source "package/ding-libs/Config.in"
> source "package/eigen/Config.in"
> diff --git a/package/cracklib/0001-Apply-patch-to-fix-CVE-2016-6318.patch b/package/cracklib/0001-Apply-patch-to-fix-CVE-2016-6318.patch
> new file mode 100644
> index 0000000..56b60b1
> --- /dev/null
> +++ b/package/cracklib/0001-Apply-patch-to-fix-CVE-2016-6318.patch
> @@ -0,0 +1,114 @@
> +From 47e5dec521ab6243c9b249dd65b93d232d90d6b1 Mon Sep 17 00:00:00 2001
> +From: Jan Dittberner <jan@dittberner.info>
> +Date: Thu, 25 Aug 2016 17:13:49 +0200
> +Subject: [PATCH] Apply patch to fix CVE-2016-6318
> +
> +This patch fixes an issue with a stack-based buffer overflow whne
> +parsing large GECOS field. See
> +https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-6318 and
> +https://security-tracker.debian.org/tracker/CVE-2016-6318 for more
> +information.
Your SoB line is missing
> +---
> +
> +Status: upstream, not yet released.
> +
> + NEWS | 1 +
> + lib/fascist.c | 57 ++++++++++++++++++++++++++++++++-----------------------
> + 2 files changed, 34 insertions(+), 24 deletions(-)
> +
> +diff --git a/NEWS b/NEWS
> +index 26abeee..361a207 100644
> +--- a/NEWS
> ++++ b/NEWS
> +@@ -1,3 +1,4 @@
> ++v2.9.x apply patch to fix CVE-2016-6318 Stack-based buffer overflow when parsing large GECOS field
> + v2.9.6 updates to cracklib-words to add a bunch of other dictionary lists
> + migration to github
> + patch to add some particularly bad cases to the cracklib small dictionary (Matthew Miller)
You can drop this part of the patch.
> +diff --git a/lib/fascist.c b/lib/fascist> +index a996509..d4deb15 100644
> +--- a/lib/fascist.c
> ++++ b/lib/fascist.c
> +@@ -502,7 +502,7 @@ FascistGecosUser(char *password, const char *user, const char *gecos)
> + char gbuffer[STRINGSIZE];
> + char tbuffer[STRINGSIZE];
> + char *uwords[STRINGSIZE];
> +- char longbuffer[STRINGSIZE * 2];
> ++ char longbuffer[STRINGSIZE];
> +
> + if (gecos == NULL)
> + gecos = "";
> +@@ -583,38 +583,47 @@ FascistGecosUser(char *password, const char *user, const char *gecos)
> + {
> + for (i = 0; i < j; i++)
> + {
> +- strcpy(longbuffer, uwords[i]);
> +- strcat(longbuffer, uwords[j]);
> +-
> +- if (GTry(longbuffer, password))
> ++ if (strlen(uwords[i]) + strlen(uwords[j]) < STRINGSIZE)
> + {
> +- return _("it is derived from your password entry");
> +- }
> ++ strcpy(longbuffer, uwords[i]);
> ++ strcat(longbuffer, uwords[j]);
> +
> +- strcpy(longbuffer, uwords[j]);
> +- strcat(longbuffer, uwords[i]);
> ++ if (GTry(longbuffer, password))
> ++ {
> ++ return _("it is derived from your password entry");
> ++ }
> +
> +- if (GTry(longbuffer, password))
> +- {
> +- return _("it's derived from your password entry");
> +- }
> ++ strcpy(longbuffer, uwords[j]);
> ++ strcat(longbuffer, uwords[i]);
> +
> +- longbuffer[0] = uwords[i][0];
> +- longbuffer[1] = '\0';
> +- strcat(longbuffer, uwords[j]);
> ++ if (GTry(longbuffer, password))
> ++ {
> ++ return _("it's derived from your password entry");
> ++ }
> ++ }
> +
> +- if (GTry(longbuffer, password))
> ++ if (strlen(uwords[j]) < STRINGSIZE - 1)
> + {
> +- return _("it is derivable from your password entry");
> ++ longbuffer[0] = uwords[i][0];
> ++ longbuffer[1] = '\0';
> ++ strcat(longbuffer, uwords[j]);
> ++
> ++ if (GTry(longbuffer, password))
> ++ {
> ++ return _("it is derivable from your password entry");
> ++ }
> + }
> +
> +- longbuffer[0] = uwords[j][0];
> +- longbuffer[1] = '\0';
> +- strcat(longbuffer, uwords[i]);
> +-
> +- if (GTry(longbuffer, password))
> ++ if (strlen(uwords[i]) < STRINGSIZE - 1)
> + {
> +- return _("it's derivable from your password entry");
> ++ longbuffer[0] = uwords[j][0];
> ++ longbuffer[1] = '\0';
> ++ strcat(longbuffer, uwords[i]);
> ++
> ++ if (GTry(longbuffer, password))
> ++ {
> ++ return _("it's derivable from your password entry");
> ++ }
> + }
> + }
> + }
> +--
> +2.9.3
> +
> diff --git a/package/cracklib/0002-Fix-a-buffer-overflow-processing-long-words.patch b/package/cracklib/0002-Fix-a-buffer-overflow-processing-long-words.patch
> new file mode 100644
> index 0000000..93cd4a8
> --- /dev/null
> +++ b/package/cracklib/0002-Fix-a-buffer-overflow-processing-long-words.patch
> @@ -0,0 +1,49 @@
> +From 33d7fa4585247cd2247a1ffa032ad245836c6edb Mon Sep 17 00:00:00 2001
> +From: Jan Dittberner <jan@dittberner.info>
> +Date: Thu, 25 Aug 2016 17:17:53 +0200
> +Subject: [PATCH] Fix a buffer overflow processing long words
> +
> +A buffer overflow processing long words has been discovered. This commit
> +applies the patch from
> +https://build.opensuse.org/package/view_file/Base:System/cracklib/0004-overflow-processing-long-words.patch
> +by Howard Guo.
> +
> +See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835386 and
> +http://www.openwall.com/lists/oss-security/2016/08/23/8
Your SoB line is missing
> +---
> +
> +Status: upstream, not yet released.
> +
> + NEWS | 1 +
> + lib/rules.c | 5 ++---
> + 2 files changed, 3 insertions(+), 3 deletions(-)
> +
> +diff --git a/NEWS b/NEWS
> +index 361a207..f1df3b0 100644
> +--- a/NEWS
> ++++ b/NEWS
> +@@ -1,4 +1,5 @@
> + v2.9.x apply patch to fix CVE-2016-6318 Stack-based buffer overflow when parsing large GECOS field
> ++ fix a buffer overflow processing long words
> + v2.9.6 updates to cracklib-words to add a bunch of other dictionary lists
> + migration to github
> + patch to add some particularly bad cases to the cracklib small dictionary (Matthew Miller)
You can drop this part of the patch.
> +diff --git a/lib/rules.c b/lib/rules.c
> +index d193cc0..3a2aa46 100644
> +--- a/lib/rules.c
> ++++ b/lib/rules.c
> +@@ -434,9 +434,8 @@ Mangle(input, control) /* returns a pointer to a controlled Mangle */
> + {
> + int limit;
> + register char *ptr;
> +- static char area[STRINGSIZE];
> +- char area2[STRINGSIZE];
> +- area[0] = '\0';
> ++ static char area[STRINGSIZE * 2] = {0};
> ++ char area2[STRINGSIZE * 2] = {0};
> + strcpy(area, input);
> +
> + for (ptr = control; *ptr; ptr++)
> +--
> +2.9.3
> +
> diff --git a/package/cracklib/0003-Force-grep-to-treat-the-input-as-text-when-formattin.patch b/package/cracklib/0003-Force-grep-to-treat-the-input-as-text-when-formattin.patch
> new file mode 100644
> index 0000000..b05a69c
> --- /dev/null
> +++ b/package/cracklib/0003-Force-grep-to-treat-the-input-as-text-when-formattin.patch
> @@ -0,0 +1,30 @@
> +From d27062fe7a520d5791f7a56d175a5cb6a39bae61 Mon Sep 17 00:00:00 2001
> +From: =?UTF-8?q?Stefan=20S=C3=B8rensen?= <stefan.sorensen@spectralink.com>
> +Date: Tue, 18 Apr 2017 12:00:39 +0200
> +Subject: [PATCH] Force grep to treat the input as text when formatting word
> + files.
> +MIME-Version: 1.0
> +Content-Type: text/plain; charset=UTF-8
> +Content-Transfer-Encoding: 8bit
> +
> +Signed-off-by: Stefan S?rensen <stefan.sorensen@spectralink.com>
> +---
> + util/cracklib-format | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/util/cracklib-format b/util/cracklib-format
> +index 1d7be5b..b1de8e8 100644
> +--- a/util/cracklib-format
> ++++ b/util/cracklib-format
> +@@ -4,7 +4,7 @@
> + # into cracklib-packer
> + #
> + gzip -cdf "$@" |
> +- grep -v '^\(#\|$\)' |
> ++ grep -a -v '^\(#\|$\)' |
> + tr '[A-Z]' '[a-z]' |
> + tr -cd '\012[a-z][0-9]' |
> + env LC_ALL=C sort -u
> +--
> +2.9.3
> +
> diff --git a/package/cracklib/Config.in b/package/cracklib/Config.in
> new file mode 100644
> index 0000000..4a0f43f
> --- /dev/null
> +++ b/package/cracklib/Config.in
> @@ -0,0 +1,28 @@
> +config BR2_PACKAGE_CRACKLIB
> + bool "cracklib"
> + help
> + CrackLib tests passwords to determine whether they match
> + certain security-oriented characteristics, with the purpose
> + of stopping users from choosing passwords that are easy to
> + guess. CrackLib performs several tests on passwords: it
> + tries to generate words from a username and gecos entry and
> + checks those words against the password; it checks for
> + simplistic patterns in passwords; and it checks for the
> + password in a dictionary.
> +
> + https://github.com/cracklib/cracklib
> +
> +if BR2_PACKAGE_CRACKLIB
> +
> +config BR2_PACKAGE_CRACKLIB_TOOLS
> + bool "install tools"
> + help
> + Install cracklib command line tools for creating dicts.
> +
> +config BR2_PACKAGE_CRACKLIB_FULL_DICT
> + bool "full dict"
> + help
> + Install the full cracklib dict (requires about 8Mb extra
> + target space).
> +
> +endif
> diff --git a/package/cracklib/cracklib.hash b/package/cracklib/cracklib.hash
> new file mode 100644
> index 0000000..3038a47
> --- /dev/null
> +++ b/package/cracklib/cracklib.hash
> @@ -0,0 +1,3 @@
> +# Locally calculated
> +sha256 17cf76943de272fd579ed831a1fd85339b393f8d00bf9e0d17c91e972f583343 cracklib-2.9.6.tar.gz
> +sha256 27973245225eeb9d0090e97f3dea4197dec99b64d9d3a791a60298f3b021824c cracklib-words-2.9.6.gz
> diff --git a/package/cracklib/cracklib.mk b/package/cracklib/cracklib.mk
> new file mode 100644
> index 0000000..0a1373a
> --- /dev/null
> +++ b/package/cracklib/cracklib.mk
> @@ -0,0 +1,36 @@
> +################################################################################
> +#
> +# cracklib
> +#
> +################################################################################
> +
> +CRACKLIB_VERSION = 2.9.6
> +CRACKLIB_SITE = https://github.com/cracklib/cracklib/releases/download/cracklib-$(CRACKLIB_VERSION)
> +CRACKLIB_LICENSE = LGPL-2.1
> +CRACKLIB_LICENSE_FILES = COPYING.LIB
> +CRACKLIB_INSTALL_STAGING = YES
> +CRACKLIB_DEPENDENCIES = host-cracklib
As noticed by Danomi Manchego, you should add zlib package dependency handling.
In addition, I would suggest to add this line to disable the python module:
HOST_CRACKLIB_CONF_OPTS += --without-python
Also since the python dependency is not handled for the target, you should add:
CRACKLIB_CONF_OPTS += --without-python
(In case python2 or python3 is build before cracklib)
> +
> +ifeq ($(BR2_PACKAGE_CRACKLIB_FULL_DICT),y)
> +CRACKLIB_EXTRA_DOWNLOADS = cracklib-words-$(CRACKLIB_VERSION).gz
> +CRACKLIB_DICT_SOURCE = $(DL_DIR)/cracklib-words-$(CRACKLIB_VERSION).gz
> +else
> +CRACKLIB_DICT_SOURCE = $(@D)/dicts/cracklib-small
> +endif
> +
> +ifeq ($(BR2_PACKAGE_CRACKLIB_TOOLS),)
> +define CRACKLIB_REMOVE_TOOLS
> + rm -f $(TARGET_DIR)/usr/sbin/*cracklib*
Maybe this part can be done in a post install script instead ?
> +endef
> +CRACKLIB_POST_INSTALL_TARGET_HOOKS += CRACKLIB_REMOVE_TOOLS
> +endif
> +
> +define CRACKLIB_BUILD_DICT
> + $(HOST_MAKE_ENV) cracklib-format $(CRACKLIB_DICT_SOURCE) | \
> + $(HOST_MAKE_ENV) cracklib-packer $(TARGET_DIR)/usr/share/cracklib/pw_dict
> + rm $(TARGET_DIR)/usr/share/cracklib/cracklib-small
Why do you remove cracklib-small binary ?
Best regards,
Romain
> +endef
> +CRACKLIB_POST_INSTALL_TARGET_HOOKS += CRACKLIB_BUILD_DICT
> +
> +$(eval $(autotools-package))
> +$(eval $(host-autotools-package))
>
^ permalink raw reply
* [Buildroot] [PATCH v3 2/2] libpwquality: New package
From: Romain Naour @ 2017-04-30 13:51 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170419075602.22245-2-stefan.sorensen@spectralink.com>
Hi Stefan,
Le 19/04/2017 ? 09:56, Stefan S?rensen a ?crit :
> No changes since v2
>
> Changes since v1:
> * Update DEVELOPERS file
> * Use SPDX license codes
> * Use new github site
> * Remove unneeded autoreconf
> * Fix building when python is enabled
>
> Signed-off-by: Stefan S?rensen <stefan.sorensen@spectralink.com>
> ---
> DEVELOPERS | 1 +
> package/Config.in | 1 +
> ...ith-disable-nls-on-platforms-without-libi.patch | 47 ++++++++++++++++++++++
> ...leak-in-settings-when-using-bad-word-list.patch | 26 ++++++++++++
> package/libpwquality/Config.in | 19 +++++++++
> package/libpwquality/libpwquality.hash | 2 +
> package/libpwquality/libpwquality.mk | 32 +++++++++++++++
> 7 files changed, 128 insertions(+)
> create mode 100644 package/libpwquality/0001-Fix-build-with-disable-nls-on-platforms-without-libi.patch
> create mode 100644 package/libpwquality/0002-Fix-memory-leak-in-settings-when-using-bad-word-list.patch
> create mode 100644 package/libpwquality/Config.in
> create mode 100644 package/libpwquality/libpwquality.hash
> create mode 100644 package/libpwquality/libpwquality.mk
>
> diff --git a/DEVELOPERS b/DEVELOPERS
> index 4139a19..977ebfe 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -1484,6 +1484,7 @@ F: package/yasm/
>
> N: Stefan S?rensen <stefan.sorensen@spectralink.com>
> F: package/cracklib/
> +F: package/libpwquality/
> F: package/libscrypt/
>
> N: Stephan Hoffmann <sho@relinux.de>
> diff --git a/package/Config.in b/package/Config.in
> index cf0d78d..3955a04 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -1386,6 +1386,7 @@ menu "Other"
> source "package/libplist/Config.in"
> source "package/libpthread-stubs/Config.in"
> source "package/libpthsem/Config.in"
> + source "package/libpwquality/Config.in"
> source "package/libseccomp/Config.in"
> source "package/libsigc/Config.in"
> source "package/libsigsegv/Config.in"
> diff --git a/package/libpwquality/0001-Fix-build-with-disable-nls-on-platforms-without-libi.patch b/package/libpwquality/0001-Fix-build-with-disable-nls-on-platforms-without-libi.patch
> new file mode 100644
> index 0000000..3bae15c
> --- /dev/null
> +++ b/package/libpwquality/0001-Fix-build-with-disable-nls-on-platforms-without-libi.patch
> @@ -0,0 +1,47 @@
> +From fd1694c9d85666a39fe39e76518581b1ccd5a6c5 Mon Sep 17 00:00:00 2001
> +From: =?UTF-8?q?Stefan=20S=C3=B8rensen?= <stefan.sorensen@spectralink.com>
> +Date: Thu, 2 Feb 2017 11:16:49 +0100
> +Subject: [PATCH] Fix build with --disable-nls on platforms without libintl
> + included in libc.
> +
> +Signed-off-by: Stefan S?rensen <stefan.sorensen@spectralink.com>
> +
> +---
> +
> +Status: accepted upstream, not yet released.
> +
> +diff --git a/src/pwmake.c b/src/pwmake.c
> +index 5b8cfb8..81f7cd3 100644
> +--- a/src/pwmake.c
> ++++ b/src/pwmake.c
> +@@ -33,9 +33,11 @@ main(int argc, char *argv[])
> + int bits;
> + void *auxerror;
> +
> ++#ifdef ENABLE_NLS
> + setlocale(LC_ALL, "");
> + bindtextdomain("libpwquality", "/usr/share/locale");
> + textdomain("libpwquality");
> ++#endif
> +
> + if (argc != 2) {
> + usage(basename(argv[0]));
> +diff --git a/src/pwscore.c b/src/pwscore.c
> +index 219a175..24c13f2 100644
> +--- a/src/pwscore.c
> ++++ b/src/pwscore.c
> +@@ -34,9 +34,11 @@ main(int argc, char *argv[])
> + size_t len;
> + char *user = NULL;
> +
> ++#ifdef ENABLE_NLS
> + setlocale(LC_ALL, "");
> + bindtextdomain("libpwquality", "/usr/share/locale");
> + textdomain("libpwquality");
> ++#endif
> +
> + if (argc > 2) {
> + usage(basename(argv[0]));
> +--
> +2.9.3
> +
> diff --git a/package/libpwquality/0002-Fix-memory-leak-in-settings-when-using-bad-word-list.patch b/package/libpwquality/0002-Fix-memory-leak-in-settings-when-using-bad-word-list.patch
> new file mode 100644
> index 0000000..1b4f242
> --- /dev/null
> +++ b/package/libpwquality/0002-Fix-memory-leak-in-settings-when-using-bad-word-list.patch
> @@ -0,0 +1,26 @@
> +From b1f2f1f71894fa0af92041fb4d5b6146101d63e5 Mon Sep 17 00:00:00 2001
> +From: =?UTF-8?q?Stefan=20S=C3=B8rensen?= <stefan.sorensen@spectralink.com>
> +Date: Thu, 2 Feb 2017 11:17:26 +0100
> +Subject: [PATCH] Fix memory leak in settings when using bad word list.
> +
> +Signed-off-by: Stefan S?rensen <stefan.sorensen@spectralink.com>
> +
> +---
> +
> +Status: accepted upstream, not yet released.
> +
> +diff --git a/src/settings.c b/src/settings.c
> +index 5c38b30..4b026b1 100644
> +--- a/src/settings.c
> ++++ b/src/settings.c
> +@@ -46,6 +46,7 @@ pwquality_free_settings(pwquality_settings_t *pwq)
> + {
> + if (pwq) {
> + free(pwq->dict_path);
> ++ free(pwq->bad_words);
> + free(pwq);
> + }
> + }
> +--
> +2.9.3
> +
> diff --git a/package/libpwquality/Config.in b/package/libpwquality/Config.in
> new file mode 100644
> index 0000000..4e85525
> --- /dev/null
> +++ b/package/libpwquality/Config.in
> @@ -0,0 +1,19 @@
> +config BR2_PACKAGE_LIBPWQUALITY
> + bool "libpwquality"
> + help
> + This is a library for password quality checks and generation
> + of random passwords that pass the checks. This library uses
> + the cracklib and cracklib dictionaries to perform some of
> + the checks.
> +
> + https://github.com/libpwquality/libpwquality
> +
> +if BR2_PACKAGE_LIBPWQUALITY
> +
> +config BR2_PACKAGE_LIBPWQUALITY_TOOLS
> + bool "install tools"
> + help
> + Install libpwquality command line tools generating/checking
> + passwords.
> +
> +endif
> diff --git a/package/libpwquality/libpwquality.hash b/package/libpwquality/libpwquality.hash
> new file mode 100644
> index 0000000..0e3f9e3
> --- /dev/null
> +++ b/package/libpwquality/libpwquality.hash
> @@ -0,0 +1,2 @@
> +# Locally calculated
> +sha256 74d2ea90e103323c1f2d6a6cc9617cdae6877573eddb31aaf31a40f354cc2d2a libpwquality-1.3.0.tar.bz2
> diff --git a/package/libpwquality/libpwquality.mk b/package/libpwquality/libpwquality.mk
> new file mode 100644
> index 0000000..4236ebd
> --- /dev/null
> +++ b/package/libpwquality/libpwquality.mk
> @@ -0,0 +1,32 @@
> +################################################################################
> +#
> +# libpwquality
> +#
> +################################################################################
> +
> +LIBPWQUALITY_VERSION = 1.3.0
> +LIBPWQUALITY_SOURCE = libpwquality-$(LIBPWQUALITY_VERSION).tar.bz2
> +LIBPWQUALITY_SITE = $(call github,libpwquality,libpwquality,$(LIBPWQUALITY_VERSION))
The github helper doesn't work when you want to download a release archive:
LIBPWQUALITY_SITE =
https://github.com/libpwquality/libpwquality/releases/download/libpwquality-$(LIBPWQUALITY_VERSION)
> +LIBPWQUALITY_LICENSE = BSD-3-Clause or GPL-2.0+
> +LIBPWQUALITY_INSTALL_STAGING = YES
> +LIBPWQUALITY_DEPENDENCIES = cracklib
> +LIBPWQUALITY_LICENSE_FILES = COPYING
> +
> +ifeq ($(BR2_PACKAGE_PYTHON),y)
> +LIBPWQUALITY_CONF_OPTS += --enable-python-bindings
> +LIBPWQUALITY_DEPENDENCIES += python
> +LIBPWQUALITY_MAKE_ENV += $(PKG_PYTHON_DISTUTILS_ENV)
> +else
> +LIBPWQUALITY_CONF_OPTS += --disable-python-bindings
> +endif
> +
> +ifeq ($(BR2_PACKAGE_LIBPWQUALITY_TOOLS),)
> +define LIBPWQUALITY_REMOVE_TOOLS
> + rm -f $(TARGET_DIR)/usr/bin/pwmake
> + rm -f $(TARGET_DIR)/usr/bin/pwscore
> +endef
Same remark as for clracklib. This can be done by a post install script.
Otherwise looks good.
Best regards,
Romain
> +
> +LIBPWQUALITY_POST_INSTALL_TARGET_HOOKS += LIBPWQUALITY_REMOVE_TOOLS
> +endif
> +
> +$(eval $(autotools-package))
>
^ permalink raw reply
* [Buildroot] [PATCH 1/1] package/kodi: fix typos for libva/libvdpau dependencies
From: Bernd Kuhls @ 2017-04-30 15:55 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/kodi/Config.in | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index 6bc81338a..d7b269245 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -240,25 +240,25 @@ config BR2_PACKAGE_KODI_LIBUSB
config BR2_PACKAGE_KODI_LIBVA
bool "va"
- depends on BR2_PACKAGE_KODI_EGL_GL
+ depends on BR2_PACKAGE_KODI_GL_EGL
depends on BR2_PACKAGE_XORG7
select BR2_PACKAGE_LIBVA
help
Enable libva support.
comment "libva support needs X.org with an openGL backend"
- depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_KODI_EGL_GL
+ depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_KODI_GL_EGL
config BR2_PACKAGE_KODI_LIBVDPAU
bool "vdpau"
- depends on BR2_PACKAGE_KODI_EGL_GL
+ depends on BR2_PACKAGE_KODI_GL_EGL
depends on BR2_PACKAGE_XORG7
select BR2_PACKAGE_LIBVDPAU
help
Enable libvdpau support.
comment "libvdpau support needs X.org with an openGL backend"
- depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_KODI_EGL_GL
+ depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_KODI_GL_EGL
config BR2_PACKAGE_KODI_UPNP
bool "upnp"
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH 1/1] ext2.mk: ensure -b option is always set for mke2img and genext2fs
From: Yann E. MORIN @ 2017-04-30 17:14 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1493555747-27289-1-git-send-email-g4@novadsp.com>
J, All,
On 2017-04-30 13:35 +0100, J Evans spake thusly:
> Signed-off-by: J Evans <g4@novadsp.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Thanks! :-)
Regards,
Yann E. MORIN.
> ---
> fs/ext2/ext2.mk | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/fs/ext2/ext2.mk b/fs/ext2/ext2.mk
> index 30f1d17..9d3e8fd 100644
> --- a/fs/ext2/ext2.mk
> +++ b/fs/ext2/ext2.mk
> @@ -6,9 +6,7 @@
>
> EXT2_OPTS = -G $(BR2_TARGET_ROOTFS_EXT2_GEN) -R $(BR2_TARGET_ROOTFS_EXT2_REV)
>
> -ifneq ($(strip $(BR2_TARGET_ROOTFS_EXT2_BLOCKS)),0)
> EXT2_OPTS += -b $(BR2_TARGET_ROOTFS_EXT2_BLOCKS)
> -endif
>
> ifneq ($(strip $(BR2_TARGET_ROOTFS_EXT2_INODES)),0)
> EXT2_OPTS += -i $(BR2_TARGET_ROOTFS_EXT2_INODES)
> --
> 2.7.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply
* [Buildroot] [PATCH 1/1] package/kodi: fix typos for libva/libvdpau dependencies
From: Yann E. MORIN @ 2017-04-30 17:15 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170430155540.21997-1-bernd.kuhls@t-online.de>
Bernd, All,
On 2017-04-30 17:55 +0200, Bernd Kuhls spake thusly:
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
> ---
> package/kodi/Config.in | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/package/kodi/Config.in b/package/kodi/Config.in
> index 6bc81338a..d7b269245 100644
> --- a/package/kodi/Config.in
> +++ b/package/kodi/Config.in
> @@ -240,25 +240,25 @@ config BR2_PACKAGE_KODI_LIBUSB
>
> config BR2_PACKAGE_KODI_LIBVA
> bool "va"
> - depends on BR2_PACKAGE_KODI_EGL_GL
> + depends on BR2_PACKAGE_KODI_GL_EGL
> depends on BR2_PACKAGE_XORG7
> select BR2_PACKAGE_LIBVA
> help
> Enable libva support.
>
> comment "libva support needs X.org with an openGL backend"
> - depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_KODI_EGL_GL
> + depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_KODI_GL_EGL
>
> config BR2_PACKAGE_KODI_LIBVDPAU
> bool "vdpau"
> - depends on BR2_PACKAGE_KODI_EGL_GL
> + depends on BR2_PACKAGE_KODI_GL_EGL
> depends on BR2_PACKAGE_XORG7
> select BR2_PACKAGE_LIBVDPAU
> help
> Enable libvdpau support.
>
> comment "libvdpau support needs X.org with an openGL backend"
> - depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_KODI_EGL_GL
> + depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_KODI_GL_EGL
>
> config BR2_PACKAGE_KODI_UPNP
> bool "upnp"
> --
> 2.11.0
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox