buildroot.git
6 years agoqt5: bump latest version to 5.11.2
Peter Seiderer [Sat, 29 Sep 2018 20:17:02 +0000 (22:17 +0200)]
qt5: bump latest version to 5.11.2

- qt5canvas3d: update license info
- qt5serialbus: update license hash (LICENSE.FDL editorial change, see [1])
- qt5serialport: update license hash (LICENSE.FDL editorial change, see [2])

[1] https://code.qt.io/cgit/qt/qtserialbus.git/commit/?id=226bd2f84c807b5401a82832dafa48d34966052a
[2] https://code.qt.io/cgit/qt/qtserialport.git/commit/?id=e0bd3949c30ce9c1988a6d6a3c0850d16a1fb33a

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/opencv3: bump version to 3.4.3
Bernd Kuhls [Sun, 30 Sep 2018 11:55:49 +0000 (13:55 +0200)]
package/opencv3: bump version to 3.4.3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/freeswitch: bump version to 1.8.2
Bernd Kuhls [Sun, 30 Sep 2018 10:10:06 +0000 (12:10 +0200)]
package/freeswitch: bump version to 1.8.2

Rebased patch 0002 after upstream commit:
https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/c2b2f49c1d0dcbfa77d5d861155a301fead93071

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agohaproxy: fix build with pcre2
Fabrice Fontaine [Fri, 28 Sep 2018 17:34:19 +0000 (19:34 +0200)]
haproxy: fix build with pcre2

Add a patch to customize path to pcre-config or pcre2-config instead of
messing with PCREDIR, PCRE2DIR and PCRE2_LDFLAGS variables

Fixes:
 - http://autobuild.buildroot.net/results/490bc87b43074623d2338cfd2acb77d5de0abaa6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/expedite: bump to the latest version
Romain Naour [Sat, 29 Sep 2018 13:28:17 +0000 (15:28 +0200)]
package/expedite: bump to the latest version

While at it add license file hash.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/efl: bump to version 1.21.1
Romain Naour [Sat, 29 Sep 2018 13:28:16 +0000 (15:28 +0200)]
package/efl: bump to version 1.21.1

Remove the --enable-i-really-know-what-i-am-doing[...] option removed by
upstream [1]. But keep BR2_PACKAGE_EFL_HAS_RECOMMENDED_CONFIG at Kconfig
level for Buildroot users since "warnings for disabling features have
been left intact".

Update license file hash since dates was removed from the license text.

[1] https://git.enlightenment.org/core/efl.git/commit/?id=1cda9fe749636484b1328e694a8dbbe4f9d0c31d

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agobootutils: fix build with glibc 2.28
Fabrice Fontaine [Sat, 29 Sep 2018 11:15:37 +0000 (13:15 +0200)]
bootutils: fix build with glibc 2.28

Replace first patch which was adding sys/types.h to fix musl issue by a
patch adding sys/sysmacros.h to fix build with glibc 2.28

Fixes:
 - http://autobuild.buildroot.org/results/c26761663a764a2eb7af54316a6dc78bd01490fb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosqlite: bump to version 3.25.2
Ferdinand van Aartsen [Fri, 28 Sep 2018 22:04:31 +0000 (00:04 +0200)]
sqlite: bump to version 3.25.2

Signed-off-by: Ferdinand van Aartsen <ferdinand@ombud.nl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agomosquitto: security bump to version 1.5.3
Fabrice Fontaine [Fri, 28 Sep 2018 21:22:07 +0000 (23:22 +0200)]
mosquitto: security bump to version 1.5.3

Fix CVE-2018-12543. If a message is sent to Mosquitto with a topic that
begins with $, but is not $SYS, then an assert that should be unreachable is
triggered and Mosquitto will exit.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-msgpack: bump to version 0.5.6
Asaf Kahlon [Sat, 29 Sep 2018 08:14:52 +0000 (11:14 +0300)]
python-msgpack: bump to version 0.5.6

Also add license hash.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/{mesa3d, mesa3d-headers}: bump version to 18.2.1
Bernd Kuhls [Sun, 30 Sep 2018 08:00:33 +0000 (10:00 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 18.2.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/samba4: bump version to 4.9.1
Bernd Kuhls [Sun, 30 Sep 2018 08:01:39 +0000 (10:01 +0200)]
package/samba4: bump version to 4.9.1

Release notes: https://www.samba.org/samba/history/samba-4.9.1.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/apache: security bump to version 2.4.35
Bernd Kuhls [Sun, 30 Sep 2018 07:59:17 +0000 (09:59 +0200)]
package/apache: security bump to version 2.4.35

Fixes: CVE-2018-11763: mod_http2, DoS via continuous SETTINGS frames
https://lists.apache.org/thread.html/d435b0267a76501b9e06c552b20c887171064cde38e46d678da4d3dd@%3Cannounce.httpd.apache.org%3E

Release notes:
https://lists.apache.org/thread.html/5d604774652fc073b1b161584d0d1efbdba7898c40ae2e2334725e5f@%3Cannounce.httpd.apache.org%3E

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-engineio: bump to version 2.3.1
Asaf Kahlon [Sun, 30 Sep 2018 04:43:37 +0000 (07:43 +0300)]
python-engineio: bump to version 2.3.1

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-cython: bump to version 0.28.5
Asaf Kahlon [Sat, 29 Sep 2018 17:55:14 +0000 (20:55 +0300)]
python-cython: bump to version 0.28.5

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoiozone: bump to version 3_482
Gilles Talis [Sat, 29 Sep 2018 15:09:04 +0000 (17:09 +0200)]
iozone: bump to version 3_482

Reworked patch from Gustavo Zacharias to make it apply to this version

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agohttping: add license hash
Gilles Talis [Sat, 29 Sep 2018 15:09:03 +0000 (17:09 +0200)]
httping: add license hash

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoocrad: add license hash
Gilles Talis [Sat, 29 Sep 2018 15:09:02 +0000 (17:09 +0200)]
ocrad: add license hash

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotesseract-ocr: bump to version 3.05.02
Gilles Talis [Sat, 29 Sep 2018 15:09:01 +0000 (17:09 +0200)]
tesseract-ocr: bump to version 3.05.02

Also added license hash

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoleptonica: bump to version 1.76.0
Gilles Talis [Sat, 29 Sep 2018 15:09:00 +0000 (17:09 +0200)]
leptonica: bump to version 1.76.0

Also added license hash

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agowebp: bump to version 1.0.0
Gilles Talis [Sat, 29 Sep 2018 15:08:59 +0000 (17:08 +0200)]
webp: bump to version 1.0.0

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agobind: security bump to version 9.11.4-P2
Peter Korsgaard [Sat, 29 Sep 2018 19:30:39 +0000 (21:30 +0200)]
bind: security bump to version 9.11.4-P2

>From the release notes
(http://ftp.isc.org/isc/bind9/9.11.4-P2/RELEASE-NOTES-bind-9.11.4-P2.txt):

 * There was a long-existing flaw in the documentation for ms-self,
   krb5-self, ms-subdomain, and krb5-subdomain rules in update-policy
   statements.  Though the policies worked as intended, operators who
   configured their servers according to the misleading documentation may
   have thought zone updates were more restricted than they were; users of
   these rule types are advised to review the documentation and correct
   their configurations if necessary.  New rule types matching the
   previously documented behavior will be introduced in a future maintenance
   release.  [GL !708]

 * named could crash during recursive processing of DNAME records when
   deny-answer-aliases was in use.  This flaw is disclosed in CVE-2018-5740.
   [GL #387]

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-engineio: bump to version 2.3.0
Asaf Kahlon [Fri, 28 Sep 2018 14:37:45 +0000 (17:37 +0300)]
python-engineio: bump to version 2.3.0

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agohaproxy: security bump to 1.8.14
Fabrice Fontaine [Thu, 27 Sep 2018 20:21:56 +0000 (22:21 +0200)]
haproxy: security bump to 1.8.14

Fix CVE-2018-14645 (see
https://www.mail-archive.com/haproxy@formilux.org/msg31253.html)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoxl2tp: bump to version 1.3.12
Fabrice Fontaine [Thu, 27 Sep 2018 18:19:07 +0000 (20:19 +0200)]
xl2tp: bump to version 1.3.12

Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoghostscript: security bump to version 9.25
Peter Korsgaard [Thu, 27 Sep 2018 16:00:23 +0000 (18:00 +0200)]
ghostscript: security bump to version 9.25

Fixes the following security issues:

- CVE-2018-16543: In Artifex Ghostscript before 9.24, gssetresolution and
  gsgetresolution allow attackers to have an unspecified impact

- CVE-2018-17183: Artifex Ghostscript before 9.25 allowed a user-writable
  error exception table, which could be used by remote attackers able to
  supply crafted PostScript to potentially overwrite or replace error
  handlers to inject code.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoglibc: bump version for post-2.28 fixes
Peter Korsgaard [Thu, 27 Sep 2018 13:07:13 +0000 (15:07 +0200)]
glibc: bump version for post-2.28 fixes

Carlos O'Donell (1):
      Fix tst-setcontext9 for optimized small stacks.

DJ Delorie (3):
      RISC-V: Fix rounding save/restore bug.
      Regen RISC-V rvd ULPs
      Improve ChangeLog message.

Florian Weimer (6):
      Linux: Rewrite __old_getdents64 [BZ #23497]
      error, error_at_line: Add missing va_end calls
      nscd: Deallocate existing user names in file parser
      nss_files: Fix file stream leak in aliases lookup [BZ #23521]
      regex: Add test tst-regcomp-truncated [BZ #23578]
      misc: New test misc/tst-gethostid

H.J. Lu (1):
      i386: Use ENTRY and END in start.S [BZ #23606]

Martin Kuchta (1):
      pthread_cond_broadcast: Fix waiters-after-spinning case [BZ #23538]

Mingli Yu (1):
      Linux gethostid: Check for NULL value from gethostbyname_r [BZ #23679]

Paul Eggert (1):
      regex: fix uninitialized memory access

Samuel Thibault (2):
      hurd: Add missing symbols for proper libc_get/setspecific
      hurd: Avoid PLTs for __pthread_get/setspecific

Stefan Liebler (1):
      Fix segfault in maybe_script_execute.

Wilco Dijkstra (1):
      Fix strstr bug with huge needles (bug 23637)

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-psutil: bump to version 5.4.7
Asaf Kahlon [Wed, 26 Sep 2018 15:34:50 +0000 (18:34 +0300)]
python-psutil: bump to version 5.4.7

Also add license hash.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-lmdb: bump to version 0.94
Asaf Kahlon [Wed, 26 Sep 2018 15:34:49 +0000 (18:34 +0300)]
python-lmdb: bump to version 0.94

Also add license hash.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-jinja2: bump to version 2.10
Asaf Kahlon [Wed, 26 Sep 2018 15:34:48 +0000 (18:34 +0300)]
python-jinja2: bump to version 2.10

Also add license hash.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-incremental: bump to version 17.5.0
Asaf Kahlon [Wed, 26 Sep 2018 15:34:47 +0000 (18:34 +0300)]
python-incremental: bump to version 17.5.0

Also add license hash.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-hyperlink: bump to version 18.0.0
Asaf Kahlon [Wed, 26 Sep 2018 15:34:46 +0000 (18:34 +0300)]
python-hyperlink: bump to version 18.0.0

Also add license hash.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-automat: bump to version 0.7.0
Asaf Kahlon [Wed, 26 Sep 2018 15:34:45 +0000 (18:34 +0300)]
python-automat: bump to version 0.7.0

Also add license hash.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-autobahn: bump to version 18.9.2
Asaf Kahlon [Wed, 26 Sep 2018 15:34:44 +0000 (18:34 +0300)]
python-autobahn: bump to version 18.9.2

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-attrs: bump to version 18.2.0
Asaf Kahlon [Wed, 26 Sep 2018 15:34:43 +0000 (18:34 +0300)]
python-attrs: bump to version 18.2.0

Also add license hash.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agohaproxy: new package
Fabrice Fontaine [Fri, 21 Sep 2018 20:56:19 +0000 (22:56 +0200)]
haproxy: new package

HAProxy is a free, very fast and reliable solution offering
high availability, load balancing, and proxying for TCP and
HTTP-based applications.

http://www.haproxy.org

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoltp-testsuite: Bump to version 20180926
Petr Vorel [Thu, 27 Sep 2018 14:28:27 +0000 (16:28 +0200)]
ltp-testsuite: Bump to version 20180926

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoe2fsprogs: fix musl compile (__GNUC_PREREQ related)
Peter Seiderer [Tue, 25 Sep 2018 20:21:04 +0000 (22:21 +0200)]
e2fsprogs: fix musl compile (__GNUC_PREREQ related)

Add void-linux provided patch to use __GNUC_PREREQ macro only
in case it is defined (patch taken from [1]).

Fixes [2]:

  In file included from ../../lib/ext2fs/ext2fs.h:97:0,
                   from feature.c:20:
  ../../lib/ext2fs/hashmap.h:20:19: error: missing binary operator before token "("
   #if __GNUC_PREREQ (4, 8)
                     ^
  ../../lib/ext2fs/hashmap.h:25:19: error: missing binary operator before token "("
   #if __GNUC_PREREQ (4, 8)
                     ^

Problem already upstream reported by Baruch Siach (see [3]).

[1] https://raw.githubusercontent.com/void-linux/void-packages/1f3b51493031cc0309009804475e3db572fc89ad/srcpkgs/e2fsprogs/patches/fix-glibcism.patch
[2] http://autobuild.buildroot.net/results/e49d9333086ed714fa193b79b49c53e9cc511fec
[3] https://www.spinics.net/lists/linux-ext4/msg62290.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-firmware: bump version and fix hash
Erico Nunes [Wed, 26 Sep 2018 22:38:06 +0000 (00:38 +0200)]
linux-firmware: bump version and fix hash

Bump the package to the most up to date version and fix the sha256 hash.
linux-firmware was failing due to an incorrect sha256 hash, as follows:

Fetching all references
warning: redirecting to https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/
remote: Counting objects: 6972, done.
remote: Total 6972 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (6972/6972), 196.63 MiB | 4.22 MiB/s, done.
Resolving deltas: 100% (4516/4516), done.
>From http://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware
 * [new branch]      master     -> origin/master
warning: redirecting to https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/
warning: refname '8d69bab7a3da1913113ea98cefb73d5fa6988286' is ambiguous.
Git normally never creates a ref that ends with 40 hex characters
because it will be ignored when you just specify 40-hex. These refs
may be created by mistake. For example,

  git checkout -b $br $(git rev-parse ...)

where "$br" is somehow empty and a 40-hex ref is created. Please
examine these refs and maybe delete them. Turn this message off by
running "git config advice.objectNameWarning false"
ERROR: linux-firmware-8d69bab7a3da1913113ea98cefb73d5fa6988286.tar.gz has wrong sha256 hash:
ERROR: expected: 905be20e4e2d7628dea4e2e99195520fc0cce8b247faabdc52fc44a3ff2ceb04
ERROR: got     : b9fce72a7b0b55eb311701dfd47914bc9e037134fa401d33e6e73ab9ebc9d116
ERROR: Incomplete download, or man-in-the-middle (MITM) attack

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoquazip: upgrade to 0.7.6
Zoltan Gyarmati [Wed, 26 Sep 2018 21:08:55 +0000 (23:08 +0200)]
quazip: upgrade to 0.7.6

Signed-off-by: Zoltan Gyarmati <zgyarmati@zgyarmati.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoconfigs/pc: bump kernel version
Erico Nunes [Wed, 26 Sep 2018 22:38:39 +0000 (00:38 +0200)]
configs/pc: bump kernel version

Bump the kernel version to 4.18.10.
Tested with qemu 2.11.2 on bios and UEFI virtual machines.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agonilfs-utils: drop NPTL dependency
Fabrice Fontaine [Wed, 26 Sep 2018 18:20:45 +0000 (20:20 +0200)]
nilfs-utils: drop NPTL dependency

The latest uClibc-ng version (1.0.30) provides clock_nanosleep() even
for non NPTL configurations.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agonilfs-utils: no comment if BR2_USE_MMU is true
Fabrice Fontaine [Wed, 26 Sep 2018 18:20:44 +0000 (20:20 +0200)]
nilfs-utils: no comment if BR2_USE_MMU is true

Don't display comment if BR2_USE_MMU is true
Moreover, move BR2_USE_MMU dependency at the top of dependency list

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Acked-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosedutil: new package
Peter Korsgaard [Wed, 26 Sep 2018 07:52:05 +0000 (09:52 +0200)]
sedutil: new package

Utilities to configure self encrypting drives that comply with the TCG OPAL
2.00 standard.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agowireguard: bump version to 0.0.20180925
Peter Korsgaard [Wed, 26 Sep 2018 17:47:40 +0000 (19:47 +0200)]
wireguard: bump version to 0.0.20180925

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoncmpc: fix build with gcc 4.9
Fabrice Fontaine [Wed, 26 Sep 2018 17:15:54 +0000 (19:15 +0200)]
ncmpc: fix build with gcc 4.9

Add upstream patch to fix build on gcc 4.9

Fixes:
 - http://autobuild.buildroot.org/results/e3b1b1bdad841c151b70294d517dc75c5305b0fe

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agochrony: fix build failure due to missing inclusion of util.h
Giulio Benetti [Thu, 27 Sep 2018 10:15:44 +0000 (12:15 +0200)]
chrony: fix build failure due to missing inclusion of util.h

During build package stops with linker error:
hash_intmd5.o: In function `HSH_Hash':
hash_intmd5.c:(.text+0x963): undefined reference to `MIN'

This is due to missing util.h inclusion.
util.h contains MIN() macro definition.

Add upstream patch:
https://git.tuxfamily.org/chrony/chrony.git/commit/?id=948ecf84314f78da82e0e2b07b6570ca9cff86c8
to add #include "util.h" in hash_intmd5.c

Fixes:
http://autobuild.buildroot.net/results/8f0/8f0d53b1d5a899e56540c859b908cbc1eaa223d5/
http://autobuild.buildroot.net/results/3c6/3c609f94aff182c9ab47ef8ec4b9de03a4d20ffb/
http://autobuild.buildroot.net/results/f1f/f1fcae399fb640c19cf88c9333a92cbfab547932/

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoDEVELOPERS: add myself for python-lxml
Asaf Kahlon [Wed, 26 Sep 2018 04:22:56 +0000 (07:22 +0300)]
DEVELOPERS: add myself for python-lxml

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump 4.{4, 9, 14, 18}.x series
Fabio Estevam [Wed, 26 Sep 2018 12:44:59 +0000 (09:44 -0300)]
linux-headers: bump 4.{4, 9, 14, 18}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux: bump default to version 4.18.10
Fabio Estevam [Wed, 26 Sep 2018 12:44:58 +0000 (09:44 -0300)]
linux: bump default to version 4.18.10

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoccache: bump to version 3.4.3
Asaf Kahlon [Fri, 21 Sep 2018 10:05:02 +0000 (13:05 +0300)]
ccache: bump to version 3.4.3

Update LICENSE.adoc: change was zlib and year bump.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-lxml: bump to version 4.2.5
Asaf Kahlon [Fri, 21 Sep 2018 09:59:48 +0000 (12:59 +0300)]
python-lxml: bump to version 4.2.5

Also add hashes for license files.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agocppzmq: bump to version v4.3.0
Fabrice Fontaine [Thu, 20 Sep 2018 22:03:19 +0000 (00:03 +0200)]
cppzmq: bump to version v4.3.0

- move to cmake-infrastructure
- add patch to fix install without static libzmq
- add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodomoticz: depends on gcc >= 4.8
Fabrice Fontaine [Thu, 20 Sep 2018 22:01:18 +0000 (00:01 +0200)]
domoticz: depends on gcc >= 4.8

sleep_for is not always defined with gcc <= 4.7, see
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52680

To fix this issue, add a dependency to gcc >= 4.8

Fixes:
 - http://autobuild.buildroot.net/results/0dada8dd727f32a4500670f6620adb05943ed0b7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoxlib_libXdmcp: add missing dependency on host-pkgconf
Thomas Petazzoni [Fri, 21 Sep 2018 12:13:50 +0000 (14:13 +0200)]
xlib_libXdmcp: add missing dependency on host-pkgconf

The libXdmcp configure script uses pkg-config, but the Buildroot
package does not depend on host-pkgconf. This is not seen by the
autobuilders most likely because another package that is always built
before libXdmcp builds pkg-config.

However, running:

$ make xlib_libXdmcp

triggers the following build failure:

checking pkg-config is at least version 0.9.0... ./configure: line 12323: /home/thomas/projets/buildroot/output/host/bin/pkg-config: No such file or directory
no
[...]
checking for XDMCP... configure: error: in `/home/thomas/projets/buildroot/output/build/xlib_libXdmcp-1.1.2':
configure: error: The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

This was detected using per-package target/host folders, because with
this, only the dependencies explicitly expressed by a package are
available to the package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-rtsp-server: add missing license file hash
Peter Seiderer [Tue, 25 Sep 2018 20:36:18 +0000 (22:36 +0200)]
gst1-rtsp-server: add missing license file hash

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-plugins-bad: add missing license file hash
Peter Seiderer [Tue, 25 Sep 2018 20:36:17 +0000 (22:36 +0200)]
gst1-plugins-bad: add missing license file hash

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-plugins-base: add missing license file hash
Peter Seiderer [Tue, 25 Sep 2018 20:36:16 +0000 (22:36 +0200)]
gst1-plugins-base: add missing license file hash

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst-omx: bump version to 1.14.3
Peter Seiderer [Tue, 25 Sep 2018 20:36:15 +0000 (22:36 +0200)]
gst-omx: bump version to 1.14.3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogstreamer1-editing-services: bump version to 1.14.3
Peter Seiderer [Tue, 25 Sep 2018 20:36:14 +0000 (22:36 +0200)]
gstreamer1-editing-services: bump version to 1.14.3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-rtsp-server: bump version to 1.14.3
Peter Seiderer [Tue, 25 Sep 2018 20:36:13 +0000 (22:36 +0200)]
gst1-rtsp-server: bump version to 1.14.3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-vaapi: bump version to 1.14.3
Peter Seiderer [Tue, 25 Sep 2018 20:36:12 +0000 (22:36 +0200)]
gst1-vaapi: bump version to 1.14.3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-libav: bump version to 1.14.3
Peter Seiderer [Tue, 25 Sep 2018 20:36:11 +0000 (22:36 +0200)]
gst1-libav: bump version to 1.14.3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-validate: bump version to 1.14.3
Peter Seiderer [Tue, 25 Sep 2018 20:36:10 +0000 (22:36 +0200)]
gst1-validate: bump version to 1.14.3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-plugins-ugly: bump version to 1.14.3
Peter Seiderer [Tue, 25 Sep 2018 20:36:09 +0000 (22:36 +0200)]
gst1-plugins-ugly: bump version to 1.14.3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-plugins-bad: bump version to 1.14.3
Peter Seiderer [Tue, 25 Sep 2018 20:36:08 +0000 (22:36 +0200)]
gst1-plugins-bad: bump version to 1.14.3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-plugins-good: bump version to 1.14.3
Peter Seiderer [Tue, 25 Sep 2018 20:36:07 +0000 (22:36 +0200)]
gst1-plugins-good: bump version to 1.14.3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-plugins-base: bump version to 1.14.3
Peter Seiderer [Tue, 25 Sep 2018 20:36:06 +0000 (22:36 +0200)]
gst1-plugins-base: bump version to 1.14.3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogstreamer1: bump version to 1.14.3
Peter Seiderer [Tue, 25 Sep 2018 20:36:05 +0000 (22:36 +0200)]
gstreamer1: bump version to 1.14.3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agominizip: bump to version 2.5.3
Fabrice Fontaine [Sun, 23 Sep 2018 12:11:42 +0000 (14:11 +0200)]
minizip: bump to version 2.5.3

- Move to cmake infrastructure
- Do not enforce zlib dependency
- Add optional bzip2 dependency
- Add mandatory host-pkgconf and libbsd dependency
- Remove miniunzip from Config.in, miniunzip (miniunz) has been merged
  with minizip:
  https://github.com/nmoinvaz/minizip/commit/a66cc31fac61e47a34bced08569ddec38b81bbef
- Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoutils/scancpan: refactor license name adjustment
Francois Perrad [Sat, 22 Sep 2018 06:53:23 +0000 (08:53 +0200)]
utils/scancpan: refactor license name adjustment

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agowebkitgtk: add dependency on the woff2 package
Adrian Perez de Castro [Sat, 22 Sep 2018 23:53:30 +0000 (02:53 +0300)]
webkitgtk: add dependency on the woff2 package

The woff2 dependency is used to support Web fonts in WOFF2 format.
This is a Web-facing feature that Web sites expect WebKit to support,
and it is recommended to be unconditionally enabled. While it is
possible to disable the feature at build time, upstream only recommends
doing so if the target system cannot provide a woff2 package.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agowebkitgtk: bump to version 2.22.2
Adrian Perez de Castro [Sat, 22 Sep 2018 23:53:29 +0000 (02:53 +0300)]
webkitgtk: bump to version 2.22.2

Release notes:

    https://webkitgtk.org/2018/09/03/webkitgtk2.22.0-released.html
    https://webkitgtk.org/2018/09/20/webkitgtk2.22.1-released.html
    https://webkitgtk.org/2018/09/21/webkitgtk2.22.2-released.html

No corresponding security advisories for 2.22.x have been published.
Nevertheless, due to skipping over versions in the 2.20.x series,
the following 2.20.x advisories apply:

    https://webkitgtk.org/security/WSA-2018-0003.html
    https://webkitgtk.org/security/WSA-2018-0004.html
    https://webkitgtk.org/security/WSA-2018-0005.html
    https://webkitgtk.org/security/WSA-2018-0006.html

This also bumps the required GCC version, due to the WebKit code
now using more modern C++ features which were introduced in version
6.x of the compiler. The dependency is propagated to the midori
package as well. Last but not least, BR2_PACKAGE_WEBP_DEMUX and
BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSDEMUX are selected as
they are unconditionally needed by the newer WebKitGTK+ releases
when multimedia support is enabled.

An upstream patch for 32-bit ARM which did not make it to be included
in this new version is included as well, and can be removed once it
gets picked in a new release.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoirqbalance: bump to version 1.4.0
Fabrice Fontaine [Sun, 23 Sep 2018 16:32:41 +0000 (18:32 +0200)]
irqbalance: bump to version 1.4.0

- Add hash for license file
- Add optional ncurses and systemd dependencies
- Remove --without-glib2 option, see:
  https://github.com/Irqbalance/irqbalance/commit/1d2f6a9b6c6ef3b195f28af5f0271cf83ed02818

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoirqbalance: add optional libcap-ng dependency
Fabrice Fontaine [Sun, 23 Sep 2018 16:32:40 +0000 (18:32 +0200)]
irqbalance: add optional libcap-ng dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoirqbalance: add mandatory libglib2 dependency
Fabrice Fontaine [Sun, 23 Sep 2018 16:32:39 +0000 (18:32 +0200)]
irqbalance: add mandatory libglib2 dependency

If libglib2 is not found or disable through --without-glib2, irqbalance
will use its own implementation of glib2 so add a mandatory libglib2
dependency especially as upstream now enforce it:
https://github.com/Irqbalance/irqbalance/commit/1d2f6a9b6c6ef3b195f28af5f0271cf83ed02818

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoirqbalance: add optional numactl dependency
Fabrice Fontaine [Sun, 23 Sep 2018 16:32:38 +0000 (18:32 +0200)]
irqbalance: add optional numactl dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/x11r7/xutil_makedepend: add missing dependency on host-pkgconf
Thomas Petazzoni [Sun, 23 Sep 2018 13:50:07 +0000 (15:50 +0200)]
package/x11r7/xutil_makedepend: add missing dependency on host-pkgconf

The configure script of xutil_makedepend uses PKG_CHECK_MODULES(), so
it should depend on host-pkgconf. Otherwise, a "make
host-xutil_makedepend" fails with:

"""
checking for X... configure: error: in `/home/thomas/projets/buildroot/output/build/host-xutil_makedepend-1.0.5':
configure: error: The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables X_CFLAGS
and X_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://pkg-config.freedesktop.org/>.
"""

This was detected using per-package host/target directories, but can
be reproduced without it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoxlib_libxshmfence: drop AUTORECONF
Thomas Petazzoni [Sun, 23 Sep 2018 13:37:59 +0000 (15:37 +0200)]
xlib_libxshmfence: drop AUTORECONF

In commit 2524acd4179fccc627a72ff188bf51c95fed9867
("package/x11r7/xlib_libxshmfence: bump version to 1.3"), the patch
0001-configure.ac-call-AC_USE_SYSTEM_EXTENSIONS.patch was dropped, but
the corresponding AUTORECONF = YES was not dropped.

This causes a build issue if just xlib_libxshmfence is built (using
"make xlib_libxshmfence" or using per-package host/target directories):

  >>> xlib_libxshmfence 1.3 Autoreconfiguring
  configure.ac:40: error: must install xorg-macros 1.3 or later before running autoconf/autogen
  configure.ac:40: the top level

This commit fixes that by dropping the no longer needed
AUTORECONF = YES.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/pkg-waf: properly escape HOST_DIR when defining <pkg>_WAF
Thomas Petazzoni [Sun, 23 Sep 2018 13:38:17 +0000 (15:38 +0200)]
package/pkg-waf: properly escape HOST_DIR when defining <pkg>_WAF

When <pkg>_NEEDS_EXTERNAL_WAF is set to YES, <pkg>_WAF is set to
$(HOST_DIR)/bin/waf within the inner-waf-package macro. This reference
to $(HOST_DIR) should use $$(HOST_DIR) so that it is properly expanded
at the time of use, and not at the time of the macro expansion.

In the current Buildroot, this doesn't cause any visible problem
because $(HOST_DIR) points to the same directory for all
packages. However, with per-package host/target directories, this is
no longer the case. It causes a build issue because it tries to use
"waf" from the global host directory, which doesn't exist during the
build.

This commit fixes the following build issue with per package
host/target directories:

/home/test/autobuild/run/instance-2/output/per-package/mpv/host/bin/python2: can't open file '/home/test/autobuild/run/instance-2/output/host/bin/waf': [Errno 2] No such file or directory
make: *** [/home/test/autobuild/run/instance-2/output/build/mpv-0.27.2/.stamp_configured] Error 2

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agonumactl: bump to version 2.0.12
Fabrice Fontaine [Sun, 23 Sep 2018 16:30:15 +0000 (18:30 +0200)]
numactl: bump to version 2.0.12

- README has been renamed into README.md so update NUMACTL_LICENSE_FILES
- Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoimlib2: bump to version 1.5.1
Fabrice Fontaine [Sun, 23 Sep 2018 20:11:50 +0000 (22:11 +0200)]
imlib2: bump to version 1.5.1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Acked-by: Petr Vorel <petr.vorel@gmail.com>
Tested-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoimlib2: update license
Fabrice Fontaine [Sun, 23 Sep 2018 20:11:49 +0000 (22:11 +0200)]
imlib2: update license

- Use SPDX short identifier (Imlib2) instead of full name
- Add COPYING-PLAIN to license files
- Add hash for license files

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Acked-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage: clean up remaining references to $(HOST_DIR)/usr
Ferdinand van Aartsen [Sun, 23 Sep 2018 22:04:59 +0000 (00:04 +0200)]
package: clean up remaining references to $(HOST_DIR)/usr

Signed-off-by: Ferdinand van Aartsen <ferdinand@ombud.nl>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoiputils: Add hash for ninfod/COPYING license file
Petr Vorel [Mon, 24 Sep 2018 00:14:46 +0000 (02:14 +0200)]
iputils: Add hash for ninfod/COPYING license file

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoiputils: Bump to version s20180629
Petr Vorel [Mon, 24 Sep 2018 00:14:45 +0000 (02:14 +0200)]
iputils: Bump to version s20180629

Add upstream patch to fix build error:
ping.c: In function ‘main’:
ping.c:212:23: error: ‘AI_CANONIDN’ undeclared (first use in this function); did you mean ‘AI_CANONNAME’?
   hints.ai_flags &= ~ AI_CANONIDN;

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agonetsniff-ng: bump to version 0.6.5
Tobias Klauser [Tue, 25 Sep 2018 09:11:52 +0000 (11:11 +0200)]
netsniff-ng: bump to version 0.6.5

Cc: Joris Lijssens <joris.lijssens@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosqlite: bump to version 3.25.1
Ferdinand van Aartsen [Mon, 24 Sep 2018 09:42:45 +0000 (11:42 +0200)]
sqlite: bump to version 3.25.1

Make use of https for sqlite.org.

Signed-off-by: Ferdinand van Aartsen <ferdinand@ombud.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibesmtp: update/fix site URL
Marcel Patzlaff [Tue, 25 Sep 2018 14:48:48 +0000 (16:48 +0200)]
libesmtp: update/fix site URL

The old URL was not working for quite some time.

Signed-off-by: Marcel Patzlaff <m.patzlaff@pilz.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/qemu_riscv64_virt: new defconfig
Mark Corbin [Wed, 12 Sep 2018 10:22:56 +0000 (11:22 +0100)]
configs/qemu_riscv64_virt: new defconfig

Add RISC-V 64-bit defconfig for QEMU virt machine.

Tested with QEMU 2.12.1

Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboot/riscv-pk: add bootloader for RISC-V architecture
Mark Corbin [Wed, 12 Sep 2018 10:22:55 +0000 (11:22 +0100)]
boot/riscv-pk: add bootloader for RISC-V architecture

Add the RISC-V Proxy Kernel (pk) package which provides the Berkeley
Boot Loader for booting RISC-V kernel images.

Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
[Thomas:
 - fix prompt of option to be just "riscv-pk"
 - add blank line between help text and upstream URL in Config.in file
 - use $(INSTALL) instead of cp to install the generated image]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoarch: add support for RISC-V 64-bit (riscv64) architecture
Mark Corbin [Wed, 12 Sep 2018 10:22:54 +0000 (11:22 +0100)]
arch: add support for RISC-V 64-bit (riscv64) architecture

This enables a riscv64 system to be built with a Buildroot generated
toolchain (gcc >= 7.x, binutils >= 2.30, glibc only).

This configuration has been used to successfully build a qemu-bootable
riscv-linux-4.15 kernel (https://github.com/riscv/riscv-linux.git).

Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
[Thomas:
 - simplify arch.mk.riscv by directly setting GCC_TARGET_ARCH
 - simplify glibc.mk changes by using GLIBC_CONF_ENV.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoglibc: move autoconf cache variables to GLIBC_CONF_ENV
Thomas Petazzoni [Sun, 23 Sep 2018 20:54:57 +0000 (22:54 +0200)]
glibc: move autoconf cache variables to GLIBC_CONF_ENV

glibc is not using the autotools-package infrastructure, so we are
calling the ./configure script manually. Currently, the few autoconf
cache variables are passed as arguments to the ./configure script,
while we pass them through the environment in the autotools-package
infrastructure.

So let's pass them in the environment, and use a GLIBC_CONF_ENV
variable to store them. This will allow in a follow-up commit to
conditionally add more autoconf cache variables to the glibc build.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoarch/arch.mk: fix check-package warnings
Thomas Petazzoni [Sun, 23 Sep 2018 21:41:19 +0000 (23:41 +0200)]
arch/arch.mk: fix check-package warnings

"make check-package" is not happy with the formatting of the recently
introduced arch.mk:

arch/arch.mk:1: should be 80 hashes (http://nightly.buildroot.org/#writing-rules-mk)
arch/arch.mk:2: should be 1 hash (http://nightly.buildroot.org/#writing-rules-mk)
arch/arch.mk:4: should be 1 hash (http://nightly.buildroot.org/#writing-rules-mk)
arch/arch.mk:5: should be 80 hashes (http://nightly.buildroot.org/#writing-rules-mk)
arch/arch.mk:6: should be a blank line (http://nightly.buildroot.org/#writing-rules-mk)

Let's fix this by adding a comment header that makes check-package
happy.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoat: add sha256 for legal-info files
Giulio Benetti [Thu, 20 Sep 2018 16:59:13 +0000 (18:59 +0200)]
at: add sha256 for legal-info files

Copyright and COPYING file sha256 are missing.

Add them calculating locally.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoat: change upstream site, bump version
Giulio Benetti [Thu, 20 Sep 2018 16:59:12 +0000 (18:59 +0200)]
at: change upstream site, bump version

At is now available on a git repository at:
https://salsa.debian.org/debian/at

Main changes 3.1.16 -> 3.1.23:
- add support for SELinux, multiple files
- improve atd.service, see bug report 892819
- fix various bugs and warnings
- finalized script to release software

So:
- change AT_SITE_METHOD to git pointing to release/3.1.23
- update tarball sha256 in hash file
- improved S99at script:
  if /var/spool is linked to /tmp, .SEQ file will be lost and atd won't
  work neither for a live session. Create .SEQ file if not found, warning
  during start that after reboot atjobs could be lost.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoarch: allow GCC target options to be optionally overwritten
Mark Corbin [Wed, 12 Sep 2018 10:22:53 +0000 (11:22 +0100)]
arch: allow GCC target options to be optionally overwritten

The BR2_GCC_TARGET_* configuration variables are copied to
corresponding GCC_TARGET_* variables which may then be optionally
modified or overwritten by architecture specific makefiles.

All makefiles must use the new GCC_TARGET_* variables instead
of the BR2_GCC_TARGET_* versions.

Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
[Thomas: simplify include of arch/arch.mk]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/linux-headers: add support for fetching from custom tarball/git
Mark Corbin [Sun, 23 Sep 2018 19:43:12 +0000 (21:43 +0200)]
package/linux-headers: add support for fetching from custom tarball/git

Add support for building toolchains against custom headers. Allows
the selection of a manual version, custom tarball or custom git
repository for the kernel headers. This enables toolchains to be
built against custom kernel headers without having to build a full
kernel.

This is particularly useful for new architectures, such as RISC-V
where updated kernel headers may not have made it into the mainline
kernel yet.

Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-headers: prepare to support custom tarball/git
Mark Corbin [Sun, 23 Sep 2018 19:33:51 +0000 (21:33 +0200)]
linux-headers: prepare to support custom tarball/git

This commit reworks how linux-headers.mk is written to prepare adding
support for custom tarball/git fetching for the Linux kernel headers.

Basically, the idea is to have a single condition at the beginning of
the file that defines a number of LINUX_HADERS_* variables depending
on whether "kernel headers same as kernel" is used or not, and then
use these variables in the rest of the .mk file.

Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
[Thomas: split from the original patch "package/linux-headers: add
support for custom headers" from Mark. The commit log is entirely
mine.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux: add hash file
Mark Corbin [Wed, 12 Sep 2018 10:22:51 +0000 (11:22 +0100)]
linux: add hash file

Added a hash file for the Linux kernel. Hashes have been copied
from the appropriate sha256sums.asc files on kernel.org.
The Linux hash file is also shared with the linux-headers package
via a symbolic link.

Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
[Thomas: update hashes with recent linux-headers changes.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>