Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2] package: protobuf, python-protobuf: bump to v3.3.0
From: Mario Rugiero @ 2017-05-05 17:24 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <CAKKQwLSKh5LijFRDNDXmocqgxtgSk1Gt_8vh8wnFDbCPbtdZJg@mail.gmail.com>

>> You can reproduce this by using the following configuration:
>>
>> BR2_arm=y
>> BR2_TOOLCHAIN_EXTERNAL=y
>> BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
>> BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
>> BR2_TOOLCHAIN_EXTERNAL_URL="http://sources.buildroot.net/arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2"
>> BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="arm-none-linux-gnueabi"
>> BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
>> BR2_TOOLCHAIN_EXTERNAL_CXX=y
>> BR2_INIT_NONE=y
>> # BR2_PACKAGE_BUSYBOX is not set
>> BR2_PACKAGE_PROTOBUF=y
>> # BR2_TARGET_ROOTFS_TAR is not set
>>
>> Best regards,
>>
>> Thomas Petazzoni
>> --
>> Thomas Petazzoni, CTO, Free Electrons
>> Embedded Linux and Kernel engineering
>> http://free-electrons.com
> Thanks, I'll look into it.
I fixed that particular issue in my local copy, but fails because
Atomic32 is not supported in that toolchain.
Do you know if there is any similar toolchain with such support?
Otherwise, how should I fix that?

Regards,
Mario.

^ permalink raw reply

* [Buildroot] [git commit] lua-resty-http: new package
From: Peter Korsgaard @ 2017-05-05 14:34 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <CANxTyt6gexW1NkVmi9xgN-A86eO_6A2L8dv_nFwCwLmEYfM=Pg@mail.gmail.com>

>>>>> "Danomi" == Danomi Manchego <danomimanchego123@gmail.com> writes:

 >> We currently don't have any explicit handling of the nginx-lua
 >> module. You could conceptually do something with the 'nginx additional
 >> modules' (BR2_PACKAGE_NGINX_ADD_MODULES) option, but there's no
 >> guarantee that nginx builds after luajit.
 >> 
 >> I guess the proper solution would be to add an explicit nginx-lua
 >> module, similar to what we already have for nginx-dav-ext / nginx-naxsi
 >> / nginx-upload.

 > FWIW - that's what we did in our project - an "ngx_lua" package that
 > simply uses generic-package to download and untar the source, and an
 > addition to nginx.mk like this:

 > ifeq ($(BR2_PACKAGE_NGX_LUA),y)
 > NGINX_DEPENDENCIES += ngx_lua luainterpreter

ngx_lua (or nginx-lua to follow the naming convention) should probably
be responsible for pulling in luainterpreter, but OK.

> NGINX_CONF_OPTS += --add-module=$(NGX_LUA_DIR)
 > ifeq ($(BR2_PACKAGE_LUAJIT),y)
 > NGINX_CONF_ENV += LUAJIT_LIB=$(STAGING_DIR)/usr/lib
 > LUAJIT_INC=$(STAGING_DIR)/usr/include
 > endif
 > endif

 > But then we ended up not actually using ngx_lua at all.

Would you be interested in contributing (and maintaining) such a package
in BR?

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [PATCH v2 4/4] fix help text wrapping for configs d
From: Adam Duskett @ 2017-05-05 14:08 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170505140808.17696-1-aduskett@codeblue.com>

The check-package script when ran gives warnings on text wrapping
on all of these Config files.  This patch cleans up all warnings
related to the text wrapping for the Config files starting with
the letter d in the package directory.

The appropriate indentation is: <tab><2 spaces><62 chars>
See http://nightly.buildroot.org/#writing-rules-config-in for more
information.

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
---
v1 -> v2:
  - Added patch to series.

 package/dbus-triggerd/Config.in      |  4 ++--
 package/ddrescue/Config.in           |  6 +++---
 package/dialog/Config.in             |  7 ++++---
 package/directfb-examples/Config.in  |  6 +++---
 package/directfb/Config.in           | 12 +++++++-----
 package/dmalloc/Config.in            |  8 ++++----
 package/dmraid/Config.in             |  5 +++--
 package/dnsmasq/Config.in            |  3 ++-
 package/doom-wad/Config.in           |  6 ++++--
 package/dovecot-pigeonhole/Config.in |  6 +++---
 package/dovecot/Config.in            | 10 +++++-----
 package/dstat/Config.in              | 25 +++++++++++++------------
 package/dtach/Config.in              |  7 ++++---
 package/dtc/Config.in                | 12 +++++++-----
 package/dtc/Config.in.host           |  3 ++-
 package/dvbsnoop/Config.in           | 28 ++++++++++++++--------------
 package/dvdauthor/Config.in          | 11 ++++++-----
 17 files changed, 86 insertions(+), 73 deletions(-)

diff --git a/package/dbus-triggerd/Config.in b/package/dbus-triggerd/Config.in
index a39f911..331c414 100644
--- a/package/dbus-triggerd/Config.in
+++ b/package/dbus-triggerd/Config.in
@@ -4,8 +4,8 @@ config BR2_PACKAGE_DBUS_TRIGGERD
 	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
 	depends on BR2_PACKAGE_DBUS
 	help
-	  dbus-triggerd is a tool to trigger shell-commands upon receiving
-	  a given dbus-signal.
+	  dbus-triggerd is a tool to trigger shell-commands upon
+	  receiving a given dbus-signal.
 
 	  http://gareus.org/oss/dbustriggerd/start
 
diff --git a/package/ddrescue/Config.in b/package/ddrescue/Config.in
index 2ec3e7e..a58561c 100644
--- a/package/ddrescue/Config.in
+++ b/package/ddrescue/Config.in
@@ -2,9 +2,9 @@ config BR2_PACKAGE_DDRESCUE
 	bool "ddrescue"
 	depends on BR2_INSTALL_LIBSTDCPP
 	help
-	  GNU ddrescue is a data recovery tool. It copies data from one file
-	  or block device (hard disc, cdrom, etc) to another, trying to
-	  rescue the good parts first in case of read errors.
+	  GNU ddrescue is a data recovery tool. It copies data from one
+	  file or block device (hard disc, cdrom, etc) to another,
+	  trying to rescue the good parts first in case of read errors.
 
 	  http://www.gnu.org/software/ddrescue/ddrescue.html
 
diff --git a/package/dialog/Config.in b/package/dialog/Config.in
index 73b7176..830427e 100644
--- a/package/dialog/Config.in
+++ b/package/dialog/Config.in
@@ -6,8 +6,9 @@ config BR2_PACKAGE_DIALOG
 	help
 	  dialog - display dialog boxes from shell scripts
 
-	  This application provides a method of displaying several different
-	  types of dialog boxes from shell scripts. This allows a developer
-	  of a script to interact with the user in a much friendlier manner.
+	  This application provides a method of displaying several
+	  different types of dialog boxes from shell scripts. This
+	  allows a developer of a script to interact with the user in a
+	  much friendlier manner.
 
 	  http://invisible-island.net/dialog/dialog.html
diff --git a/package/directfb-examples/Config.in b/package/directfb-examples/Config.in
index eef9f5c..216e036 100644
--- a/package/directfb-examples/Config.in
+++ b/package/directfb-examples/Config.in
@@ -2,8 +2,8 @@ config BR2_PACKAGE_DIRECTFB_EXAMPLES
 	bool "directfb examples"
 	depends on BR2_PACKAGE_DIRECTFB
 	help
-	  The DirectFB-examples package contains a set of simple DirectFB
-	  applications that can be used to test and demonstrate various
-	  DirectFB features.
+	  The DirectFB-examples package contains a set of simple
+	  DirectFB applications that can be used to test and demonstrate
+	  various DirectFB features.
 
 	  http://directfb.org/downloads/Extras/README.DirectFB-examples
diff --git a/package/directfb/Config.in b/package/directfb/Config.in
index e3b53e0..554abe2 100644
--- a/package/directfb/Config.in
+++ b/package/directfb/Config.in
@@ -9,11 +9,13 @@ config BR2_PACKAGE_DIRECTFB
 	select BR2_PACKAGE_FREETYPE
 	select BR2_PACKAGE_ZLIB
 	help
-	  DirectFB (Direct Frame Buffer) is a set of graphics APIs implemented
-	  on top of the Linux Frame Buffer (fbdev) abstraction layer. It is an
-	  alternative to X11 with a smaller memory footprint that still has an
-	  integrated windowing system. As of 4 October 2015, DirectFB's website
-	  http://www.directfb.org/ is down. See alternative site listed below.
+	  DirectFB (Direct Frame Buffer) is a set of graphics APIs
+	  implemented on top of the Linux Frame Buffer (fbdev)
+	  abstraction layer. It is an alternative to X11 with a smaller
+	  memory footprint that still has an integrated windowing
+	  system. As of 4 October 2015, DirectFB's website
+	  http://www.directfb.org/ is down. See alternative site listed
+	  below.
 
 	  http://elinux.org/DirectFB
 
diff --git a/package/dmalloc/Config.in b/package/dmalloc/Config.in
index 03d9f97..e5be109 100644
--- a/package/dmalloc/Config.in
+++ b/package/dmalloc/Config.in
@@ -5,9 +5,9 @@ config BR2_PACKAGE_DMALLOC
 	# different segments".
 	depends on !(BR2_microblaze && BR2_ENABLE_DEBUG)
 	help
-	  A debug memory allocation library which is a drop in replacement for
-	  the system's malloc, realloc, calloc, free and other memory management
-	  routines while providing powerful debugging facilities configurable at
-	  runtime.
+	  A debug memory allocation library which is a drop in
+	  replacement for the system's malloc, realloc, calloc, free and
+	  other memory management routines while providing powerful
+	  debugging facilities configurable at runtime.
 
 	  http://dmalloc.com/
diff --git a/package/dmraid/Config.in b/package/dmraid/Config.in
index 583f3f2..da951b1 100644
--- a/package/dmraid/Config.in
+++ b/package/dmraid/Config.in
@@ -6,8 +6,9 @@ config BR2_PACKAGE_DMRAID
 	depends on !BR2_TOOLCHAIN_USES_MUSL # lvm2
 	select BR2_PACKAGE_LVM2
 	help
-	  dmraid discovers, activates, deactivates and displays properties
-	  of software RAID sets (eg, ATARAID) and contained DOS partitions.
+	  dmraid discovers, activates, deactivates and displays 
+	  properties of software RAID sets (eg, ATARAID) and contained
+	  DOS partitions.
 
 	  dmraid uses the Linux device-mapper to create devices with
 	  respective mappings for the ATARAID sets discovered.
diff --git a/package/dnsmasq/Config.in b/package/dnsmasq/Config.in
index b4f34b8..936b1de 100644
--- a/package/dnsmasq/Config.in
+++ b/package/dnsmasq/Config.in
@@ -34,7 +34,8 @@ config BR2_PACKAGE_DNSMASQ_IDN
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
 	help
 	  Enable IDN support in dnsmasq.
-	  This option is a big space taker since it pulls in many libraries.
+	  This option is a big space taker since it pulls in many
+	  libraries.
 
 config BR2_PACKAGE_DNSMASQ_LUA
 	bool "Lua scripting support"
diff --git a/package/doom-wad/Config.in b/package/doom-wad/Config.in
index edd299b..6f51cfb 100644
--- a/package/doom-wad/Config.in
+++ b/package/doom-wad/Config.in
@@ -2,6 +2,8 @@ config BR2_PACKAGE_DOOM_WAD
 	bool "shareware Doom WAD file"
 	depends on BR2_PACKAGE_CHOCOLATE_DOOM || BR2_PACKAGE_PRBOOM
 	help
-	  This will install the shareware wad data file for the doom game.
+	  This will install the shareware wad data file for the doom
+	  game.
 
-	  The wad file will be placed in the /usr/share/games/doom directory.
+	  The wad file will be placed in the /usr/share/games/doom
+	  directory.
diff --git a/package/dovecot-pigeonhole/Config.in b/package/dovecot-pigeonhole/Config.in
index 83f5287..bd6826b 100644
--- a/package/dovecot-pigeonhole/Config.in
+++ b/package/dovecot-pigeonhole/Config.in
@@ -1,8 +1,8 @@
 config BR2_PACKAGE_DOVECOT_PIGEONHOLE
 	bool "dovecot-pigeonhole"
 	help
-	  Pigeonhole is the name of the project that adds support for the Sieve
-	  language (RFC 5228) and the ManageSieve protocol (RFC 5804) to the
-	  Dovecot Secure IMAP Server.
+	  Pigeonhole is the name of the project that adds support for
+	  the Sieve language (RFC 5228) and the ManageSieve protocol
+	  (RFC 5804) to the Dovecot Secure IMAP Server.
 
 	  http://pigeonhole.dovecot.org
diff --git a/package/dovecot/Config.in b/package/dovecot/Config.in
index b93e09f..377fd4d 100644
--- a/package/dovecot/Config.in
+++ b/package/dovecot/Config.in
@@ -5,11 +5,11 @@ config BR2_PACKAGE_DOVECOT
 	select BR2_PACKAGE_OPENSSL
 	select BR2_PACKAGE_ZLIB
 	help
-	  Dovecot is an open source IMAP and POP3 email server for Linux/UNIX-
-	  like systems, written with security primarily in mind. Dovecot is an
-	  excellent choice for both small and large installations. It's fast,
-	  simple to set up, requires no special administration and it uses very
-	  little memory.
+	  Dovecot is an open source IMAP and POP3 email server for
+	  Linux/UNIX- like systems, written with security primarily in
+	  mind. Dovecot is an excellent choice for both small and large
+	  installations. It's fast, simple to set up, requires no
+	  special administration and it uses very little memory.
 
 	  http://www.dovecot.org
 
diff --git a/package/dstat/Config.in b/package/dstat/Config.in
index 6536a5e..110aee8 100644
--- a/package/dstat/Config.in
+++ b/package/dstat/Config.in
@@ -6,19 +6,20 @@ config BR2_PACKAGE_DSTAT
 	depends on !BR2_STATIC_LIBS # python
 	select BR2_PACKAGE_PYTHON
 	help
-	  Dstat, written in Python, is a versatile replacement for vmstat,
-	  iostat, netstat and ifstat. Dstat overcomes some of their limitations
-	  and adds some extra features, more counters and flexibility. Dstat is
-	  handy for monitoring systems during performance tuning tests,
-	  benchmarks or troubleshooting.
-	  Dstat allows you to view all of your system resources in real-time,
-	  you can e.g. compare disk utilization in combination with interrupts
-	  from your IDE controller, or compare the network bandwidth numbers
-	  directly with the disk throughput (in the same interval).
+	  Dstat, written in Python, is a versatile replacement for
+	  vmstat, iostat, netstat and ifstat. Dstat overcomes some of
+	  their limitations and adds some extra features, more counters
+	  and flexibility. Dstat is handy for monitoring systems during
+	  performance tuning tests, benchmarks or troubleshooting.
+	  Dstat allows you to view all of your system resources in
+	  real-time, you can e.g. compare disk utilization in
+	  combination with interrupts from your IDE controller, or
+	  compare the network bandwidth numbers directly with the disk
+	  throughput (in the same interval).
 
-	  Note that to get proper output, your terminal size should be known by
-	  the termios subsystem. This can be done by running the 'resize'
-	  utility of busybox.
+	  Note that to get proper output, your terminal size should be
+	  known by the termios subsystem. This can be done by running
+	  the 'resize' utility of busybox.
 
 	  http://dag.wieers.com/home-made/dstat/
 
diff --git a/package/dtach/Config.in b/package/dtach/Config.in
index bea112b..3e6e493 100644
--- a/package/dtach/Config.in
+++ b/package/dtach/Config.in
@@ -2,8 +2,9 @@ config BR2_PACKAGE_DTACH
 	bool "dtach"
 	depends on BR2_USE_MMU # fork()
 	help
-	  dtach is a tiny program that emulates the detach feature of screen,
-	  allowing you to run a program in an environment that is protected
-	  from the controlling terminal and attach to it later.
+	  dtach is a tiny program that emulates the detach feature of
+	  screen, allowing you to run a program in an environment that
+	  is protected from the controlling terminal and attach to it
+	  later.
 
 	  http://dtach.sourceforge.net/
diff --git a/package/dtc/Config.in b/package/dtc/Config.in
index 39223f7..c3482e6 100644
--- a/package/dtc/Config.in
+++ b/package/dtc/Config.in
@@ -6,7 +6,8 @@ config BR2_PACKAGE_DTC
 	  a given format and outputs a device-tree in another format.
 
 	  Note that only the library is installed.
-	  If you want the programs, say 'y' here, and to "dtc programs", below.
+	  If you want the programs, say 'y' here, and to "dtc programs",
+	  below.
 
 	  https://git.kernel.org/cgit/utils/dtc/dtc.git
 
@@ -19,13 +20,14 @@ config BR2_PACKAGE_DTC_PROGRAMS
 	    - convert-dtsv0     convert from version 0 to version 1
 	    - dtc               the device tree compiler
 	    - dtdiff            compare two device trees (needs bash)
-	    - fdtdump           print a readable version of a flat device tree
+	    - fdtdump           print a readable version of a 
+	                        flat device tree
 	    - fdtget            read values from device tree
 	    - fdtput            write a property value to a device tree
 
-	  Note: dtdiff requires bash, so if bash is not selected, dtdiff will
-	        be removed from the target file system. Enable bash if you
-	        need dtdiff on the target.
+	  Note: dtdiff requires bash, so if bash is not selected, dtdiff
+	  will be removed from the target file system. Enable bash if
+	  you need dtdiff on the target.
 
 comment "dtdiff will not be installed: it requires bash"
 	depends on BR2_PACKAGE_DTC_PROGRAMS
diff --git a/package/dtc/Config.in.host b/package/dtc/Config.in.host
index cbabf0a..f80a49b 100644
--- a/package/dtc/Config.in.host
+++ b/package/dtc/Config.in.host
@@ -4,6 +4,7 @@ config BR2_PACKAGE_HOST_DTC
 	  The Device Tree Compiler, dtc, takes as input a device-tree in
 	  a given format and outputs a device-tree in another format.
 
-	  Install host tools: dtc, convert-dtsv0, fdtdump, fdtget and fdtput.
+	  Install host tools: dtc, convert-dtsv0, fdtdump, fdtget and
+	  fdtput.
 
 	  https://git.kernel.org/cgit/utils/dtc/dtc.git
diff --git a/package/dvbsnoop/Config.in b/package/dvbsnoop/Config.in
index fc34c34..fb63fa4 100644
--- a/package/dvbsnoop/Config.in
+++ b/package/dvbsnoop/Config.in
@@ -1,21 +1,21 @@
 config BR2_PACKAGE_DVBSNOOP
 	bool "dvbsnoop"
 	help
-	  Dvbsnoop is just a simple tool to analyze, view or debug a transport
-	  stream (TS), program elementary stream (PES) or even a program stream
-	  (PS). Dvbsnoop is trying to get input mostly direct from a frontend
-	  (satellite or cable tuner inside a set-top box for example) via DVB
-	  APIv3 to view into a TS, or a demux to view PES or PS (also mostly
-	  inside the set-top box or even PCI Card or USB Plug) but also from a
-	  file (recorded TS).
-	  Dvbsnoop is working well on SD transport streams but may have some
-	  limited functionality on HD transport streams (DVB-{C,S,T}2 because
-	  of missing knowledge how to handle it.
+	  Dvbsnoop is just a simple tool to analyze, view or debug a
+	  transport stream (TS), program elementary stream (PES) or even
+	  a program stream (PS). Dvbsnoop is trying to get input mostly
+	  direct from a frontend (satellite or cable tuner inside a
+	  set-top box for example) via DVB APIv3 to view into a TS, or a
+	  demux to view PES or PS (also mostly inside the set-top box or
+	  even PCI Card or USB Plug) but also from a file (recorded TS).
+	  Dvbsnoop is working well on SD transport streams but may have
+	  some limited functionality on HD transport streams
+	  (DVB-{C,S,T}2 because of missing knowledge how to handle it.
 
-	  Dvbsnoop itself doesn't do the tuning on the frontend, this has to be
-	  done by external helpers or manually driver call.
-	  The dvbsnoop tool was written while developing the software Neutrino
-	  on the set-top box DBox2.
+	  Dvbsnoop itself doesn't do the tuning on the frontend, this
+	  has to be done by external helpers or manually driver call.
+	  The dvbsnoop tool was written while developing the software
+	  Neutrino on the set-top box DBox2.
 
 	  http://dvbsnoop.sourceforge.net
 	  http://en.wikipedia.org/wiki/DBox2
diff --git a/package/dvdauthor/Config.in b/package/dvdauthor/Config.in
index 8b2bcb3..9ba5411 100644
--- a/package/dvdauthor/Config.in
+++ b/package/dvdauthor/Config.in
@@ -4,11 +4,12 @@ config BR2_PACKAGE_DVDAUTHOR
 	select BR2_PACKAGE_FREETYPE
 	select BR2_PACKAGE_LIBPNG
 	help
-	  DVDAuthor is a set of tools to help you author the file and directory
-	  structure of a DVD-Video disc, including programmatic commands for
-	  implementing interactive behaviour. It is driven by command lines and
-	  XML control files, though there are other programs that provide
-	  GUI-based front ends if you prefer
+	  DVDAuthor is a set of tools to help you author the file and
+	  directory structure of a DVD-Video disc, including
+	  programmatic commands for implementing interactive behaviour.
+	  It is driven by command lines and XML control files, though
+	  there are other programs that provide GUI-based front ends
+	  if you prefer
 
 	  http://dvdauthor.sourceforge.net
 
-- 
2.9.3

^ permalink raw reply related

* [Buildroot] [PATCH v2 3/4] fix help text wrapping for configs c
From: Adam Duskett @ 2017-05-05 14:08 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170505140808.17696-1-aduskett@codeblue.com>

The check-package script when ran gives warnings on text wrapping
on all of these Config files.  This patch cleans up all warnings
related to the text wrapping for the Config files starting with
the letter c in the package directory.

The appropriate indentation is: <tab><2 spaces><62 chars>
See http://nightly.buildroot.org/#writing-rules-config-in for more
information.

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
---
v1 -> v2:
  - Added patch to series.

 package/ca-certificates/Config.in |  3 ++-
 package/canfestival/Config.in     | 10 ++++----
 package/ccrypt/Config.in          |  3 ++-
 package/cegui06/Config.in         | 12 +++++-----
 package/celt051/Config.in         |  8 +++----
 package/cjson/Config.in           |  4 ++--
 package/clamav/Config.in          |  4 ++--
 package/clapack/Config.in         |  9 +++----
 package/collectd/Config.in        | 50 +++++++++++++++++++++++----------------
 package/cppdb/Config.in           |  7 +++---
 package/cpuload/Config.in         |  7 +++---
 package/crda/Config.in            |  4 ++--
 package/cryptodev/Config.in       |  4 ++--
 package/curlftpfs/Config.in       |  4 ++--
 package/cvs/Config.in             |  3 ++-
 package/cwiid/Config.in           |  4 ++--
 16 files changed, 76 insertions(+), 60 deletions(-)

diff --git a/package/ca-certificates/Config.in b/package/ca-certificates/Config.in
index a278a62..6bb7182 100644
--- a/package/ca-certificates/Config.in
+++ b/package/ca-certificates/Config.in
@@ -6,6 +6,7 @@ config BR2_PACKAGE_CA_CERTIFICATES
 	  connections.
 
 	  It includes, among others, certificate authorities used by the
-	  Debian infrastructure and those shipped with Mozilla's browsers.
+	  Debian infrastructure and those shipped with Mozilla's
+	  browsers.
 
 	  http://anonscm.debian.org/gitweb/?p=collab-maint/ca-certificates.git
diff --git a/package/canfestival/Config.in b/package/canfestival/Config.in
index ca94956..8300e26 100644
--- a/package/canfestival/Config.in
+++ b/package/canfestival/Config.in
@@ -16,8 +16,8 @@ config BR2_PACKAGE_CANFESTIVAL
 	depends on !BR2_STATIC_LIBS
 	help
 	  CanFestival is an OpenSource CANOpen framework, licensed under
-	  LGPLv2.1 and GPLv2 for some drivers (virtual_kernel, lincan and
-	  copcican_comedi).
+	  LGPLv2.1 and GPLv2 for some drivers (virtual_kernel, lincan
+	  and copcican_comedi).
 
 	  http://www.canfestival.org
 
@@ -78,9 +78,9 @@ config BR2_PACKAGE_CANFESTIVAL_DRIVER
 config BR2_PACKAGE_CANFESTIVAL_ADDITIONAL_OPTIONS
 	string "additional configure options"
 	help
-	  Additional options can be passed directly to the configure script
-	  (e.g.: --MAX_CAN_BUS_ID=..., --SDO_MAX_LENGTH_TRANSFER=...,
-	  --SDO_BLOCK_SIZE=...).
+	  Additional options can be passed directly to the configure
+	  script (e.g.: --MAX_CAN_BUS_ID=...,
+	  --SDO_MAX_LENGTH_TRANSFER=..., --SDO_BLOCK_SIZE=...).
 
 config BR2_PACKAGE_CANFESTIVAL_INSTALL_EXAMPLES
 	bool "install examples"
diff --git a/package/ccrypt/Config.in b/package/ccrypt/Config.in
index ef5a7ee..109271a 100644
--- a/package/ccrypt/Config.in
+++ b/package/ccrypt/Config.in
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_CCRYPT
 	bool "ccrypt"
 	help
-	  ccrypt is a utility for encrypting and decrypting files and streams.
+	  ccrypt is a utility for encrypting and decrypting files and
+	  streams.
 
 	  http://ccrypt.sourceforge.net/
diff --git a/package/cegui06/Config.in b/package/cegui06/Config.in
index e6a024a..0139d32 100644
--- a/package/cegui06/Config.in
+++ b/package/cegui06/Config.in
@@ -10,11 +10,11 @@ config BR2_PACKAGE_CEGUI06
 	select BR2_PACKAGE_FREETYPE
 	select BR2_PACKAGE_PCRE
 	help
-	  Crazy Eddie's GUI System is a free library providing windowing and
-	  widgets for graphics APIs / engines where such functionality is not
-	  natively available, or severely lacking. The library is object
-	  orientated, written in C++, and targeted at games developers who
-	  should be spending their time creating great games, not building
-	  GUI sub-systems!
+	  Crazy Eddie's GUI System is a free library providing windowing
+	  and widgets for graphics APIs / engines where such
+	  functionality is not natively available, or severely lacking.
+	  The library is object orientated, written in C++, and targeted
+	  at games developers who should be spending their time creating
+	  great games, not building GUI sub-systems!
 
 	  http://www.cegui.org.uk/
diff --git a/package/celt051/Config.in b/package/celt051/Config.in
index 035e262..e151319 100644
--- a/package/celt051/Config.in
+++ b/package/celt051/Config.in
@@ -5,10 +5,10 @@ config BR2_PACKAGE_CELT051
 	  The CELT ultra-low delay audio codec
 
 	  The CELT codec is a compression algorithm for audio. Like MP3,
-	  Vorbis, and AAC it is suitable for transmitting music with high
-	  quality. Unlike these formats CELT imposes very little delay on
-	  the signal, even less than is typical for speech centric formats
-	  like Speex, GSM, or G.729.
+	  Vorbis, and AAC it is suitable for transmitting music with
+	  high quality. Unlike these formats CELT imposes very little
+	  delay on the signal, even less than is typical for speech
+	  centric formats like Speex, GSM, or G.729.
 
 	  Note: this is version 0.5.1.3 of celt.
 
diff --git a/package/cjson/Config.in b/package/cjson/Config.in
index 04eff4c..ee18fce 100644
--- a/package/cjson/Config.in
+++ b/package/cjson/Config.in
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_CJSON
 	bool "cJSON"
 	help
-	  An ultra-lightweight, portable, single-file, simple-as-can-be ANSI-C
-	  compliant JSON parser, under MIT license.
+	  An ultra-lightweight, portable, single-file, simple-as-can-be
+	  ANSI-C compliant JSON parser, under MIT license.
 
 	  https://github.com/DaveGamble/cJSON
diff --git a/package/clamav/Config.in b/package/clamav/Config.in
index 051df0d..a962103 100644
--- a/package/clamav/Config.in
+++ b/package/clamav/Config.in
@@ -7,8 +7,8 @@ config BR2_PACKAGE_CLAMAV
 	select BR2_PACKAGE_OPENSSL
 	select BR2_PACKAGE_ZLIB
 	help
-	  ClamAV is an open source antivirus engine for detecting trojans,
-	  viruses, malware & other malicious threats.
+	  ClamAV is an open source antivirus engine for detecting
+	  trojans, viruses, malware & other malicious threats.
 
 	  http://www.clamav.net
 
diff --git a/package/clapack/Config.in b/package/clapack/Config.in
index 7d1f940..e5be0b6 100644
--- a/package/clapack/Config.in
+++ b/package/clapack/Config.in
@@ -23,10 +23,11 @@ config BR2_PACKAGE_CLAPACK_ARITH_H
 	string "Custom BLAS arith.h"
 	depends on BR2_PACKAGE_CLAPACK
 	help
-	  To optimize BLAS library for the hardware, an 'arith.h' header should
-	  be provided.
+	  To optimize BLAS library for the hardware, an 'arith.h' header
+	  should be provided.
 
 	  If empty, the library will not be optimized by the compiler.
 
-	  In any case an 'arithchk' program is built (but not installed), to be run
-	  on the target to generate this arith.h header.
+	  In any case an 'arithchk' program is built
+	  (but not installed), to be run on the target to generate this
+	  arith.h header.
diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index 47bfe95..3921d7c 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -89,8 +89,8 @@ config BR2_PACKAGE_COLLECTD_SYSLOG
 config BR2_PACKAGE_COLLECTD_THRESHOLD
 	bool "threshold"
 	help
-	  Checks values against configured thresholds and creates notifications
-	  if values are out of bounds.
+	  Checks values against configured thresholds and creates
+	  notifications if values are out of bounds.
 
 endmenu
 
@@ -140,17 +140,20 @@ config BR2_PACKAGE_COLLECTD_CGROUPS
 config BR2_PACKAGE_COLLECTD_CONNTRACK
 	bool "conntrack"
 	help
-	  Collects the number of entries in Linux's connection tracking table.
+	  Collects the number of entries in Linux's connection tracking
+	  table.
 
 config BR2_PACKAGE_COLLECTD_CONTEXTSWITCH
 	bool "contextswitch"
 	help
-	  Collects the number of context switches done by the operating system.
+	  Collects the number of context switches done by the operating
+	  system.
 
 config BR2_PACKAGE_COLLECTD_CPU
 	bool "cpu"
 	help
-	  Collects the amount of time spent by the CPU in various states.
+	  Collects the amount of time spent by the CPU in various
+	  states.
 
 config BR2_PACKAGE_COLLECTD_CPUFREQ
 	bool "cpufreq"
@@ -229,7 +232,8 @@ config BR2_PACKAGE_COLLECTD_FHCOUNT
 config BR2_PACKAGE_COLLECTD_FILECOUNT
 	bool "filecount"
 	help
-	  Counts the number of files in a directory and all its subdirectories.
+	  Counts the number of files in a directory and all its
+	  subdirectories.
 
 config BR2_PACKAGE_COLLECTD_FSCACHE
 	bool "fscache"
@@ -323,7 +327,8 @@ config BR2_PACKAGE_COLLECTD_MYSQL
 	depends on BR2_TOOLCHAIN_HAS_THREADS # mysql
 	select BR2_PACKAGE_MYSQL
 	help
-	  Connects to a MySQL database and issues a "show status" command.
+	  Connects to a MySQL database and issues a "show status"
+	  command.
 
 config BR2_PACKAGE_COLLECTD_NETLINK
 	bool "netlink"
@@ -334,7 +339,8 @@ config BR2_PACKAGE_COLLECTD_NETLINK
 config BR2_PACKAGE_COLLECTD_NFS
 	bool "nfs"
 	help
-	  Collects information about the usage of the Network File System.
+	  Collects information about the usage of the Network File
+	  System.
 
 config BR2_PACKAGE_COLLECTD_NGINX
 	bool "nginx"
@@ -358,7 +364,8 @@ config BR2_PACKAGE_COLLECTD_OPENLDAP
 	depends on BR2_USE_WCHAR
 	select BR2_PACKAGE_OPENLDAP
 	help
-	  Read monitoring information from OpenLDAP's cn=Monitor subtree.
+	  Read monitoring information from OpenLDAP's cn=Monitor
+	  subtree.
 
 comment "openldap support needs a toolchain w/ wchar"
 	depends on !BR2_USE_WCHAR
@@ -409,8 +416,8 @@ config BR2_PACKAGE_COLLECTD_SMART
 	depends on BR2_PACKAGE_HAS_UDEV # libatasmart
 	select BR2_PACKAGE_LIBATASMART
 	help
-	  Collect SMART statistics, notably load cycle count, temperature
-	  and bad sectors.
+	  Collect SMART statistics, notably load cycle count,
+	  temperature and bad sectors.
 
 comment "SMART requires udev to be enabled"
 	depends on !BR2_PACKAGE_HAS_UDEV
@@ -445,8 +452,8 @@ config BR2_PACKAGE_COLLECTD_TAIL
 config BR2_PACKAGE_COLLECTD_TAIL_CSV
 	bool "tail csv"
 	help
-	  Follows (tails) files in CSV format, parses each line and submits
-	  extracted values.
+	  Follows (tails) files in CSV format, parses each line and 
+	  submits extracted values.
 
 config BR2_PACKAGE_COLLECTD_TCPCONNS
 	bool "tcpconns"
@@ -516,7 +523,8 @@ comment "Select at least one for collectd to be useful"
 config BR2_PACKAGE_COLLECTD_CSV
 	bool "csv"
 	help
-	  Writes values to a plain-text file in Comma Separated Values format.
+	  Writes values to a plain-text file in Comma Separated Values
+	  format.
 
 config BR2_PACKAGE_COLLECTD_GRAPHITE
 	bool "graphite"
@@ -554,7 +562,8 @@ config BR2_PACKAGE_COLLECTD_RIEMANN
 	select BR2_PACKAGE_RIEMANN_C_CLIENT
 	select BR2_PACKAGE_LIBTOOL
 	help
-	  Sends data to Riemann, a stream processing and monitoring system.
+	  Sends data to Riemann, a stream processing and monitoring
+	  system.
 
 config BR2_PACKAGE_COLLECTD_UNIXSOCK
 	bool "unixsock"
@@ -566,7 +575,8 @@ config BR2_PACKAGE_COLLECTD_WRITEHTTP
 	bool "write_http"
 	select BR2_PACKAGE_LIBCURL
 	help
-	  Sends values collected to a web-server using HTTP POST and PUTVAL.
+	  Sends values collected to a web-server using HTTP POST and
+	  PUTVAL.
 
 config BR2_PACKAGE_COLLECTD_WRITELOG
 	bool "write_log"
@@ -590,14 +600,14 @@ comment "write_prometheus needs a toolchain w/ C++"
 config BR2_PACKAGE_COLLECTD_WRITESENSU
 	bool "write_sensu"
 	help
-	  Sends data to Sensu, a stream processing and monitoring system,
-	  via the Sensu client local TCP socket.
+	  Sends data to Sensu, a stream processing and monitoring
+	  system, via the Sensu client local TCP socket.
 
 config BR2_PACKAGE_COLLECTD_WRITETSDB
 	bool "write_tsdb"
 	help
-	  Sends data OpenTSDB, a scalable no master, no shared state time
-	  series database.
+	  Sends data OpenTSDB, a scalable no master, no shared state
+	  time series database.
 
 endmenu
 
diff --git a/package/cppdb/Config.in b/package/cppdb/Config.in
index 9037a7a..ceff0ab 100644
--- a/package/cppdb/Config.in
+++ b/package/cppdb/Config.in
@@ -7,9 +7,10 @@ config BR2_PACKAGE_CPPDB
 	# Can be built without them but it's useless
 	depends on BR2_PACKAGE_MYSQL || BR2_PACKAGE_POSTGRESQL || BR2_PACKAGE_SQLITE
 	help
-	  CppDB is an SQL connectivity library that is designed to provide
-	  platform and Database independent connectivity API similarly
-	  to what JDBC, ODBC and other connectivity libraries do.
+	  CppDB is an SQL connectivity library that is designed to
+	  provide platform and Database independent connectivity API
+	  similarly to what JDBC, ODBC and other connectivity libraries
+	  do.
 
 	  http://cppcms.com/sql/cppdb/
 
diff --git a/package/cpuload/Config.in b/package/cpuload/Config.in
index 82bc450..9a7b4e9 100644
--- a/package/cpuload/Config.in
+++ b/package/cpuload/Config.in
@@ -1,8 +1,9 @@
 config BR2_PACKAGE_CPULOAD
 	bool "cpuload"
 	help
-	  cpuload is a simple tool to obtain intuitive vision of CPU load
-	  (including total, user, system, irq and softirq) within a certain
-	  time, which is especially useful for embedded system without GUI.
+	  cpuload is a simple tool to obtain intuitive vision of CPU
+	  load (including total, user, system, irq and softirq) within a
+	  certain time, which is especially useful for embedded system
+	  without GUI.
 
 	  https://github.com/kelvincheung/cpuload
diff --git a/package/crda/Config.in b/package/crda/Config.in
index 2cb0403..b9a2613 100644
--- a/package/crda/Config.in
+++ b/package/crda/Config.in
@@ -12,8 +12,8 @@ config BR2_PACKAGE_CRDA
 
 	  This package provides a Central Regulatory Domain Agent (CRDA)
 	  to be used by the Linux kernel cf80211 wireless subsystem to
-	  query and apply the regulatory domain settings wireless devices
-	  may operate within for a given location.
+	  query and apply the regulatory domain settings wireless
+	  devices may operate within for a given location.
 
 	  http://linuxwireless.org/en/developers/Regulatory/CRDA
 
diff --git a/package/cryptodev/Config.in b/package/cryptodev/Config.in
index 9f9df02..d1e6449 100644
--- a/package/cryptodev/Config.in
+++ b/package/cryptodev/Config.in
@@ -31,8 +31,8 @@ config BR2_PACKAGE_OCF_LINUX
 	select BR2_PACKAGE_HAS_CRYPTODEV
 	help
 	  OCF-Linux is a Linux port of the OpenBSD/FreeBSD Cryptographic
-	  Framework (OCF). This port aims to bring full asynchronous HW/SW
-	  crypto acceleration to the Linux kernel and applications
+	  Framework (OCF). This port aims to bring full asynchronous
+	  HW/SW crypto acceleration to the Linux kernel and applications
 	  running under Linux.
 
 	  http://ocf-linux.sourceforge.net/
diff --git a/package/curlftpfs/Config.in b/package/curlftpfs/Config.in
index c2d591a..986faf1 100644
--- a/package/curlftpfs/Config.in
+++ b/package/curlftpfs/Config.in
@@ -11,8 +11,8 @@ config BR2_PACKAGE_CURLFTPFS
 	select BR2_PACKAGE_OPENSSL
 	select BR2_PACKAGE_LIBCURL
 	help
-	  CurlFtpFS is a filesystem for accessing FTP hosts based on FUSE
-	  and libcurl.
+	  CurlFtpFS is a filesystem for accessing FTP hosts based on
+	  FUSE and libcurl.
 
 	  http://curlftpfs.sourceforge.net/
 
diff --git a/package/cvs/Config.in b/package/cvs/Config.in
index 0036961..e8f0606 100644
--- a/package/cvs/Config.in
+++ b/package/cvs/Config.in
@@ -5,7 +5,8 @@ config BR2_PACKAGE_CVS
 	depends on BR2_USE_MMU
 	select BR2_PACKAGE_NCURSES
 	help
-	  Concurrent Versions System - source code revision control tools.
+	  Concurrent Versions System - source code revision control
+	  tools.
 
 	  http://www.nongnu.org/cvs/
 
diff --git a/package/cwiid/Config.in b/package/cwiid/Config.in
index 03b7dbb..50c05eb 100644
--- a/package/cwiid/Config.in
+++ b/package/cwiid/Config.in
@@ -6,8 +6,8 @@ config BR2_PACKAGE_CWIID
 	depends on BR2_USE_MMU # bluez_utils -> dbus, libglib2
 	select BR2_PACKAGE_BLUEZ_UTILS
 	help
-	  A collection of Linux tools written in C for interfacing to the
-	  Nintendo Wiimote.
+	  A collection of Linux tools written in C for interfacing to
+	  the Nintendo Wiimote.
 
 	  http://abstrakraft.org/cwiid/
 
-- 
2.9.3

^ permalink raw reply related

* [Buildroot] [PATCH v2 2/4] fix help text wrapping for configs b
From: Adam Duskett @ 2017-05-05 14:08 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170505140808.17696-1-aduskett@codeblue.com>

The check-package script when ran gives warnings on text wrapping
on all of these Config files.  This patch cleans up all warnings
related to the text wrapping for the Config files starting with
the letter b in the package directory.

The appropriate indentation is: <tab><2 spaces><62 chars>
See http://nightly.buildroot.org/#writing-rules-config-in for more
information.

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
---
v1 -> v2:
  - Added patch to series.

 package/babeld/Config.in       |  4 ++--
 package/batman-adv/Config.in   |  3 ++-
 package/bc/Config.in           |  9 +++++----
 package/bcache-tools/Config.in |  9 +++++----
 package/berkeleydb/Config.in   |  7 ++++---
 package/bind/Config.in         | 15 +++++++++------
 package/biosdevname/Config.in  | 12 ++++++------
 package/bluez5_utils/Config.in |  3 ++-
 package/bluez_utils/Config.in  |  5 +++--
 package/bmon/Config.in         |  4 ++--
 package/bootutils/Config.in    |  8 ++++----
 package/bridge-utils/Config.in |  4 ++--
 package/busybox/Config.in      | 12 +++++++-----
 13 files changed, 53 insertions(+), 42 deletions(-)

diff --git a/package/babeld/Config.in b/package/babeld/Config.in
index 5d08c08..c7010e1 100644
--- a/package/babeld/Config.in
+++ b/package/babeld/Config.in
@@ -2,7 +2,7 @@ config BR2_PACKAGE_BABELD
 	bool "babeld"
 	depends on BR2_USE_MMU # fork()
 	help
-	  Babel is a loop-avoiding distance-vector routing protocol for IPv6
-	  and IPv4 with fast convergence properties.
+	  Babel is a loop-avoiding distance-vector routing protocol for
+	  IPv6 and IPv4 with fast convergence properties.
 
 	  http://www.pps.univ-paris-diderot.fr/~jch/software/babel/
diff --git a/package/batman-adv/Config.in b/package/batman-adv/Config.in
index fbef0d8..9d3d796 100644
--- a/package/batman-adv/Config.in
+++ b/package/batman-adv/Config.in
@@ -28,7 +28,8 @@ config BR2_PACKAGE_BATMAN_ADV_BATMAN_V
 	bool "enable B.A.T.M.A.N. V protocol (experimental)"
 	help
 	  Enables B.A.T.M.A.N. V network protocol.
-	  This is the next-gen protocol and is experimental at this time.
+	  This is the next-gen protocol and is experimental at this
+	  time.
 
 	  https://www.open-mesh.org/projects/batman-adv/wiki/BATMAN_V
 
diff --git a/package/bc/Config.in b/package/bc/Config.in
index a28978d..54c4422 100644
--- a/package/bc/Config.in
+++ b/package/bc/Config.in
@@ -6,9 +6,10 @@ config BR2_PACKAGE_BC
 	  areas. It supports interactive execution of statements. 'Bc'
 	  is a utility included in the POSIX P1003.2/D11 draft standard.
 	  This version does not use the historical method of having bc
-	  be a compiler for the dc calculator (the POSIX document doesn't
-	  specify how bc must be implemented). This version has a single
-	  executable that both compiles the language and runs the resulting
-	  'byte code.' The byte code is not the dc language.
+	  be a compiler for the dc calculator (the POSIX document
+	  doesn't specify how bc must be implemented).
+	  This version has a single executable that both compiles the
+	  language and runs the resulting 'byte code.' The byte code is
+	  not the dc language.
 
 	  http://www.gnu.org/software/bc
diff --git a/package/bcache-tools/Config.in b/package/bcache-tools/Config.in
index 7e6319b..c8e3f6d 100644
--- a/package/bcache-tools/Config.in
+++ b/package/bcache-tools/Config.in
@@ -7,13 +7,14 @@ config BR2_PACKAGE_BCACHE_TOOLS
 	select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
 	help
 	  Bcache is a Linux kernel block layer cache. It allows one or
-	  more fast disk drives such as flash-based solid state drives (SSDs)
-	  to act as a cache for one or more slower hard disk drives.
+	  more fast disk drives such as flash-based solid state drives
+	  (SSDs) to act as a cache for one or more slower hard disk
+	  drives.
 
 	  http://bcache.evilpiepirate.org/
 
-	  This is the user space bcache tools, required to setup the linux
-	  bcache feature of the Linux kernel.
+	  This is the user space bcache tools, required to setup the
+	  linux bcache feature of the Linux kernel.
 
 comment "bcache-tools needs udev /dev management"
 	depends on BR2_USE_MMU
diff --git a/package/berkeleydb/Config.in b/package/berkeleydb/Config.in
index 5531b04..f32d13a 100644
--- a/package/berkeleydb/Config.in
+++ b/package/berkeleydb/Config.in
@@ -1,8 +1,8 @@
 config BR2_PACKAGE_BERKELEYDB
 	bool "berkeleydb"
 	help
-	  The Berkeley database. A very common library for database
-	  applications.
+	  The Berkeley database. A very common library for
+	  database applications.
 
 	  http://www.sleepycat.com/products/db.shtml
 
@@ -16,6 +16,7 @@ config BR2_PACKAGE_BERKELEYDB_COMPAT185
 config BR2_PACKAGE_BERKELEYDB_TOOLS
 	bool "install tools"
 	help
-	  Install berkeleydb tools, mostly useful for debugging purposes.
+	  Install berkeleydb tools, mostly useful for debugging
+	  purposes.
 
 endif
diff --git a/package/bind/Config.in b/package/bind/Config.in
index a580f0e..049a90c 100644
--- a/package/bind/Config.in
+++ b/package/bind/Config.in
@@ -4,14 +4,16 @@ config BR2_PACKAGE_BIND
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on !BR2_STATIC_LIBS
 	help
-	  BIND (Berkeley Internet Name Domain) is an implementation of
-	  the Domain Name System (DNS) protocols and provides an openly
-	  redistributable reference implementation of the major
-	  components of the Domain Name System, including:
+	  BIND (Berkeley Internet Name Domain) is an
+	  implementation of the Domain Name System (DNS) protocols
+	  and provides an openly redistributable reference
+	  implementation of the major components of the Domain
+	  Name System, including:
 
 	    * a Domain Name System server (named)
 	    * a Domain Name System resolver library
-	    * tools for verifying the proper operation of the DNS server
+	    * tools for verifying the proper operation of the DNS
+	      server
 
 	  The BIND DNS Server is used on the vast majority of name
 	  serving machines on the Internet, providing a robust and
@@ -19,7 +21,8 @@ config BR2_PACKAGE_BIND
 	  architecture can be built. The resolver library included in
 	  the BIND distribution provides the standard APIs for
 	  translation between domain names and Internet addresses and is
-	  intended to be linked with applications requiring name service.
+	  intended to be linked with applications requiring name
+	  service.
 
 	  http://www.isc.org/sw/bind/
 
diff --git a/package/biosdevname/Config.in b/package/biosdevname/Config.in
index f9202ac..7047167 100644
--- a/package/biosdevname/Config.in
+++ b/package/biosdevname/Config.in
@@ -5,11 +5,11 @@ config BR2_PACKAGE_BIOSDEVNAME
 	select BR2_PACKAGE_PCIUTILS
 	select BR2_PACKAGE_ZLIB
 	help
-	  Biosdevname is a udev helper that looks at various BIOS tables to
-	  figure out what the actual hardware names are for Ethernet ports
-	  and renames the ports accordingly. This has the advantage of
-	  always referring to the same port regardless of system or
-	  hardware changes that might otherwise alter the typical ethX
-	  naming.
+	  Biosdevname is a udev helper that looks at various BIOS tables
+	  to figure out what the actual hardware names are for Ethernet
+	  ports and renames the ports accordingly. This has the
+	  advantage of always referring to the same port regardless of
+	  system or hardware changes that might otherwise alter the
+	  typical ethX naming.
 
 	  http://linux.dell.com/biosdevname/
diff --git a/package/bluez5_utils/Config.in b/package/bluez5_utils/Config.in
index bdb6682..615dc6d 100644
--- a/package/bluez5_utils/Config.in
+++ b/package/bluez5_utils/Config.in
@@ -87,7 +87,8 @@ config BR2_PACKAGE_BLUEZ5_PLUGINS_SIXAXIS
 	bool "build sixaxis plugin"
 	depends on BR2_PACKAGE_HAS_UDEV
 	help
-	  Build BlueZ 5.x sixaxis plugin (support Sony Dualshock controller)
+	  Build BlueZ 5.x sixaxis plugin (support Sony Dualshock
+	  controller)
 
 comment "sixaxis plugin needs udev /dev management"
 	depends on !BR2_PACKAGE_HAS_UDEV
diff --git a/package/bluez_utils/Config.in b/package/bluez_utils/Config.in
index 3848162..ea44068 100644
--- a/package/bluez_utils/Config.in
+++ b/package/bluez_utils/Config.in
@@ -36,8 +36,9 @@ config BR2_PACKAGE_BLUEZ_UTILS_GATT
 	bool "GATT support"
 	select BR2_PACKAGE_READLINE
 	help
-	  Generic Attribute Profile (GATT) support. This provides profile
-	  discovery and description services for Bluetooth Low Energy.
+	  Generic Attribute Profile (GATT) support. This provides
+	  profile discovery and description services for Bluetooth Low
+	  Energy.
 	  This will install the gatttool utility.
 endif
 
diff --git a/package/bmon/Config.in b/package/bmon/Config.in
index bb79693..cb83cc2 100644
--- a/package/bmon/Config.in
+++ b/package/bmon/Config.in
@@ -5,8 +5,8 @@ config BR2_PACKAGE_BMON
 	select BR2_PACKAGE_LIBNL
 	select BR2_PACKAGE_NCURSES
 	help
-	  bmon is a bandwidth monitor capable of retrieving statistics from
-	  various input modules. It provides various output methods
+	  bmon is a bandwidth monitor capable of retrieving statistics
+	  from various input modules. It provides various output methods
 	  including a curses based interface.
 
 	  https://github.com/tgraf/bmon/
diff --git a/package/bootutils/Config.in b/package/bootutils/Config.in
index af4a170..30d647a 100644
--- a/package/bootutils/Config.in
+++ b/package/bootutils/Config.in
@@ -2,9 +2,9 @@ config BR2_PACKAGE_BOOTUTILS
 	bool "bootutils"
 	depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 	help
-	  BootUtils is a collection of utilities to facilitate booting of
-	  Linux 2.6-based systems. The process of finding the root volume
-	  either by label or explicit label= on the kernel command line,
-	  mounting it, and 'switchroot'ing is automated.
+	  BootUtils is a collection of utilities to facilitate booting
+	  of Linux 2.6-based systems. The process of finding the root
+	  volume either by label or explicit label= on the kernel
+	  command line, mounting it, and 'switchroot'ing is automated.
 
 	  http://bootutils.sourceforge.net/
diff --git a/package/bridge-utils/Config.in b/package/bridge-utils/Config.in
index fb9c7df..bc614b0 100644
--- a/package/bridge-utils/Config.in
+++ b/package/bridge-utils/Config.in
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_BRIDGE_UTILS
 	bool "bridge-utils"
 	help
-	  Manage ethernet bridging; a way to connect networks together to
-	  form a larger network.
+	  Manage ethernet bridging; a way to connect networks together
+	  to form a larger network.
 
 	  https://git.kernel.org/cgit/linux/kernel/git/shemminger/bridge-utils.git/
diff --git a/package/busybox/Config.in b/package/busybox/Config.in
index 7eb7eb9..116a72e 100644
--- a/package/busybox/Config.in
+++ b/package/busybox/Config.in
@@ -2,8 +2,8 @@ config BR2_PACKAGE_BUSYBOX
 	bool "BusyBox"
 	default y
 	help
-	  The Swiss Army Knife of embedded Linux. It slices, it dices, it
-	  makes Julian Fries.
+	  The Swiss Army Knife of embedded Linux. It slices, it dices,
+	  it makes Julian Fries.
 
 	  http://busybox.net/
 
@@ -15,10 +15,12 @@ config BR2_PACKAGE_BUSYBOX_CONFIG
 	string "BusyBox configuration file to use?"
 	default "package/busybox/busybox.config"
 	help
-	  Some people may wish to use their own modified BusyBox configuration
-	  file, and will specify their config file location with this option.
+	  Some people may wish to use their own modified BusyBox
+	  configuration file, and will specify their config file
+	  location with this option.
 
-	  Most people will just use the default BusyBox configuration file.
+	  Most people will just use the default BusyBox configuration
+	  file.
 
 config BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES
 	string "Additional BusyBox configuration fragment files"
-- 
2.9.3

^ permalink raw reply related

* [Buildroot] [PATCH v2 1/4] fix help text wrapping for configs a
From: Adam Duskett @ 2017-05-05 14:08 UTC (permalink / raw)
  To: buildroot

The check-package script when ran gives warnings on text wrapping
on all of these Config files.  This patch cleans up all warnings
related to the text wrapping for the Config files starting with
the letter a in the package directory.

The appropriate indentation is: <tab><2 spaces><62 chars>
See http://nightly.buildroot.org/#writing-rules-config-in for more
information.

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
---
v1 -> v2:
  - Increase margins.  Margins were set too low in the origin patch.

 package/a10disp/Config.in   |  4 ++--
 package/acpid/Config.in     |  5 +++--
 package/aespipe/Config.in   |  9 +++++----
 package/agentpp/Config.in   | 15 ++++++++-------
 package/alsa-lib/Config.in  |  4 ++--
 package/apache/Config.in    | 11 ++++++-----
 package/apr/Config.in       |  7 ++++---
 package/assimp/Config.in    |  7 ++++---
 package/aubio/Config.in     |  8 ++++----
 package/aufs-util/Config.in |  3 ++-
 package/autossh/Config.in   |  3 ++-
 11 files changed, 42 insertions(+), 34 deletions(-)

diff --git a/package/a10disp/Config.in b/package/a10disp/Config.in
index 18e2d8f..99ae0aa 100644
--- a/package/a10disp/Config.in
+++ b/package/a10disp/Config.in
@@ -3,8 +3,8 @@ config BR2_PACKAGE_A10DISP
 	depends on BR2_arm
 	depends on BR2_LINUX_KERNEL
 	help
-	  Program to change the display mode of Allwinner ARM SOCs running
-	  the linux-sunxi kernel (and not the mainline kernel.)
+	  Program to change the display mode of Allwinner ARM SOCs
+	  running the linux-sunxi kernel (and not the mainline kernel.)
 
 	  http://github.com/hglm/a10disp
 
diff --git a/package/acpid/Config.in b/package/acpid/Config.in
index 5aec7f1..2bd83ea 100644
--- a/package/acpid/Config.in
+++ b/package/acpid/Config.in
@@ -4,7 +4,8 @@ config BR2_PACKAGE_ACPID
 	help
 	  Advanced Configuration and Power Interface event daemon.
 
-	  Acpid is designed to notify user-space programs of ACPI events,
-	  and allows you to configure specific actions for specific events.
+	  Acpid is designed to notify user-space programs of ACPI
+	  events, and allows you to configure specific actions for
+	  specific events.
 
 	  http://sourceforge.net/projects/acpid2/
diff --git a/package/aespipe/Config.in b/package/aespipe/Config.in
index df99523..2c2ff5c 100644
--- a/package/aespipe/Config.in
+++ b/package/aespipe/Config.in
@@ -2,9 +2,10 @@ config BR2_PACKAGE_AESPIPE
 	bool "aespipe"
 	depends on BR2_USE_MMU # fork()
 	help
-	  aespipe program is AES encrypting or decrypting pipe. It reads from
-	  standard input and writes to standard output. It can be used to
-	  create and restore encrypted tar or cpio archives. It can be used to
-	  encrypt and decrypt loop-AES compatible encrypted disk images.
+	  aespipe program is AES encrypting or decrypting pipe. It reads
+	  from standard input and writes to standard output. It can be
+	  used to create and restore encrypted tar or cpio archives.
+	  It can be used to encrypt and decrypt loop-AES compatible
+	  encrypted disk images.
 
 	  http://koti.tnnet.fi/jari.ruusu/linux/
diff --git a/package/agentpp/Config.in b/package/agentpp/Config.in
index e591fb5..9e6eeed 100644
--- a/package/agentpp/Config.in
+++ b/package/agentpp/Config.in
@@ -5,13 +5,14 @@ config BR2_PACKAGE_AGENTPP
 	depends on !BR2_STATIC_LIBS # snmp++
 	select BR2_PACKAGE_SNMPPP
 	help
-	  AGENT++ is a set of C++ classes which provides a complete protocol
-	  engine and dispatch table for the development of SNMP agents.
-	  AGENT++ is a multilingual API which supports SNMPv1, SNMPv2c, and
-	  SNMPv3. It provides various C++ classes implementing prototypes for
-	  scalar and table SNMP managed objects that can be customized by
-	  derivation. Additional classes support the development of proxy
-	  agents as well as sending notifications.
+	  AGENT++ is a set of C++ classes which provides a complete
+	  protocol engine and dispatch table for the development of SNMP
+	  agents. AGENT++ is a multilingual API which supports SNMPv1,
+	  SNMPv2c, and SNMPv3. It provides various C++ classes
+	  implementing prototypes for scalar and table SNMP managed
+	  objects that can be customized by derivation. Additional
+	  classes support the development of proxy agents as well as
+	  sending notifications.
 
 	  SNMPv3 support is enabled if SNMP++ enables it.
 
diff --git a/package/alsa-lib/Config.in b/package/alsa-lib/Config.in
index c355b2c..995d379 100644
--- a/package/alsa-lib/Config.in
+++ b/package/alsa-lib/Config.in
@@ -13,8 +13,8 @@ menuconfig BR2_PACKAGE_ALSA_LIB
 	# is fixed
 	select BR2_PACKAGE_ALSA_LIB_PCM
 	help
-	  The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
-	  functionality to the Linux operating system.
+	  The Advanced Linux Sound Architecture (ALSA) provides audio
+	  and MIDI functionality to the Linux operating system.
 
 	  http://www.alsa-project.org/
 
diff --git a/package/apache/Config.in b/package/apache/Config.in
index 5916d30..693ee20 100644
--- a/package/apache/Config.in
+++ b/package/apache/Config.in
@@ -6,11 +6,12 @@ config BR2_PACKAGE_APACHE
 	select BR2_PACKAGE_APR_UTIL
 	select BR2_PACKAGE_PCRE
 	help
-	  The Apache HTTP Server Project is an effort to develop and maintain an
-	  open-source HTTP server for modern operating systems including UNIX
-	  and Windows NT. The goal of this project is to provide a secure,
-	  efficient and extensible server that provides HTTP services in sync
-	  with the current HTTP standards.
+	  The Apache HTTP Server Project is an effort to develop and
+	  maintain an open-source HTTP server for modern operating
+	  systems including UNIX and Windows NT. The goal of this
+	  project is to provide a secure, efficient and extensible
+	  server that provides HTTP services in sync with the current
+	  HTTP standards.
 
 	  http://httpd.apache.org
 
diff --git a/package/apr/Config.in b/package/apr/Config.in
index 5757272..67de925 100644
--- a/package/apr/Config.in
+++ b/package/apr/Config.in
@@ -4,9 +4,10 @@ config BR2_PACKAGE_APR
 	depends on !BR2_STATIC_LIBS
 	depends on BR2_USE_MMU # fork() in apr_proc_fork()
 	help
-	  The mission of the Apache Portable Runtime (APR) project is to create
-	  and maintain software libraries that provide a predictable and
-	  consistent interface to underlying platform-specific implementations
+	  The mission of the Apache Portable Runtime (APR) project is to
+	  create and maintain software libraries that provide a
+	  predictable and consistent interface to underlying
+	  platform-specific implementations
 
 	  http://apr.apache.org/
 
diff --git a/package/assimp/Config.in b/package/assimp/Config.in
index 93020f7..41c1bb3 100644
--- a/package/assimp/Config.in
+++ b/package/assimp/Config.in
@@ -8,9 +8,10 @@ config BR2_PACKAGE_ASSIMP
 	select BR2_PACKAGE_ZLIB
 	help
 	  Open Asset Import Library (assimp) is a portable Open Source
-	  library to import various well-known 3D model formats in a uniform
-	  manner. The most recent version also knows how to export 3d files
-	  and is therefore suitable as a general-purpose 3D model converter.
+	  library to import various well-known 3D model formats in a
+	  uniform manner. The most recent version also knows how to
+	  export 3d files and is therefore suitable as a general-purpose
+	  3D model converter.
 
 	  http://www.assimp.org
 
diff --git a/package/aubio/Config.in b/package/aubio/Config.in
index c4c60db..18e7c4c 100644
--- a/package/aubio/Config.in
+++ b/package/aubio/Config.in
@@ -3,10 +3,10 @@ config BR2_PACKAGE_AUBIO
 	depends on !BR2_STATIC_LIBS
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
-	  aubio is a tool designed for the extraction of annotations from
-	  audio signals. Its features include segmenting a sound file
-	  before each of its attacks, performing pitch detection, tapping
-	  the beat and producing midi streams from live audio.
+	  aubio is a tool designed for the extraction of annotations
+	  from audio signals. Its features include segmenting a sound
+	  file before each of its attacks, performing pitch detection,
+	  tapping the beat and producing midi streams from live audio.
 
 	  Because these tasks are difficult, we thought it was important
 	  to gather them in a dedicated library. To increase the fun, we
diff --git a/package/aufs-util/Config.in b/package/aufs-util/Config.in
index 93999fb..89b1f42 100644
--- a/package/aufs-util/Config.in
+++ b/package/aufs-util/Config.in
@@ -28,7 +28,8 @@ config BR2_PACKAGE_AUFS_UTIL_VERSION
 	  Usually, the sha1 of the cset you want to use; avoid using a
 	  branch name as this yields non-reproducible builds.
 
-	  See the following resources to see what versions are available:
+	  See the following resources to see what versions are 
+	  available:
 
 	  https://sourceforge.net/p/aufs/aufs-util/ci/master/tree/
 
diff --git a/package/autossh/Config.in b/package/autossh/Config.in
index 6d1a085..351e23f 100644
--- a/package/autossh/Config.in
+++ b/package/autossh/Config.in
@@ -4,6 +4,7 @@ config BR2_PACKAGE_AUTOSSH
 	depends on BR2_PACKAGE_DROPBEAR || BR2_PACKAGE_OPENSSH
 	help
 	  autossh is a program to start a copy of ssh and monitor it,
-	  restarting it as necessary should it die or stop passing traffic.
+	  restarting it as necessary should it die or stop passing
+	  traffic.
 
 	  http://www.harding.motd.ca/autossh/
-- 
2.9.3

^ permalink raw reply related

* [Buildroot] [PATCH] python-tornado: bump to version 4.5.1
From: yegorslists at googlemail.com @ 2017-05-05 14:01 UTC (permalink / raw)
  To: buildroot

From: Yegor Yefremov <yegorslists@googlemail.com>

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 package/python-tornado/python-tornado.hash | 4 ++--
 package/python-tornado/python-tornado.mk   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/python-tornado/python-tornado.hash b/package/python-tornado/python-tornado.hash
index ee4080f..662db6f 100644
--- a/package/python-tornado/python-tornado.hash
+++ b/package/python-tornado/python-tornado.hash
@@ -1,3 +1,3 @@
 # md5 from https://pypi.python.org/pypi/tornado/json, sha256 locally computed
-md5	b4816ea209118667ffc52ce9ff06ac85  tornado-4.4.2.tar.gz
-sha256	2898f992f898cd41eeb8d53b6df75495f2f423b6672890aadaf196ea1448edcc  tornado-4.4.2.tar.gz
+md5	838687d20923360af5ab59f101e9e02e  tornado-4.5.1.tar.gz
+sha256	db0904a28253cfe53e7dedc765c71596f3c53bb8a866ae50123320ec1a7b73fd  tornado-4.5.1.tar.gz
diff --git a/package/python-tornado/python-tornado.mk b/package/python-tornado/python-tornado.mk
index e512e60..6e61675 100644
--- a/package/python-tornado/python-tornado.mk
+++ b/package/python-tornado/python-tornado.mk
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_TORNADO_VERSION = 4.4.2
+PYTHON_TORNADO_VERSION = 4.5.1
 PYTHON_TORNADO_SOURCE = tornado-$(PYTHON_TORNADO_VERSION).tar.gz
-PYTHON_TORNADO_SITE = https://pypi.python.org/packages/1e/7c/ea047f7bbd1ff22a7f69fe55e7561040e3e54d6f31da6267ef9748321f98
+PYTHON_TORNADO_SITE = https://pypi.python.org/packages/df/42/a180ee540e12e2ec1007ac82a42b09dd92e5461e09c98bf465e98646d187
 PYTHON_TORNADO_LICENSE = Apache-2.0
 PYTHON_TORNADO_SETUP_TYPE = setuptools
 
-- 
2.1.4

^ permalink raw reply related

* [Buildroot] [git commit] lua-resty-http: new package
From: Danomi Manchego @ 2017-05-05 13:59 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <87pofntx51.fsf@dell.be.48ers.dk>

Peter,

On Fri, May 5, 2017 at 6:29 AM, Peter Korsgaard <peter@korsgaard.com> wrote:
>>>>>> "semenak94" == semenak94  <semenak94@mail.ru> writes:
>
>  > Hello,
>  > Well, I'm also very far from nginx expert, but yes, it
>  > lua-nginx-module, which we need in our special embedded linux. So, if
>  > you don't explicitly have nginx modules in buildroot, how should we
>  > deal with it?
>
> So how are you using it now?
>
> We currently don't have any explicit handling of the nginx-lua
> module. You could conceptually do something with the 'nginx additional
> modules' (BR2_PACKAGE_NGINX_ADD_MODULES) option, but there's no
> guarantee that nginx builds after luajit.
>
> I guess the proper solution would be to add an explicit nginx-lua
> module, similar to what we already have for nginx-dav-ext / nginx-naxsi
> / nginx-upload.

FWIW - that's what we did in our project - an "ngx_lua" package that
simply uses generic-package to download and untar the source, and an
addition to nginx.mk like this:

ifeq ($(BR2_PACKAGE_NGX_LUA),y)
NGINX_DEPENDENCIES += ngx_lua luainterpreter
NGINX_CONF_OPTS += --add-module=$(NGX_LUA_DIR)
ifeq ($(BR2_PACKAGE_LUAJIT),y)
NGINX_CONF_ENV += LUAJIT_LIB=$(STAGING_DIR)/usr/lib
LUAJIT_INC=$(STAGING_DIR)/usr/include
endif
endif

But then we ended up not actually using ngx_lua at all.

Danomi -


> Samuel and Adam, you have added / been active around nginx and modules,
> any input?
>
>  >>  > +config BR2_PACKAGE_LUA_RESTY_HTTP
>  >>  > + bool "lua-resty-http"
>  >>  > + help
>  >>  > +   Lua HTTP client cosocket driver for OpenResty / ngx_lua.
>  >>  > +
>  >>  > +   http://github.com/pintsized/lua-resty-http
>  >> Sorry for the slow response, but this patch apparently never made it to
>  >> my mailbox? (It is in the archive, so it must have been an issue on my
>  >> side).
>  >> I'm far from an expert in nginx, but isn't this an extension to the
>  >> lua-nginx-module that we don't (explicitly) have in Buildroot? Is it in
>  >> any way useful without it?
>  >> What is your use case for it?
>
> --
> Bye, Peter Korsgaard
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply

* [Buildroot] Kodi 17.1 - segfault - arm - gcc 5.x
From: Nicolas Adenis-Lamarre @ 2017-05-05 13:12 UTC (permalink / raw)
  To: buildroot

buildroot version : f7e7bf72a7ddbd72041090ae6ba97778f7b96948 (Apr 29,
2017) + custom packages
kodi version : 17.1
gcc version : 5.4
def_config : https://github.com/nadenislamarre/batocera.linux/blob/master/configs/batocera-rpi2_defconfig
tested architecture : rpi2 (arm), odroid xu4 (arm)

Some times ago (~1year), i built kodi 16.1 with gcc 4.9. fine.
i upgraded gcc to 5.x, and kodi 16.1 became unstable (mainly when
adding musics or films directories)
and it results in segfaults.
i have kept gcc 4.9 since this time.

Kodi 17.1 won't compile with gcc 4.9.
I've upgraded to 5.4, but the segfaults came back.

I've reproduced on rpi2 and odroid xu4. i've not managed to reproduce on x86.
It may be this problem : https://archlinuxarm.org/forum/viewtopic.php?f=9&t=9600

i've found no way to fix for the moment.
i've tried to add "--disable-optimisations" in kodi config, no success.

For information, the kodi-joystick package should be added in
buildroot while it's usefull on embeded devices :
https://github.com/nadenislamarre/batocera.linux/tree/master/package/batocera/kodi-joystick

^ permalink raw reply

* [Buildroot] invalid commads passed in compiler line results in failure.
From: daggs @ 2017-05-05 13:10 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170505104559.434875f7@free-electrons.com>

Greetings Thomas,

> Hello,
> 
> On Fri, 5 May 2017 10:07:37 +0200, daggs wrote:
> 
> > I'm trying to add a new pkg what compile a kernel driver for arm, upon compilation, I get these errors:
> > aarch64-linux-gcc.br_real: error: unrecognized argument in option ?-mabi=apcs-gnu?
> > aarch64-linux-gcc.br_real: note: valid arguments to ?-mabi=? are: ilp32 lp64
> > aarch64-linux-gcc.br_real: error: unrecognized command line option ?-mapcs?; did you mean ?--specs??
> > aarch64-linux-gcc.br_real: error: unrecognized command line option ?-mno-sched-prolog?; did you mean ?-Wno-sign-promo??
> > aarch64-linux-gcc.br_real: error: unrecognized command line option ?-msoft-float?
> 
> You are passing ARM options to an AArch64 compiler: this cannot work.
> 
> Best regards,
> 
> Thomas

I thought there is something funny in the makefile when it comes to cross compile of arm64, that is why I've searched the code for either apcs, no-sched-prolog or soft-float but I didn't found such.
I wonder of there is a -m32 like switch. I'll follow the arm switches.

Thanks,

Dagg.

^ permalink raw reply

* [Buildroot] [PATCH 4/4] bluez5_utils: allow building the midi profile
From: Peter Korsgaard @ 2017-05-05 12:37 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <0addf96b96517bdab32c6171b5bd0db02e912861.1493643541.git.baruch@tkos.co.il>

>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:

 > From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
 > The midi profile was introduced in BlueZ 5.44.

 > Cc: Marcin Bis <marcin@bis.org.pl>
 > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
 > Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [PATCH 3/4] bluez5_utils: allow enabling formerly experimental plugins
From: Peter Korsgaard @ 2017-05-05 12:37 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1dc2f9ce76c1cb1c4be2e05509b816445a31fec4.1493643541.git.baruch@tkos.co.il>

>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:

 > From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
 > Disregard to increase just minor version BlueZ 5.44 is drastically different in
 > a way what plugins that used to be enabled by the --enable-experimental
 > configure option, now have their own option.

 > Extend Buildroot package to cover these plugins.

 > Cc: Marcin Bis <marcin@bis.org.pl>
 > Cc: Bernd Kuhls <bernd.kuhls@t-online.de>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [PATCH 2/4] bluez5_utils: correct the experimental option text
From: Peter Korsgaard @ 2017-05-05 12:37 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <f1815a98614986509ae602f348e2218ecaef1d25.1493643541.git.baruch@tkos.co.il>

>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:

 > In BlueZ 5.44 the --enable-experimental configure option only controls the
 > build of the Nokia OBEX PC Suite plugin. Correct the option prompt and help
 > text.

 > Cc: Marcin Bis <marcin@bis.org.pl>
 > Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
 > Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit] bluez5_utils: allow building the midi profile
From: Peter Korsgaard @ 2017-05-05 12:36 UTC (permalink / raw)
  To: buildroot

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

The midi profile was introduced in BlueZ 5.44.

Cc: Marcin Bis <marcin@bis.org.pl>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/bluez5_utils/Config.in       | 7 +++++++
 package/bluez5_utils/bluez5_utils.mk | 8 ++++++++
 2 files changed, 15 insertions(+)

diff --git a/package/bluez5_utils/Config.in b/package/bluez5_utils/Config.in
index 181003b..bdb6682 100644
--- a/package/bluez5_utils/Config.in
+++ b/package/bluez5_utils/Config.in
@@ -66,6 +66,13 @@ config BR2_PACKAGE_BLUEZ5_PLUGINS_HEALTH
 	help
 	  Build BlueZ 5.x health plugin
 
+config BR2_PACKAGE_BLUEZ5_PLUGINS_MIDI
+	bool "build midi profile"
+	select BR2_PACKAGE_ALSA_LIB
+	select BR2_PACKAGE_ALSA_LIB_SEQ
+	help
+	  Build BlueZ 5.x midi plugin
+
 config BR2_PACKAGE_BLUEZ5_PLUGINS_NFC
 	bool "build nfc plugin"
 	help
diff --git a/package/bluez5_utils/bluez5_utils.mk b/package/bluez5_utils/bluez5_utils.mk
index 4317839..4a03234 100644
--- a/package/bluez5_utils/bluez5_utils.mk
+++ b/package/bluez5_utils/bluez5_utils.mk
@@ -45,6 +45,14 @@ else
 BLUEZ5_UTILS_CONF_OPTS += --disable-health
 endif
 
+# enable midi profile
+ifeq ($(BR2_PACKAGE_BLUEZ5_PLUGINS_MIDI),y)
+BLUEZ5_UTILS_CONF_OPTS += --enable-midi
+BLUEZ5_UTILS_DEPENDENCIES += alsa-lib
+else
+BLUEZ5_UTILS_CONF_OPTS += --disable-midi
+endif
+
 # enable nfc plugin
 ifeq ($(BR2_PACKAGE_BLUEZ5_PLUGINS_NFC),y)
 BLUEZ5_UTILS_CONF_OPTS += --enable-nfc

^ permalink raw reply related

* [Buildroot] [git commit] bluez5_utils: allow enabling formerly experimental plugins
From: Peter Korsgaard @ 2017-05-05 12:36 UTC (permalink / raw)
  To: buildroot

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

Disregard to increase just minor version BlueZ 5.44 is drastically different in
a way what plugins that used to be enabled by the --enable-experimental
configure option, now have their own option.

Extend Buildroot package to cover these plugins.

Cc: Marcin Bis <marcin@bis.org.pl>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/bluez5_utils/Config.in       | 15 +++++++++++++++
 package/bluez5_utils/bluez5_utils.mk | 21 +++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/package/bluez5_utils/Config.in b/package/bluez5_utils/Config.in
index f8e3540..181003b 100644
--- a/package/bluez5_utils/Config.in
+++ b/package/bluez5_utils/Config.in
@@ -61,6 +61,21 @@ config BR2_PACKAGE_BLUEZ5_UTILS_EXPERIMENTAL
 	help
 	  Build BlueZ 5.x experimental Nokia OBEX PC Suite plugin
 
+config BR2_PACKAGE_BLUEZ5_PLUGINS_HEALTH
+	bool "build health plugin"
+	help
+	  Build BlueZ 5.x health plugin
+
+config BR2_PACKAGE_BLUEZ5_PLUGINS_NFC
+	bool "build nfc plugin"
+	help
+	  Build BlueZ 5.x nfc plugin
+
+config BR2_PACKAGE_BLUEZ5_PLUGINS_SAP
+	bool "build sap plugin"
+	help
+	  Build BlueZ 5.x sap plugin
+
 config BR2_PACKAGE_BLUEZ5_PLUGINS_SIXAXIS
 	bool "build sixaxis plugin"
 	depends on BR2_PACKAGE_HAS_UDEV
diff --git a/package/bluez5_utils/bluez5_utils.mk b/package/bluez5_utils/bluez5_utils.mk
index fac7958..4317839 100644
--- a/package/bluez5_utils/bluez5_utils.mk
+++ b/package/bluez5_utils/bluez5_utils.mk
@@ -38,6 +38,27 @@ else
 BLUEZ5_UTILS_CONF_OPTS += --disable-experimental
 endif
 
+# enable health plugin
+ifeq ($(BR2_PACKAGE_BLUEZ5_PLUGINS_HEALTH),y)
+BLUEZ5_UTILS_CONF_OPTS += --enable-health
+else
+BLUEZ5_UTILS_CONF_OPTS += --disable-health
+endif
+
+# enable nfc plugin
+ifeq ($(BR2_PACKAGE_BLUEZ5_PLUGINS_NFC),y)
+BLUEZ5_UTILS_CONF_OPTS += --enable-nfc
+else
+BLUEZ5_UTILS_CONF_OPTS += --disable-nfc
+endif
+
+# enable sap plugin
+ifeq ($(BR2_PACKAGE_BLUEZ5_PLUGINS_SAP),y)
+BLUEZ5_UTILS_CONF_OPTS += --enable-sap
+else
+BLUEZ5_UTILS_CONF_OPTS += --disable-sap
+endif
+
 # enable sixaxis plugin
 ifeq ($(BR2_PACKAGE_BLUEZ5_PLUGINS_SIXAXIS),y)
 BLUEZ5_UTILS_CONF_OPTS += --enable-sixaxis

^ permalink raw reply related

* [Buildroot] [PATCH v4 2/2] libpwquality: New package
From: Stefan Sørensen @ 2017-05-05 12:35 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170505123527.29434-1-stefan.sorensen@spectralink.com>

Signed-off-by: Stefan S?rensen <stefan.sorensen@spectralink.com>
---

Changes since v3:
 * Drop usage of github helper
 * Handle linux-pam dependency

No Changes in v2.

Changes since v1:
 * Update DEVELOPERS file
 * Use SPDX license codes
 * Use new github site
 * Remove unneeded autoreconf
 * Fix building when python is enabled

 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               | 39 ++++++++++++++++++
 7 files changed, 135 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 813706c..eb76ce6 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1496,6 +1496,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 62d5110..9b20e38 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1392,6 +1392,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..66b15d8
--- /dev/null
+++ b/package/libpwquality/libpwquality.mk
@@ -0,0 +1,39 @@
+################################################################################
+#
+# libpwquality
+#
+################################################################################
+
+LIBPWQUALITY_VERSION = 1.3.0
+LIBPWQUALITY_SOURCE = libpwquality-$(LIBPWQUALITY_VERSION).tar.bz2
+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_LINUX_PAM),y)
+LIBPWQUALITY_CONF_OPTS += --enable-pam
+LIBPWQUALITY_DEPENDENCIES += linux-pam
+else
+LIBPWQUALITY_CONF_OPTS += --disable-pam
+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
+
+LIBPWQUALITY_POST_INSTALL_TARGET_HOOKS += LIBPWQUALITY_REMOVE_TOOLS
+endif
+
+$(eval $(autotools-package))
-- 
2.9.3

^ permalink raw reply related

* [Buildroot] [PATCH v4 1/2] cracklib: New package
From: Stefan Sørensen @ 2017-05-05 12:35 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Stefan S?rensen <stefan.sorensen@spectralink.com>
---

Changes since v3:
 * Remove changelog and add SoB to upstream patches
 * Add zlib and python dependency handling
 * Handle linux-pam reverse dependency

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

 DEVELOPERS                                         |   1 +
 package/Config.in                                  |   1 +
 .../0001-Apply-patch-to-fix-CVE-2016-6318.patch    | 106 +++++++++++++++++++++
 ...x-a-buffer-overflow-processing-long-words.patch |  40 ++++++++
 ...to-treat-the-input-as-text-when-formattin.patch |  30 ++++++
 package/cracklib/Config.in                         |  28 ++++++
 package/cracklib/cracklib.hash                     |   3 +
 package/cracklib/cracklib.mk                       |  52 ++++++++++
 package/linux-pam/linux-pam.mk                     |   7 ++
 9 files changed, 268 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 8fbb69a..813706c 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1495,6 +1495,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 1af8150..62d5110 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1348,6 +1348,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..6180c4b
--- /dev/null
+++ b/package/cracklib/0001-Apply-patch-to-fix-CVE-2016-6318.patch
@@ -0,0 +1,106 @@
+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.
+
+Signed-off-by: Stefan S?rensen <stefan.sorensen@spectralink.com>
+---
+
+Status: upstream, not yet released.
+
+ lib/fascist.c | 57 ++++++++++++++++++++++++++++++++-----------------------
+ 2 files changed, 34 insertions(+), 24 deletions(-)
+
+diff --git a/lib/fascist.c b/lib/fascist.c
+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..63525cc
--- /dev/null
+++ b/package/cracklib/0002-Fix-a-buffer-overflow-processing-long-words.patch
@@ -0,0 +1,40 @@
+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
+
+Signed-off-by: Stefan S?rensen <stefan.sorensen@spectralink.com>
+---
+
+Status: upstream, not yet released.
+
+ lib/rules.c | 5 ++---
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+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..2fa3d3b
--- /dev/null
+++ b/package/cracklib/cracklib.mk
@@ -0,0 +1,52 @@
+################################################################################
+#
+# 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
+
+ifeq ($(BR2_PACKAGE_ZLIB),y)
+CRACKLIB_CONF_OPTS += --with-zlib
+CRACKLIB_DEPENDENCIES += zlib
+else
+CRACKLIB_CONF_OPTS += --without-zlib
+endif
+
+ifeq ($(BR2_PACKAGE_PYTHON),y)
+CRACKLIB_CONF_OPTS += --with-python
+CRACKLIB_DEPENDENCIES += python
+else
+CRACKLIB_CONF_OPTS += --without-python
+endif
+
+HOST_CRACKLIB_CONF_OPTS += --without-python --without-zlib
+
+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*
+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
+endef
+CRACKLIB_POST_INSTALL_TARGET_HOOKS += CRACKLIB_BUILD_DICT
+
+$(eval $(autotools-package))
+$(eval $(host-autotools-package))
diff --git a/package/linux-pam/linux-pam.mk b/package/linux-pam/linux-pam.mk
index 3522415..fb2f99c 100644
--- a/package/linux-pam/linux-pam.mk
+++ b/package/linux-pam/linux-pam.mk
@@ -44,6 +44,13 @@ else
 LINUX_PAM_CONF_OPTS += --disable-audit
 endif
 
+ifeq ($(BR2_PACKAGE_CRACKLIB),y)
+LINUX_PAM_CONF_OPTS += --enable-cracklib
+LINUX_PAM_DEPENDENCIES += cracklib
+else
+LINUX_PAM_CONF_OPTS += --disable-cracklib
+endif
+
 # Install default pam config (deny everything except login)
 define LINUX_PAM_INSTALL_CONFIG
 	$(INSTALL) -m 0644 -D package/linux-pam/login.pam \
-- 
2.9.3

^ permalink raw reply related

* [Buildroot] [PATCH] gmp: Enable ASM for ARC again
From: Alexey Brodkin @ 2017-05-05 12:35 UTC (permalink / raw)
  To: buildroot

This commit reverts cdf63517de25 "gmp: disable assembly for arc"
as in GMP v6.1.2 there's already a proper fix for ASM constraints, see
https://gmplib.org/repo/gmp/rev/58879634af3ci

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
---
 package/gmp/gmp.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/gmp/gmp.mk b/package/gmp/gmp.mk
index 5ea79ae754..7236e37bb4 100644
--- a/package/gmp/gmp.mk
+++ b/package/gmp/gmp.mk
@@ -15,7 +15,7 @@ HOST_GMP_DEPENDENCIES = host-m4
 
 # GMP doesn't support assembly for coldfire or mips r6 ISA yet
 # Disable for ARM v7m since it has different asm constraints
-ifeq ($(BR2_m68k_cf)$(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6)$(BR2_ARM_CPU_ARMV7M)$(BR2_arc),y)
+ifeq ($(BR2_m68k_cf)$(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6)$(BR2_ARM_CPU_ARMV7M),y)
 GMP_CONF_OPTS += --disable-assembly
 endif
 
-- 
2.11.0

^ permalink raw reply related

* [Buildroot] [PATCH v3 1/2] cracklib: New package
From: Sørensen, Stefan @ 2017-05-05 12:33 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <32863807-7cf4-75fc-1dd3-0e6f6517986e@gmail.com>

On Thu, 2017-05-04 at 23:34 +0200, Romain Naour wrote:
> Hi Stefan, all,
> 
> Le 04/05/2017 ? 09:10, S?rensen, Stefan a ?crit :
> > On Sun, 2017-04-30 at 15:36 +0200, Romain Naour wrote:
> > 
> > > +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 ?
> > 
> > Post install script? I can't find any reference to what that is.
> 
> Sorry, I meant post build scripts, see BR2_ROOTFS_POST_BUILD_SCRIPT
> option.

The tools mostly for creating password dictionaries. I guess that these
will rarely be used on the target, so to me it seems better to remove
them in the package, rather than in post build scripts for everybody
that does not need them.

Stefan

^ permalink raw reply

* [Buildroot] [PATCH v4 1/2] cracklib: New package
From: Stefan Sørensen @ 2017-05-05 12:33 UTC (permalink / raw)
  To: buildroot

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    | 106 +++++++++++++++++++++
 ...x-a-buffer-overflow-processing-long-words.patch |  40 ++++++++
 ...to-treat-the-input-as-text-when-formattin.patch |  30 ++++++
 package/cracklib/Config.in                         |  28 ++++++
 package/cracklib/cracklib.hash                     |   3 +
 package/cracklib/cracklib.mk                       |  52 ++++++++++
 package/linux-pam/linux-pam.mk                     |   7 ++
 9 files changed, 268 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 8fbb69a..813706c 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1495,6 +1495,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 1af8150..62d5110 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1348,6 +1348,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..6180c4b
--- /dev/null
+++ b/package/cracklib/0001-Apply-patch-to-fix-CVE-2016-6318.patch
@@ -0,0 +1,106 @@
+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.
+
+Signed-off-by: Stefan S?rensen <stefan.sorensen@spectralink.com>
+---
+
+Status: upstream, not yet released.
+
+ lib/fascist.c | 57 ++++++++++++++++++++++++++++++++-----------------------
+ 2 files changed, 34 insertions(+), 24 deletions(-)
+
+diff --git a/lib/fascist.c b/lib/fascist.c
+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..63525cc
--- /dev/null
+++ b/package/cracklib/0002-Fix-a-buffer-overflow-processing-long-words.patch
@@ -0,0 +1,40 @@
+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
+
+Signed-off-by: Stefan S?rensen <stefan.sorensen@spectralink.com>
+---
+
+Status: upstream, not yet released.
+
+ lib/rules.c | 5 ++---
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+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..2fa3d3b
--- /dev/null
+++ b/package/cracklib/cracklib.mk
@@ -0,0 +1,52 @@
+################################################################################
+#
+# 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
+
+ifeq ($(BR2_PACKAGE_ZLIB),y)
+CRACKLIB_CONF_OPTS += --with-zlib
+CRACKLIB_DEPENDENCIES += zlib
+else
+CRACKLIB_CONF_OPTS += --without-zlib
+endif
+
+ifeq ($(BR2_PACKAGE_PYTHON),y)
+CRACKLIB_CONF_OPTS += --with-python
+CRACKLIB_DEPENDENCIES += python
+else
+CRACKLIB_CONF_OPTS += --without-python
+endif
+
+HOST_CRACKLIB_CONF_OPTS += --without-python --without-zlib
+
+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*
+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
+endef
+CRACKLIB_POST_INSTALL_TARGET_HOOKS += CRACKLIB_BUILD_DICT
+
+$(eval $(autotools-package))
+$(eval $(host-autotools-package))
diff --git a/package/linux-pam/linux-pam.mk b/package/linux-pam/linux-pam.mk
index 3522415..fb2f99c 100644
--- a/package/linux-pam/linux-pam.mk
+++ b/package/linux-pam/linux-pam.mk
@@ -44,6 +44,13 @@ else
 LINUX_PAM_CONF_OPTS += --disable-audit
 endif
 
+ifeq ($(BR2_PACKAGE_CRACKLIB),y)
+LINUX_PAM_CONF_OPTS += --enable-cracklib
+LINUX_PAM_DEPENDENCIES += cracklib
+else
+LINUX_PAM_CONF_OPTS += --disable-cracklib
+endif
+
 # Install default pam config (deny everything except login)
 define LINUX_PAM_INSTALL_CONFIG
 	$(INSTALL) -m 0644 -D package/linux-pam/login.pam \
-- 
2.9.3

^ permalink raw reply related

* [Buildroot] [git commit] bluez5_utils: correct the experimental option text
From: Peter Korsgaard @ 2017-05-05 12:32 UTC (permalink / raw)
  To: buildroot

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

In BlueZ 5.44 the --enable-experimental configure option only controls the
build of the Nokia OBEX PC Suite plugin. Correct the option prompt and help
text.

Cc: Marcin Bis <marcin@bis.org.pl>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/bluez5_utils/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/bluez5_utils/Config.in b/package/bluez5_utils/Config.in
index 285560a..f8e3540 100644
--- a/package/bluez5_utils/Config.in
+++ b/package/bluez5_utils/Config.in
@@ -57,9 +57,9 @@ config BR2_PACKAGE_BLUEZ5_UTILS_DEPRECATED
 	  ciptool, gatttool.
 
 config BR2_PACKAGE_BLUEZ5_UTILS_EXPERIMENTAL
-	bool "build experimental plugins"
+	bool "build experimental obexd plugin"
 	help
-	  Build BlueZ 5.x experimental plugins (SAP, NFC, ...).
+	  Build BlueZ 5.x experimental Nokia OBEX PC Suite plugin
 
 config BR2_PACKAGE_BLUEZ5_PLUGINS_SIXAXIS
 	bool "build sixaxis plugin"

^ permalink raw reply related

* [Buildroot] [PATCH 1/4] bluez5_utils: allow install of deprecated tools
From: Peter Korsgaard @ 2017-05-05 12:32 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <a98f6fda9cded4f8416b2a6f2249e85be944eca4.1493643541.git.baruch@tkos.co.il>

>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:

 > Since BlueZ 5.44 many command line tools are deprecated, among them
 > gatttool. Add an option to install these tools.

 > Remove the gatttool specific option, since it is redundant now.

 > Fixes:
 > http://autobuild.buildroot.net/results/ddb/ddb975c9e1475fee1da63cb21240d8d59b161076/
 > http://autobuild.buildroot.net/results/19a/19adc0aa5a7e48119ef4ba25ba0403867f74f678/
 > http://autobuild.buildroot.net/results/9bd/9bd8e13ddffdd0631ddca30ec40cc4664729b0cb/

 > Cc: Marcin Bis <marcin@bis.org.pl>
 > Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
 > Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit] bluez5_utils: allow install of deprecated tools
From: Peter Korsgaard @ 2017-05-05 12:30 UTC (permalink / raw)
  To: buildroot

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

Since BlueZ 5.44 many command line tools are deprecated, among them
gatttool. Add an option to install these tools.

Remove the gatttool specific option, since it is redundant now.

Fixes:
http://autobuild.buildroot.net/results/ddb/ddb975c9e1475fee1da63cb21240d8d59b161076/
http://autobuild.buildroot.net/results/19a/19adc0aa5a7e48119ef4ba25ba0403867f74f678/
http://autobuild.buildroot.net/results/9bd/9bd8e13ddffdd0631ddca30ec40cc4664729b0cb/

Cc: Marcin Bis <marcin@bis.org.pl>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 Config.in.legacy                     |  9 +++++++++
 package/bluez5_utils/Config.in       | 13 +++++--------
 package/bluez5_utils/bluez5_utils.mk |  5 ++++-
 3 files changed, 18 insertions(+), 9 deletions(-)

diff --git a/Config.in.legacy b/Config.in.legacy
index 98b9eeb..bc14bf2 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -145,6 +145,15 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2017.05"
 
+config BR2_PACKAGE_BLUEZ5_UTILS_GATTTOOL
+	bool "bluez5_utils gatttool install option removed"
+	select BR2_PACKAGE_BLUEZ5_UTILS_DEPRECATED
+	help
+	  The option to install gatttool specifically has been removed.
+	  Since version 5.44 gatttool is in the list of deprecated
+	  tools. The option to build and install deprecated tools has
+	  been automatically enabled.
+
 config BR2_PACKAGE_OPENOCD_FT2XXX
 	bool "openocd ft2232 support has been removed"
 	select BR2_PACKAGE_OPENOCD_FTDI
diff --git a/package/bluez5_utils/Config.in b/package/bluez5_utils/Config.in
index 3611c69..285560a 100644
--- a/package/bluez5_utils/Config.in
+++ b/package/bluez5_utils/Config.in
@@ -48,16 +48,13 @@ config BR2_PACKAGE_BLUEZ5_UTILS_CLIENT
 comment "bluez5-utils client needs a glibc or musl toolchain"
 	depends on BR2_TOOLCHAIN_USES_UCLIBC
 
-config BR2_PACKAGE_BLUEZ5_UTILS_GATTTOOL
-	bool "install GATT tool"
+config BR2_PACKAGE_BLUEZ5_UTILS_DEPRECATED
+	bool "install deprecated tool"
 	depends on BR2_PACKAGE_BLUEZ5_UTILS_CLIENT
 	help
-	  Generic Attribute Profile (GATT) support. This provides
-	  profile discovery and description services for Bluetooth Low
-	  Energy. This will install the gatttool utility.
-
-	  It is always built with BlueZ 5.x, but upstream choose not
-	  to install it by default.
+	  Build BlueZ 5.x deprecated tools. These currently include:
+	  hciattach, hciconfig, hcitool, hcidump, rfcomm, sdptool,
+	  ciptool, gatttool.
 
 config BR2_PACKAGE_BLUEZ5_UTILS_EXPERIMENTAL
 	bool "build experimental plugins"
diff --git a/package/bluez5_utils/bluez5_utils.mk b/package/bluez5_utils/bluez5_utils.mk
index aaefcb6..fac7958 100644
--- a/package/bluez5_utils/bluez5_utils.mk
+++ b/package/bluez5_utils/bluez5_utils.mk
@@ -46,11 +46,14 @@ BLUEZ5_UTILS_CONF_OPTS += --disable-sixaxis
 endif
 
 # install gatttool (For some reason upstream choose not to do it by default)
-ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_GATTTOOL),y)
+ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_DEPRECATED),y)
 define BLUEZ5_UTILS_INSTALL_GATTTOOL
 	$(INSTALL) -D -m 0755 $(@D)/attrib/gatttool $(TARGET_DIR)/usr/bin/gatttool
 endef
 BLUEZ5_UTILS_POST_INSTALL_TARGET_HOOKS += BLUEZ5_UTILS_INSTALL_GATTTOOL
+BLUEZ5_UTILS_CONF_OPTS += --enable-deprecated
+else
+BLUEZ5_UTILS_CONF_OPTS += --disable-deprecated
 endif
 
 # enable test

^ permalink raw reply related

* [Buildroot] Analysis of build results for 2017-05-04
From: Thomas Petazzoni @ 2017-05-05 11:24 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20170505062802.8C0262097E@mail.free-electrons.com>

Hello,

Usual analysis of build results. Matt, Waldemar, Mario, Adam, Semyon,
Vicente, Bernd, Martin, Arnout, Peter, there are some issues/questions
for you below. Thanks!

On Fri,  5 May 2017 08:28:02 +0200 (CEST), Thomas Petazzoni wrote:

>          arm |              apache-legal-info | NOK | http://autobuild.buildroot.net/results/2564362d01139ca3bf3caa30509ae1c8c21239ef |     

This one looks really weird. The build was successful, but the
legal-info at the end of the build failed, because the Apache httpd
tarball has disappeared from the download folder. I don't really see
how this could be happening.

Matt, since this issue occurred on your autobuilder slave, could you
indicate if you have done some maintenance / manually removed some
downloaded files ?

A set of random files are removed from the dl/ folder by the
autobuild-run script, but this happens *before* the build, so I don't
see how it can lead to this situation.

>          arm |                   arp-scan-1.9 | NOK | http://autobuild.buildroot.net/results/e14cadb290b0b86cac12c4bfb681eb6eee9e6dea |     

I have just deployed a new ARM/Cortex-M4 toolchain that uses binutils
2.28, so this issue will disappear.

> microblazeel | atest-895b0183a89c15f5e2305... | NOK | http://autobuild.buildroot.net/results/40743aff7e36f21625f2a8bb42d277f79ac1e0a7 |     

Fixed by rebuilding the Microblaze toolchain.

>          arc | atest-895b0183a89c15f5e2305... | NOK | http://autobuild.buildroot.net/results/b2977977d9484d861e6955677032bd929592e8ba |     

Fixed by using the Buildroot ARC toolchain instead of the Synopsys ARC
toolchain.

>          arm |                    atftp-0.7.1 | NOK | http://autobuild.buildroot.net/results/c2b4d30eb4b619322088161774d9fc66beccda64 |     

Fixed by the new ARM/Cortex-M4 toolchain.

>         bfin |                  binutils-2.27 | NOK | http://autobuild.buildroot.net/results/b7e43a1cdcae5c5c177c35b5275c5b120fda5fa3 | ORPH
>         bfin |                  binutils-2.27 | NOK | http://autobuild.buildroot.net/results/31f73933a332fb613bbfde78735ed07707b2a83c | ORPH
>         bfin |                  binutils-2.27 | NOK | http://autobuild.buildroot.net/results/72f477e1ed17b70cfe05018d5140bfc71a3747ce | ORPH

Fixed by
https://git.buildroot.org/buildroot/commit/?id=33ad356ce5dacabe0d3dac89832ce264633793d3.

However, it's a bit sad that binutils is an orphaned package. Who
volunteers to be in the DEVELOPERS file for it?

>          arm |                 busybox-1.26.2 | NOK | http://autobuild.buildroot.net/results/5296e9dccd5023d682d4cd763f15dc08609658d7 | ORPH
>          arm |                 busybox-1.26.2 | NOK | http://autobuild.buildroot.net/results/fabece97746c622b1b852fbf17453682c99c5dd8 | ORPH
>          arm |                 busybox-1.26.2 | NOK | http://autobuild.buildroot.net/results/477573158f2d9738d2fe11f84d0b72f456541b9a | ORPH

Fixed by the new ARM/Cortex-M4 toolchain.

Who wants to be in the DEVELOPERS file for busybox ?

>         mips |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/5eab7fb2e78c2bcab9e2f4d9b57c044fb2df0f14 | ORPH
>     mips64el |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/d7b17f0c31dd39a9fc46284c162dffcfc7a5dc44 | ORPH
>        sparc |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/f02e66b3c094b2c5136484f8c28585c7d4a60a40 | ORPH
>      powerpc |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/6d8ec7d169c58be5d826e8dd3366752d1b5124e1 | ORPH
>       mipsel |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/e7c9eb6ac3fe477312c53564ee114d912adb83db | ORPH
>          arm |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/fa7d3e77f4ac0aaee93eb3a31db07a4c5597985a | ORPH
>         sh4a |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/c64dd245d12ffecf6465d2f6a3817d7e921bd467 | ORPH
>      powerpc |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/8e615bf5becd6489320ab376abaa0576fbe0baff | ORPH
>     mips64el |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/9fa46ae09dcf0932803e7c52c87d2ebb56c27898 | ORPH
>          arm |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/23d717bf592f6574137d4e0b20abc830b58a0284 | ORPH
>          arc |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/1c4de1fbd19243165142086f1691a9d54101661b | ORPH
>        nios2 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/82c1b525ac0449806bd20f6016f6be4fe2bb82fa | ORPH
>      powerpc |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/d829d8150c977f7b245ef28f0ea0c4b0b3791e03 | ORPH
>         or1k |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/6580201099de318dbb8dc5fb9eed0ed7f941e8b9 | ORPH
>       x86_64 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/9fd1d166cd44eecef54aff1c32ec9b1bc98f8270 | ORPH
>         i686 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/1017a7f44c955c7113266c3f45c8a5106345e0b2 | ORPH
>        sparc |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/bd6cedaa97db38dddb0a54e81d611bd52694fed6 | ORPH
>          sh4 |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/0491b8ffc8c580c191e421567982851e3269d557 | ORPH
>         m68k |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/eb3ed1638dfd2fb13eff65cff31982c8388a5f29 | ORPH
>         or1k |            host-protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/7df6b3bbf57d0a695d7c158387bbaa20aa579bab | ORPH

The "old gcc" issue. If that doesn't get resolved today, I will revert
the bump to protobuf 3.2.0, so that we can be back to a working
situation.

Also, Mario, would you accept to be listed in the DEVELOPERS file for
the protobuf package ?

>          arm |          host-ti-cgt-pru-2.1.4 | NOK | http://autobuild.buildroot.net/results/01fccc880ae53a60e03eb1bf8236d5c02c28dada |     

chmod +x /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/dl/ti_cgt_pru_2.1.4_linux_installer_x86.bin
chmod: changing permissions of '/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-1/dl/ti_cgt_pru_2.1.4_linux_installer_x86.bin': Operation not permitted

Matthew: this is a configuration issue on your autobuilder slave. It is
not normal that we are not allowed to set execution permissions. Could
you fix this?

>       x86_64 | kvm-unit-tests-5731572b2ac2... | NOK | http://autobuild.buildroot.net/results/68c2fb80a57ed5a7b5ba2cddd91aaf7afcc3476b |     

This has been broken for too long on x86-64, I'll disable it.

>          arm |                  libqmi-1.18.0 | NOK | http://autobuild.buildroot.net/results/f92c7cbb26ee25ba709a2a6b0738189b835d4322 | ORPH
>       mipsel |                  libqmi-1.18.0 | NOK | http://autobuild.buildroot.net/results/b7ded5f81093790ea528738bc3734503576d1cb2 | ORPH
>        nios2 |                  libqmi-1.18.0 | NOK | http://autobuild.buildroot.net/results/02b3f6bcb2743f529204160e5f1af95a7cf0ba51 | ORPH
>          arm |                  libqmi-1.18.0 | NOK | http://autobuild.buildroot.net/results/8ca091e02cdbcea1541e8c3d58372cec17705ade | ORPH
>       x86_64 |                  libqmi-1.18.0 | NOK | http://autobuild.buildroot.net/results/c18967f936310680ed91e8dac6476a026d92dddc | ORPH
>       x86_64 |                  libqmi-1.18.0 | NOK | http://autobuild.buildroot.net/results/f6e7a44a56270ebd869ac1e7f78b563c908c7b70 | ORPH
>       mipsel |                  libqmi-1.18.0 | NOK | http://autobuild.buildroot.net/results/4f0eb2af09c92ff4cd7448211ffda432754d4e60 | ORPH

Fixed by
https://git.buildroot.org/buildroot/commit/?id=4d11848a21d4424a04e8428c4cd3bd5e972aacdf.

Who wants to be in the DEVELOPERS file for this package ?

>     mips64el |                 libselinux-2.6 | NOK | http://autobuild.buildroot.net/results/98df2219b99c74f63d214dee5feb77925932f17d |   

Python/SWIG issue in SELinux.

Matthew? Adam?
  
>          arm |                  libxml2-2.9.4 | NOK | http://autobuild.buildroot.net/results/87093eb13d0396dc88f60386b2e1169b681f8f98 | ORPH

Should be fixed by the new ARM/Cortex-M4 toolchain.

>          arm |              lttng-tools-2.9.4 | NOK | http://autobuild.buildroot.net/results/f9e82a87618bcdcd46d670697b5ac75836f7250d |     
>       x86_64 |              lttng-tools-2.9.4 | NOK | http://autobuild.buildroot.net/results/cb0952483b580b053a585760e59d78d11f46fc60 |     

Fixed by disabling lttng-tools on musl/uclibc.

>         i686 |                    luvi-v2.7.5 | NOK | http://autobuild.buildroot.net/results/440e3b9fc22e508f413caa0f70d2dcd1f46b3d0d |     
>          arm |                    luvi-v2.7.5 | NOK | http://autobuild.buildroot.net/results/3eef12dbe07fb375e87b2b2898dcc5ef0c11e7a5 |     
>      powerpc |                    luvi-v2.7.5 | NOK | http://autobuild.buildroot.net/results/04bb96c527ecd062307b2c584da5a0654e26582b |     
>         i686 |                    luvi-v2.7.5 | NOK | http://autobuild.buildroot.net/results/ca41ced46684b8e982fe4480755d205b922b5cb3 |     
>         i586 |                    luvi-v2.7.5 | NOK | http://autobuild.buildroot.net/results/872e41cc58a73e0c6152d98eefe0850c6b18f114 |     

Fixed by https://git.buildroot.org/buildroot/commit/?id=63e1e113f27f54d417aca037fd0c7737288ccf83.

>          arc |                  lvm2-2.02.170 | NOK | http://autobuild.buildroot.net/results/259b18181df2af5228707677879c5aeb42e5a36e | ORPH

Fixed by switching to the Buildroot ARC toolchain instead of the Synopsys one.

>      powerpc |                madplay-0.15.2b | NOK | http://autobuild.buildroot.net/results/9624003b0528d33a66f28c6e9dcd48d9bc887363 | ORPH

/home/buildroot/autobuild/run/instance-0/output/host/usr/lib/gcc/powerpc-buildroot-linux-uclibc/5.4.0/libgcc.a(unwind-dw2-fde-dip.o): In function `_Unwind_Find_FDE':
/home/buildroot/autobuild/run/instance-0/output/build/host-gcc-final-5.4.0/build/powerpc-buildroot-linux-uclibc/libgcc/../../../libgcc/unwind-dw2-fde-dip.c:465: undefined reference to `dl_iterate_phdr'

Waldemar, perhaps? I do remember discussing this dl_iterate_phdr()
issue, but I always forget the background.

>     mips64el |                     mpir-3.0.0 | NOK | http://autobuild.buildroot.net/results/f62c6014a48970f97d718a8698009847ae4b4889 |     

Semyon, what is the status of your work on this package ?

Vicente, this is a very MIPS specific issue, perhaps you could give
some help here ?

>         i686 |                  mplayer-1.3.0 | NOK | http://autobuild.buildroot.net/results/3fa5b5af77d10e4576cda3a38cb418024aa58e22 |     

Bernd, could you look into this ?

>       mipsel |                     mpv-0.25.0 | NOK | http://autobuild.buildroot.net/results/8fb9306200c7f49afb077e3745b11cb65d8bc9ec |     

Vicente, this error is a fallout from your commit
c10724093ae3058d0fb33699c4622a5160e15721 bumping mpv. Could you have a
look ?

>       x86_64 |                   nodejs-7.9.0 | NOK | http://autobuild.buildroot.net/results/0e4fb1a615ab9654ad2b4b1274a34583e02aa44e |     

Network issue while downloading the nodejs coffee script/express stuff.

Martin, do you have an idea what we can do about this ? Should we stop
testing coffee script/express in the autobuilders ?

>        sparc | openblas-f04af36ad0e85b64f1... | NOK | http://autobuild.buildroot.net/results/01b7e6157d891905e6cd18a29651688eb0c78fc7 |     

ERROR: architecture for "/usr/lib/libopenblas_sparcp-r0.2.19.dev.so" is "Sparc v8+", should be "Sparc"

So in the end, another package that builds a Sparc file for Sparc v8+
even if we're building for Sparc classic. To be investigated.

Cc'ing Arnout on this one.

>          arm |                 poppler-0.54.0 | NOK | http://autobuild.buildroot.net/results/b749b252f63945f278358dcd76b6e9c55214ccd8 |     
>         i686 |                 poppler-0.54.0 | NOK | http://autobuild.buildroot.net/results/92e68defe746eb4852b3a45bb27af2282d3f4c7e |     

error: 'vector' in namespace 'std' does not name a template type

Happens in the Qt backend. Peter, perhaps you have an idea ?

>        sparc |                 protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/c6e29c120900cbbc54c1c7fde48217609375dabc | ORPH
>        sparc |                 protobuf-3.2.0 | NOK | http://autobuild.buildroot.net/results/61089d8e6651054fa1ed60aad4dbfde5535cda01 | ORPH

Needs -latomic.

>          arm |                     qemu-2.8.0 | NOK | http://autobuild.buildroot.net/results/79900b22c190e883b6d9a3075e1286ec95840ae1 |     

Fixed by
https://git.buildroot.org/buildroot/commit/?id=40c5fff46629ac4f0f55165f9c3594980a4700ef.

>         or1k |                       qt-4.8.7 | NOK | http://autobuild.buildroot.net/results/b42dcc8f27a1dd5a77224c1603a1e45605e851af | ORPH
>         or1k |                       qt-4.8.7 | NOK | http://autobuild.buildroot.net/results/4ba65792c2bfe75f3c7a57e1dfa7162969e7b2ba | ORPH

Waldemar, should we simply disable qt on or1k ?

>          arm |           qt5declarative-5.8.0 | NOK | http://autobuild.buildroot.net/results/64a198397736db12b73c1f693dbe1c47d73b53da |     

logo.h:52:11: error: 'GLfloat' does not name a type
     const GLfloat *constData() const { return m_data.constData(); }

Peter, an idea ?

There's no OpenGL backend enabled in this configuration.

> microblazeel |                     radvd-2.12 | NOK | http://autobuild.buildroot.net/results/e25627bdad5caeca653481c18a172f498d32c36f | ORPH
>          arc |                     radvd-2.12 | NOK | http://autobuild.buildroot.net/results/73170906b5b42ff14c3e444aef0d34fa86729afa | ORPH
>          arm |                     radvd-2.12 | NOK | http://autobuild.buildroot.net/results/c9048915eccd4be0b2ed709999f53d697bf66900 | ORPH
>       xtensa |                     radvd-2.12 | NOK | http://autobuild.buildroot.net/results/7efbf3508cb4b02b510066be806778317539db75 | ORPH

Issue between uClibc-ng headers and Linux kernel headers 4.11.
Waldemar, I reported the issue on the uClibc mailing list yesterday.

> microblazeel |               rapidjson-v1.1.0 | NOK | http://autobuild.buildroot.net/results/c69b791f944610438daaaa53e1030fe8c78ea3c0 |     
>          arm |               rapidjson-v1.1.0 | NOK | http://autobuild.buildroot.net/results/ac989c119e4ea90b8318795fe9cf8c3e9395a354 |     

Needs C++ support, fixed in
https://git.buildroot.org/buildroot/commit/?id=ab56ce15c1802f41259718e6d36e35790fd8cb0a.

>          arm |                 tinyxml2-4.0.1 | NOK | http://autobuild.buildroot.net/results/5fb0ec2d93fdaa6cb47807488c5db45a67a50b91 |     
>         m68k |                 tinyxml2-4.0.1 | NOK | http://autobuild.buildroot.net/results/c5922dd689fccf74d128f597609418eb43ffebec |     
>         m68k |                 tinyxml2-4.0.1 | NOK | http://autobuild.buildroot.net/results/0247ce0474fb5df8913f8ff12028d992e408964d |     
>          arm |                 tinyxml2-4.0.1 | NOK | http://autobuild.buildroot.net/results/23394eea5f8ef5a1e7993ee84902b37b463ba091 |     

Static linking issue, fixed in
https://git.buildroot.org/buildroot/commit/?id=a598a7109c3b518898f38b433f865801d1c1163f.

>          arm |      toolchain-external-custom | NOK | http://autobuild.buildroot.net/results/de2da398744b5e2b4ba88641c9ee99426e6f2f28 |     

Fixed in the autobuilder infrastructure.

>       x86_64 | toolchain-external-custom-l... | NOK | http://autobuild.buildroot.net/results/5890a96c4f8324839981ce950241b1c442e80827 | ORPH

This is another instance of legal-info failing on Matthew autobuilder
instance, because the tarball has disappeared.

Matthew, are you doing something funky like sharing the download
folders between the different instances ?

>        nios2 |            uboot-tools-2017.03 | NOK | http://autobuild.buildroot.net/results/75e0655935f438a3d483ee02e8cbc764c48d6652 | ORPH
>       mipsel |            uboot-tools-2017.03 | NOK | http://autobuild.buildroot.net/results/fb609f6b55cebfd9a970d1253c07a62e883f5984 | ORPH
>     mips64el |            uboot-tools-2017.03 | NOK | http://autobuild.buildroot.net/results/082f2e93ae7f4ff23167e89eda9fa0db6cb8185b | ORPH

Fixed by
https://git.buildroot.org/buildroot/commit/?id=f4891c398e599f18bbf41eb33885930431f5e1c8.

Thanks!

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

^ permalink raw reply

* [Buildroot] [PATCH 1/1] fix help text wrapping for configs starting with 'a'
From: Adam Duskett @ 2017-05-05 10:33 UTC (permalink / raw)
  To: buildroot

The check-package script when ran gives warnings on text wrapping
on all of these Config files.  This patch cleans up all warnings
related to the text wrapping for the Config files starting with
the letter a in the package directory.

The appropriate indentation is: <tab><2 spaces><62 chars>
See http://nightly.buildroot.org/#writing-rules-config-in for more
information.

http://nightly.buildroot.org/#writing-rules-config-in
Signed-off-by: Adam Duskett <aduskett@codeblue.com>
---
 package/a10disp/Config.in   |  5 +++--
 package/acpid/Config.in     |  5 +++--
 package/aespipe/Config.in   |  9 +++++----
 package/agentpp/Config.in   | 16 +++++++++-------
 package/alsa-lib/Config.in  |  5 +++--
 package/apache/Config.in    | 18 ++++++++++--------
 package/apr/Config.in       |  7 ++++---
 package/assimp/Config.in    |  9 +++++----
 package/aubio/Config.in     | 22 ++++++++++++----------
 package/aufs-util/Config.in | 14 ++++++++------
 package/autossh/Config.in   |  5 +++--
 11 files changed, 65 insertions(+), 50 deletions(-)

diff --git a/package/a10disp/Config.in b/package/a10disp/Config.in
index 18e2d8f..3c27b58 100644
--- a/package/a10disp/Config.in
+++ b/package/a10disp/Config.in
@@ -3,8 +3,9 @@ config BR2_PACKAGE_A10DISP
 	depends on BR2_arm
 	depends on BR2_LINUX_KERNEL
 	help
-	  Program to change the display mode of Allwinner ARM SOCs running
-	  the linux-sunxi kernel (and not the mainline kernel.)
+	  Program to change the display mode of Allwinner
+	  ARM SOCs running the linux-sunxi kernel
+	  (and not the mainline kernel.)
 
 	  http://github.com/hglm/a10disp
 
diff --git a/package/acpid/Config.in b/package/acpid/Config.in
index 5aec7f1..2bd83ea 100644
--- a/package/acpid/Config.in
+++ b/package/acpid/Config.in
@@ -4,7 +4,8 @@ config BR2_PACKAGE_ACPID
 	help
 	  Advanced Configuration and Power Interface event daemon.
 
-	  Acpid is designed to notify user-space programs of ACPI events,
-	  and allows you to configure specific actions for specific events.
+	  Acpid is designed to notify user-space programs of ACPI
+	  events, and allows you to configure specific actions for
+	  specific events.
 
 	  http://sourceforge.net/projects/acpid2/
diff --git a/package/aespipe/Config.in b/package/aespipe/Config.in
index df99523..0140c94 100644
--- a/package/aespipe/Config.in
+++ b/package/aespipe/Config.in
@@ -2,9 +2,10 @@ config BR2_PACKAGE_AESPIPE
 	bool "aespipe"
 	depends on BR2_USE_MMU # fork()
 	help
-	  aespipe program is AES encrypting or decrypting pipe. It reads from
-	  standard input and writes to standard output. It can be used to
-	  create and restore encrypted tar or cpio archives. It can be used to
-	  encrypt and decrypt loop-AES compatible encrypted disk images.
+	  aespipe program is AES encrypting or decrypting pipe.
+	  It reads from standard input and writes to standard
+	  output. It can be used to create and restore encrypted
+	  tar or cpio archives. It can be used to encrypt and
+	  decrypt loop-AES compatible encrypted disk images.
 
 	  http://koti.tnnet.fi/jari.ruusu/linux/
diff --git a/package/agentpp/Config.in b/package/agentpp/Config.in
index e591fb5..b921585 100644
--- a/package/agentpp/Config.in
+++ b/package/agentpp/Config.in
@@ -5,13 +5,15 @@ config BR2_PACKAGE_AGENTPP
 	depends on !BR2_STATIC_LIBS # snmp++
 	select BR2_PACKAGE_SNMPPP
 	help
-	  AGENT++ is a set of C++ classes which provides a complete protocol
-	  engine and dispatch table for the development of SNMP agents.
-	  AGENT++ is a multilingual API which supports SNMPv1, SNMPv2c, and
-	  SNMPv3. It provides various C++ classes implementing prototypes for
-	  scalar and table SNMP managed objects that can be customized by
-	  derivation. Additional classes support the development of proxy
-	  agents as well as sending notifications.
+	  AGENT++ is a set of C++ classes which provides a
+	  complete protocol engine and dispatch table for the
+	  development of SNMP agents. AGENT++ is a multilingual
+	  API which supports SNMPv1, SNMPv2c, and SNMPv3.
+	  It provides various C++ classes implementing prototypes
+	  for scalar and table SNMP managed objects that can be
+	  customized by derivation. Additional classes support the
+	  development of proxy agents as well as sending
+	  notifications.
 
 	  SNMPv3 support is enabled if SNMP++ enables it.
 
diff --git a/package/alsa-lib/Config.in b/package/alsa-lib/Config.in
index c355b2c..50f7bcc 100644
--- a/package/alsa-lib/Config.in
+++ b/package/alsa-lib/Config.in
@@ -13,8 +13,9 @@ menuconfig BR2_PACKAGE_ALSA_LIB
 	# is fixed
 	select BR2_PACKAGE_ALSA_LIB_PCM
 	help
-	  The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
-	  functionality to the Linux operating system.
+	  The Advanced Linux Sound Architecture (ALSA) provides
+	  audio and MIDI functionality to the Linux operating
+	  system.
 
 	  http://www.alsa-project.org/
 
diff --git a/package/apache/Config.in b/package/apache/Config.in
index 5916d30..1cf0bc6 100644
--- a/package/apache/Config.in
+++ b/package/apache/Config.in
@@ -6,11 +6,12 @@ config BR2_PACKAGE_APACHE
 	select BR2_PACKAGE_APR_UTIL
 	select BR2_PACKAGE_PCRE
 	help
-	  The Apache HTTP Server Project is an effort to develop and maintain an
-	  open-source HTTP server for modern operating systems including UNIX
-	  and Windows NT. The goal of this project is to provide a secure,
-	  efficient and extensible server that provides HTTP services in sync
-	  with the current HTTP standards.
+	  The Apache HTTP Server Project is an effort to develop
+	  and maintain an open-source HTTP server for modern
+	  operating systems including UNIX and Windows NT. The
+	  goal of this project is to provide a secure, efficient
+	  and extensible server that provides HTTP services in
+	  sync with the current HTTP standards.
 
 	  http://httpd.apache.org
 
@@ -25,8 +26,8 @@ choice
 config BR2_PACKAGE_APACHE_MPM_EVENT
 	bool "event"
 	help
-	  A variant of the worker MPM with the goal of consuming threads
-	  only for connections with active processing
+	  A variant of the worker MPM with the goal of consuming
+	  threads only for connections with active processing
 
 config BR2_PACKAGE_APACHE_MPM_PREFORK
 	bool "prefork"
@@ -36,7 +37,8 @@ config BR2_PACKAGE_APACHE_MPM_PREFORK
 config BR2_PACKAGE_APACHE_MPM_WORKER
 	bool "worker"
 	help
-	  Implements a hybrid multi-threaded multi-process web server
+	  Implements a hybrid multi-threaded multi-process web
+	  server
 
 endchoice
 
diff --git a/package/apr/Config.in b/package/apr/Config.in
index 5757272..0e09ea6 100644
--- a/package/apr/Config.in
+++ b/package/apr/Config.in
@@ -4,9 +4,10 @@ config BR2_PACKAGE_APR
 	depends on !BR2_STATIC_LIBS
 	depends on BR2_USE_MMU # fork() in apr_proc_fork()
 	help
-	  The mission of the Apache Portable Runtime (APR) project is to create
-	  and maintain software libraries that provide a predictable and
-	  consistent interface to underlying platform-specific implementations
+	  The mission of the Apache Portable Runtime (APR) project
+	  is to create and maintain software libraries that
+	  provide a predictable and consistent interface to
+	  underlying platform-specific implementations
 
 	  http://apr.apache.org/
 
diff --git a/package/assimp/Config.in b/package/assimp/Config.in
index 93020f7..87870b7 100644
--- a/package/assimp/Config.in
+++ b/package/assimp/Config.in
@@ -7,10 +7,11 @@ config BR2_PACKAGE_ASSIMP
 	depends on BR2_INSTALL_LIBSTDCPP
 	select BR2_PACKAGE_ZLIB
 	help
-	  Open Asset Import Library (assimp) is a portable Open Source
-	  library to import various well-known 3D model formats in a uniform
-	  manner. The most recent version also knows how to export 3d files
-	  and is therefore suitable as a general-purpose 3D model converter.
+	  Open Asset Import Library (assimp) is a portable Open
+	  Source library to import various well-known 3D model
+	  formats in a uniform manner. The most recent version
+	  also knows how to export 3d files and is therefore
+	  suitable as a general-purpose 3D model converter.
 
 	  http://www.assimp.org
 
diff --git a/package/aubio/Config.in b/package/aubio/Config.in
index c4c60db..515971c 100644
--- a/package/aubio/Config.in
+++ b/package/aubio/Config.in
@@ -3,17 +3,19 @@ config BR2_PACKAGE_AUBIO
 	depends on !BR2_STATIC_LIBS
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
-	  aubio is a tool designed for the extraction of annotations from
-	  audio signals. Its features include segmenting a sound file
-	  before each of its attacks, performing pitch detection, tapping
-	  the beat and producing midi streams from live audio.
+	  aubio is a tool designed for the extraction of
+	  annotations from audio signals. Its features include
+	  segmenting a sound file before each of its attacks,
+	  performing pitch detection, tapping the beat and
+	  producing midi streams from live audio.
 
-	  Because these tasks are difficult, we thought it was important
-	  to gather them in a dedicated library. To increase the fun, we
-	  have made these algorithms work in a causal way, so as to be
-	  used in real time applications with as low delay as possible.
-	  Functions can be used offline in sound editors and software
-	  samplers, or online in audio effects and virtual instruments.
+	  Because these tasks are difficult, we thought it was
+	  important to gather them in a dedicated library. To
+	  increase the fun, we have made these algorithms work in
+	  a causal way, so as to be used in real time applications
+	  with as low delay as possible. Functions can be used
+	  offline in sound editors and software samplers, or
+	  online in audio effects and virtual instruments.
 
 	  https://aubio.org
 
diff --git a/package/aufs-util/Config.in b/package/aufs-util/Config.in
index 93999fb..f580bae 100644
--- a/package/aufs-util/Config.in
+++ b/package/aufs-util/Config.in
@@ -21,14 +21,16 @@ config BR2_PACKAGE_AUFS_UTIL_VERSION
 	string "aufs-util version"
 	default ""
 	help
-	  The version you choose must match that of the aufs support
-	  in your kernel. Usually, this is aufs3.x for 3.x kernels and
-	  aufs4.x for 4.x kernels.
+	  The version you choose must match that of the aufs
+	  support in your kernel. Usually, this is aufs3.x for 3.x
+	  kernels and aufs4.x for 4.x kernels.
 
-	  Usually, the sha1 of the cset you want to use; avoid using a
-	  branch name as this yields non-reproducible builds.
+	  Usually, the sha1 of the cset you want to use; avoid
+	  using a branch name as this yields non-reproducible
+	  builds.
 
-	  See the following resources to see what versions are available:
+	  See the following resources to see what versions are
+	  available:
 
 	  https://sourceforge.net/p/aufs/aufs-util/ci/master/tree/
 
diff --git a/package/autossh/Config.in b/package/autossh/Config.in
index 6d1a085..98e9ff7 100644
--- a/package/autossh/Config.in
+++ b/package/autossh/Config.in
@@ -3,7 +3,8 @@ config BR2_PACKAGE_AUTOSSH
 	depends on BR2_USE_MMU # fork()
 	depends on BR2_PACKAGE_DROPBEAR || BR2_PACKAGE_OPENSSH
 	help
-	  autossh is a program to start a copy of ssh and monitor it,
-	  restarting it as necessary should it die or stop passing traffic.
+	  autossh is a program to start a copy of ssh and monitor
+	  it, restarting it as necessary should it die or stop
+	  passing traffic.
 
 	  http://www.harding.motd.ca/autossh/
-- 
2.9.3

^ 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