Fabrice Fontaine [Sat, 20 Apr 2019 20:42:50 +0000 (22:42 +0200)]
package/linknx: add license file
LICENSE has been added in version 0.0.1.32 with
https://github.com/linknx/linknx/commit/
74671aa27931be40662c0266441c7470dc11d595
So add it to LINKNX_LICENSE_FILES as well as its hash
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Sat, 20 Apr 2019 14:56:54 +0000 (16:56 +0200)]
package/libkrb5: fix build with NLS
Fixes:
- http://autobuild.buildroot.org/results/
b35dd775015772b0f322f77470debe09d24173ff
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Sat, 20 Apr 2019 14:55:33 +0000 (16:55 +0200)]
package/refpolicy: set python path
Set python path to $(HOST_DIR)/usr/bin/python to avoid build failures if
python3 found on host is broken
Fixes:
- http://autobuild.buildroot.org/results/
1f878405593dd05bb00fe0b06ca1c64ffbe6c572
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Fri, 19 Apr 2019 12:40:11 +0000 (14:40 +0200)]
package/jemalloc: bump to version 5.2.0
- Add hash for license file
- Support for m68k and nios2 architectures have been added with
version 5.1.0
- Static library support has been added in version 5.2.0
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Fri, 19 Apr 2019 12:40:10 +0000 (14:40 +0200)]
package/jemalloc: add riscv support
riscv support has been added in version 4.2.0 with
https://github.com/jemalloc/jemalloc/commit/
919e4a0ea92fbbf9b97efdf9f31a3c800f77cd8f
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Fri, 19 Apr 2019 12:40:09 +0000 (14:40 +0200)]
package/jemalloc: add or1k support
or1k support has been added since version 4.0.0 and
https://github.com/jemalloc/jemalloc/commit/
ffa259841c6a4b6dae4ed74f02bb38703e190065
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Fri, 19 Apr 2019 12:40:08 +0000 (14:40 +0200)]
package/jemalloc: drop obsolete valgrind dependency
valgrind support has been removed since version 5.0.0 and
https://github.com/jemalloc/jemalloc/commit/
9a8add1510456464bc496320990ec234798bd381
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Shyam Saini [Thu, 18 Apr 2019 13:23:31 +0000 (18:53 +0530)]
boot/uboot: add support for having host-python-pyelftools as a dependency
Rockchip rk3399 SOC based boards require python pyelftools library for
parsing dtb files, so lets add it as uboot dependency.
This commit introduces a new config option
BR2_TARGET_UBOOT_NEEDS_PYELFTOOLS to achieve this.
Signed-off-by: Shyam Saini <shyam.saini@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Shyam Saini [Thu, 18 Apr 2019 13:23:30 +0000 (18:53 +0530)]
package/python-pyelftools: add host variant
This would be used by uboot for rockchip rk3399
socs boards.
Signed-off-by: Shyam Saini <shyam.saini@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Sat, 20 Apr 2019 16:58:52 +0000 (18:58 +0200)]
package/lrzsz: fix build with NLS
Fixes:
- http://autobuild.buildroot.org/results/
77e3ea00ca2c20d9fe284d31bbdf2b72956eae9f
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Adam Duskett [Sat, 20 Apr 2019 16:22:21 +0000 (12:22 -0400)]
package/libcpprestsdk: bump to version v2.10.12
Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Asaf Kahlon [Sat, 20 Apr 2019 16:04:57 +0000 (19:04 +0300)]
package/libuv: bump to version 1.28.0
Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Sat, 20 Apr 2019 15:20:57 +0000 (17:20 +0200)]
package/libtorrent-rasterbar: fix build with boost 1.70.0
Fixes:
- http://autobuild.buildroot.org/results/
dc21322e101cbd242a22018f4d506b9f2c26dd33
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Fri, 19 Apr 2019 09:19:32 +0000 (11:19 +0200)]
package/python-ipython: bump to version 7.4.0
- Update hash for COPYING.rst, it has been updated to remove
BSD-3-Clause text:
https://github.com/ipython/ipython/commit/
5a6ef3e35db9ac04bf47a17d96484e03370f03dd
- Add LICENSE to license files as this is now the file that contain
BSD-3-Clause text
- Needs python3 since version 6.x and above
- Needs new runtime dependencies: backcall and jedi
- Drop obsolete python2 dependencies as well as simplegeneric:
https://github.com/ipython/ipython/commit/
dc0ceb16f92e0e943435106e863a5cfccd724a2d
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Fri, 19 Apr 2019 09:19:31 +0000 (11:19 +0200)]
package/prompt-toolkit: bump to version 2.0.9
- Add hash for license file
- Add xml depedency
prompt-toolkit in version 2.x is a dependency of ipython 7.x
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Fri, 19 Apr 2019 09:19:30 +0000 (11:19 +0200)]
package/python-jedi: new package
An autocompletion tool for Python that can be used for text
editors.
https://github.com/davidhalter/jedi
python-jedi is a runtime dependency of ipython 7.3.0
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Thomas: add license for the flask theme]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Fri, 19 Apr 2019 09:19:29 +0000 (11:19 +0200)]
package/python-parso: new package
A Python Parser.
https://github.com/davidhalter/parso
python-parso is a runtime dependency of python-jedi
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Thomas: mention Python-2.0 and BSD-3-Clause in licenses]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Fri, 19 Apr 2019 09:19:28 +0000 (11:19 +0200)]
package/python-backcall: new package
Specifications for callback functions passed in to an API.
https://github.com/takluyver/backcall
No license source files are provided from current version, however
upstream added one:
https://github.com/takluyver/backcall/blob/master/LICENSE
python-backcall is a runtime dependency of python-inotify 7.3.0
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Thu, 18 Apr 2019 09:29:07 +0000 (11:29 +0200)]
package/domoticz: fix build with boost 1.70.0
Fixes:
- No autobuilders failures yet
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Thu, 18 Apr 2019 13:19:56 +0000 (15:19 +0200)]
package/domoticz: rewrite init script
Follow new S02klogd template
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Thu, 18 Apr 2019 13:17:33 +0000 (15:17 +0200)]
package/dhcp: bump to version 4.4.1
- Use --with-bind-extra-config option to:
- add --without-zlib otherwise static build will fail if zlib is found
on host
- Add --without-dlopen otherwise static build will fail
- Drop all patches (already in version)
- Drop autoreconf (not needed anymore)
- Update license to MPL-2.0:
https://www.isc.org/blogs/isc-dhcp-moves-to-mpl-2-0-license
- Update hash of license file
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Nylon Chen [Thu, 18 Apr 2019 09:46:55 +0000 (17:46 +0800)]
package/binutils: fix build error due to architecture name is incomplete
Fixes
http://autobuild.buildroot.net/results/128/
12803a705586e82fdfb49013da2eb3b9879ccd45/
Signed-off-by: Che-Wei Chuang <cnoize@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Nylon Chen <nylon7@andestech.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Sat, 20 Apr 2019 13:35:51 +0000 (15:35 +0200)]
package/postgresql: fix build with NLS
Fixes:
- http://autobuild.buildroot.org/results/
0d35378b8bdcfffb0cefd264c95ca3617034559b
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Sat, 20 Apr 2019 11:44:49 +0000 (13:44 +0200)]
package/minicom: fix build with lintl
Fixes:
- http://autobuild.buildroot.org/results/
e64cdcf648764be53a3e951304bb89dc9410db23
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Thu, 18 Apr 2019 12:44:50 +0000 (14:44 +0200)]
package/libtorrent-rasterbar: bump to version 1.2.0
- Drop boost-chrono, replaced by std::chrono since
https://github.com/arvidn/libtorrent/commit/
78bc2698327069aa69ff7460b9314cbe45bd4d66
- Drop boost random, replace by standard number classes since
https://github.com/arvidn/libtorrent/commit/
fef94a4c5254e2280b601ab3ea211cc0193fecaa
- Add two patches to fix build on uclibc
- Needs exception_ptr since
https://github.com/arvidn/libtorrent/commit/
5c361715da9d20d63b019d7fc4ce772cdecd7138
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Thu, 18 Apr 2019 14:45:42 +0000 (16:45 +0200)]
package/neardal: bump to version
4143d130ed39299bfc59d08d2c7c77dbc7f809e9
- Remove patch (already in version)
- Add hash for license file
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Thu, 18 Apr 2019 13:38:48 +0000 (15:38 +0200)]
package/gnuradio: fix build with boost 1.70.0
Fixes:
- http://autobuild.buildroot.org/results/
4109881eab99fd720e97f1070c374e67dd881b85
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Alexey Brodkin [Thu, 18 Apr 2019 17:38:45 +0000 (20:38 +0300)]
package/linux-tools/perf: add dependency on 32-bit sync builtins
Sync builtins ops are strictly required by perf utility as it uses
atomic_xxx() functions.
Otherwise building fails like that:
|.../output/host/opt/ext-toolchain/bin/../lib/gcc/arc-snps-linux-uclibc/8.2.1/../../../../arc-snps-linux-uclibc/bin/ld:
|.../output/build/linux-5.0.7/tools/perf/libperf.a(libperf-in.o): in function `atomic_cmpxchg':
|.../output/build/linux-5.0.7/tools/include/asm-generic/atomic-gcc.h:69: undefined reference to `__sync_val_compare_and_swap_4'
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[Thomas: drop Config.in comment]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Thu, 18 Apr 2019 16:53:01 +0000 (18:53 +0200)]
package/ghostscript: fix parallel build
Fixes:
- http://autobuild.buildroot.org/results/
eb33b41d1b267d0207a6e3a9f5ca7f79b2f51887
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Thu, 18 Apr 2019 22:02:36 +0000 (00:02 +0200)]
package/freerdp: fix build without xfixes
Fixes:
- http://autobuild.buildroot.org/results/
69245e574787bada718c52c805ec137041dc233d
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Fri, 19 Apr 2019 08:48:36 +0000 (10:48 +0200)]
package/xserver_xorg-server: fix build without glx
Fixes:
- http://autobuild.buildroot.org/results/
397f8098c57fc6c88aa12dc8d35ebb1b933d52ef
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Adam Duskett [Fri, 19 Apr 2019 21:15:52 +0000 (17:15 -0400)]
package/gstreamer1/gst1-plugins-ugly: fix typo in mk file
BR2_PACKAGE_GST_PLUGINS_UGL1_PLUGIN_XINGMUX needs to be
BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_XINGMUX
Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Vadim Kochan [Tue, 16 Apr 2019 22:51:54 +0000 (01:51 +0300)]
package/git: fix build with NLS enabled
git fails to build with NLS enabled because of weak check
for gettext in configure.ac. The AC_CHECK_LIB(c, gettext ...)
is used to set LIBC_CONTAINS_LIBINTL variable. If the variable
is set then '-libs' is not passed to the linker, but this variable
is set to 'Yes' even libc implementation does not provide libintl
support, the AC_CHECK passes because gcc has gettext builtin.
So use instead AC_LINK_IFELSE with included libintl.h because it
makes gettext to unfold as libintl_gettext which causes AC_CHECK
to fail for cases when gettext is not provided by libc.
Tested by ./utils/test-pkg with NLS disabled/enabled.
Fixes:
http://autobuild.buildroot.net/results/
091b790ca6f5b46d5d29211dc1cb3ff05b62a965
http://autobuild.buildroot.net/results/
a69b58b35b270fdd2df9b076e7030bb594520197
http://autobuild.buildroot.net/results/
f104c4e6ff41b1dd175f2d27f3b4ea7c9b61f7c5
http://autobuild.buildroot.net/results/
ee12bdba398a139995de5f6f6718be6a493541d9
http://autobuild.buildroot.net/results/
74fa6b2bfbb1301e35c9dd1bbc04856c1cbf25f2
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Thu, 18 Apr 2019 09:16:19 +0000 (11:16 +0200)]
package/i2pd: bump to version 2.24.0
Fix build with boost 1.70.0
Fixes:
- http://autobuild.buildroot.org/results/
b35466da7308e60024cec743728aef045dc24405
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Thu, 18 Apr 2019 09:13:50 +0000 (11:13 +0200)]
package/boost: don't install boost cmake files
Since version 1.70.0, boost installs its own cmake files which are
utterly broken so don't install them otherwise all cmake packages using
boost (host-thrift, domoticz, i2pd ...) will fail because
BOOST_INCLUDE_DIRS will be empty
Fixes:
- http://autobuild.buildroot.org/results/
4ada26bab5c1e6504c7d8c92672326ced1d336df
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Thu, 18 Apr 2019 07:46:50 +0000 (09:46 +0200)]
package/ncmpc: bump to version 0.34
Fix build with boost 1.70.0
Fixes:
- http://autobuild.buildroot.org/results/
eb2a8fc46ca24352ca5e513ed1d05344d884c85b
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Wed, 17 Apr 2019 22:50:31 +0000 (00:50 +0200)]
package/botan: fix build with boost 1.70.0
Fixes:
- http://autobuild.buildroot.org/results/
ca9dfcfd34365aa1476b718d4897a2e75f6983ac
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Wed, 17 Apr 2019 22:36:34 +0000 (00:36 +0200)]
package/wireshark: fix static build with pcap
Use pkg-config to find pcap dependencies
Fixes:
- http://autobuild.buildroot.org/results/
277a24ad543a8f54cc8afde4f359f5d77b42eb7f
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Andreas Naumann [Mon, 15 Apr 2019 20:56:22 +0000 (22:56 +0200)]
qt5: Remove *.la/*.prl fixup script
After fixing Prefix in our custom qt.conf, Qt computes and embeds the
correct sysroot prefixed pathes in all *.la and *.prl files.
So remove fixup of
- *.la files because they are generically fixed anyway
- *.prl files because occurences of absolute /usr/lib were no longer
observed
Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Andreas Naumann [Mon, 15 Apr 2019 20:56:21 +0000 (22:56 +0200)]
qt5base: Fix inconsistencies when overriding qmake properties
When querying the qmake properties with our custom qt.conf present, I
noticed that they were different from the built-in ones (without
qt.conf). Most notably QT_INSTALL_PREFIX was a concatenated string of
two absolute paths (hostdir + sysroot).
This is due to Prefix being set to our HOST_DIR and HostPrefix not being
set at all. Supposedly this was also the root cause of the initial
problem with qt.conf.in, because once Prefix and HostPrefix are set to
their correct values, re-setting all the other paths to their defaults
is no longer necessary. (However, since our paths for Headers, Plugins
and Examples are non-default, they still have to be explicitely set.)
There is one exception to this: omitting 'Settings' leads to the
CONFIGURATION path being plain /usr, whereas the default without qt.conf
is /usr/etc/xdg. But even if storing configs directly under /usr seems a
bit strange we keep it that way, because our qt.conf did set it to /usr
before and we don't want to break existing users.
Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Fabrice Fontaine [Tue, 16 Apr 2019 12:27:01 +0000 (14:27 +0200)]
package/syslog-ng: fix S01syslog-ng indentation
Don't mix spaces and tabs, use only tabs
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Fabrice Fontaine [Tue, 16 Apr 2019 12:24:49 +0000 (14:24 +0200)]
package/sysklogd: fix S0{1sys, 2k}logd indentation
Don't mix spaces and tabs, only use tabs
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Fabrice Fontaine [Tue, 16 Apr 2019 12:13:38 +0000 (14:13 +0200)]
package/rsyslog: fix S01rsyslogd indentation
Don't mix spaces and tabs, only use tabs
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Matt Weber [Thu, 16 Aug 2018 18:01:05 +0000 (13:01 -0500)]
board/freescale: single T1xxx/2xxx readme.txt
The readme.txt would contain similar content for either processor
family, so this patch consolidates the usage and adds the new
T2080 notes.
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Matt Weber [Thu, 16 Aug 2018 18:01:04 +0000 (13:01 -0500)]
configs/freescale_t2080_qds_rdb_defconfig: new board
The board is setup to track upstream Linux as the official
vendor support was complete(depricated) at 4.1 via NXP SDKs.
The target does not build uboot and assumes the user still uses the NXP
suggested prebuilts in the SDK2.0 (last release for PowerPC). If a
uboot is required, the source for SDK2.0 can be found in the following
repo.
http://git.freescale.com/git/cgit.cgi/ppc/sdk/u-boot.git/tag/?id=fsl-sdk-v2.0-1703
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
[Arnout: update .gitlab-ci.yml]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Giulio Benetti [Tue, 16 Apr 2019 10:21:25 +0000 (12:21 +0200)]
package/madplay: fix build when NLS is enabled
MKINSTALLDIRS is not automatically called by autotools when
autoreconfigured.
This leads to the following error during install:
`/bin/sh @MKINSTALLDIRS@ /home/dawncrow/buildroot-test/scripts/instance-0/output/target/usr/share
/bin/sh: 0: Can't open @MKINSTALLDIRS@`
because @MKINSTALLDIRS@ doesn't get substituted during autoreconf.
This particular command only gets invoked when NLS is enabled.
Add patch that explicitly calls AM_MKINSTALLDIRS macro to substitute
every @MKINSTALLDIRS@ occurence in *.in Makefile.
Patch is not sent upstream since upstream is dead.
Fixes:
http://autobuild.buildroot.net/results/744/
7447c03426556f787f20f7ab2d36f0cacc4af1bd/
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Arnout Vandecappelle (Essensium/Mind) [Wed, 17 Apr 2019 19:53:54 +0000 (21:53 +0200)]
.gitlab-ci.yml: add andes_ae3xx_defconfig
It was forgotten when this defconfig was added.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Thomas Petazzoni [Wed, 17 Apr 2019 19:17:42 +0000 (21:17 +0200)]
utils/genrandconfig: prevent selecting libffi on nds32
libffi does not have support for the nds32 architecture, so let's
disallow libffi on this CPU architecture for the moment.
Fixes:
http://autobuild.buildroot.net/results/
12803a705586e82fdfb49013da2eb3b9879ccd45/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Thomas Petazzoni [Wed, 17 Apr 2019 19:16:21 +0000 (21:16 +0200)]
package/binutils: disable on nds32
Upstream binutils does not yet have support for the nds32
architecture, so let's disable binutils for the target on this
architecture for the moment.
Fixes:
http://autobuild.buildroot.net/results/
1b18acb11db4d6c4198deb7385aff3d4d524c37e/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Tue, 16 Apr 2019 15:18:54 +0000 (17:18 +0200)]
package/easydbus: bump to version
b86721147b265dfefc9a857669408cb6eb3d6560
Remove patch (already in version)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Tue, 16 Apr 2019 17:22:45 +0000 (19:22 +0200)]
package/sane-backends: remove unneeded first patch
This patch is not needed since version 1.0.25 and
https://gitlab.com/sane-project/backends/commit/
8434ea91623f313eeb68ac301f7c7abf65976fc8
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Wed, 17 Apr 2019 18:15:57 +0000 (20:15 +0200)]
package/xl2tp: bump to version 1.3.14
Remove patch (already in version)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Wed, 17 Apr 2019 17:34:50 +0000 (19:34 +0200)]
package/boost: bump to version 1.70.0
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Adam Duskett [Wed, 17 Apr 2019 14:33:25 +0000 (10:33 -0400)]
package/openjdk: only support a single variant at a time
The Zero variant won't build with the server or client also selected at the same
time, and expressing this in the Config.in would be too complicated to do.
Even so, selecting multiple variants doesn't seem to be that important in the
context of Buildroot.
This patch removes the ability to select multiple variants in favor
of just selecting one. The default is server as that is what all of the major
distributions currently use as the default as well.
Fixes:
http://autobuild.buildroot.net/results/
a45cfa9b3602fd05f6adbf070a1bad6510975c36
Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Nylon Chen [Tue, 16 Apr 2019 07:25:45 +0000 (15:25 +0800)]
support/config-fragments/autobuild: test the Andes nds32 architecture
Signed-off-by: Che-Wei Chuang <cnoize@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Nylon Chen <nylon7@andestech.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Nylon Chen [Tue, 16 Apr 2019 07:25:43 +0000 (15:25 +0800)]
configs/andes_ae3xx: new defconfig
Add Andes 32-bit defconfig for AE3XX platform.
Signed-off-by: Che-Wei Chuang <cnoize@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Nylon Chen <nylon7@andestech.com>
[Thomas:
- fix commit title to match the defconfig name
- use the external toolchain package]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Nylon Chen [Tue, 16 Apr 2019 07:25:44 +0000 (15:25 +0800)]
toolchain/toolchain-external-andes-nds32: new package
This commit adds a new package for the Andes external toolchain for
the nds32 Little Endian architecture.
https://github.com/vincentzwc/prebuilt-nds32-toolchain/releases/download/
20180521/nds32le-linux-glibc-v3-upstream.tar.gz
Signed-off-by: Che-Wei Chuang <cnoize@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Nylon Chen <nylon7@andestech.com>
[Thomas:
- rename .mk and .hash files to carry the proper package name
- fix <pkg>_SITE variable, which was incorrect
- add prompt in Config.in
- add missing include of Config.in in toolchain/toolchain-external/Config.in
- add missing selects for RPC and SSP, since the toolchain supports
both
- drop BR2_TOOLCHAIN_EXTERNAL_URL option, the toolchain URL is
provided by the .mk file]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Nylon Chen [Tue, 16 Apr 2019 07:25:42 +0000 (15:25 +0800)]
arch: add support for Andes 32-bit (nds32)
This commit provides basic support for the Andes 32-bit (nds32)
architecture.
Signed-off-by: Che-Wei Chuang <cnoize@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Nylon Chen <nylon7@andestech.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Anisse Astier [Mon, 15 Apr 2019 20:49:51 +0000 (22:49 +0200)]
package/go: fix building host go toolchain when target isn't supported
The go toolchain can cross-compile by default. So most of the time,
building a toolchain that supports a target, allows us to also build go
binaries for the host. This is how support for host go packages was
added: we use the same toolchain that was initially built only for
target.
But we might want to build a go binary for the host, when compiling a
target for which go isn't supported. Then, building host-go will fail:
by default, we build go for a specific target, and give the toolchain
bootstrap scripts the cross compiler we'll use.
This change modifies this behaviour: we only assume the go toolchain is
cross-capable if we know the current target is supported. Otherwise this
is a simple host go tool. We don't need to set any of the options needed
for cross-compilation in that case.
Thus, only set all the target-specific go options under a condition that
the target arch is supported. The only option we still set is
HOST_GO_CGO_ENABLED, and we always set it to enabled.
It was also considered to create a separate package to build the
go-for-host compiler which would be used for host-go-packages, but that
would lead to a lot of duplication and is completely unnecessary.
Fixes:
http://autobuild.buildroot.net/results/
98b9c7aaff2af4d19adfedac00b768d92530ce94
http://autobuild.buildroot.net/results/
bed228995ce3778720f991df9b41345a7c724a46
http://autobuild.buildroot.net/results/
3b3ea148165b96513ea511ee0d4adb334a6afac8
Signed-off-by: Anisse Astier <anisse@astier.eu>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Anisse Astier <anisse@astier.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Max Filippov [Thu, 11 Apr 2019 20:55:49 +0000 (13:55 -0700)]
package/binutils: fix loops relaxation in bare sections
The commit
197b5f9d1c23 ("package/binutils: fix loops relaxation in
xtensa gas") changed the way loop opcodes are relaxed resulting in build
failures in hand-made assembly code that has loops in sections without
.literal_position pseudo op or equivalent construct. This e.g. breaks
xtensa linux kernel build.
Fix that by adding literal position to the beginning of every section.
Fixes: 197b5f9d1c23 ("package/binutils: fix loops relaxation in xtensa
gas")
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Thu, 11 Apr 2019 18:10:48 +0000 (20:10 +0200)]
package/sslh: bump to version 1.20
- Add hash for license file
- Enable parallel build: it has been fixed since version 1.19b and
https://github.com/yrutschle/sslh/commit/
70a2ea926efc8ca455b08d230b90789a57bc29c6
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Sun, 14 Apr 2019 16:08:56 +0000 (18:08 +0200)]
package/check: bump to version 0.12
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Joseph Kogut [Mon, 15 Apr 2019 23:08:08 +0000 (16:08 -0700)]
package/python-sentry-sdk: bump to version 0.7.10
Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Joseph Kogut [Mon, 15 Apr 2019 23:04:36 +0000 (16:04 -0700)]
package/python-schedule: bump to version 0.6.0
Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Adam Duskett [Mon, 15 Apr 2019 21:14:27 +0000 (17:14 -0400)]
package/openjdk: remove mips support
The mips-port project has been abandoned for some time:
https://mail.openjdk.java.net/pipermail/mips-port/2018-August/000082.html
Fixes:
http://autobuild.buildroot.net/results/
1059026c9b5f503684fe1589cd43d25a8484290b/
Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Tue, 16 Apr 2019 09:41:06 +0000 (11:41 +0200)]
package/wireshark: re-enable for static build configurations
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Thomas: explain why ENABLE_STATIC=OFF is the right thing]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Tue, 16 Apr 2019 12:12:45 +0000 (14:12 +0200)]
package/sudo: bump to version 1.8.27
Update hash of license file:
- update in year
- add arc4random.c, arc4random_uniform.c and getentropy.c license (ISC)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Artem Panfilov [Tue, 16 Apr 2019 16:03:23 +0000 (19:03 +0300)]
package/php: fix how external PCRE2 JIT is enabled
This patch adds ac_cv_have_pcre2_jit cache variable to avoid
the tests running on the host system during cross-compiling.
Signed-off-by: Artem Panfilov <panfilov.artyom@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine [Tue, 16 Apr 2019 15:29:15 +0000 (17:29 +0200)]
package/pcre2: jit needs threads
Add a BR2_PACKAGE_PCRE2_JIT_ARCH_SUPPORTS to be able to use it in the
comment
Fixes:
- http://autobuild.buildroot.org/results/
547be5264effaf27c7f85ece88c5f5f792abd910
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Francois Perrad [Wed, 17 Apr 2019 06:16:33 +0000 (08:16 +0200)]
package/luasec: bump to version 0.8
the license file hash changed due to a copyright year update
-LuaSec 0.7 license
-Copyright (C) 2006-2018 Bruno Silvestre, UFG
+LuaSec 0.8 license
+Copyright (C) 2006-2019 Bruno Silvestre, UFG
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Peter Korsgaard [Tue, 16 Apr 2019 21:33:40 +0000 (23:33 +0200)]
package/ruby: security bump to version 2.4.6
Fixes the following security issues:
- CVE-2019-8320: Delete directory using symlink when decompressing tar
- CVE-2019-8321: Escape sequence injection vulnerability in verbose
- CVE-2019-8322: Escape sequence injection vulnerability in gem owner
- CVE-2019-8323: Escape sequence injection vulnerability in API response handling
- CVE-2019-8324: Installing a malicious gem may lead to arbitrary code execution
- CVE-2019-8325: Escape sequence injection vulnerability in errors
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Peter Korsgaard [Tue, 16 Apr 2019 20:14:04 +0000 (22:14 +0200)]
package/tpm2-tss: bump version to 2.1.3
Fixes a number of issues discovered post-2.1.2. For details, see:
https://github.com/tpm2-software/tpm2-tss/releases/tag/2.1.3
Drop 002-configure.ac-switch-default-ESAPI-crypto-backend-to-.patch as this
issue is now fixed upstream.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Adam Duskett [Tue, 16 Apr 2019 17:40:31 +0000 (13:40 -0400)]
package/nginx: bump version to 1.15.12
The license file hash has been modified due to copyright year updates:
- * Copyright (C) 2002-2018 Igor Sysoev
- * Copyright (C) 2011-2018 Nginx, Inc.
+ * Copyright (C) 2002-2019 Igor Sysoev
+ * Copyright (C) 2011-2019 Nginx, Inc.
Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Peter Seiderer [Sat, 23 Feb 2019 10:32:58 +0000 (11:32 +0100)]
package/rpi-firmware: bump version to
ebf7b40cdc
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Peter Seiderer [Sat, 23 Feb 2019 10:32:57 +0000 (11:32 +0100)]
configs/raspberrypi*: bump kernel version to
5eeff139ea
Now based on 4.19.23 (from 4.14.98) and bump linux header
version accordingly and needs host openssl.
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Peter Seiderer [Fri, 22 Feb 2019 22:37:04 +0000 (23:37 +0100)]
package/rpi-firmware: bump version to
83977fe3b6
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Peter Seiderer [Fri, 22 Feb 2019 22:37:03 +0000 (23:37 +0100)]
configs/raspberrypi*: bump kernel version to
877656cd14
Now based on 4.14.98 (from 4.14.95)
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
David Lechner [Sat, 23 Feb 2019 01:07:32 +0000 (19:07 -0600)]
package/linux-firmware: move BR2_PACKAGE_LINUX_FIRMWARE_TI_CC2560 to Bluetooth
This moves the BR2_PACKAGE_LINUX_FIRMWARE_TI_CC2560 option to the
Bluetooth section of the config file. This chip is Bluetooth-only, so
it belongs there instead of with the Wi-Fi/Bluetooth combo chips.
Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Louis-Paul Cordier [Tue, 5 Feb 2019 18:19:46 +0000 (19:19 +0100)]
package/ffmpeg: enable Intel QuickSync support
Signed-off-by: Louis-Paul Cordier <lpdev@cordier.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Louis-Paul Cordier [Tue, 5 Feb 2019 18:19:44 +0000 (19:19 +0100)]
package/intel-mediasdk: new package
Signed-off-by: Louis-Paul Cordier <lpdev@cordier.org>
[Thomas:
- add missing Config.in comment
- add missing select BR2_PACKAGE_LIBDRM_INTEL, needed as the code
uses a header file installed only when libdrm-intel is enabled
- add patch to drop -fstack-protector in order to support toolchains
without SSP support]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Louis-Paul Cordier [Tue, 5 Feb 2019 18:19:43 +0000 (19:19 +0100)]
package/intel-mediadriver: new package
Signed-off-by: Louis-Paul Cordier <lpdev@cordier.org>
[Thomas:
- add missing Config.in comments
- fix minor nit in the _LICENSE variable
- add patch to drop hardening options, especially -fstack-protector,
which was causing the build to fail on toolchains without SSP
support]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Adam Duskett [Mon, 15 Apr 2019 18:03:50 +0000 (14:03 -0400)]
package/pkgconf: bump to version 1.6.1
Other changes:
- Add a hash for the license file.
Tested against:
- libsoup
- X11r7
- dbus-glib
- atk
Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Fabrice Fontaine [Mon, 15 Apr 2019 16:10:58 +0000 (18:10 +0200)]
package/wireshark: add systemd optional dependency
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Fabrice Fontaine [Mon, 15 Apr 2019 16:10:57 +0000 (18:10 +0200)]
package/wireshark: bump to version 3.0.1
- Remove patch (already in version)
- Move package to cmake infrastructure
- --disables-guides option is not avaiable with cmake
- gtk ui is no more available
- QT UI now requires:
- qt5multimedia and qt5svg at build time
- qt5fontconfig, qt5png and udev at runtime
- Add host-python3 dependency
- Add a hook to build host-lemon
- Disable static build (some libraries such as
plugins/3.0/codecs/l16mono.so does not support static building)
- Disable new sdjournal feature (will be enabled in a follow up patch)
Fixes:
- http://autobuild.buildroot.org/results/
bdbfd72a5da7e02e85159ee62bf56067adbc8931
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Fabrice Fontaine [Mon, 15 Apr 2019 08:36:05 +0000 (10:36 +0200)]
package/busybox: fix S0{1sys, 2k}logd indentation
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Fabrice Fontaine [Sun, 14 Apr 2019 13:39:46 +0000 (15:39 +0200)]
package/systemd: update BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS
systemd supports:
- nios2 since version 230 and
https://github.com/systemd/systemd/commit/
b79660e6acb964f94ddba0ea4e1182215934dfc3
- riscv sinc version 232 and
https://github.com/systemd/systemd/commit/
171b53380085b1288b03b19a2b978f36a5c003d0
- aarch64_be (tested with qemu_aarch64_virt_defconfig reconfigured to
aarch64_be)
- sparc64 (tested with qemu_sparc64_sun4u_defconfig)
- mips64 and mips64el (tested with qemu_mips64el_malta_defconfig)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Fabrice Fontaine [Sun, 14 Apr 2019 13:24:37 +0000 (15:24 +0200)]
package/systemd-bootchart: add BR2_PACKAGE_SYSTEMD_BOOTCHART_ARCH_SUPPORTS
Since commit
f93596d8ba82354efb545fe91449627e6c896ce1, systemd is
enabled on arc however systemd-bootchart is not available on this
architecture so add a BR2_PACKAGE_SYSTEMD_BOOTCHART_ARCH_SUPPORTS from
the information retrieved in src/architecture.h
Fixes:
- http://autobuild.buildroot.org/results/
84fb51212abf99faa2b7a46b8c44c42a3ca1201c
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Matt Weber [Mon, 15 Apr 2019 20:12:03 +0000 (15:12 -0500)]
DEVELOPERS: add Matt Weber to dacapo pkg
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Yann E. MORIN [Mon, 15 Apr 2019 19:47:32 +0000 (21:47 +0200)]
core: add per-package and per-filesystem show-info
Sometimes, it is need to quickly get the metadata of a subset of
packages, without resorting to a full-blown JSON query.
Introduce a new per-package (and per-filesystem) foo-show-info rule,
that otputs a per-entity valid JSON blob.
Note that calling it for multiple packages and.or filesystems at once
will not generate a valid JSON blob, as there would be no separator
between the JSON elements:
$ make {foo,bar}-show-info
{ "foo": { foo stuff } }
{ "bar": { bar stuff } }
However, jq is able to absorb this, with its slurping ability, which
generates an array (ellipsed and manualy reformated for readability):
$ make {foo,bar}-show-info |jq -s . -
[
{ "foo": { foo stuff } },
{ "bar": { bar stuff } }
]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Yann E. MORIN [Mon, 15 Apr 2019 19:47:31 +0000 (21:47 +0200)]
core: introduce new global show-info
Users are increasingly trying to extract information about packages. For
example, they might need to get the list of URIs, or the dependencies of
a package.
Although we do have a bunch of rules to generate some of that, this is
done in ad-hoc way, with most of the output formats just ad-hoc, raw,
unformatted blurbs, mostly internal data dumped as-is.
Introduce a new rule, show-info, that provides a properly formatted
output of all the meta-information about packages: name, type, version,
licenses, dependencies...
We choose to use JSON as the output format, because it is pretty
versatile, has parsers in virtually all languages, has tools to parse
from the shell (jq). It also closely matches Python data structure,
which makes it easy to use with our own internal tools as well. Finally,
JSON being a key-value store, allows for easy expanding the output
without requiring existing consumers to be updated; new, unknown keys
are simply ignored by those (as long as they are true JSON parsers).
The complex part of this change was the conditional output of parts of
the data: virtual packages have no source, version, license or
downloads, unlike non-virtual packages. Same goes for filesystems. We
use a wrapper macro, show-info, that de-multiplexes unto either the
package-related- or filesystem-related macros, and for packages, we also
use a detailed macro for non-virtual packages.
It is non-trivial to properly output correct JSON blurbs, especially
when trying to output an array of objects, like so, where the last item
shall not be followed by a comma: [ { ... }, { ... } ]
So, we use a trick (as sugegsted by Arnout), to $(subst) any pair of
",}" or ", }" or ",]" or ", ]" with only the respective closing symbol,
"}" or "]".
The whole stuff is $(strip)ed to make it a somewhat-minified JSON blurb
that fits on a single line with all spaces squashed (but still with
spaces, as it is not possible to differentiate spaces between JSON
elements from spaces inside JSON strings).
Reported-by: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Yann E. MORIN [Mon, 15 Apr 2019 19:47:30 +0000 (21:47 +0200)]
fs: add all recursive dependencies to packages list
Currently, only first-level dependencies of a filesystem are added to
the global list of packages, thus missing all recursive dependencies.
Use the newly introduced recursive variable instead, which already
contains the rootfs-common dependencies too.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Yann E. MORIN [Mon, 15 Apr 2019 19:47:29 +0000 (21:47 +0200)]
fs: introduce variable with all recursive dependencies
This allows getting all the recursive dependencies of filesystems,
ike we have for packages, and allows us to treat both in a similar
fashion.
Reported-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Yann E. MORIN [Mon, 15 Apr 2019 19:47:28 +0000 (21:47 +0200)]
fs: introduce variables with name and type
This makes the filesystems resemble packages yet a bit more, and will
allow sorting "items" on their type and names, when indexed from the
upper-case names.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Yann E. MORIN [Mon, 15 Apr 2019 19:47:27 +0000 (21:47 +0200)]
infra/utils: add helper to generate comma-separated lists
Add a helper macro that, from a space-separated list of items, returns a
comma-separated list of the quoted items.
This will be useful when we need to generate lists in JSON, later...
Code suggested by Thomas P.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Yann E. MORIN [Mon, 15 Apr 2019 19:47:26 +0000 (21:47 +0200)]
infra/pkg-download: make the DOWNLOAD macro fully parameterised
Currently, the DOWNLOAD macro is context-dependent and expects
the PKG variable to be set to the current package.
This is not so nice.
Change the macro to expect the upper-case package name as a
parameter, rather than expect it from a variable.
Adapt the caller accordingly.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Yann E. MORIN [Mon, 15 Apr 2019 19:47:25 +0000 (21:47 +0200)]
infra/pkg-download: get rid of the FLOCK variable
The FLOCK variable is context-dependent, and expects the PKG
variable to be set to the current package.
This is not so nice. Besides, it is used in a single location.
Get rid of this intermediate variable, and directly use flock
where we need it.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Yann E. MORIN [Mon, 15 Apr 2019 19:47:24 +0000 (21:47 +0200)]
infra/pkg-download: make the URI list a callable macro
Currently, that variable is context-dependent, as it expects the PKG
variable to exist and be defined to the current package.
This is not so clean, so change the variable to a callable macro.
Adapt the caller accordingly.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Yann E. MORIN [Mon, 15 Apr 2019 19:47:23 +0000 (21:47 +0200)]
infra/pkg-download: return just a list of URIs
Currently, the internal DOWNLOAD_URIS variable is set to be a list of
options to pass to the download wrapper, with each URI passed as
'-u URI'.
This precludes using that variable to get just the list of URIs, in
case we need to do something else with it.
Fix the variable to really only contain the list of URIs.
Adapt the caller accordingly.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Fabrice Fontaine [Sun, 14 Apr 2019 22:35:29 +0000 (00:35 +0200)]
package/cjson: security bump to version 1.7.11
Fix a bug where cJSON_Minify could overflow it's buffer, both reading
and writing: https://github.com/DaveGamble/cJSON/issues/338.
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Peter Korsgaard [Sun, 14 Apr 2019 19:16:53 +0000 (21:16 +0200)]
package/opus: bump version to 1.3.1
Fixes a number of post-1.3 fixes. For details, see the announcement:
http://lists.xiph.org/pipermail/opus/2019-April/004318.html
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>