mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-10 10:10:28 +03:00
Compare commits
102 Commits
2019.11-rc
...
2019.11-rc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fc1c7e5961 | ||
|
|
964d31a99e | ||
|
|
14c3e876d3 | ||
|
|
d3af5d7040 | ||
|
|
dfcb5fc9c9 | ||
|
|
b3aaa725f1 | ||
|
|
d6d3d66d93 | ||
|
|
9465182eb8 | ||
|
|
808a54aa3b | ||
|
|
371e6adc15 | ||
|
|
a7ba9c54b4 | ||
|
|
3b8c95a08d | ||
|
|
01d8b65dc7 | ||
|
|
40eccec533 | ||
|
|
c870ce5478 | ||
|
|
b8b7bd18ed | ||
|
|
2e5d631f8f | ||
|
|
2ee02eaaee | ||
|
|
dbfd6d8194 | ||
|
|
33da50f014 | ||
|
|
f749282fe6 | ||
|
|
eee5e432ed | ||
|
|
ccca4f0954 | ||
|
|
386e5f0baf | ||
|
|
f581525812 | ||
|
|
502d55fc2d | ||
|
|
051266c0f5 | ||
|
|
61d35fb727 | ||
|
|
9ae86ebece | ||
|
|
ee7acf2af3 | ||
|
|
ed8bfed70f | ||
|
|
2618429d88 | ||
|
|
43683d2d9b | ||
|
|
728d6800bb | ||
|
|
1ab7e0c6f3 | ||
|
|
3ab1810b65 | ||
|
|
6458b154a2 | ||
|
|
7bb0691475 | ||
|
|
f3546d4e7c | ||
|
|
3817b79869 | ||
|
|
5279c58e23 | ||
|
|
3b07952073 | ||
|
|
ce9a16fdfe | ||
|
|
d90fc22ee3 | ||
|
|
b5afd8dfd5 | ||
|
|
75a257f45e | ||
|
|
5f5be8c552 | ||
|
|
93e9b5378d | ||
|
|
7387a50c30 | ||
|
|
1ced285fe7 | ||
|
|
9cf56183a9 | ||
|
|
6d588b718d | ||
|
|
68a0ec3758 | ||
|
|
a7c4fce808 | ||
|
|
11e75a7145 | ||
|
|
47def13564 | ||
|
|
29cdf119f3 | ||
|
|
be72d8c9e6 | ||
|
|
3f761492ac | ||
|
|
2dff01f24b | ||
|
|
baadfbcc02 | ||
|
|
c074fade2c | ||
|
|
7d0ee8b4b8 | ||
|
|
b65095250c | ||
|
|
f31cd33cef | ||
|
|
21783d8403 | ||
|
|
272695277e | ||
|
|
26d67a2599 | ||
|
|
a3ad4e9c73 | ||
|
|
ade15bbbbf | ||
|
|
046735f5d1 | ||
|
|
cf741893b6 | ||
|
|
6b6630156d | ||
|
|
2be4232d98 | ||
|
|
2e67462388 | ||
|
|
9613fa8230 | ||
|
|
a1fddd832e | ||
|
|
9e63ec171d | ||
|
|
cd080fe421 | ||
|
|
d5af82e843 | ||
|
|
b6940fe2d3 | ||
|
|
de6739c846 | ||
|
|
267131f983 | ||
|
|
560affd654 | ||
|
|
2b064f86b6 | ||
|
|
78b77a5c4a | ||
|
|
6d8c56f776 | ||
|
|
bc1aec413b | ||
|
|
2c543b4f4c | ||
|
|
51bac54bbf | ||
|
|
d7131269b8 | ||
|
|
26f42106e8 | ||
|
|
5044d205e9 | ||
|
|
4d68651f2c | ||
|
|
dca3a64b48 | ||
|
|
c8e7ac6083 | ||
|
|
1216a141f1 | ||
|
|
3b722cdc4b | ||
|
|
0aa6cf0fe1 | ||
|
|
6a1e1ee9bc | ||
|
|
ef17e5a15e | ||
|
|
9bcc20f1fa |
118
CHANGES
118
CHANGES
@@ -1,3 +1,37 @@
|
||||
2019.11-rc3, released November 24th, 2019
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Updated/fixed packages: asterisk, clamav, domoticz, faifa,
|
||||
gerbera, kmod, kvm-unit-tests, libupnp18, linux-serial-test,
|
||||
lsof, ltp-testsuite, lxc, mesa3d, mesa3d-headers, perl, php,
|
||||
postgresql, qemu, rauc, redis, rpcbind, spice, spice-protocol,
|
||||
systemd, tftpd, waylandpp, webkitgtk, zip
|
||||
|
||||
2019.11-rc2, released November 16th, 2019
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Toolchain: ARC tools bumped to arc-2019.09-rc1, ensure
|
||||
external toolchain kernel headers version check correctly stop
|
||||
the build on mismatch
|
||||
|
||||
Meson: Fix generation of global cross-compilation.conf
|
||||
|
||||
Download: Also use the package download method for extra
|
||||
downloads from the same site, so it does not get confused by
|
||||
URLs containing '+'
|
||||
|
||||
Defconfigs: Fix boot issue for beaglebone
|
||||
|
||||
Updated/fixed packages: bird, chrony, connman, dhcp, domoticz,
|
||||
dropwatch, dtc, elf2flt, gettext-tiny, glog, intel-microcode,
|
||||
ipsec-tools, jailhouse, kodi, libfribi, libmbim, libressl,
|
||||
libsigrokdecode, libsvgtiny, linux-serial-test, ltp-testsuite,
|
||||
lvm2, lxc, mariadb, mesa3d, minizip, ndisc6, neardal, ninja,
|
||||
ofono, openvmtools, oracle-mysql, qt5wayland, safeclib, socat,
|
||||
sudo, systemd, wpewebkit, xserver_xorg-server
|
||||
|
||||
2019.11-rc1, released November 5th, 2019
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
@@ -26,9 +60,9 @@
|
||||
Libre Computer "La Frite", QEMU Armv7-A with trustzone/OP-TEE,
|
||||
STM32MP157 Discovery Kit
|
||||
|
||||
Arch: Default to a sensible floating point ABI based on the
|
||||
selected ISA extensions rather than always defaulting to
|
||||
ILP32/64
|
||||
Arch: RISC-V: Default to a sensible floating point ABI based
|
||||
on the selected ISA extensions rather than always defaulting
|
||||
to ILP32/64
|
||||
|
||||
Graph-size: Package sizes are now shown in human readable form
|
||||
(Kib/Mib/Gib) rather than always in Kib. Binary (KB/MB/GB)
|
||||
@@ -63,9 +97,9 @@
|
||||
|
||||
New packages: caps, collectl, dav1d, fstrcmp, ima-evm-utils,
|
||||
jitterentropy-library, kodi-vfs-rar, kodi-vfs-sftp, libavl,
|
||||
libhttpserver, libmspack, libnetconf2, libolm, libyang, lrzip,
|
||||
mdevd, minimodem, musl-fts, netifrc, ogre, openlayers,
|
||||
python-aioredis, python-asgiref,
|
||||
libhttpserver, libmspack, libnetconf2, libolm, libyang,
|
||||
linux-serial-test, lrzip, mdevd, minimodem, musl-fts, netifrc,
|
||||
ogre, openlayers, python-aioredis, python-asgiref,
|
||||
python-backports-functools-lru-cache, python-bluezero,
|
||||
python-brotli, python-channels, python-channels-redis,
|
||||
python-colorlog, python-daphne, python-django-enumfields,
|
||||
@@ -102,6 +136,42 @@
|
||||
#12276: make clean/distclean does not remove BR2_DL_DIR and BR2_HOST_DIR
|
||||
#12281: Custom configuration fails to build (based on raspberrypi3_..
|
||||
|
||||
2019.08.2, released November 9th, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Toolchain: Also copy libssp.so for external toolchains if SSP
|
||||
to handle toolchains providing SSP support in libssp rather
|
||||
than in the C library
|
||||
|
||||
Download: Also use the package download method for extra
|
||||
downloads from the same site, so it does not get confused by
|
||||
URLs containing '+'
|
||||
|
||||
Fakeroot now works correctly under Microsoft Windows 10
|
||||
Services for Linux, which does not provide SYSV IPC support
|
||||
|
||||
utils/test-pkg: ensure to exit with an error upon failure
|
||||
|
||||
Updated/fixed packages: asterisk, azmq, binutils,
|
||||
cups-filters, domoticz, dtc, duma, elf2flt, eudev, exfat,
|
||||
exfat-utils, fakeroot, fdk-aac, file, freerdp, gcc, gd,
|
||||
ghostscript, go, gpsd, grpc, gst1-plugins-base, gvfs, icu,
|
||||
intel-microcode, kvm-unit-tests, libfribidi, libnspr, libnss,
|
||||
libopenssl, libpcap, libpciaccess, librsvg, libseccomp,
|
||||
libsigrok, libtorrent, libunwind, libva, linux-tools,
|
||||
lua-sdl2, lxc, minizip, mjpegtools, mongoose, mono, nbd,
|
||||
nfs-utils, php, piglit, python, python-autobahn,
|
||||
python-pysnmp-apps, python-tornado, python3, qemu, qt5base,
|
||||
ruby, safeclib, samba4, sdl_mixer, sox, sudo, suricata,
|
||||
systemd, tcpdump, unscd, util-linux, vdr-plugin-vnsiserver,
|
||||
vtun, wireshark, xvisor, yaffs2utils
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#11366: [2018.08] SysV IPC not available for fakeroot on WSL
|
||||
#12261: sudo versions prior to 1.8.28 are affected
|
||||
|
||||
2019.08.1, released October 3rd, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
@@ -514,6 +584,42 @@
|
||||
#11761: Building custom kernel 5.1-rc3 or later breaks on objtool
|
||||
#11816: Only selected coreutils binaries are installed
|
||||
|
||||
2019.02.7, Released November 10th, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
support/testing: use a kernel with HW_RANDOM_VIRTIO to work
|
||||
around issues with lack of entrophy
|
||||
|
||||
Toolchain: Also copy libssp.so for external toolchains if SSP
|
||||
is enabled to handle toolchains providing SSP support in
|
||||
libssp rather than in the C library
|
||||
|
||||
Download: Also use the package download method for extra
|
||||
downloads from the same site, so it does not get confused by
|
||||
URLs containing '+'
|
||||
|
||||
Fakeroot now works correctly under Microsoft Windows 10
|
||||
Services for Linux, which does not provide SYSV IPC support
|
||||
|
||||
utils/test-pkg: ensure to exit with an error upon failure
|
||||
|
||||
Updated/fixed packages: asterisk, azmq, cups-filters,
|
||||
domoticz, duma, elf2flt, eudev, exfat, exfat-utils, fakeroot,
|
||||
file, freerdp, gd, ghostscript, go, gvfs, intel-microcode,
|
||||
kvm-unit-tests, libarchive, libnspr, libnss, libopenssl,
|
||||
libpcap, libpciaccess, librsvg, libseccomp, libsigrok,
|
||||
libtorrent, libunwind, linux-tools, lua-sdl2, lxc, minizip,
|
||||
mjpegtools, mongoose, php, python, python-pysnmp-apps,
|
||||
python3, qemu, qt5base, ruby, safeclib, samba4, sdl_mixer,
|
||||
sox, sudo, systemd, tcpdump, unscd, util-lkinux, vtun, xvisor,
|
||||
yaffs2utils
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#11366: [2018.08] SysV IPC not available for fakeroot on WSL
|
||||
#12261: sudo versions prior to 1.8.28 are affected
|
||||
|
||||
2019.02.6, Released October 3rd, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
@@ -146,6 +146,12 @@ endif
|
||||
|
||||
comment "Legacy options removed in 2019.11"
|
||||
|
||||
config BR2_PACKAGE_OPENVMTOOLS_PROCPS
|
||||
bool "openvmtools' procps support was removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Upstream stopped supporting this option a while ago.
|
||||
|
||||
config BR2_PACKAGE_ALLJOYN
|
||||
bool "alljoyn was removed"
|
||||
select BR2_LEGACY
|
||||
|
||||
@@ -461,6 +461,7 @@ N: Brock Williams <brock@cottonwoodcomputer.com>
|
||||
F: package/pdmenu/
|
||||
|
||||
N: Carlo Caione <carlo.caione@gmail.com>
|
||||
F: package/jailhouse/
|
||||
F: package/sunxi-boards/
|
||||
|
||||
N: Carlos Santos <unixmania@gmail.com>
|
||||
@@ -886,7 +887,9 @@ F: package/ser2net/
|
||||
|
||||
N: Francois Perrad <francois.perrad@gadz.org>
|
||||
F: board/olimex/a20_olinuxino
|
||||
F: board/olimex/imx233_olinuxino/
|
||||
F: configs/olimex_a20_olinuxino_*
|
||||
F: configs/olimex_imx233_olinuxino_defconfig
|
||||
F: package/4th/
|
||||
F: package/cgilua/
|
||||
F: package/chipmunk/
|
||||
@@ -1484,7 +1487,7 @@ F: package/lynx/
|
||||
N: Mario Rugiero <mrugiero@gmail.com>
|
||||
F: package/ratpoison/
|
||||
|
||||
N: Mark Corbin <mark.corbin@embecosm.com>
|
||||
N: Mark Corbin <mark@dibsco.co.uk>
|
||||
F: arch/arch.mk.riscv
|
||||
F: arch/Config.in.riscv
|
||||
F: board/qemu/riscv32-virt/
|
||||
|
||||
4
Makefile
4
Makefile
@@ -92,9 +92,9 @@ all:
|
||||
.PHONY: all
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION := 2019.11-rc1
|
||||
export BR2_VERSION := 2019.11-rc3
|
||||
# Actual time the release is cut (for reproducible builds)
|
||||
BR2_VERSION_EPOCH = 1572993000
|
||||
BR2_VERSION_EPOCH = 1574590000
|
||||
|
||||
# Save running make version since it's clobbered by the make package
|
||||
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
|
||||
|
||||
@@ -3,6 +3,9 @@ devtype=mmc
|
||||
bootdir=
|
||||
bootfile=zImage
|
||||
bootpartition=mmcblk0p2
|
||||
console=ttyS0,115200n8
|
||||
loadaddr=0x82000000
|
||||
fdtaddr=0x88000000
|
||||
set_mmc1=if test $board_name = A33515BB; then setenv bootpartition mmcblk1p2; fi
|
||||
set_bootargs=setenv bootargs console=ttyO0,115200n8 root=/dev/${bootpartition} rw rootfstype=ext4 rootwait
|
||||
set_bootargs=setenv bootargs console=${console} root=/dev/${bootpartition} rw rootfstype=ext4 rootwait
|
||||
uenvcmd=run set_mmc1; run set_bootargs;run loadimage;run loadfdt;printenv bootargs;bootz ${loadaddr} - ${fdtaddr}
|
||||
|
||||
@@ -87,15 +87,21 @@ This directory contains several subdirectories:
|
||||
target). This directory contains one subdirectory for each of these
|
||||
components.
|
||||
|
||||
* +staging/+ which contains a hierarchy similar to a root filesystem
|
||||
hierarchy. This directory contains the headers and libraries of the
|
||||
cross-compilation toolchain and all the userspace packages selected
|
||||
for the target. However, this directory is 'not' intended to be
|
||||
the root filesystem for the target: it contains a lot of development
|
||||
files, unstripped binaries and libraries that make it far too big
|
||||
for an embedded system. These development files are used to compile
|
||||
libraries and applications for the target that depend on other
|
||||
libraries.
|
||||
* +host/+ contains both the tools built for the host, and the sysroot
|
||||
of the target toolchain. The former is an installation of tools
|
||||
compiled for the host that are needed for the proper execution of
|
||||
Buildroot, including the cross-compilation toolchain. The latter
|
||||
is a hierarchy similar to a root filesystem hierarchy. It contains
|
||||
the headers and libraries of all user-space packages that provide
|
||||
and install libraries used by other packages. However, this
|
||||
directory is 'not' intended to be the root filesystem for the target:
|
||||
it contains a lot of development files, unstripped binaries and
|
||||
libraries that make it far too big for an embedded system. These
|
||||
development files are used to compile libraries and applications for
|
||||
the target that depend on other libraries.
|
||||
|
||||
* +staging/+ is a symlink to the target toolchain sysroot inside
|
||||
+host/+, which exists for backwards compatibility.
|
||||
|
||||
* +target/+ which contains 'almost' the complete root filesystem for
|
||||
the target: everything needed is present except the device files in
|
||||
@@ -111,10 +117,6 @@ This directory contains several subdirectories:
|
||||
development files (headers, etc.) are not present, the binaries are
|
||||
stripped.
|
||||
|
||||
* +host/+ contains the installation of tools compiled for the host
|
||||
that are needed for the proper execution of Buildroot, including the
|
||||
cross-compilation toolchain.
|
||||
|
||||
These commands, +make menuconfig|nconfig|gconfig|xconfig+ and +make+, are the
|
||||
basic ones that allow to easily and quickly generate images fitting
|
||||
your needs, with all the features and applications you enabled.
|
||||
|
||||
@@ -8,105 +8,105 @@
|
||||
<div class="panel-heading">Download</div>
|
||||
<div class="panel-body">
|
||||
|
||||
<h3 style="text-align: center;">Latest long term support release: <b>2019.02.6</b></h3>
|
||||
<h3 style="text-align: center;">Latest long term support release: <b>2019.02.7</b></h3>
|
||||
|
||||
<div class="row mt centered">
|
||||
<div class="col-sm-6">
|
||||
<div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
|
||||
<div class="flipper">
|
||||
<div class="front">
|
||||
<a href="/downloads/buildroot-2019.02.6.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2019.02.7.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2019.02.6.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2019.02.7.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h3><a href="/downloads/buildroot-2019.02.6.tar.gz">buildroot-2019.02.6.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2019.02.6.tar.gz.sign">PGP signature</a></p>
|
||||
<h3><a href="/downloads/buildroot-2019.02.7.tar.gz">buildroot-2019.02.7.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2019.02.7.tar.gz.sign">PGP signature</a></p>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
|
||||
<div class="flipper">
|
||||
<div class="front">
|
||||
<a href="/downloads/buildroot-2019.02.6.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2019.02.7.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2019.02.6.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2019.02.7.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a href="/downloads/buildroot-2019.02.6.tar.bz2">buildroot-2019.02.6.tar.bz2</a></h3>
|
||||
<p><a href="/downloads/buildroot-2019.02.6.tar.bz2.sign">PGP signature</a></p>
|
||||
<h3><a href="/downloads/buildroot-2019.02.7.tar.bz2">buildroot-2019.02.7.tar.bz2</a></h3>
|
||||
<p><a href="/downloads/buildroot-2019.02.7.tar.bz2.sign">PGP signature</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3 style="text-align: center;">Latest stable release: <b>2019.08.1</b></h3>
|
||||
<h3 style="text-align: center;">Latest stable release: <b>2019.08.2</b></h3>
|
||||
|
||||
<div class="row mt centered">
|
||||
<div class="col-sm-6">
|
||||
<div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
|
||||
<div class="flipper">
|
||||
<div class="front">
|
||||
<a href="/downloads/buildroot-2019.08.1.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2019.08.2.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2019.08.1.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2019.08.2.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h3><a href="/downloads/buildroot-2019.08.1.tar.gz">buildroot-2019.08.1.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2019.08.1.tar.gz.sign">PGP signature</a></p>
|
||||
<h3><a href="/downloads/buildroot-2019.08.2.tar.gz">buildroot-2019.08.2.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2019.08.2.tar.gz.sign">PGP signature</a></p>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
|
||||
<div class="flipper">
|
||||
<div class="front">
|
||||
<a href="/downloads/buildroot-2019.08.1.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2019.08.2.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2019.08.1.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2019.08.2.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a href="/downloads/buildroot-2019.08.1.tar.bz2">buildroot-2019.08.1.tar.bz2</a></h3>
|
||||
<p><a href="/downloads/buildroot-2019.08.1.tar.bz2.sign">PGP signature</a></p>
|
||||
<h3><a href="/downloads/buildroot-2019.08.2.tar.bz2">buildroot-2019.08.2.tar.bz2</a></h3>
|
||||
<p><a href="/downloads/buildroot-2019.08.2.tar.bz2.sign">PGP signature</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3 style="text-align: center;">Latest release candidate: <b>2019.11-rc1</b></h3>
|
||||
<h3 style="text-align: center;">Latest release candidate: <b>2019.11-rc3</b></h3>
|
||||
<div class="row mt centered">
|
||||
<div class="col-sm-6">
|
||||
<div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
|
||||
<div class="flipper">
|
||||
<div class="front">
|
||||
<a href="/downloads/buildroot-2019.11-rc1.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2019.11-rc3.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2019.11-rc1.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2019.11-rc3.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a href="/downloads/buildroot-2019.11-rc1.tar.gz">buildroot-2019.11-rc1.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2019.11-rc1.tar.gz.sign">PGP signature</a></p>
|
||||
<h3><a href="/downloads/buildroot-2019.11-rc3.tar.gz">buildroot-2019.11-rc3.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2019.11-rc3.tar.gz.sign">PGP signature</a></p>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
|
||||
<div class="flipper">
|
||||
<div class="front">
|
||||
<a href="/downloads/buildroot-2019.11-rc1.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2019.11-rc3.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2019.11-rc1.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2019.11-rc3.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a href="/downloads/buildroot-2019.11-rc1.tar.bz2">buildroot-2019.11-rc1.tar.bz2</a></h3>
|
||||
<p><a href="/downloads/buildroot-2019.11-rc1.tar.bz2.sign">PGP signature</a></p>
|
||||
<h3><a href="/downloads/buildroot-2019.11-rc3.tar.bz2">buildroot-2019.11-rc3.tar.bz2</a></h3>
|
||||
<p><a href="/downloads/buildroot-2019.11-rc3.tar.bz2.sign">PGP signature</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -9,6 +9,87 @@
|
||||
<h2>News</h2>
|
||||
<ul class="timeline">
|
||||
|
||||
<li class="timeline-inverted">
|
||||
<li>
|
||||
<div class="timeline-badge"><i class="glyphicon glyphicon-thumbs-up"></i></div>
|
||||
<div class="timeline-panel">
|
||||
<div class="timeline-heading">
|
||||
<h4 class="timeline-title">2019.11-rc3 released</h4>
|
||||
<p><small class="text-muted"><i class="glyphicon glyphicon-time"></i>24 November 2019</small></p>
|
||||
</div>
|
||||
<div class="timeline-body">
|
||||
<p>Another week, another release candidate with more cleanups and build fixes. See the
|
||||
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2019.11-rc3">CHANGES</a>
|
||||
file for details.</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2019.11-rc3.tar.bz2">2019.11-rc3
|
||||
release candidate</a>, and report any problems found to the
|
||||
<a href="support.html">mailing list</a> or
|
||||
<a href="https://bugs.buildroot.org">bug tracker</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="timeline-badge"><i class="glyphicon glyphicon-thumbs-up"></i></div>
|
||||
<div class="timeline-panel">
|
||||
<div class="timeline-heading">
|
||||
<h4 class="timeline-title">2019.11-rc2 released</h4>
|
||||
<p><small class="text-muted"><i class="glyphicon glyphicon-time"></i>16 November 2019</small></p>
|
||||
</div>
|
||||
<div class="timeline-body">
|
||||
<p>Another week, another release candidate with more cleanups and build fixes. See the
|
||||
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2019.11-rc2">CHANGES</a>
|
||||
file for details.</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2019.11-rc2.tar.bz2">2019.11-rc2
|
||||
release candidate</a>, and report any problems found to the
|
||||
<a href="support.html">mailing list</a> or
|
||||
<a href="https://bugs.buildroot.org">bug tracker</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="timeline-inverted">
|
||||
<div class="timeline-badge"><i class="glyphicon glyphicon-thumbs-up"></i></div>
|
||||
<div class="timeline-panel">
|
||||
<div class="timeline-heading">
|
||||
<h4 class="timeline-title">2019.02.7 released</h4>
|
||||
<p><small class="text-muted"><i class="glyphicon glyphicon-time"></i>10 November 2019</small></p>
|
||||
</div>
|
||||
<div class="timeline-body">
|
||||
<p>The 2019.02.7 bugfix release is out, fixing a number of important /
|
||||
security related issues discovered since the 2019.02.6 release. See the
|
||||
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2019.02.7">CHANGES</a>
|
||||
file for more details, read the
|
||||
<a href="http://lists.busybox.net/pipermail/buildroot/2019-November/265909.html">announcement</a>
|
||||
and go to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2019.02.7.tar.bz2">2019.02.7 release</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="timeline-badge"><i class="glyphicon glyphicon-thumbs-up"></i></div>
|
||||
<div class="timeline-panel">
|
||||
<div class="timeline-heading">
|
||||
<h4 class="timeline-title">2019.08.2 released</h4>
|
||||
<p><small class="text-muted"><i class="glyphicon glyphicon-time"></i>9 November 2019</small></p>
|
||||
</div>
|
||||
<div class="timeline-body">
|
||||
<p>The 2019.08.2 bugfix release is out, fixing a number of important /
|
||||
security related issues discovered since the 2019.08.1 release. See the
|
||||
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2019.08.2">CHANGES</a>
|
||||
file for more details, read the
|
||||
<a href="http://lists.busybox.net/pipermail/buildroot/2019-November/265842.html">announcement</a>
|
||||
and go to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2019.08.2.tar.bz2">2019.08.2 release</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="timeline-inverted">
|
||||
<div class="timeline-badge"><i class="glyphicon glyphicon-thumbs-up"></i></div>
|
||||
<div class="timeline-panel">
|
||||
|
||||
@@ -122,7 +122,7 @@ endif
|
||||
|
||||
config BR2_LINUX_KERNEL_VERSION
|
||||
string
|
||||
default "5.3.8" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
default "5.3.12" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
default "v4.19.75-cip11" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION
|
||||
default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \
|
||||
if BR2_LINUX_KERNEL_CUSTOM_VERSION
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
|
||||
sha256 78f3cfc6c20b10ff21c0bb22d7d257cab03781c44d8c5aae289f749f94f76649 linux-5.3.8.tar.xz
|
||||
sha256 53bff6f89dca19f928043fb0d3434bfb4b6abbb1bf18b907cb731188bdac97a0 linux-5.3.12.tar.xz
|
||||
# From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc
|
||||
sha256 293ec1ae0f6b3b4be83a217224b51d137f2163cf2d9d294eecf5d0a354e4e29d linux-4.19.81.tar.xz
|
||||
sha256 ff519c428ee9bbb513a84db5ec32a7e3705cd8c23a57104b25b944cb79583fae linux-4.14.151.tar.xz
|
||||
sha256 9572ebfa6ba0efcf9f1ec7b62c7b89baa36a621ab9fd4c5ad025196c549605ac linux-4.9.198.tar.xz
|
||||
sha256 ecf808d88d04086da25bf44288d63a7110dd99948c17bc1162e5301abccff312 linux-4.4.198.tar.xz
|
||||
sha256 fdacceeae22d1a0467cae50c15e6e754bfb8bb8e8010623df0d8fd78f4adb929 linux-4.4.202.tar.xz
|
||||
sha256 8108ec1cd10fc40821c84e9f087dba10b1767aad66596f4a36925faef55e4ebf linux-4.9.202.tar.xz
|
||||
sha256 77d61979556b81c95b81452fa10e1fe9368cbe2f9f80a13e4669b0464722e481 linux-4.14.155.tar.xz
|
||||
sha256 7bf435970aeeafd46263f49730087a61c4858d8b8fc5a4002ceac971b45f4fb7 linux-4.19.85.tar.xz
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Locally computed
|
||||
sha256 9323f1fd41416d2d997015b2199d5507847e54da64c2e24923d75f5c283c5e83 asterisk-16.6.1.tar.gz
|
||||
sha256 474cbc6f9dddee94616f8af8e097bc4d340dc9698c4165dc45be6e0be80ff725 asterisk-16.6.2.tar.gz
|
||||
|
||||
# sha1 from: http://downloads.asterisk.org/pub/telephony/sounds/releases
|
||||
# sha256 locally computed
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ASTERISK_VERSION = 16.6.1
|
||||
ASTERISK_VERSION = 16.6.2
|
||||
# Use the github mirror: it's an official mirror maintained by Digium, and
|
||||
# provides tarballs, which the main Asterisk git tree (behind Gerrit) does not.
|
||||
ASTERISK_SITE = $(call github,asterisk,asterisk,$(ASTERISK_VERSION))
|
||||
|
||||
@@ -37,7 +37,7 @@ endchoice
|
||||
|
||||
config BR2_BINUTILS_VERSION
|
||||
string
|
||||
default "arc-2019.09-eng002" if BR2_BINUTILS_VERSION_ARC
|
||||
default "arc-2019.09-rc1" if BR2_BINUTILS_VERSION_ARC
|
||||
default "c66d8bbcebfddf713b2b436e1b135e6b125a55a5" if BR2_BINUTILS_VERSION_CSKY
|
||||
default "2.30" if BR2_BINUTILS_VERSION_2_30_X
|
||||
default "2.31.1" if BR2_BINUTILS_VERSION_2_31_X
|
||||
|
||||
@@ -1,244 +0,0 @@
|
||||
From 0bd0ecc386b82ce4b61dc64fe6cdd6a851acc866 Mon Sep 17 00:00:00 2001
|
||||
From: Claudiu Zissulescu <claziss@gmail.com>
|
||||
Date: Thu, 31 Oct 2019 10:39:07 +0100
|
||||
Subject: [PATCH] Revert "[ARC] Check UNDEFWEAK_NO_DYNAMIC_RELOC"
|
||||
|
||||
Gives errors when -fPIE used.
|
||||
|
||||
Signed-off-by: Claudiu Zissulescu <claziss@synopsys.com>
|
||||
|
||||
This reverts commit 1823527532407648f3061b130c55f2138496b2aa.
|
||||
---
|
||||
bfd/elf32-arc.c | 120 +++++++++++++------------------
|
||||
ld/testsuite/ld-arc/weakhid.s | 13 ----
|
||||
ld/testsuite/ld-arc/weakhiddso.d | 29 --------
|
||||
3 files changed, 50 insertions(+), 112 deletions(-)
|
||||
delete mode 100644 ld/testsuite/ld-arc/weakhid.s
|
||||
delete mode 100644 ld/testsuite/ld-arc/weakhiddso.d
|
||||
|
||||
diff --git a/bfd/elf32-arc.c b/bfd/elf32-arc.c
|
||||
index b92b0b7501a..e9463bea04f 100644
|
||||
--- a/bfd/elf32-arc.c
|
||||
+++ b/bfd/elf32-arc.c
|
||||
@@ -1462,7 +1462,6 @@ elf_arc_relocate_section (bfd * output_bfd,
|
||||
struct elf_link_hash_entry * h2;
|
||||
const char * msg;
|
||||
bfd_boolean unresolved_reloc = FALSE;
|
||||
- bfd_boolean resolved_to_zero;
|
||||
|
||||
struct arc_relocation_data reloc_data =
|
||||
{
|
||||
@@ -1604,8 +1603,6 @@ elf_arc_relocate_section (bfd * output_bfd,
|
||||
continue;
|
||||
}
|
||||
|
||||
- resolved_to_zero = (h != NULL && UNDEFWEAK_NO_DYNAMIC_RELOC (info, h));
|
||||
-
|
||||
if (r_symndx < symtab_hdr->sh_info) /* A local symbol. */
|
||||
{
|
||||
reloc_data.sym_value = sym->st_value;
|
||||
@@ -1714,8 +1711,7 @@ elf_arc_relocate_section (bfd * output_bfd,
|
||||
reloc_data.sym_section = htab->splt;
|
||||
reloc_data.should_relocate = TRUE;
|
||||
}
|
||||
- /* See pr22269. */
|
||||
- else if (!resolved_to_zero)
|
||||
+ else
|
||||
continue;
|
||||
}
|
||||
else
|
||||
@@ -1787,26 +1783,24 @@ elf_arc_relocate_section (bfd * output_bfd,
|
||||
|
||||
switch (r_type)
|
||||
{
|
||||
- case R_ARC_32:
|
||||
- case R_ARC_32_ME:
|
||||
- case R_ARC_PC32:
|
||||
- case R_ARC_32_PCREL:
|
||||
- if (bfd_link_pic (info)
|
||||
- && !resolved_to_zero
|
||||
- && (input_section->flags & SEC_ALLOC) != 0
|
||||
- && (!IS_ARC_PCREL_TYPE (r_type)
|
||||
- || (h != NULL
|
||||
- && h->dynindx != -1
|
||||
- && !h->def_regular
|
||||
- && (!info->symbolic || !h->def_regular))))
|
||||
- {
|
||||
- Elf_Internal_Rela outrel;
|
||||
- bfd_byte *loc;
|
||||
- bfd_boolean skip = FALSE;
|
||||
- bfd_boolean relocate = FALSE;
|
||||
- asection *sreloc = _bfd_elf_get_dynamic_reloc_section
|
||||
- (input_bfd, input_section,
|
||||
- /*RELA*/ TRUE);
|
||||
+ case R_ARC_32:
|
||||
+ case R_ARC_32_ME:
|
||||
+ case R_ARC_PC32:
|
||||
+ case R_ARC_32_PCREL:
|
||||
+ if (bfd_link_pic (info)
|
||||
+ && (!IS_ARC_PCREL_TYPE (r_type)
|
||||
+ || (h != NULL
|
||||
+ && h->dynindx != -1
|
||||
+ && !h->def_regular
|
||||
+ && (!info->symbolic || !h->def_regular))))
|
||||
+ {
|
||||
+ Elf_Internal_Rela outrel;
|
||||
+ bfd_byte *loc;
|
||||
+ bfd_boolean skip = FALSE;
|
||||
+ bfd_boolean relocate = FALSE;
|
||||
+ asection *sreloc = _bfd_elf_get_dynamic_reloc_section
|
||||
+ (input_bfd, input_section,
|
||||
+ /*RELA*/ TRUE);
|
||||
|
||||
BFD_ASSERT (sreloc != NULL);
|
||||
|
||||
@@ -2009,8 +2003,6 @@ elf_arc_check_relocs (bfd * abfd,
|
||||
|
||||
switch (r_type)
|
||||
{
|
||||
- case R_ARC_8:
|
||||
- case R_ARC_16:
|
||||
case R_ARC_32:
|
||||
case R_ARC_32_ME:
|
||||
/* During shared library creation, these relocs should not
|
||||
@@ -2041,51 +2033,39 @@ elf_arc_check_relocs (bfd * abfd,
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
- /* In some cases we are not setting the 'non_got_ref' flag,
|
||||
- even though the relocations don't require a GOT access.
|
||||
- We should extend the testing in this area to ensure that
|
||||
- no significant cases are being missed. */
|
||||
- if (h)
|
||||
- h->non_got_ref = 1;
|
||||
-
|
||||
- /* We don't need to handle relocs into sections not going
|
||||
- into the "real" output. */
|
||||
- if ((sec->flags & SEC_ALLOC) == 0)
|
||||
- break;
|
||||
+ /* In some cases we are not setting the 'non_got_ref'
|
||||
+ flag, even though the relocations don't require a GOT
|
||||
+ access. We should extend the testing in this area to
|
||||
+ ensure that no significant cases are being missed. */
|
||||
+ if (h)
|
||||
+ h->non_got_ref = 1;
|
||||
+ /* FALLTHROUGH */
|
||||
+ case R_ARC_PC32:
|
||||
+ case R_ARC_32_PCREL:
|
||||
+ if ((bfd_link_pic (info))
|
||||
+ && ((r_type != R_ARC_PC32 && r_type != R_ARC_32_PCREL)
|
||||
+ || (h != NULL
|
||||
+ && (!info->symbolic || !h->def_regular))))
|
||||
+ {
|
||||
+ if (sreloc == NULL)
|
||||
+ {
|
||||
+ if (info->dynamic
|
||||
+ && ! htab->dynamic_sections_created
|
||||
+ && ! _bfd_elf_link_create_dynamic_sections (abfd, info))
|
||||
+ return FALSE;
|
||||
+ sreloc = _bfd_elf_make_dynamic_reloc_section (sec, dynobj,
|
||||
+ 2, abfd,
|
||||
+ /*rela*/
|
||||
+ TRUE);
|
||||
+
|
||||
+ if (sreloc == NULL)
|
||||
+ return FALSE;
|
||||
+ }
|
||||
+ sreloc->size += sizeof (Elf32_External_Rela);
|
||||
|
||||
- /* No need to do anything if we're not creating a shared
|
||||
- object. */
|
||||
- if (!bfd_link_pic (info)
|
||||
- || (h != NULL
|
||||
- && UNDEFWEAK_NO_DYNAMIC_RELOC (info, h)))
|
||||
+ }
|
||||
+ default:
|
||||
break;
|
||||
-
|
||||
- /* FALLTHROUGH */
|
||||
- case R_ARC_PC32:
|
||||
- case R_ARC_32_PCREL:
|
||||
- if ((bfd_link_pic (info))
|
||||
- && ((r_type != R_ARC_PC32 && r_type != R_ARC_32_PCREL)
|
||||
- || (h != NULL
|
||||
- && (!info->symbolic || !h->def_regular))))
|
||||
- {
|
||||
- if (sreloc == NULL)
|
||||
- {
|
||||
- if (info->dynamic
|
||||
- && ! htab->dynamic_sections_created
|
||||
- && ! _bfd_elf_link_create_dynamic_sections (abfd, info))
|
||||
- return FALSE;
|
||||
- sreloc = _bfd_elf_make_dynamic_reloc_section (sec, dynobj,
|
||||
- 2, abfd,
|
||||
- /*rela*/
|
||||
- TRUE);
|
||||
-
|
||||
- if (sreloc == NULL)
|
||||
- return FALSE;
|
||||
- }
|
||||
- sreloc->size += sizeof (Elf32_External_Rela);
|
||||
- }
|
||||
- default:
|
||||
- break;
|
||||
}
|
||||
|
||||
if (is_reloc_for_PLT (howto))
|
||||
diff --git a/ld/testsuite/ld-arc/weakhid.s b/ld/testsuite/ld-arc/weakhid.s
|
||||
deleted file mode 100644
|
||||
index a8c87da1a2d..00000000000
|
||||
--- a/ld/testsuite/ld-arc/weakhid.s
|
||||
+++ /dev/null
|
||||
@@ -1,13 +0,0 @@
|
||||
- .weak xweakobj
|
||||
- .weak xweakhidobj
|
||||
- .hidden xweakhidobj
|
||||
-
|
||||
- .data
|
||||
- .global x
|
||||
- .type x,@object
|
||||
-x:
|
||||
- .word xweakhidobj
|
||||
- .word xweakobj
|
||||
- .word xregobj
|
||||
-.Lfe1:
|
||||
- .size x,.Lfe1-x
|
||||
diff --git a/ld/testsuite/ld-arc/weakhiddso.d b/ld/testsuite/ld-arc/weakhiddso.d
|
||||
deleted file mode 100644
|
||||
index f52f27fc048..00000000000
|
||||
--- a/ld/testsuite/ld-arc/weakhiddso.d
|
||||
+++ /dev/null
|
||||
@@ -1,29 +0,0 @@
|
||||
-#source: weakhid.s
|
||||
-#ld: --shared -m arclinux -z nocombreloc --hash-style=sysv
|
||||
-#objdump: -s -R -T
|
||||
-
|
||||
-# Check that .weak and .weak .hidden object references are handled
|
||||
-# correctly when generating a DSO. Copied from CRIS port.
|
||||
-
|
||||
-.*: +file format .*arc.*
|
||||
-
|
||||
-DYNAMIC SYMBOL TABLE:
|
||||
-0+2208 l d \.data 0+ \.data
|
||||
-0+2208 g DO \.data 0+c x
|
||||
-0+ D \*UND\* 0+ xregobj
|
||||
-0+2214 g D \.data 0+ __bss_start
|
||||
-0+ w D \*UND\* 0+ xweakobj
|
||||
-0+2214 g D \.data 0+ _edata
|
||||
-0+2214 g D \.data 0+ _end
|
||||
-
|
||||
-
|
||||
-DYNAMIC RELOCATION RECORDS
|
||||
-OFFSET TYPE VALUE
|
||||
-0+2210 R_ARC_32 +xregobj
|
||||
-0+ R_ARC_NONE +\*ABS\*
|
||||
-
|
||||
-Contents of section \.hash:
|
||||
-#...
|
||||
-Contents of section \.data:
|
||||
- 2208 00000000 00000000 00000000 .*
|
||||
-#...
|
||||
\ No newline at end of file
|
||||
--
|
||||
2.17.2
|
||||
|
||||
@@ -4,7 +4,7 @@ sha512 0fca326feb1d5f5fe505a827b20237fe3ec9c13eaf7ec7e35847fd71184f605ba1cefe13
|
||||
sha512 d326408f12a03d9a61a9de56584c2af12f81c2e50d2d7e835d51565df8314df01575724afa1e43bd0db45cfc9916b41519b67dfce03232aa4978704492a6994a binutils-2.32.tar.xz
|
||||
|
||||
# Locally calculated (fetched from Github)
|
||||
sha512 db6a0a855733a79ec71127b94981e6be63c4852dee5aed2bc9738da7d3c3796d88974e86ae9dc20cf28ea5e31897ddf8d68f695fcadfbdec1a8406b437d73df6 binutils-gdb-arc-2019.09-eng002.tar.gz
|
||||
sha512 3840770da5ede0248f6a6605e3f1743210acd9f4da7de48720ef566cc2aae52ea9e84c285a0a6d39eb15bd7ad197d543b6e407ec9e1a00739989e574d4e04384 binutils-gdb-arc-2019.09-rc1.tar.gz
|
||||
|
||||
# Locally calculated (fetched from https://github.com/c-sky/binutils-gdb)
|
||||
sha512 979552d4b3a4f31e9f3b9a7027321bd4eb3ac6c2d8deac1720e94e54f81d736db09c53c5d87c301010e307b64127e14400a036c7a35e5d63a954a4edd9cc8e2c binutils-c66d8bbcebfddf713b2b436e1b135e6b125a55a5.tar.gz
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
BINUTILS_VERSION = $(call qstrip,$(BR2_BINUTILS_VERSION))
|
||||
ifeq ($(BINUTILS_VERSION),)
|
||||
ifeq ($(BR2_arc),y)
|
||||
BINUTILS_VERSION = arc-2019.09-eng002
|
||||
BINUTILS_VERSION = arc-2019.09-rc1
|
||||
else
|
||||
BINUTILS_VERSION = 2.31.1
|
||||
endif
|
||||
endif # BINUTILS_VERSION
|
||||
|
||||
ifeq ($(BINUTILS_VERSION),arc-2019.09-eng002)
|
||||
ifeq ($(BINUTILS_VERSION),arc-2019.09-rc1)
|
||||
BINUTILS_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,binutils-gdb,$(BINUTILS_VERSION))
|
||||
BINUTILS_SOURCE = binutils-gdb-$(BINUTILS_VERSION).tar.gz
|
||||
BINUTILS_FROM_GIT = y
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_BIRD
|
||||
bool "bird"
|
||||
depends on !BR2_nios2 # relocations don't fit
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
BIRD Internet Routing Daemon
|
||||
|
||||
@@ -13,6 +13,7 @@ CHRONY_CONF_OPTS = \
|
||||
--host-system=Linux \
|
||||
--host-machine=$(BR2_ARCH) \
|
||||
--prefix=/usr \
|
||||
--without-readline \
|
||||
--without-tomcrypt \
|
||||
$(if $(BR2_PACKAGE_CHRONY_DEBUG_LOGGING),--enable-debug,--disable-debug)
|
||||
|
||||
@@ -35,10 +36,10 @@ else
|
||||
CHRONY_CONF_OPTS += --without-seccomp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_READLINE),y)
|
||||
CHRONY_DEPENDENCIES += readline
|
||||
ifeq ($(BR2_PACKAGE_LIBEDIT),y)
|
||||
CHRONY_DEPENDENCIES += libedit
|
||||
else
|
||||
CHRONY_CONF_OPTS += --disable-readline
|
||||
CHRONY_CONF_OPTS += --without-editline --disable-readline
|
||||
endif
|
||||
|
||||
# If pps-tools is available, build it before so the package can use it
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Locally calculated
|
||||
sha256 48fe188c46c793c2d0cb5c81c106e4690251aff6dc8aa6575dc688343291bee1 clamav-0.102.0.tar.gz
|
||||
sha256 0dbda8d0d990d068732966f13049d112a26dce62145d234383467c1d877dedd6 clamav-0.102.1.tar.gz
|
||||
sha256 0c4fd2fa9733fc9122503797648710851e4ee6d9e4969dd33fcbd8c63cd2f584 COPYING
|
||||
sha256 d72a145c90918184a05ef65a04c9e6f7466faa59bc1b82c8f6a8ddc7ddcb9bed COPYING.bzip2
|
||||
sha256 dfb818a0d41411c6fb1c193c68b73018ceadd1994bda41ad541cbff292894bc6 COPYING.file
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CLAMAV_VERSION = 0.102.0
|
||||
CLAMAV_VERSION = 0.102.1
|
||||
CLAMAV_SITE = https://www.clamav.net/downloads/production
|
||||
CLAMAV_LICENSE = GPL-2.0
|
||||
CLAMAV_LICENSE_FILES = COPYING COPYING.bzip2 COPYING.file COPYING.getopt \
|
||||
|
||||
@@ -39,6 +39,7 @@ define CONNMAN_INSTALL_INIT_SYSTEMD
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_CONNMAN_CLIENT),y)
|
||||
CONNMAN_LICENSE += , GPL-2.0+ (client)
|
||||
CONNMAN_CONF_OPTS += --enable-client
|
||||
CONNMAN_DEPENDENCIES += readline
|
||||
|
||||
|
||||
@@ -10,6 +10,12 @@ DHCP_INSTALL_STAGING = YES
|
||||
DHCP_LICENSE = MPL-2.0
|
||||
DHCP_LICENSE_FILES = LICENSE
|
||||
DHCP_DEPENDENCIES = bind
|
||||
|
||||
# use libtool-enabled configure.ac
|
||||
define DHCP_LIBTOOL_AUTORECONF
|
||||
cp $(@D)/configure.ac+lt $(@D)/configure.ac
|
||||
endef
|
||||
|
||||
DHCP_CONF_ENV = \
|
||||
CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \
|
||||
-D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \
|
||||
@@ -33,6 +39,8 @@ ifeq ($(BR2_STATIC_LIBS),y)
|
||||
DHCP_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/bind9-config --libs bind9`"
|
||||
DHCP_CONF_OPTS += --disable-libtool
|
||||
else
|
||||
DHCP_POST_EXTRACT_HOOKS += DHCP_LIBTOOL_AUTORECONF
|
||||
DHCP_AUTORECONF = YES
|
||||
DHCP_CONF_OPTS += --enable-libtool
|
||||
endif
|
||||
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
From 17107b876fb308e3ef3e759ab90f3d8e4755cdc4 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Fri, 8 Nov 2019 14:17:58 +0100
|
||||
Subject: [PATCH] CMakeLists.txt: add -c argument to build precompiled headers
|
||||
|
||||
Add "-c" argument when building precompiler headers as suggested
|
||||
by Arnout in https://patchwork.ozlabs.org/patch/1187328.
|
||||
|
||||
This will fix the build with RELRO
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Retrieved from:
|
||||
https://github.com/domoticz/domoticz/commit/17107b876fb308e3ef3e759ab90f3d8e4755cdc4]
|
||||
---
|
||||
CMakeLists.txt | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 32a0dd2a8c..010cdf2db8 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -277,10 +277,10 @@ MACRO(ADD_PRECOMPILED_HEADER _targetName _input)
|
||||
ENDFOREACH(item)
|
||||
|
||||
SEPARATE_ARGUMENTS(_compiler_FLAGS)
|
||||
- MESSAGE("${CMAKE_CXX_COMPILER} ${CMAKE_CXX_COMPILER_ARG1} ${_compiler_FLAGS} -x c++-header -o ${_output} ${_source}")
|
||||
+ MESSAGE("${CMAKE_CXX_COMPILER} ${CMAKE_CXX_COMPILER_ARG1} ${_compiler_FLAGS} -x c++-header -c -o ${_output} ${_source}")
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${_output}
|
||||
- COMMAND ${CMAKE_CXX_COMPILER} ${CMAKE_CXX_COMPILER_ARG1} ${_compiler_FLAGS} -x c++-header -o ${_output} ${_source}
|
||||
+ COMMAND ${CMAKE_CXX_COMPILER} ${CMAKE_CXX_COMPILER_ARG1} ${_compiler_FLAGS} -x c++-header -c -o ${_output} ${_source}
|
||||
DEPENDS ${_source} )
|
||||
ADD_CUSTOM_TARGET(${_targetName}_gch DEPENDS ${_output})
|
||||
ADD_DEPENDENCIES(${_targetName} ${_targetName}_gch)
|
||||
@@ -0,0 +1,66 @@
|
||||
From e9bd383ceb63db7cfe8a284014f0cdf8c2bfe4f0 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Fri, 1 Nov 2019 10:54:11 +0100
|
||||
Subject: [PATCH] DelayedLink.h: fix build with python 3.8
|
||||
|
||||
Fix build with python 3.8 by copy/pasting the vim workaround from
|
||||
https://github.com/vim/vim/commit/13a1f3fb0c9d08bba6109fe2131c9524e6ba7e15
|
||||
|
||||
Fix 3703
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Retrieved from:
|
||||
https://github.com/domoticz/domoticz/commit/e9bd383ceb63db7cfe8a284014f0cdf8c2bfe4f0]
|
||||
---
|
||||
hardware/plugins/DelayedLink.h | 38 ++++++++++++++++++++++++++++++++++
|
||||
1 file changed, 38 insertions(+)
|
||||
|
||||
diff --git a/hardware/plugins/DelayedLink.h b/hardware/plugins/DelayedLink.h
|
||||
index 4bf1973281..c90a7d8e69 100644
|
||||
--- a/hardware/plugins/DelayedLink.h
|
||||
+++ b/hardware/plugins/DelayedLink.h
|
||||
@@ -14,6 +14,44 @@
|
||||
#include <frameobject.h>
|
||||
#include "../../main/Helper.h"
|
||||
|
||||
+#if PY_VERSION_HEX >= 0x030800f0
|
||||
+static inline void
|
||||
+py3__Py_DECREF(const char *filename, int lineno, PyObject *op)
|
||||
+{
|
||||
+ (void)filename; /* may be unused, shut up -Wunused-parameter */
|
||||
+ (void)lineno; /* may be unused, shut up -Wunused-parameter */
|
||||
+ _Py_DEC_REFTOTAL;
|
||||
+ if (--op->ob_refcnt != 0)
|
||||
+ {
|
||||
+#ifdef Py_REF_DEBUG
|
||||
+ if (op->ob_refcnt < 0)
|
||||
+ {
|
||||
+ _Py_NegativeRefcount(filename, lineno, op);
|
||||
+ }
|
||||
+#endif
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ _Py_Dealloc(op);
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+#undef Py_DECREF
|
||||
+#define Py_DECREF(op) py3__Py_DECREF(__FILE__, __LINE__, _PyObject_CAST(op))
|
||||
+
|
||||
+static inline void
|
||||
+py3__Py_XDECREF(PyObject *op)
|
||||
+{
|
||||
+ if (op != NULL)
|
||||
+ {
|
||||
+ Py_DECREF(op);
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+#undef Py_XDECREF
|
||||
+#define Py_XDECREF(op) py3__Py_XDECREF(_PyObject_CAST(op))
|
||||
+#endif
|
||||
+
|
||||
namespace Plugins {
|
||||
|
||||
#ifdef WIN32
|
||||
@@ -0,0 +1,76 @@
|
||||
From 23f69284cb1ce1a98885b29a6126ebdbee735e7d Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Wallner <14888585+danielwallner@users.noreply.github.com>
|
||||
Date: Thu, 17 Oct 2019 07:31:43 +0200
|
||||
Subject: [PATCH] Fix include paths to not confuse local files with system
|
||||
files (json/json.h) (#3669)
|
||||
|
||||
[Retrieved from:
|
||||
https://github.com/domoticz/domoticz/commit/23f69284cb1ce1a98885b29a6126ebdbee735e7d]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
hardware/1Wire/1WireForWindows.cpp | 2 +-
|
||||
hardware/plugins/PluginManager.cpp | 16 ++++++++--------
|
||||
hardware/plugins/PluginProtocols.cpp | 8 ++++----
|
||||
3 files changed, 13 insertions(+), 13 deletions(-)
|
||||
|
||||
diff --git a/hardware/1Wire/1WireForWindows.cpp b/hardware/1Wire/1WireForWindows.cpp
|
||||
index cf0b42795d..2044882fb9 100644
|
||||
--- a/hardware/1Wire/1WireForWindows.cpp
|
||||
+++ b/hardware/1Wire/1WireForWindows.cpp
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "1WireForWindows.h"
|
||||
#include "../../main/Logger.h"
|
||||
#include <boost/optional.hpp>
|
||||
-#include "../json/json.h"
|
||||
+#include "../../json/json.h"
|
||||
#include <WS2tcpip.h>
|
||||
|
||||
#define _1WIRE_SERVICE_PORT "1664"
|
||||
diff --git a/hardware/plugins/PluginManager.cpp b/hardware/plugins/PluginManager.cpp
|
||||
index 793934121e..4276fe2fbc 100644
|
||||
--- a/hardware/plugins/PluginManager.cpp
|
||||
+++ b/hardware/plugins/PluginManager.cpp
|
||||
@@ -14,14 +14,14 @@
|
||||
#include "PluginMessages.h"
|
||||
#include "PluginTransports.h"
|
||||
|
||||
-#include "../main/Helper.h"
|
||||
-#include "../main/Logger.h"
|
||||
-#include "../main/SQLHelper.h"
|
||||
-#include "../main/WebServer.h"
|
||||
-#include "../main/mainworker.h"
|
||||
-#include "../main/EventSystem.h"
|
||||
-#include "../json/json.h"
|
||||
-#include "../main/localtime_r.h"
|
||||
+#include "../../main/Helper.h"
|
||||
+#include "../../main/Logger.h"
|
||||
+#include "../../main/SQLHelper.h"
|
||||
+#include "../../main/WebServer.h"
|
||||
+#include "../../main/mainworker.h"
|
||||
+#include "../../main/EventSystem.h"
|
||||
+#include "../../json/json.h"
|
||||
+#include "../../main/localtime_r.h"
|
||||
#ifdef WIN32
|
||||
# include <direct.h>
|
||||
#else
|
||||
diff --git a/hardware/plugins/PluginProtocols.cpp b/hardware/plugins/PluginProtocols.cpp
|
||||
index f19731e1a4..8b1ae4c3e7 100644
|
||||
--- a/hardware/plugins/PluginProtocols.cpp
|
||||
+++ b/hardware/plugins/PluginProtocols.cpp
|
||||
@@ -7,12 +7,12 @@
|
||||
|
||||
#include "PluginMessages.h"
|
||||
#include "PluginProtocols.h"
|
||||
-#include "../main/Helper.h"
|
||||
-#include "../main/Logger.h"
|
||||
-#include "../webserver/Base64.h"
|
||||
+#include "../../main/Helper.h"
|
||||
+#include "../../main/Logger.h"
|
||||
+#include "../../webserver/Base64.h"
|
||||
#include "icmp_header.hpp"
|
||||
#include "ipv4_header.hpp"
|
||||
-#include "../json/json.h"
|
||||
+#include "../../json/json.h"
|
||||
|
||||
namespace Plugins {
|
||||
|
||||
@@ -7,7 +7,9 @@
|
||||
DROPWATCH_VERSION = 1.5.1
|
||||
DROPWATCH_SITE = $(call github,nhorman,dropwatch,v$(DROPWATCH_VERSION))
|
||||
DROPWATCH_DEPENDENCIES = libnl readline host-pkgconf $(TARGET_NLS_DEPENDENCIES)
|
||||
DROPWATCH_LICENSE = GPL-2.0
|
||||
# Until upstream updates their tree with a proper license
|
||||
# blurb: https://github.com/nhorman/dropwatch/issues/14
|
||||
DROPWATCH_LICENSE = GPL-2.0+
|
||||
DROPWATCH_LICENSE_FILES = COPYING
|
||||
# From git
|
||||
DROPWATCH_AUTORECONF = YES
|
||||
|
||||
@@ -10,8 +10,8 @@ DTC_SITE = https://www.kernel.org/pub/software/utils/dtc
|
||||
DTC_LICENSE = GPL-2.0+ or BSD-2-Clause (library)
|
||||
DTC_LICENSE_FILES = README.license GPL
|
||||
DTC_INSTALL_STAGING = YES
|
||||
DTC_DEPENDENCIES = host-bison host-flex
|
||||
HOST_DTC_DEPENDENCIES = host-bison host-flex
|
||||
DTC_DEPENDENCIES = host-bison host-flex host-pkgconf
|
||||
HOST_DTC_DEPENDENCIES = host-bison host-flex host-pkgconf
|
||||
|
||||
DTC_MAKE_OPTS = \
|
||||
PREFIX=/usr \
|
||||
@@ -25,7 +25,7 @@ HOST_DTC_MAKE_OPTS = \
|
||||
NO_YAML=1
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBYAML),y)
|
||||
DTC_DEPENDENCIES += host-pkgconf libyaml
|
||||
DTC_DEPENDENCIES += libyaml
|
||||
else
|
||||
DTC_MAKE_OPTS += NO_YAML=1
|
||||
endif
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
From 6006e8d789f7a1129414fb3a8c930b094af0cafa Mon Sep 17 00:00:00 2001
|
||||
From: Greg Ungerer <gerg@kernel.org>
|
||||
Date: Wed, 6 Nov 2019 21:19:24 +0100
|
||||
Subject: [PATCH] elf2flt: fix relocations for read-only data
|
||||
|
||||
Readonly data sections are mapped into the "text" section in the
|
||||
elf2flt.ld linker script. The relocation generation code is not handling
|
||||
that case properly though, and is actually mapping any data section type
|
||||
into the "data" section of the target binary.
|
||||
|
||||
This problem case has been detected with elf2flt core dumping when used
|
||||
with binutils-2.33.1 (on ARM architecture targets). See thread at:
|
||||
|
||||
https://sourceware.org/ml/binutils/2019-10/msg00132.html
|
||||
|
||||
Tested by Christophe Priouzeau [1]
|
||||
|
||||
* binutils 2.33.1
|
||||
* buildroot 2019.11-rc1
|
||||
* patch on top of elf2flt (patch available on this thread)
|
||||
* configuration: stm32f469-disco with initramfs configuration on buildroot
|
||||
|
||||
Result:
|
||||
Build: OK, all the binaries are generated
|
||||
Runtime test on stm32f469-disco: OK
|
||||
|
||||
[1] https://github.com/uclinux-dev/elf2flt/issues/12
|
||||
|
||||
Signed-off-by: Greg Ungerer <gerg@kernel.org>
|
||||
Signed-off-by: Romain Naour <romain.naour@smile.fr>
|
||||
Cc: Christophe Priouzeau <christophe.priouzeau@st.com>
|
||||
---
|
||||
elf2flt.c | 8 +++++---
|
||||
1 file changed, 5 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/elf2flt.c b/elf2flt.c
|
||||
index 67f720a..8973cef 100644
|
||||
--- a/elf2flt.c
|
||||
+++ b/elf2flt.c
|
||||
@@ -418,10 +418,12 @@ output_relocs (
|
||||
// continue;
|
||||
|
||||
/*
|
||||
- * Only relocate things in the data sections if we are PIC/GOT.
|
||||
- * otherwise do text as well
|
||||
+ * Only relocate things in the writable data sections if we are PIC/GOT.
|
||||
+ * Otherwise do text (and read only data) as well.
|
||||
*/
|
||||
- if ((!pic_with_got || ALWAYS_RELOC_TEXT) && (a->flags & SEC_CODE))
|
||||
+ if ((!pic_with_got || ALWAYS_RELOC_TEXT) &&
|
||||
+ ((a->flags & SEC_CODE) ||
|
||||
+ ((a->flags & (SEC_DATA | SEC_READONLY)) == (SEC_DATA | SEC_READONLY))))
|
||||
sectionp = text + (a->vma - text_vma);
|
||||
else if (a->flags & SEC_DATA)
|
||||
sectionp = data + (a->vma - data_vma);
|
||||
--
|
||||
2.21.0
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
From d16abf61049947c451a6411a13fc15dda32feb47 Mon Sep 17 00:00:00 2001
|
||||
From: Florian Fainelli <f.fainelli@gmail.com>
|
||||
Date: Sat, 6 Sep 2014 11:23:02 -0700
|
||||
Subject: [PATCH] Makefile.in: fix asbolute symlink of libfaifa.so
|
||||
|
||||
Fixes #7
|
||||
|
||||
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
|
||||
[Upstream: da2e279fd736d05bcd0ee6e4609c44fece017ba8]
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
---
|
||||
Makefile.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index ba65bee..9dec7ee 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -98,9 +98,9 @@ install: installman strip
|
||||
$(INSTALL) -m0755 hpav_cfg $(DESTDIR)$(sbindir)
|
||||
$(INSTALL) -d $(DESTDIR)$(libdir)
|
||||
$(INSTALL) -m0644 $(LIB_SONAME) $(DESTDIR)$(libdir)
|
||||
- ln -sf $(DESTDIR)$(libdir)/$(LIB_SONAME) $(DESTDIR)$(libdir)/$(LIB_SHARED_SO)
|
||||
$(INSTALL) -d $(DESTDIR)$(includedir)/faifa
|
||||
cp $(HEADERS) $(DESTDIR)$(includedir)/faifa
|
||||
+ cd $(DESTDIR)$(libdir) && ln -sf $(LIB_SONAME) $(LIB_SHARED_SO)
|
||||
|
||||
strip:
|
||||
$(STRIP) $(APP)
|
||||
--
|
||||
2.23.0
|
||||
|
||||
@@ -96,7 +96,7 @@ config BR2_GCC_VERSION
|
||||
default "7.4.0" if BR2_GCC_VERSION_7_X
|
||||
default "8.3.0" if BR2_GCC_VERSION_8_X
|
||||
default "9.2.0" if BR2_GCC_VERSION_9_X
|
||||
default "arc-2019.09-eng002" if BR2_GCC_VERSION_ARC
|
||||
default "arc-2019.09-rc1" if BR2_GCC_VERSION_ARC
|
||||
default "or1k-musl-5.4.0-20170218" if BR2_GCC_VERSION_OR1K
|
||||
default "48152afb96c59733d5bc79e3399bb7b3d4b44266" if BR2_GCC_VERSION_CSKY
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ sha512 1811337ae3add9680cec64968a2509d085b6dc5b6783fc1e8c295e3e47416196fd1a3ad8
|
||||
sha512 a12dff52af876aee0fd89a8d09cdc455f35ec46845e154023202392adc164848faf8ee881b59b681b696e27c69fd143a214014db4214db62f9891a1c8365c040 gcc-9.2.0.tar.xz
|
||||
|
||||
# Locally calculated (fetched from Github)
|
||||
sha512 7ab8f8ffb79f0b7b69e87aa5692ba29e71478c9e2a4521ba57fcd818e25a20869025c8985a5e09f2f24483aa695881ba9aed4d2df0fc8c8129d791526156db93 gcc-arc-2019.09-eng002.tar.gz
|
||||
sha512 c478efba4a497875b2add3b1bf4261c187459e252d397ace40ca740e51ac96491defa78733aafcb2b03c8e2e423dd8c115761a5e74ef2386368d53730f3e45ba gcc-arc-2019.09-rc1.tar.gz
|
||||
# Locally calculated (fetched from Github)
|
||||
sha512 2de7cf47333a4092b02d3bb98f4206f14966f1d139a724d09cf3b22f8a43ae0c704f33e6477d6367a03c29b265480dc900169e9d417006c5d46f0ae446b8c6f1 gcc-or1k-musl-5.4.0-20170218.tar.gz
|
||||
# Locally calculated (fetched from https://github.com/c-sky/gcc)
|
||||
|
||||
@@ -67,7 +67,7 @@ endif
|
||||
# If cross-gdb is not enabled, the latest working version is chosen.
|
||||
config BR2_GDB_VERSION
|
||||
string
|
||||
default "arc-2019.09-eng002-gdb" if BR2_arc
|
||||
default "arc-2019.09-rc1-gdb" if BR2_arc
|
||||
default "4ecb98fbc2f94dbe01b69384afbc515107de73df" if BR2_csky
|
||||
default "8.1.1" if BR2_GDB_VERSION_8_1
|
||||
default "8.2.1" if BR2_GDB_VERSION_8_2 || !BR2_PACKAGE_HOST_GDB
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
From e213d8e1b5317389c3beee648811bc649d62d743 Mon Sep 17 00:00:00 2001
|
||||
From: James Clarke <jrtc27@jrtc27.com>
|
||||
Date: Fri, 19 Jan 2018 17:22:49 +0000
|
||||
Subject: [PATCH] gdb: Fix ia64 defining TRAP_HWBKPT before including
|
||||
gdb_wait.h
|
||||
|
||||
On ia64, gdb_wait.h eventually includes siginfo-consts-arch.h, which
|
||||
contains an enum with TRAP_HWBKPT, along with a #define. Thus we cannot
|
||||
define TRAP_HWBKPT to 4 beforehand, and so gdb_wait.h must be included
|
||||
earlier; include it from linux-ptrace.h so it can never come afterwards.
|
||||
|
||||
gdb/ChangeLog:
|
||||
|
||||
* nat/linux-ptrace.c: Remove unnecessary reinclusion of
|
||||
gdb_ptrace.h, and move including gdb_wait.h ...
|
||||
* nat/linux-ptrace.h: ... to here.
|
||||
|
||||
[Backport from upstream 5a6c3296a7a90694ad4042f6256f3da6d4fa4ee8]
|
||||
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
|
||||
---
|
||||
gdb/nat/linux-ptrace.c | 2 --
|
||||
gdb/nat/linux-ptrace.h | 1 +
|
||||
2 files changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
diff --git a/gdb/nat/linux-ptrace.c b/gdb/nat/linux-ptrace.c
|
||||
index 438177fa7622..1240eead0d50 100644
|
||||
--- a/gdb/nat/linux-ptrace.c
|
||||
+++ b/gdb/nat/linux-ptrace.c
|
||||
@@ -21,8 +21,6 @@
|
||||
#include "linux-procfs.h"
|
||||
#include "linux-waitpid.h"
|
||||
#include "buffer.h"
|
||||
-#include "gdb_wait.h"
|
||||
-#include "gdb_ptrace.h"
|
||||
#ifdef HAVE_SYS_PROCFS_H
|
||||
#include <sys/procfs.h>
|
||||
#endif
|
||||
diff --git a/gdb/nat/linux-ptrace.h b/gdb/nat/linux-ptrace.h
|
||||
index 59549452c099..6faa89b22a0e 100644
|
||||
--- a/gdb/nat/linux-ptrace.h
|
||||
+++ b/gdb/nat/linux-ptrace.h
|
||||
@@ -21,6 +21,7 @@
|
||||
struct buffer;
|
||||
|
||||
#include "nat/gdb_ptrace.h"
|
||||
+#include "gdb_wait.h"
|
||||
|
||||
#ifdef __UCLIBC__
|
||||
#if !(defined(__UCLIBC_HAS_MMU__) || defined(__ARCH_HAS_MMU__))
|
||||
--
|
||||
2.19.2
|
||||
|
||||
@@ -4,7 +4,7 @@ sha512 2aa81cfd389bb48c35d7d9f95cc10e88b4f7ad4597bdde0f8f1fd312f60f10d9fb2cc6e5
|
||||
sha512 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1 gdb-8.3.tar.xz
|
||||
|
||||
# Locally calculated (fetched from Github)
|
||||
sha512 2625e568ec85652cc223409162b4bd97dd292c5f7a597a57ccb2c6c88a69dfc5fbcf1f0750716ab94c932fa97c8900732f7d2fec940973bc3d6c88ef3f8c6d26 gdb-arc-2019.09-eng002-gdb.tar.gz
|
||||
sha512 a2b83e949638fa27d3d2b971e3a77902050191d517c5b9ca1273d182b8c3b9da2c993a0dbaf76e18d2603e59a1af6618dff830a3905f22272af68fcbb49d58a8 gdb-arc-2019.09-rc1-gdb.tar.gz
|
||||
|
||||
# Locally calculated (fetched from https://github.com/c-sky/binutils-gdb)
|
||||
sha512 c421e1f3c0d6cfb3c04544573c0c4b0075c8d8e3d563c6c234fcc1e4c2167ab203d1e57aec3b58abd348dc46f8cf9b47b753d3a43dba3ea970c9c9a6bd78c07b gdb-4ecb98fbc2f94dbe01b69384afbc515107de73df.tar.gz
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 47515d5d9b640c31d114c74aa5532c3d6f40d6a8a60b00f1cb1cef7629d8d9db gerbera-1.3.2.tar.gz
|
||||
sha256 c7fbb6104dd03ed22d114c7b1fbe95eb7f90893148630e16b0a4c23f1f631341 gerbera-1.3.4.tar.gz
|
||||
sha256 cae4138373be41fd2be75faf41ce7efbcf49fb17d0e05ad1c51cc01ac335b9b6 LICENSE.md
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GERBERA_VERSION = 1.3.2
|
||||
GERBERA_VERSION = 1.3.4
|
||||
GERBERA_SITE = $(call github,gerbera,gerbera,v$(GERBERA_VERSION))
|
||||
GERBERA_LICENSE = GPL-2.0
|
||||
GERBERA_LICENSE_FILES = LICENSE.md
|
||||
|
||||
@@ -52,6 +52,7 @@ HOST_GETTEXT_TINY_POST_PATCH_HOOKS += HOST_GETTEXT_TINY_COPY_EXTRA_FILES
|
||||
define HOST_GETTEXT_TINY_BUILD_CMDS
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) \
|
||||
$(HOST_CONFIGURE_OPTS) \
|
||||
prefix=$(HOST_DIR) \
|
||||
CFLAGS="$(HOST_CFLAGS) -fPIC" \
|
||||
LIBINTL=NONE
|
||||
|
||||
|
||||
@@ -19,6 +19,6 @@ done
|
||||
case ${#} in
|
||||
(0) printf "missing arguments\n" >&2; return 1;;
|
||||
(1) printf "%s" "${1}";;
|
||||
(2) shift; printf "%s" "${2}";;
|
||||
(2) printf "%s" "${2}";;
|
||||
(*) printf "too many arguments\n" >&2; return 1;;
|
||||
esac
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Locally calculated (fetched from Github)
|
||||
sha256 7ae8409c6e0649f21a9dccd55b0d84cb34ab69c1e95cb1bf807a0713bcf7a086 glibc-arc-2019.09-eng002.tar.gz
|
||||
sha256 a9beeace7e2b4b25c6d253591b005975c50bf4ca1c0b6b38a24d89ac5a1458e1 glibc-arc-2019.09-rc1.tar.gz
|
||||
|
||||
# Hashes for license files
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
@@ -5,7 +5,7 @@
|
||||
################################################################################
|
||||
|
||||
ifeq ($(BR2_arc),y)
|
||||
GLIBC_VERSION = arc-2019.09-eng002
|
||||
GLIBC_VERSION = arc-2019.09-rc1
|
||||
GLIBC_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,glibc,$(GLIBC_VERSION))
|
||||
else ifeq ($(BR2_RISCV_32),y)
|
||||
GLIBC_VERSION = 06983fe52cfe8e4779035c27e8cc5d2caab31531
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
config BR2_PACKAGE_GLOG
|
||||
bool "glog"
|
||||
# __ELF__ not defined on Microblaze
|
||||
depends on !BR2_microblaze
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
C++ implementation of the Google logging module
|
||||
@@ -7,4 +9,5 @@ config BR2_PACKAGE_GLOG
|
||||
https://github.com/google/glog
|
||||
|
||||
comment "glog needs a toolchain w/ C++"
|
||||
depends on !BR2_microblaze
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 2b6b728d351764dfbf6a9763ac96ae7e04085f382a309fed3abc0118f094c943 intel-microcode-20190918.tar.gz
|
||||
sha256 0000f7cf96f2b07a1ba9d1fc0bcfcb49d0edb91f7d487a57a88c147e57c5873b intel-microcode-20191112.tar.gz
|
||||
sha256 1f8bf63fc2b1b486c507b98ff7d283c7eb58c7945746b94188a310d6787cbee5 license
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
INTEL_MICROCODE_VERSION = 20190918
|
||||
INTEL_MICROCODE_VERSION = 20191112
|
||||
INTEL_MICROCODE_SITE = $(call github,intel,Intel-Linux-Processor-Microcode-Data-Files,microcode-$(INTEL_MICROCODE_VERSION))
|
||||
INTEL_MICROCODE_LICENSE = PROPRIETARY
|
||||
INTEL_MICROCODE_LICENSE_FILES = license
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
# From http://sourceforge.net/projects/ipsec-tools/files/ipsec-tools/0.8.2/
|
||||
md5 d53ec14a0a3ece64e09e5e34b3350b41 ipsec-tools-0.8.2.tar.bz2
|
||||
sha1 7d92cae9fde59fb4f125636698c43b0a3df3d0f0 ipsec-tools-0.8.2.tar.bz2
|
||||
|
||||
# Locally calculated
|
||||
sha256 3f4af4aef0b2599928bee9875935b8fad8449ddbb98ea7da74c20c3dff5cdef7 src/setkey/setkey.c
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
IPSEC_TOOLS_VERSION = 0.8.2
|
||||
IPSEC_TOOLS_SOURCE = ipsec-tools-$(IPSEC_TOOLS_VERSION).tar.bz2
|
||||
IPSEC_TOOLS_SITE = http://sourceforge.net/projects/ipsec-tools/files/ipsec-tools/$(IPSEC_TOOLS_VERSION)
|
||||
IPSEC_TOOLS_LICENSE = BSD-3-Clause
|
||||
IPSEC_TOOLS_LICENSE_FILES = src/setkey/setkey.c
|
||||
IPSEC_TOOLS_INSTALL_STAGING = YES
|
||||
IPSEC_TOOLS_MAKE = $(MAKE1)
|
||||
IPSEC_TOOLS_DEPENDENCIES = openssl flex host-pkgconf host-flex host-bison
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
config BR2_PACKAGE_JAILHOUSE
|
||||
bool "Jailhouse"
|
||||
bool "jailhouse"
|
||||
depends on BR2_aarch64 || BR2_x86_64
|
||||
depends on BR2_LINUX_KERNEL
|
||||
help
|
||||
@@ -7,21 +7,22 @@ config BR2_PACKAGE_JAILHOUSE
|
||||
|
||||
https://github.com/siemens/jailhouse
|
||||
|
||||
comment "Jailhouse needs a Linux kernel to be built"
|
||||
depends on BR2_aarch64 || BR2_x86_64
|
||||
depends on !BR2_LINUX_KERNEL
|
||||
|
||||
if BR2_PACKAGE_JAILHOUSE
|
||||
|
||||
config BR2_PACKAGE_JAILHOUSE_HELPER_SCRIPTS
|
||||
bool "Jailhouse helper scripts"
|
||||
bool "helper scripts"
|
||||
depends on BR2_PACKAGE_PYTHON
|
||||
select BR2_PACKAGE_PYTHON_MAKO # runtime
|
||||
help
|
||||
Python-based helpers for the Jailhouse Hypervisor.
|
||||
|
||||
https://github.com/siemens/jailhouse
|
||||
|
||||
comment "Jailhouse helper scripts require Python"
|
||||
comment "helper scripts require Python"
|
||||
depends on !BR2_PACKAGE_PYTHON
|
||||
|
||||
endif
|
||||
|
||||
comment "jailhouse needs a Linux kernel to be built"
|
||||
depends on BR2_aarch64 || BR2_x86_64
|
||||
depends on !BR2_LINUX_KERNEL
|
||||
|
||||
@@ -18,10 +18,16 @@ JAILHOUSE_MAKE_OPTS = \
|
||||
DESTDIR="$(TARGET_DIR)"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_JAILHOUSE_HELPER_SCRIPTS),y)
|
||||
JAILHOUSE_DEPENDENCIES += host-python-setuptools
|
||||
JAILHOUSE_MAKE_OPTS += PYTHON_PIP_USABLE="yes"
|
||||
JAILHOUSE_DEPENDENCIES += \
|
||||
host-python-mako \
|
||||
host-python-setuptools
|
||||
JAILHOUSE_MAKE_OPTS += \
|
||||
HAS_PYTHON_MAKO="yes" \
|
||||
PYTHON_PIP_USABLE="yes"
|
||||
else
|
||||
JAILHOUSE_MAKE_OPTS += PYTHON_PIP_USABLE="no"
|
||||
JAILHOUSE_MAKE_OPTS += \
|
||||
HAS_PYTHON_MAKO="no" \
|
||||
PYTHON_PIP_USABLE="no"
|
||||
endif
|
||||
|
||||
define JAILHOUSE_BUILD_CMDS
|
||||
|
||||
43
package/kmod/0003-Makefile.am-filter-Wl-no-undefined.patch
Normal file
43
package/kmod/0003-Makefile.am-filter-Wl-no-undefined.patch
Normal file
@@ -0,0 +1,43 @@
|
||||
From 7a55f18e14f606500fdeab6bc116ec74f3e5b1c3 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Sat, 16 Nov 2019 17:40:32 +0100
|
||||
Subject: [PATCH] Makefile.am: filter -Wl,--no-undefined
|
||||
|
||||
Commit 1d14ef82f4a3be741bcdf6b1c6d51ce9dce43567 does not completely fix
|
||||
the build with python 3.8 as we still get link failure due to
|
||||
'-z undefs' being ignored by some versions of ld:
|
||||
|
||||
/home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips-linux-gnu/5.3.0/../../../../mips-linux-gnu/bin/ld: warning: -z undefs ignored.
|
||||
|
||||
/home/naourr/work/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-linux-gnu/7.3.1/../../../../aarch64_be-linux-gnu/bin/ld: warning: -z undefs ignored.
|
||||
|
||||
So filter -Wl,--no-undefined to fix the issue
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/e9645d9969481b09f507f6e0d0b35faaa283eb60
|
||||
- http://autobuild.buildroot.org/results/06a6d865b6b7d8ebd793bde214f4a4c40e0962e1
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
Makefile.am | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 8e9c90d..47505c1 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -173,7 +173,10 @@ CPYTHON_MODULE_CFLAGS = \
|
||||
$(AM_CFLAGS) -DCPYTHON_COMPILING_IN_PYPY=0 \
|
||||
$(PYTHON_NOWARN) $(PYTHON_CFLAGS) \
|
||||
-fvisibility=default
|
||||
-CPYTHON_MODULE_LDFLAGS = $(AM_LDFLAGS) -module -avoid-version -shared -Wl,-z,undefs
|
||||
+# Filter -Wl,--no-undefined to fix build with python 3.8
|
||||
+comma = ,
|
||||
+CPYTHON_MODULE_LDFLAGS = $(subst -Wl$(comma)--no-undefined,,$(AM_LDFLAGS))
|
||||
+CPYTHON_MODULE_LDFLAGS += -module -avoid-version -shared
|
||||
|
||||
if BUILD_PYTHON
|
||||
pkgpyexec_LTLIBRARIES = \
|
||||
--
|
||||
2.24.0
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
KODI_JSONSCHEMABUILDER_VERSION = 17.6-Krypton
|
||||
KODI_JSONSCHEMABUILDER_SITE = $(call github,xbmc,xbmc,$(KODI_JSONSCHEMABUILDER_VERSION))
|
||||
KODI_JSONSCHEMABUILDER_SOURCE = kodi-$(KODI_JSONSCHEMABUILDER_VERSION).tar.gz
|
||||
KODI_JSONSCHEMABUILDER_DL_SUBDIR = kodi
|
||||
KODI_JSONSCHEMABUILDER_LICENSE = GPL-2.0
|
||||
KODI_JSONSCHEMABUILDER_LICENSE_FILES = LICENSE.GPL
|
||||
HOST_KODI_JSONSCHEMABUILDER_SUBDIR = tools/depends/native/JsonSchemaBuilder
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
KODI_TEXTUREPACKER_VERSION = 17.6-Krypton
|
||||
KODI_TEXTUREPACKER_SITE = $(call github,xbmc,xbmc,$(KODI_TEXTUREPACKER_VERSION))
|
||||
KODI_TEXTUREPACKER_SOURCE = kodi-$(KODI_TEXTUREPACKER_VERSION).tar.gz
|
||||
KODI_TEXTUREPACKER_DL_SUBDIR = kodi
|
||||
KODI_TEXTUREPACKER_LICENSE = GPL-2.0
|
||||
KODI_TEXTUREPACKER_LICENSE_FILES = LICENSE.GPL
|
||||
HOST_KODI_TEXTUREPACKER_SUBDIR = tools/depends/native/TexturePacker
|
||||
|
||||
@@ -72,12 +72,10 @@ menuconfig BR2_PACKAGE_KODI
|
||||
select BR2_PACKAGE_PYTHON_BZIP2
|
||||
select BR2_PACKAGE_PYTHON_CURSES
|
||||
select BR2_PACKAGE_PYTHON_PYEXPAT
|
||||
select BR2_PACKAGE_PYTHON_READLINE
|
||||
select BR2_PACKAGE_PYTHON_SQLITE
|
||||
select BR2_PACKAGE_PYTHON_SSL
|
||||
select BR2_PACKAGE_PYTHON_UNICODEDATA
|
||||
select BR2_PACKAGE_PYTHON_ZLIB
|
||||
select BR2_PACKAGE_READLINE
|
||||
select BR2_PACKAGE_SQLITE
|
||||
select BR2_PACKAGE_TAGLIB
|
||||
select BR2_PACKAGE_TINYXML
|
||||
|
||||
@@ -8,3 +8,5 @@ sha256 b6eb2d929ff56cb051152c32010afc5e7cf5fe8c5ae32dca412a2b46b6b57e34 2f12236
|
||||
sha256 312b3d15bc448d24e92f4b2e7248409525eccc4e75776026d805478e51c5ef3d 981488f.tar.gz
|
||||
# Locally computed - libdvdread
|
||||
sha256 e7179b2054163652596a56301c9f025515cb08c6d6310b42b897c3ad11c0199b 17d99db.tar.gz
|
||||
# Locally computed
|
||||
sha256 89931c1fb1f3716694175763cf3221cfcd63d6935031cf6b4512d17ffe5d9860 LICENSE.GPL
|
||||
|
||||
@@ -19,6 +19,7 @@ KODI_DEPENDENCIES = \
|
||||
freetype \
|
||||
gnutls \
|
||||
host-gawk \
|
||||
host-gettext \
|
||||
host-gperf \
|
||||
host-kodi-jsonschemabuilder \
|
||||
host-kodi-texturepacker \
|
||||
@@ -38,7 +39,6 @@ KODI_DEPENDENCIES = \
|
||||
openssl \
|
||||
pcre \
|
||||
python \
|
||||
readline \
|
||||
sqlite \
|
||||
taglib \
|
||||
tinyxml \
|
||||
|
||||
@@ -35,13 +35,14 @@ KVM_UNIT_TESTS_CONF_OPTS =\
|
||||
# compiler. However, for x86-64, we use the host compiler, as
|
||||
# kvm-unit-tests builds 32 bit code, which Buildroot toolchains for
|
||||
# x86-64 cannot do.
|
||||
ifneq ($(BR2_x86_64),y)
|
||||
KVM_UNIT_TESTS_CONF_OPTS += --cross-prefix="$(TARGET_CROSS)"
|
||||
ifeq ($(BR2_x86_64),y)
|
||||
# Arch Linux adds -fstack-protector even when building with -ffreestanding, but
|
||||
# it doesn't link with the stack-protector library when -nostdlib is passed,
|
||||
# which leads to a link error. Therefore, disable it explicitly to work around
|
||||
# this bug in Arch Linux. https://bugs.archlinux.org/task/64270
|
||||
KVM_UNIT_TESTS_MAKE_OPTS += EXTRA_CFLAGS=-fno-stack-protector
|
||||
else
|
||||
KVM_UNIT_TESTS_CONF_OPTS += --cross-prefix="$(TARGET_CROSS)"
|
||||
endif
|
||||
|
||||
define KVM_UNIT_TESTS_CONFIGURE_CMDS
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
From 034c6e9a1d296286305f4cfd1e0072b879f52568 Mon Sep 17 00:00:00 2001
|
||||
From: Dov Grobgeld <dov.grobgeld@gmail.com>
|
||||
Date: Thu, 24 Oct 2019 09:37:29 +0300
|
||||
Subject: [PATCH] Truncate isolate_level to FRIBIDI_BIDI_MAX_EXPLICIT_LEVEL
|
||||
|
||||
CVE-2019-18397
|
||||
|
||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
||||
---
|
||||
lib/fribidi-bidi.c | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/fribidi-bidi.c b/lib/fribidi-bidi.c
|
||||
index 6c84392..d384878 100644
|
||||
--- a/lib/fribidi-bidi.c
|
||||
+++ b/lib/fribidi-bidi.c
|
||||
@@ -747,7 +747,9 @@ fribidi_get_par_embedding_levels_ex (
|
||||
}
|
||||
|
||||
RL_LEVEL (pp) = level;
|
||||
- RL_ISOLATE_LEVEL (pp) = isolate_level++;
|
||||
+ RL_ISOLATE_LEVEL (pp) = isolate_level;
|
||||
+ if (isolate_level < FRIBIDI_BIDI_MAX_EXPLICIT_LEVEL-1)
|
||||
+ isolate_level++;
|
||||
base_level_per_iso_level[isolate_level] = new_level;
|
||||
|
||||
if (!FRIBIDI_IS_NEUTRAL (override))
|
||||
--
|
||||
2.20.1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Locally computed:
|
||||
sha256 2cf7c6c7aa9e962a589f61bff2766035b61792ef961131a21fcbbe043f91a866 libmbim-1.20.0.tar.xz
|
||||
sha256 550fb69e5e57f7646f8eb9ed8d24e44ea869ad846be9c162893f12e43528059b libmbim-1.20.2.tar.xz
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBMBIM_VERSION = 1.20.0
|
||||
LIBMBIM_VERSION = 1.20.2
|
||||
LIBMBIM_SITE = https://www.freedesktop.org/software/libmbim
|
||||
LIBMBIM_SOURCE = libmbim-$(LIBMBIM_VERSION).tar.xz
|
||||
LIBMBIM_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (programs)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# From https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/SHA256
|
||||
sha256 c4c78167fae325b47aebd8beb54b6041d6f6a56b3743f4bd5d79b15642f9d5d4 libressl-2.9.2.tar.gz
|
||||
sha256 df7b172bf79b957dd27ef36dcaa1fb162562c0e8999e194aa8c1a3df2f15398e libressl-3.0.2.tar.gz
|
||||
# Locally computed
|
||||
sha256 5c63613f008f16a9c0025c096bbd736cecf720494d121b5c5203e0ec6e5955b1 COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBRESSL_VERSION = 2.9.2
|
||||
LIBRESSL_VERSION = 3.0.2
|
||||
LIBRESSL_SITE = https://ftp.openbsd.org/pub/OpenBSD/LibreSSL
|
||||
LIBRESSL_LICENSE = ISC (new additions), OpenSSL or SSLeay (original OpenSSL code)
|
||||
LIBRESSL_LICENSE_FILES = COPYING
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
From afae4fa61ffd8dee62667e60f931e371061c7d7d Mon Sep 17 00:00:00 2001
|
||||
From: Uwe Hermann <uwe@hermann-uwe.de>
|
||||
Date: Tue, 12 Nov 2019 21:58:23 +0100
|
||||
Subject: [PATCH] configure.ac: Add support for Python 3.8.
|
||||
|
||||
This fixes bug #1438.
|
||||
[Retrieved from:
|
||||
https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=commit;h=afae4fa61ffd8dee62667e60f931e371061c7d7d]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
configure.ac | 7 +++++--
|
||||
1 file changed, 5 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 772b984..d59e0be 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -89,15 +89,18 @@ SRD_PKGLIBS_TESTS=
|
||||
SR_PKG_CHECK_SUMMARY([srd_pkglibs_summary])
|
||||
|
||||
# Python 3 is always needed.
|
||||
+# Starting with Python 3.8 we need to check for "python-3.8-embed"
|
||||
+# first, since usually only that variant will add "-lpython3.8".
|
||||
+# https://docs.python.org/3/whatsnew/3.8.html#debug-build-uses-the-same-abi-as-release-build
|
||||
SR_PKG_CHECK([python3], [SRD_PKGLIBS],
|
||||
- [python3 >= 3.2], [python-3.7 >= 3.7], [python-3.6 >= 3.6], [python-3.5 >= 3.5], [python-3.4 >= 3.4], [python-3.3 >= 3.3], [python-3.2 >= 3.2])
|
||||
+ [python-3.8-embed], [python-3.8 >= 3.8], [python-3.7 >= 3.7], [python-3.6 >= 3.6], [python-3.5 >= 3.5], [python-3.4 >= 3.4], [python-3.3 >= 3.3], [python-3.2 >= 3.2], [python3 >= 3.2])
|
||||
AS_IF([test "x$sr_have_python3" = xno],
|
||||
[AC_MSG_ERROR([Cannot find Python 3 development headers.])])
|
||||
|
||||
# We also need to find the name of the python3 executable (for 'make install').
|
||||
# Some OSes call this python3, some call it python3.2, etc. etc.
|
||||
AC_ARG_VAR([PYTHON3], [Python 3 interpreter])
|
||||
-AC_CHECK_PROGS([PYTHON3], [python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3])
|
||||
+AC_CHECK_PROGS([PYTHON3], [python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3])
|
||||
AS_IF([test "x$PYTHON3" = x],
|
||||
[AC_MSG_ERROR([Cannot find Python 3 interpreter.])])
|
||||
|
||||
--
|
||||
2.24.0.rc2
|
||||
|
||||
@@ -10,5 +10,7 @@ LIBSIGROKDECODE_LICENSE = GPL-3.0+
|
||||
LIBSIGROKDECODE_LICENSE_FILES = COPYING
|
||||
LIBSIGROKDECODE_INSTALL_STAGING = YES
|
||||
LIBSIGROKDECODE_DEPENDENCIES = host-pkgconf libglib2 python3
|
||||
# We're patching configure.ac
|
||||
LIBSIGROKDECODE_AUTORECONF = YES
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
@@ -12,6 +12,8 @@ LIBSVGTINY_DEPENDENCIES = \
|
||||
libxml2 host-gperf host-pkgconf host-netsurf-buildsystem
|
||||
LIBSVGTINY_LICENSE = MIT
|
||||
LIBSVGTINY_LICENSE_FILES = README
|
||||
# Package does not build in parallel due to improper make rules
|
||||
LIBSVGTINY_MAKE = $(MAKE1)
|
||||
|
||||
# The libsvgtiny build system cannot build both the shared and static
|
||||
# libraries. So when the Buildroot configuration requests to build
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# From https://sourceforge.net/projects/pupnp/files/pupnp/libupnp-1.8.5/libupnp-1.8.5.tar.bz2.sha1
|
||||
sha1 4d687f8f7d6279fddc4c6faff7f5e3513e765d8a libupnp-1.8.5.tar.bz2
|
||||
# From https://sourceforge.net/projects/pupnp/files/pupnp/libupnp-1.8.6/libupnp-1.8.6.tar.bz2.sha1
|
||||
sha1 6132a949d7536dac835172609d1def1e7f2bd232 libupnp-1.8.6.tar.bz2
|
||||
# Locally computed:
|
||||
sha256 55c4c30543b4cdaff3ed3a1c72bf118173369e9009eeed0bbd6e2ae62c6f0e93 libupnp-1.8.5.tar.bz2
|
||||
sha256 65faf240f8ccee50cc0e7fe7fb21dcd79f743fc227a9b652b091f50f6956c2c7 libupnp-1.8.6.tar.bz2
|
||||
sha256 c8b99423cad48bb44e2cf52a496361404290865eac259a82da6d1e4331ececb3 COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBUPNP18_VERSION = 1.8.5
|
||||
LIBUPNP18_VERSION = 1.8.6
|
||||
LIBUPNP18_SOURCE = libupnp-$(LIBUPNP18_VERSION).tar.bz2
|
||||
LIBUPNP18_SITE = http://downloads.sourceforge.net/project/pupnp/pupnp/libupnp-$(LIBUPNP18_VERSION)
|
||||
LIBUPNP18_CONF_ENV = ac_cv_lib_compat_ftime=no
|
||||
|
||||
@@ -305,11 +305,11 @@ endchoice
|
||||
|
||||
config BR2_DEFAULT_KERNEL_HEADERS
|
||||
string
|
||||
default "4.4.198" if BR2_KERNEL_HEADERS_4_4
|
||||
default "4.9.198" if BR2_KERNEL_HEADERS_4_9
|
||||
default "4.14.151" if BR2_KERNEL_HEADERS_4_14
|
||||
default "4.19.81" if BR2_KERNEL_HEADERS_4_19
|
||||
default "5.3.8" if BR2_KERNEL_HEADERS_5_3
|
||||
default "4.4.202" if BR2_KERNEL_HEADERS_4_4
|
||||
default "4.9.202" if BR2_KERNEL_HEADERS_4_9
|
||||
default "4.14.155" if BR2_KERNEL_HEADERS_4_14
|
||||
default "4.19.85" if BR2_KERNEL_HEADERS_4_19
|
||||
default "5.3.12" if BR2_KERNEL_HEADERS_5_3
|
||||
default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
|
||||
default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL
|
||||
default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 d04f4420abfeda5ee62662e790ea6ae5ddc2e758870e04ab76fa35d6de9cdce0 linux-serial-test-9965dad53ba63eea0eea05a0f9d5cb851425fcba.tar.gz
|
||||
sha256 bfc25088e960c18e151f978b13d893dbee9a3e377e062bd56caab1bd409e4dcb linux-serial-test-13bea838f2a7573d2a68a6d95fc9d1f153b580be.tar.gz
|
||||
sha256 a2a6760c2c6fa779a635e4a7ad00f668862ebcadb2a8a57d16662543e103e08c LICENSES/MIT
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LINUX_SERIAL_TEST_VERSION = 9965dad53ba63eea0eea05a0f9d5cb851425fcba
|
||||
LINUX_SERIAL_TEST_VERSION = 13bea838f2a7573d2a68a6d95fc9d1f153b580be
|
||||
LINUX_SERIAL_TEST_SITE = $(call github,cbrake,linux-serial-test,$(LINUX_SERIAL_TEST_VERSION))
|
||||
LINUX_SERIAL_TEST_LICENSE = MIT
|
||||
LINUX_SERIAL_TEST_LICENSE_FILES = LICENSES/MIT
|
||||
|
||||
@@ -33,7 +33,8 @@ define LSOF_CONFIGURE_CMDS
|
||||
(cd $(@D) ; \
|
||||
echo n | $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS)" \
|
||||
LSOF_INCLUDE="$(STAGING_DIR)/usr/include" LSOF_CFLAGS_OVERRIDE=1 \
|
||||
LINUX_CLIB=-DGLIBCV=2 ./Configure linux)
|
||||
LINUX_CLIB=-DGLIBCV=2 LSOF_CFGL="$(TARGET_LDFLAGS)" \
|
||||
./Configure linux)
|
||||
$(LSOF_CONFIGURE_WCHAR_FIXUPS)
|
||||
$(LSOF_CONFIGURE_LOCALE_FIXUPS)
|
||||
endef
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
From b8aebc83523691be2b37e87c62099d700b0473c7 Mon Sep 17 00:00:00 2001
|
||||
From: Petr Vorel <petr.vorel@gmail.com>
|
||||
Date: Mon, 14 Oct 2019 15:35:53 +0200
|
||||
Subject: [PATCH] fanotify: Fix missing __kernel_fsid_t definition
|
||||
|
||||
which is needed for fallback definition when FAN_REPORT_FID is missing.
|
||||
Instead of including <asm/posix_types.h> where it's defined we just
|
||||
define the missing bit.
|
||||
|
||||
This fixes build error at least on musl.
|
||||
|
||||
Acked-by: Cyril Hrubis <chrubis@suse.cz>
|
||||
Acked-by: Jan Stancek <jstancek@redhat.com>
|
||||
Suggested-by: Jan Stancek <jstancek@redhat.com>
|
||||
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
|
||||
[Upstream status: b8aebc83523691be2b37e87c62099d700b0473c7]
|
||||
---
|
||||
testcases/kernel/syscalls/fanotify/fanotify.h | 7 +++++++
|
||||
1 file changed, 7 insertions(+)
|
||||
|
||||
diff --git a/testcases/kernel/syscalls/fanotify/fanotify.h b/testcases/kernel/syscalls/fanotify/fanotify.h
|
||||
index 1c7623d3b..435f100d8 100644
|
||||
--- a/testcases/kernel/syscalls/fanotify/fanotify.h
|
||||
+++ b/testcases/kernel/syscalls/fanotify/fanotify.h
|
||||
@@ -126,6 +126,13 @@ struct fanotify_event_info_header {
|
||||
};
|
||||
|
||||
#ifdef HAVE_NAME_TO_HANDLE_AT
|
||||
+#ifndef __kernel_fsid_t
|
||||
+typedef struct {
|
||||
+ int val[2];
|
||||
+} lapi_fsid_t;
|
||||
+#define __kernel_fsid_t lapi_fsid_t
|
||||
+#endif
|
||||
+
|
||||
struct fanotify_event_info_fid {
|
||||
struct fanotify_event_info_header hdr;
|
||||
__kernel_fsid_t fsid;
|
||||
--
|
||||
2.23.0
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
From 399bb8193f0e09f00d83602bda0c175f2e2b0958 Mon Sep 17 00:00:00 2001
|
||||
From: Petr Vorel <petr.vorel@gmail.com>
|
||||
Date: Mon, 4 Nov 2019 22:14:26 +0100
|
||||
Subject: [PATCH 1/3] fanotify: Move __kernel_fsid_t definition to correct
|
||||
place
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
This fixes errors:
|
||||
|
||||
fanotify.h:149:55: error: unknown type name ‘__kernel_fsid_t’
|
||||
static inline void fanotify_get_fid(const char *path, __kernel_fsid_t *fsid,
|
||||
^~~~~~~~~~~~~~~
|
||||
fanotify13.c:47:2: error: unknown type name ‘__kernel_fsid_t’
|
||||
__kernel_fsid_t fsid;
|
||||
|
||||
Remove #ifdef HAVE_NAME_TO_HANDLE_AT wrap of __kernel_fsid_t fallback
|
||||
definition to simplify preprocessor checks.
|
||||
|
||||
Fixes: b8aebc835 ("fanotify: Fix missing __kernel_fsid_t definition")
|
||||
|
||||
Acked-by: Cyril Hrubis <chrubis@suse.cz>
|
||||
Acked-by: Jan Stancek <jstancek@redhat.com>
|
||||
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
|
||||
[Upstream status: 399bb8193f0e09f00d83602bda0c175f2e2b0958]
|
||||
---
|
||||
testcases/kernel/syscalls/fanotify/fanotify.h | 11 +++++++++--
|
||||
1 file changed, 9 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/testcases/kernel/syscalls/fanotify/fanotify.h b/testcases/kernel/syscalls/fanotify/fanotify.h
|
||||
index 1c7623d3b..573ed5f59 100644
|
||||
--- a/testcases/kernel/syscalls/fanotify/fanotify.h
|
||||
+++ b/testcases/kernel/syscalls/fanotify/fanotify.h
|
||||
@@ -116,6 +116,13 @@ struct fanotify_mark_type {
|
||||
const char * name;
|
||||
};
|
||||
|
||||
+#ifndef __kernel_fsid_t
|
||||
+typedef struct {
|
||||
+ int val[2];
|
||||
+} lapi_fsid_t;
|
||||
+#define __kernel_fsid_t lapi_fsid_t
|
||||
+#endif /* __kernel_fsid_t */
|
||||
+
|
||||
#ifndef FAN_REPORT_FID
|
||||
#define FAN_REPORT_FID 0x00000200
|
||||
|
||||
@@ -131,8 +138,8 @@ struct fanotify_event_info_fid {
|
||||
__kernel_fsid_t fsid;
|
||||
unsigned char handle[0];
|
||||
};
|
||||
-#endif
|
||||
-#endif
|
||||
+#endif /* HAVE_NAME_TO_HANDLE_AT */
|
||||
+#endif /* ! FAN_REPORT_FID */
|
||||
|
||||
#ifdef HAVE_NAME_TO_HANDLE_AT
|
||||
/*
|
||||
--
|
||||
2.24.0
|
||||
@@ -0,0 +1,91 @@
|
||||
From bf02784428c1e61e8b227c0e565992bfae36d301 Mon Sep 17 00:00:00 2001
|
||||
From: Petr Vorel <petr.vorel@gmail.com>
|
||||
Date: Tue, 12 Nov 2019 23:18:32 +0100
|
||||
Subject: [PATCH 2/3] fanotify: Rework checks for fallback definitions
|
||||
|
||||
Add autoconf checks for struct fanotify_event_info_fid
|
||||
and struct fanotify_event_info_header.
|
||||
|
||||
Instead of detecting via FAN_REPORT_FID or HAVE_NAME_TO_HANDLE_AT.
|
||||
|
||||
Acked-by: Cyril Hrubis <chrubis@suse.cz>
|
||||
Acked-by: Jan Stancek <jstancek@redhat.com>
|
||||
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
|
||||
[Upstream status: bf02784428c1e61e8b227c0e565992bfae36d301]
|
||||
---
|
||||
configure.ac | 1 +
|
||||
m4/ltp-fanotify.m4 | 7 +++++++
|
||||
testcases/kernel/syscalls/fanotify/fanotify.h | 14 ++++++++------
|
||||
3 files changed, 16 insertions(+), 6 deletions(-)
|
||||
create mode 100644 m4/ltp-fanotify.m4
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 3785dff63..b762e83c2 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -213,6 +213,7 @@ LTP_CHECK_CAPABILITY_SUPPORT
|
||||
LTP_CHECK_CC_WARN_OLDSTYLE
|
||||
LTP_CHECK_CLONE_SUPPORTS_7_ARGS
|
||||
LTP_CHECK_CRYPTO
|
||||
+LTP_CHECK_FANOTIFY
|
||||
LTP_CHECK_FIDEDUPE
|
||||
LTP_CHECK_FORTIFY_SOURCE
|
||||
LTP_CHECK_FTS_H
|
||||
diff --git a/m4/ltp-fanotify.m4 b/m4/ltp-fanotify.m4
|
||||
new file mode 100644
|
||||
index 000000000..e7b77d8a4
|
||||
--- /dev/null
|
||||
+++ b/m4/ltp-fanotify.m4
|
||||
@@ -0,0 +1,7 @@
|
||||
+dnl SPDX-License-Identifier: GPL-2.0-or-later
|
||||
+dnl Copyright (c) 2019 Petr Vorel <petr.vorel@gmail.com>
|
||||
+
|
||||
+AC_DEFUN([LTP_CHECK_FANOTIFY],[
|
||||
+AC_CHECK_TYPES([struct fanotify_event_info_header],,,[#include <sys/fanotify.h>])
|
||||
+AC_CHECK_TYPES([struct fanotify_event_info_fid],,,[#include <sys/fanotify.h>])
|
||||
+])
|
||||
diff --git a/testcases/kernel/syscalls/fanotify/fanotify.h b/testcases/kernel/syscalls/fanotify/fanotify.h
|
||||
index 573ed5f59..9d2fded13 100644
|
||||
--- a/testcases/kernel/syscalls/fanotify/fanotify.h
|
||||
+++ b/testcases/kernel/syscalls/fanotify/fanotify.h
|
||||
@@ -101,6 +101,10 @@ static long fanotify_mark(int fd, unsigned int flags, uint64_t mask,
|
||||
#define FAN_OPEN_EXEC_PERM 0x00040000
|
||||
#endif
|
||||
|
||||
+#ifndef FAN_REPORT_FID
|
||||
+#define FAN_REPORT_FID 0x00000200
|
||||
+#endif
|
||||
+
|
||||
/*
|
||||
* FAN_ALL_PERM_EVENTS has been deprecated, so any new permission events
|
||||
* are not to be added to it. To cover the instance where a new permission
|
||||
@@ -123,23 +127,21 @@ typedef struct {
|
||||
#define __kernel_fsid_t lapi_fsid_t
|
||||
#endif /* __kernel_fsid_t */
|
||||
|
||||
-#ifndef FAN_REPORT_FID
|
||||
-#define FAN_REPORT_FID 0x00000200
|
||||
-
|
||||
+#ifndef HAVE_STRUCT_FANOTIFY_EVENT_INFO_HEADER
|
||||
struct fanotify_event_info_header {
|
||||
uint8_t info_type;
|
||||
uint8_t pad;
|
||||
uint16_t len;
|
||||
};
|
||||
+#endif /* HAVE_STRUCT_FANOTIFY_EVENT_INFO_HEADER */
|
||||
|
||||
-#ifdef HAVE_NAME_TO_HANDLE_AT
|
||||
+#ifndef HAVE_STRUCT_FANOTIFY_EVENT_INFO_FID
|
||||
struct fanotify_event_info_fid {
|
||||
struct fanotify_event_info_header hdr;
|
||||
__kernel_fsid_t fsid;
|
||||
unsigned char handle[0];
|
||||
};
|
||||
-#endif /* HAVE_NAME_TO_HANDLE_AT */
|
||||
-#endif /* ! FAN_REPORT_FID */
|
||||
+#endif /* HAVE_STRUCT_FANOTIFY_EVENT_INFO_FID */
|
||||
|
||||
#ifdef HAVE_NAME_TO_HANDLE_AT
|
||||
/*
|
||||
--
|
||||
2.24.0
|
||||
@@ -0,0 +1,108 @@
|
||||
From 0498fc0a812e53040a9527f7343089b8b1aa70a7 Mon Sep 17 00:00:00 2001
|
||||
From: Petr Vorel <petr.vorel@gmail.com>
|
||||
Date: Wed, 13 Nov 2019 01:26:06 +0100
|
||||
Subject: [PATCH 3/3] fanotify: Detect val vs. __val
|
||||
fanotify_event_info_fid.fsid member
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
via FSID_VAL_MEMBER() macro and autotools detection.
|
||||
|
||||
This fixes build on musl, which also defines fanotify_event_info_fid,
|
||||
but uses fsid_t type for fsid instead of __kernel_fsid_t.
|
||||
fsid_t type has __val[2] member (unlike val[2] in __kernel_fsid_t).
|
||||
|
||||
Fixed error:
|
||||
|
||||
fanotify13.c: In function ‘do_test’:
|
||||
fanotify13.c:278:20: error: ‘fsid_t’ {aka ‘struct __fsid_t’} has no member named ‘val’; did you mean ‘__val’?
|
||||
event_fid->fsid.val[0],
|
||||
^~~
|
||||
../../../../include/tst_test.h:49:53: note: in definition of macro ‘tst_res’
|
||||
tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__)
|
||||
^~~~~~~~~~~
|
||||
fanotify13.c:279:20: error: ‘fsid_t’ {aka ‘struct __fsid_t’} has no member named ‘val’; did you mean ‘__val’?
|
||||
event_fid->fsid.val[1],
|
||||
|
||||
Acked-by: Cyril Hrubis <chrubis@suse.cz>
|
||||
Acked-by: Jan Stancek <jstancek@redhat.com>
|
||||
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
|
||||
[Upstream status: 0498fc0a812e53040a9527f7343089b8b1aa70a7]
|
||||
---
|
||||
m4/ltp-fanotify.m4 | 1 +
|
||||
testcases/kernel/syscalls/fanotify/fanotify.h | 6 ++++++
|
||||
testcases/kernel/syscalls/fanotify/fanotify13.c | 8 ++++----
|
||||
testcases/kernel/syscalls/fanotify/fanotify15.c | 4 ++--
|
||||
4 files changed, 13 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/m4/ltp-fanotify.m4 b/m4/ltp-fanotify.m4
|
||||
index e7b77d8a4..f2e31eb68 100644
|
||||
--- a/m4/ltp-fanotify.m4
|
||||
+++ b/m4/ltp-fanotify.m4
|
||||
@@ -4,4 +4,5 @@ dnl Copyright (c) 2019 Petr Vorel <petr.vorel@gmail.com>
|
||||
AC_DEFUN([LTP_CHECK_FANOTIFY],[
|
||||
AC_CHECK_TYPES([struct fanotify_event_info_header],,,[#include <sys/fanotify.h>])
|
||||
AC_CHECK_TYPES([struct fanotify_event_info_fid],,,[#include <sys/fanotify.h>])
|
||||
+AC_CHECK_MEMBERS([struct fanotify_event_info_fid.fsid.__val],,,[#include <sys/fanotify.h>])
|
||||
])
|
||||
diff --git a/testcases/kernel/syscalls/fanotify/fanotify.h b/testcases/kernel/syscalls/fanotify/fanotify.h
|
||||
index 9d2fded13..5370e30bb 100644
|
||||
--- a/testcases/kernel/syscalls/fanotify/fanotify.h
|
||||
+++ b/testcases/kernel/syscalls/fanotify/fanotify.h
|
||||
@@ -143,6 +143,12 @@ struct fanotify_event_info_fid {
|
||||
};
|
||||
#endif /* HAVE_STRUCT_FANOTIFY_EVENT_INFO_FID */
|
||||
|
||||
+#ifdef HAVE_STRUCT_FANOTIFY_EVENT_INFO_FID_FSID___VAL
|
||||
+# define FSID_VAL_MEMBER(fsid, i) (fsid.__val[i])
|
||||
+#else
|
||||
+# define FSID_VAL_MEMBER(fsid, i) (fsid.val[i])
|
||||
+#endif /* HAVE_STRUCT_FANOTIFY_EVENT_INFO_FID_FSID___VAL */
|
||||
+
|
||||
#ifdef HAVE_NAME_TO_HANDLE_AT
|
||||
/*
|
||||
* Helper function used to obtain fsid and file_handle for a given path.
|
||||
diff --git a/testcases/kernel/syscalls/fanotify/fanotify13.c b/testcases/kernel/syscalls/fanotify/fanotify13.c
|
||||
index 030734285..b0d9fb5b6 100644
|
||||
--- a/testcases/kernel/syscalls/fanotify/fanotify13.c
|
||||
+++ b/testcases/kernel/syscalls/fanotify/fanotify13.c
|
||||
@@ -130,8 +130,8 @@ static int setup_marks(unsigned int fd, struct test_case_t *tc)
|
||||
"kernel");
|
||||
return 1;
|
||||
} else if (errno == ENODEV &&
|
||||
- !event_set[i].fsid.val[0] &&
|
||||
- !event_set[i].fsid.val[1]) {
|
||||
+ !FSID_VAL_MEMBER(event_set[i].fsid, 0) &&
|
||||
+ !FSID_VAL_MEMBER(event_set[i].fsid, 1)) {
|
||||
tst_res(TCONF,
|
||||
"FAN_REPORT_FID not supported on "
|
||||
"filesystem type %s",
|
||||
@@ -275,8 +275,8 @@ static void do_test(unsigned int number)
|
||||
"and name_to_handle_at(2)",
|
||||
metadata->mask,
|
||||
getpid(),
|
||||
- event_fid->fsid.val[0],
|
||||
- event_fid->fsid.val[1],
|
||||
+ FSID_VAL_MEMBER(event_fid->fsid, 0),
|
||||
+ FSID_VAL_MEMBER(event_fid->fsid, 1),
|
||||
*(unsigned long *) event_file_handle->f_handle);
|
||||
}
|
||||
out:
|
||||
diff --git a/testcases/kernel/syscalls/fanotify/fanotify15.c b/testcases/kernel/syscalls/fanotify/fanotify15.c
|
||||
index e9e926078..48ed368ae 100644
|
||||
--- a/testcases/kernel/syscalls/fanotify/fanotify15.c
|
||||
+++ b/testcases/kernel/syscalls/fanotify/fanotify15.c
|
||||
@@ -192,8 +192,8 @@ static void do_test(void)
|
||||
"fid=%x.%x.%lx values",
|
||||
metadata->mask,
|
||||
getpid(),
|
||||
- event_fid->fsid.val[0],
|
||||
- event_fid->fsid.val[1],
|
||||
+ FSID_VAL_MEMBER(event_fid->fsid, 0),
|
||||
+ FSID_VAL_MEMBER(event_fid->fsid, 1),
|
||||
*(unsigned long *)
|
||||
event_file_handle->f_handle);
|
||||
}
|
||||
--
|
||||
2.24.0
|
||||
@@ -0,0 +1,55 @@
|
||||
From f37704d6cf69c9616dfd2aee5647b7941aa2bbaa Mon Sep 17 00:00:00 2001
|
||||
From: Petr Vorel <petr.vorel@gmail.com>
|
||||
Date: Sat, 16 Nov 2019 00:14:42 +0100
|
||||
Subject: [PATCH] fanotify: Fix FSID_VAL_MEMBER() usage
|
||||
|
||||
This basically reverts part of 0498fc0a8.
|
||||
|
||||
FSID_VAL_MEMBER() wrapper was meant to be only for struct
|
||||
fanotify_event_info_fid, it was used also for struct event_t
|
||||
(which has also __kernel_fsid_t fsid, but shouldn't be redefined).
|
||||
|
||||
This caused error on recent musl v1.1.23 (with f67b3c17),
|
||||
which has struct fanotify_event_info_fid.
|
||||
|
||||
Fixes: 0498fc0a8 ("fanotify: Detect val vs. __val
|
||||
fanotify_event_info_fid.fsid member")
|
||||
|
||||
Acked-by: Jan Stancek <jstancek@redhat.com>
|
||||
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
|
||||
[Upstream status: f37704d6cf69c9616dfd2aee5647b7941aa2bbaa]
|
||||
---
|
||||
testcases/kernel/syscalls/fanotify/fanotify.h | 1 +
|
||||
testcases/kernel/syscalls/fanotify/fanotify13.c | 4 ++--
|
||||
2 files changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/testcases/kernel/syscalls/fanotify/fanotify.h b/testcases/kernel/syscalls/fanotify/fanotify.h
|
||||
index 5370e30bb..9c98aaa1d 100644
|
||||
--- a/testcases/kernel/syscalls/fanotify/fanotify.h
|
||||
+++ b/testcases/kernel/syscalls/fanotify/fanotify.h
|
||||
@@ -143,6 +143,7 @@ struct fanotify_event_info_fid {
|
||||
};
|
||||
#endif /* HAVE_STRUCT_FANOTIFY_EVENT_INFO_FID */
|
||||
|
||||
+/* NOTE: only for struct fanotify_event_info_fid */
|
||||
#ifdef HAVE_STRUCT_FANOTIFY_EVENT_INFO_FID_FSID___VAL
|
||||
# define FSID_VAL_MEMBER(fsid, i) (fsid.__val[i])
|
||||
#else
|
||||
diff --git a/testcases/kernel/syscalls/fanotify/fanotify13.c b/testcases/kernel/syscalls/fanotify/fanotify13.c
|
||||
index 26212ab62..3d8de6009 100644
|
||||
--- a/testcases/kernel/syscalls/fanotify/fanotify13.c
|
||||
+++ b/testcases/kernel/syscalls/fanotify/fanotify13.c
|
||||
@@ -130,8 +130,8 @@ static int setup_marks(unsigned int fd, struct test_case_t *tc)
|
||||
"kernel");
|
||||
return 1;
|
||||
} else if (errno == ENODEV &&
|
||||
- !FSID_VAL_MEMBER(event_set[i].fsid, 0) &&
|
||||
- !FSID_VAL_MEMBER(event_set[i].fsid, 1)) {
|
||||
+ !event_set[i].fsid.val[0] &&
|
||||
+ !event_set[i].fsid.val[1]) {
|
||||
tst_res(TCONF,
|
||||
"FAN_REPORT_FID not supported on "
|
||||
"filesystem type %s",
|
||||
--
|
||||
2.23.0
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
From 7b614a0c352fdaae883b0409a94c68bf06bfe914 Mon Sep 17 00:00:00 2001
|
||||
From: Petr Vorel <petr.vorel@gmail.com>
|
||||
Date: Sun, 17 Nov 2019 11:40:26 +0100
|
||||
Subject: [PATCH] utils/compat_16: Always include <sys/fsuid.h>
|
||||
|
||||
All major implementations have setfsuid() declaration in <sys/fsuid.h>.
|
||||
This fixes build on musl and (probably) on uclibc).
|
||||
|
||||
NOTE: maybe we should guard presence of <sys/fsuid.h> with autotools,
|
||||
but we're not doing that for other it's uses.
|
||||
|
||||
Fixes: 0e7a99b53 ("setfsgid, setfsuid: clean up and 16-bit version
|
||||
fixes")
|
||||
|
||||
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
|
||||
[Upstream status: 7b614a0c352fdaae883b0409a94c68bf06bfe914]
|
||||
---
|
||||
testcases/kernel/syscalls/utils/compat_16.h | 2 --
|
||||
testcases/kernel/syscalls/utils/compat_tst_16.h | 2 --
|
||||
2 files changed, 4 deletions(-)
|
||||
|
||||
diff --git a/testcases/kernel/syscalls/utils/compat_16.h b/testcases/kernel/syscalls/utils/compat_16.h
|
||||
index 5b0338d38..75d5d2d28 100644
|
||||
--- a/testcases/kernel/syscalls/utils/compat_16.h
|
||||
+++ b/testcases/kernel/syscalls/utils/compat_16.h
|
||||
@@ -24,9 +24,7 @@
|
||||
|
||||
#include <errno.h>
|
||||
#include <grp.h>
|
||||
-#if defined(__GLIBC__) || defined(__ANDROID__)
|
||||
#include <sys/fsuid.h>
|
||||
-#endif
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
diff --git a/testcases/kernel/syscalls/utils/compat_tst_16.h b/testcases/kernel/syscalls/utils/compat_tst_16.h
|
||||
index 3b86ef3e3..09fa8b0d8 100644
|
||||
--- a/testcases/kernel/syscalls/utils/compat_tst_16.h
|
||||
+++ b/testcases/kernel/syscalls/utils/compat_tst_16.h
|
||||
@@ -21,9 +21,7 @@
|
||||
|
||||
#include <errno.h>
|
||||
#include <grp.h>
|
||||
-#if defined(__GLIBC__) || defined(__ANDROID__)
|
||||
#include <sys/fsuid.h>
|
||||
-#endif
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
--
|
||||
2.23.0
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
From 7eae073fda17a94a36893337b5a5d639024d571c Mon Sep 17 00:00:00 2001
|
||||
From: Petr Vorel <petr.vorel@gmail.com>
|
||||
Date: Sun, 17 Nov 2019 12:53:22 +0100
|
||||
Subject: [PATCH] nfsv4/acl: Remove unneeded malloc(sizeof(FILE))
|
||||
|
||||
FILE incomplete type under musl (comply C11 [1]).
|
||||
malloc(sizeof(FILE)) is not needed anyway, thus remove.
|
||||
|
||||
This fixes build on musl (at least):
|
||||
acl1.c:51:23: error: invalid application of 'sizeof' to incomplete type 'FILE' {aka 'struct _IO_FILE'}
|
||||
fptr = malloc(sizeof(FILE));
|
||||
|
||||
Fixes: 618fd23eb ("Initial add of acl testsuite from Bull")
|
||||
|
||||
[1] https://www.openwall.com/lists/musl/2019/01/16/1
|
||||
|
||||
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
|
||||
[Upstream status: 7eae073fda17a94a36893337b5a5d639024d571c]
|
||||
---
|
||||
testcases/network/nfsv4/acl/acl1.c | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/testcases/network/nfsv4/acl/acl1.c b/testcases/network/nfsv4/acl/acl1.c
|
||||
index bdf0180da..aae9484e5 100644
|
||||
--- a/testcases/network/nfsv4/acl/acl1.c
|
||||
+++ b/testcases/network/nfsv4/acl/acl1.c
|
||||
@@ -48,7 +48,6 @@ int do_file_op(char *filename)
|
||||
result = 0;
|
||||
FILE *fptr;
|
||||
char str[256] = "./";
|
||||
- fptr = malloc(sizeof(FILE));
|
||||
|
||||
uid = geteuid();
|
||||
strcat(str, filename);
|
||||
--
|
||||
2.23.0
|
||||
|
||||
351
package/ltp-testsuite/0010-Replace-bzero-with-memset.patch
Normal file
351
package/ltp-testsuite/0010-Replace-bzero-with-memset.patch
Normal file
@@ -0,0 +1,351 @@
|
||||
From cceadfb997513fa71c2ae35fb5e09073175c077f Mon Sep 17 00:00:00 2001
|
||||
From: Petr Vorel <petr.vorel@gmail.com>
|
||||
Date: Sun, 17 Nov 2019 13:52:30 +0100
|
||||
Subject: [PATCH] Replace bzero() with memset()
|
||||
|
||||
bzero() is deprecated.
|
||||
|
||||
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
|
||||
[Upstream status: cceadfb997513fa71c2ae35fb5e09073175c077f]
|
||||
---
|
||||
lib/tlibio.c | 2 +-
|
||||
testcases/kernel/fs/read_all/read_all.c | 3 ++-
|
||||
.../kernel/hotplug/memory_hotplug/memtoy.c | 2 +-
|
||||
.../kernel/syscalls/epoll_ctl/epoll_ctl01.c | 4 ++--
|
||||
.../kernel/syscalls/epoll_wait/epoll_wait01.c | 3 +--
|
||||
.../tirpc_simple_rpc_call/tirpc_rpc_call.c | 1 +
|
||||
.../tirpc_rpc_call_performance.c | 1 +
|
||||
.../tirpc_rpc_call_stress.c | 1 +
|
||||
.../rpc-tirpc/tests_pack/rpc_svc_2/rpc_svc_2.c | 1 +
|
||||
.../tests_pack/tirpc_svc_11/tirpc_svc_11.c | 1 +
|
||||
.../tests_pack/tirpc_svc_3/tirpc_svc_3.c | 1 +
|
||||
.../tests_pack/tirpc_svc_4/tirpc_svc_4.c | 1 +
|
||||
.../tests_pack/tirpc_svc_5/tirpc_svc_5.c | 1 +
|
||||
.../tests_pack/tirpc_svc_6/tirpc_svc_6.c | 1 +
|
||||
.../tests_pack/tirpc_svc_7/tirpc_svc_7.c | 1 +
|
||||
.../tests_pack/tirpc_svc_8/tirpc_svc_8.c | 1 +
|
||||
.../tests_pack/tirpc_svc_9/tirpc_svc_9.c | 1 +
|
||||
utils/sctp/func_tests/test_getname.c | 17 ++++++++---------
|
||||
18 files changed, 27 insertions(+), 16 deletions(-)
|
||||
|
||||
diff --git a/lib/tlibio.c b/lib/tlibio.c
|
||||
index 8b30d591d..cc110d1c9 100644
|
||||
--- a/lib/tlibio.c
|
||||
+++ b/lib/tlibio.c
|
||||
@@ -105,7 +105,7 @@
|
||||
#else
|
||||
/* for linux or sgi */
|
||||
#include <sys/uio.h> /* readv(2)/writev(2) */
|
||||
-#include <string.h> /* bzero */
|
||||
+#include <string.h>
|
||||
#endif
|
||||
#if defined(__linux__) || defined(__sun) || defined(__hpux) || defined(_AIX)
|
||||
#if !defined(UCLINUX) && !defined(__UCLIBC__)
|
||||
diff --git a/testcases/kernel/fs/read_all/read_all.c b/testcases/kernel/fs/read_all/read_all.c
|
||||
index 68fc7d031..47f853223 100644
|
||||
--- a/testcases/kernel/fs/read_all/read_all.c
|
||||
+++ b/testcases/kernel/fs/read_all/read_all.c
|
||||
@@ -31,6 +31,7 @@
|
||||
#include <lapi/fnmatch.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
#include <dirent.h>
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
@@ -287,7 +288,7 @@ static void spawn_workers(void)
|
||||
int i;
|
||||
struct worker *wa = workers;
|
||||
|
||||
- bzero(workers, worker_count * sizeof(*workers));
|
||||
+ memset(workers, 0, worker_count * sizeof(*workers));
|
||||
|
||||
for (i = 0; i < worker_count; i++) {
|
||||
wa[i].q = queue_init();
|
||||
diff --git a/testcases/kernel/hotplug/memory_hotplug/memtoy.c b/testcases/kernel/hotplug/memory_hotplug/memtoy.c
|
||||
index 0707a9c8c..8ac9600de 100644
|
||||
--- a/testcases/kernel/hotplug/memory_hotplug/memtoy.c
|
||||
+++ b/testcases/kernel/hotplug/memory_hotplug/memtoy.c
|
||||
@@ -367,7 +367,7 @@ void touch_memory(bool rw, unsigned long *memp, size_t memlen)
|
||||
void init_glctx(glctx_t * gcp)
|
||||
{
|
||||
|
||||
- bzero(gcp, sizeof(glctx_t));
|
||||
+ memset(gcp, 0, sizeof(glctx_t));
|
||||
|
||||
gcp->pagesize = (size_t) sysconf(_SC_PAGESIZE);
|
||||
|
||||
diff --git a/testcases/kernel/syscalls/epoll_ctl/epoll_ctl01.c b/testcases/kernel/syscalls/epoll_ctl/epoll_ctl01.c
|
||||
index 1f81c3a26..e199ac6ac 100644
|
||||
--- a/testcases/kernel/syscalls/epoll_ctl/epoll_ctl01.c
|
||||
+++ b/testcases/kernel/syscalls/epoll_ctl/epoll_ctl01.c
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#include <sys/epoll.h>
|
||||
#include <poll.h>
|
||||
-#include <strings.h>
|
||||
+#include <string.h>
|
||||
#include <errno.h>
|
||||
#include "tst_test.h"
|
||||
|
||||
@@ -88,7 +88,7 @@ static void check_epoll_ctl(int opt, int exp_num)
|
||||
|
||||
while (events) {
|
||||
int events_matched = 0;
|
||||
- bzero(res_evs, sizeof(res_evs));
|
||||
+ memset(res_evs, 0, sizeof(res_evs));
|
||||
|
||||
res = epoll_wait(epfd, res_evs, 2, -1);
|
||||
if (res <= 0) {
|
||||
diff --git a/testcases/kernel/syscalls/epoll_wait/epoll_wait01.c b/testcases/kernel/syscalls/epoll_wait/epoll_wait01.c
|
||||
index 9c13e2e5c..ad9126aaf 100644
|
||||
--- a/testcases/kernel/syscalls/epoll_wait/epoll_wait01.c
|
||||
+++ b/testcases/kernel/syscalls/epoll_wait/epoll_wait01.c
|
||||
@@ -14,7 +14,6 @@
|
||||
#include <sys/epoll.h>
|
||||
#include <poll.h>
|
||||
#include <string.h>
|
||||
-#include <strings.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "tst_test.h"
|
||||
@@ -181,7 +180,7 @@ static void verify_epollio(void)
|
||||
while (events) {
|
||||
int events_matched = 0;
|
||||
|
||||
- bzero(ret_evs, sizeof(ret_evs));
|
||||
+ memset(ret_evs, 0, sizeof(ret_evs));
|
||||
TEST(epoll_wait(epfd, ret_evs, 2, -1));
|
||||
|
||||
if (TST_RET <= 0) {
|
||||
diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call.c
|
||||
index 257b108cc..1dc533d0c 100644
|
||||
--- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call.c
|
||||
+++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call.c
|
||||
@@ -27,6 +27,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
#include <time.h>
|
||||
#include <errno.h>
|
||||
#include "lapi/rpc.h"
|
||||
diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_performance.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_performance.c
|
||||
index 357d9d18d..1a609751a 100644
|
||||
--- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_performance.c
|
||||
+++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_performance.c
|
||||
@@ -27,6 +27,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
#include <sys/time.h>
|
||||
#include "lapi/rpc.h"
|
||||
|
||||
diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_stress.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_stress.c
|
||||
index 56b5ddb57..264e24c45 100644
|
||||
--- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_stress.c
|
||||
+++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_stress.c
|
||||
@@ -27,6 +27,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
#include <time.h>
|
||||
#include <errno.h>
|
||||
#include "lapi/rpc.h"
|
||||
diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_svc_2/rpc_svc_2.c b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_svc_2/rpc_svc_2.c
|
||||
index 877db2af9..a2d18cc43 100644
|
||||
--- a/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_svc_2/rpc_svc_2.c
|
||||
+++ b/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_svc_2/rpc_svc_2.c
|
||||
@@ -26,6 +26,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
#include <rpc/rpc.h>
|
||||
#include <utmp.h>
|
||||
|
||||
diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_11/tirpc_svc_11.c b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_11/tirpc_svc_11.c
|
||||
index a93e831d0..121ae97e8 100644
|
||||
--- a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_11/tirpc_svc_11.c
|
||||
+++ b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_11/tirpc_svc_11.c
|
||||
@@ -26,6 +26,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
#include <sys/socket.h>
|
||||
#include <errno.h>
|
||||
#include <netinet/in.h>
|
||||
diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_3/tirpc_svc_3.c b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_3/tirpc_svc_3.c
|
||||
index e20b9b4bb..c28f412fc 100644
|
||||
--- a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_3/tirpc_svc_3.c
|
||||
+++ b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_3/tirpc_svc_3.c
|
||||
@@ -26,6 +26,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
#include <sys/socket.h>
|
||||
#include <errno.h>
|
||||
#include "lapi/rpc.h"
|
||||
diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_4/tirpc_svc_4.c b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_4/tirpc_svc_4.c
|
||||
index 02d745c6a..566b6fcf6 100644
|
||||
--- a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_4/tirpc_svc_4.c
|
||||
+++ b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_4/tirpc_svc_4.c
|
||||
@@ -26,6 +26,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
#include <sys/socket.h>
|
||||
#include <errno.h>
|
||||
#include "lapi/rpc.h"
|
||||
diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_5/tirpc_svc_5.c b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_5/tirpc_svc_5.c
|
||||
index 36003cb4f..ebf577717 100644
|
||||
--- a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_5/tirpc_svc_5.c
|
||||
+++ b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_5/tirpc_svc_5.c
|
||||
@@ -27,6 +27,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
#include <sys/socket.h>
|
||||
#include <errno.h>
|
||||
#include <netinet/in.h>
|
||||
diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_6/tirpc_svc_6.c b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_6/tirpc_svc_6.c
|
||||
index 71a475373..1dd421e1c 100644
|
||||
--- a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_6/tirpc_svc_6.c
|
||||
+++ b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_6/tirpc_svc_6.c
|
||||
@@ -26,6 +26,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
#include <sys/socket.h>
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_7/tirpc_svc_7.c b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_7/tirpc_svc_7.c
|
||||
index ea141f4ef..559ef7f97 100644
|
||||
--- a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_7/tirpc_svc_7.c
|
||||
+++ b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_7/tirpc_svc_7.c
|
||||
@@ -26,6 +26,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
#include <sys/socket.h>
|
||||
#include <errno.h>
|
||||
#include <netinet/in.h>
|
||||
diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_8/tirpc_svc_8.c b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_8/tirpc_svc_8.c
|
||||
index 6c1c37bac..fd516e4dd 100644
|
||||
--- a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_8/tirpc_svc_8.c
|
||||
+++ b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_8/tirpc_svc_8.c
|
||||
@@ -26,6 +26,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
#include <pthread.h>
|
||||
#include <sys/socket.h>
|
||||
#include <errno.h>
|
||||
diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_9/tirpc_svc_9.c b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_9/tirpc_svc_9.c
|
||||
index a000ba265..2fd9b4fc9 100644
|
||||
--- a/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_9/tirpc_svc_9.c
|
||||
+++ b/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_9/tirpc_svc_9.c
|
||||
@@ -26,6 +26,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
#include <pthread.h>
|
||||
#include <sys/socket.h>
|
||||
#include <errno.h>
|
||||
diff --git a/utils/sctp/func_tests/test_getname.c b/utils/sctp/func_tests/test_getname.c
|
||||
index ffc47357c..f7070a34a 100644
|
||||
--- a/utils/sctp/func_tests/test_getname.c
|
||||
+++ b/utils/sctp/func_tests/test_getname.c
|
||||
@@ -41,7 +41,6 @@
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
-#include <strings.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
@@ -92,7 +91,7 @@ main(int argc, char *argv[])
|
||||
svr_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP);
|
||||
test_bind(svr_sk, &svr_loop.sa, sizeof(svr_loop));
|
||||
|
||||
- bzero(&svr_local_addr, sizeof(svr_local_addr));
|
||||
+ memset(&svr_local_addr, 0, sizeof(svr_local_addr));
|
||||
len = sizeof(svr_local_addr);
|
||||
/* Verify that getsockname() on an unconnected socket works fine. */
|
||||
error = getsockname(svr_sk, (struct sockaddr *)&svr_local_addr, &len);
|
||||
@@ -101,7 +100,7 @@ main(int argc, char *argv[])
|
||||
|
||||
tst_resm(TPASS, "getsockname on an unconnected socket");
|
||||
|
||||
- bzero(&svr_peer_addr, sizeof(svr_peer_addr));
|
||||
+ memset(&svr_peer_addr, 0, sizeof(svr_peer_addr));
|
||||
len = sizeof(svr_peer_addr);
|
||||
/* Verify that getpeername() on an unconnected socket fails. */
|
||||
error = getpeername(svr_sk, (struct sockaddr *)&svr_peer_addr, &len);
|
||||
@@ -125,7 +124,7 @@ main(int argc, char *argv[])
|
||||
#endif
|
||||
test_connect(clt_sk, &svr_loop.sa, sizeof(svr_loop));
|
||||
|
||||
- bzero(&clt_local_addr, sizeof(clt_local_addr));
|
||||
+ memset(&clt_local_addr, 0, sizeof(clt_local_addr));
|
||||
len = sizeof(clt_local_addr);
|
||||
/* Get the client's local address. */
|
||||
error = getsockname(clt_sk, (struct sockaddr *)&clt_local_addr, &len);
|
||||
@@ -135,7 +134,7 @@ main(int argc, char *argv[])
|
||||
|
||||
tst_resm(TPASS, "getsockname on a connected client socket");
|
||||
|
||||
- bzero(&clt_peer_addr, sizeof(clt_peer_addr));
|
||||
+ memset(&clt_peer_addr, 0, sizeof(clt_peer_addr));
|
||||
len = sizeof(clt_peer_addr);
|
||||
/* Get the client's peer address. */
|
||||
error = getpeername(clt_sk, (struct sockaddr *)&clt_peer_addr, &len);
|
||||
@@ -149,7 +148,7 @@ main(int argc, char *argv[])
|
||||
len = sizeof(accept_loop);
|
||||
accept_sk = test_accept(svr_sk, &accept_loop.sa, &len);
|
||||
|
||||
- bzero(&svr_local_addr, sizeof(svr_local_addr));
|
||||
+ memset(&svr_local_addr, 0, sizeof(svr_local_addr));
|
||||
len = sizeof(svr_local_addr);
|
||||
/* Get the server's local address. */
|
||||
error = getsockname(accept_sk, (struct sockaddr *)&svr_local_addr,
|
||||
@@ -160,7 +159,7 @@ main(int argc, char *argv[])
|
||||
|
||||
tst_resm(TPASS, "getsockname on a connected server socket");
|
||||
|
||||
- bzero(&svr_peer_addr, sizeof(svr_peer_addr));
|
||||
+ memset(&svr_peer_addr, 0, sizeof(svr_peer_addr));
|
||||
len = sizeof(svr_peer_addr);
|
||||
/* Get the server's peer address. */
|
||||
error = getpeername(accept_sk, (struct sockaddr *)&svr_peer_addr,
|
||||
@@ -200,7 +199,7 @@ main(int argc, char *argv[])
|
||||
#endif
|
||||
tst_resm(TPASS, "getsockname/getpeername server/client match");
|
||||
|
||||
- bzero(&clt_local_addr, sizeof(clt_local_addr));
|
||||
+ memset(&clt_local_addr, 0, sizeof(clt_local_addr));
|
||||
len = sizeof(clt_local_addr);
|
||||
/*getsockname(): Bad socket descriptor, EBADF expected error*/
|
||||
error = getsockname(-1, (struct sockaddr *)&clt_local_addr, &len);
|
||||
@@ -235,7 +234,7 @@ main(int argc, char *argv[])
|
||||
|
||||
tst_resm(TPASS, "getsockname with invalid buffer - EFAULT");
|
||||
|
||||
- bzero(&clt_peer_addr, sizeof(clt_peer_addr));
|
||||
+ memset(&clt_peer_addr, 0, sizeof(clt_peer_addr));
|
||||
len = sizeof(clt_peer_addr);
|
||||
/*getpeername(): Bad socket descriptor, EBADF expected error*/
|
||||
error = getpeername(-1, (struct sockaddr *)&clt_local_addr, &len);
|
||||
--
|
||||
2.23.0
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
From 9bf80b5781fc62e0dd821413a6d21f2689ee4ef1 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Mon, 14 Oct 2019 11:47:49 +0200
|
||||
Subject: [PATCH] Fix static linking with musl-fts
|
||||
|
||||
Don't append libraries to LDLIBS but prepend them in cpuset_lib/Makefile
|
||||
and cpuset/Makefile.inc to allow the user to provide its FTS library
|
||||
such as -lfts for musl/uclibc through LDLIBS
|
||||
|
||||
This will fix static build of ltp with musl-fts on uclibc
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/9155326e1ff7c2bb2218122c453872c2fc76f65e
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Upstream status: 22f510de8072c5cacce5b2a4ca2ff97d1a6fa3ca]
|
||||
---
|
||||
testcases/kernel/controllers/cpuset/Makefile.inc | 2 +-
|
||||
testcases/kernel/controllers/cpuset/cpuset_lib/Makefile | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/testcases/kernel/controllers/cpuset/Makefile.inc b/testcases/kernel/controllers/cpuset/Makefile.inc
|
||||
index db6a84305..c03dd77d7 100644
|
||||
--- a/testcases/kernel/controllers/cpuset/Makefile.inc
|
||||
+++ b/testcases/kernel/controllers/cpuset/Makefile.inc
|
||||
@@ -41,7 +41,7 @@ MAKE_DEPS := $(LIBCONTROLLERS) $(LIBCPUSET)
|
||||
|
||||
LDFLAGS += -L$(abs_builddir)/$(LIBCPUSET_DIR) -L$(abs_builddir)/$(LIBCONTROLLERS_DIR)
|
||||
|
||||
-LDLIBS += -lcpu_set -lcontrollers -lltp
|
||||
+LDLIBS := -lcpu_set -lcontrollers -lltp $(LDLIBS)
|
||||
|
||||
INSTALL_TARGETS ?= *.sh
|
||||
|
||||
diff --git a/testcases/kernel/controllers/cpuset/cpuset_lib/Makefile b/testcases/kernel/controllers/cpuset/cpuset_lib/Makefile
|
||||
index 322d03cac..069ebc38c 100644
|
||||
--- a/testcases/kernel/controllers/cpuset/cpuset_lib/Makefile
|
||||
+++ b/testcases/kernel/controllers/cpuset/cpuset_lib/Makefile
|
||||
@@ -25,7 +25,7 @@ top_srcdir ?= ../../../../..
|
||||
|
||||
include $(top_srcdir)/include/mk/testcases.mk
|
||||
|
||||
-LDLIBS += -lm -lcontrollers -lltp
|
||||
+LDLIBS := -lm -lcontrollers -lltp $(LDLIBS)
|
||||
|
||||
LIB := libcpu_set.a
|
||||
|
||||
--
|
||||
2.24.0
|
||||
|
||||
@@ -117,4 +117,8 @@ endef
|
||||
LTP_TESTSUITE_POST_PATCH_HOOKS += LTP_TESTSUITE_REMOVE_LDD
|
||||
endif
|
||||
|
||||
# 0005-fanotify-Rework-checks-for-fallback-definitions.patch
|
||||
# 0006-fanotify-Detect-val-vs.-__val-fanotify_event_info_fi.patch
|
||||
LTP_TESTSUITE_AUTORECONF = YES
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
@@ -28,13 +28,8 @@ LVM2_DEPENDENCIES += host-pkgconf libaio
|
||||
# take into account the toolchain passed at configure time.
|
||||
LVM2_MAKE_ENV = $(TARGET_CONFIGURE_OPTS)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_READLINE),y)
|
||||
LVM2_DEPENDENCIES += readline
|
||||
else
|
||||
# v2.02.44: disable readline usage, or binaries are linked against provider
|
||||
# of "tgetent" (=> ncurses) even if it's not used..
|
||||
# package/readline is GPL-3.0+, so not license compatible
|
||||
LVM2_CONF_OPTS += --disable-readline
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
|
||||
LVM2_CONF_OPTS += --enable-selinux
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
From 226205f0c5e3ef6f5757ffdfddd5b815b217e4ff Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Mon, 11 Nov 2019 22:55:36 +0100
|
||||
Subject: [PATCH] configure.ac: fix build on toolchain without SSP
|
||||
|
||||
Commit 3b5a0eebd4d2efdaa03c6fb11950abfcf081fab8 reverted
|
||||
3aa7271157d3c815a4426c1f8eaea2f3b6dafa6a resulting in lxc being unable
|
||||
to be built on toolchain without SSP support
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/57945f54ffbc5c8764b6891a4516c4907e56ab97
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Upstream status: https://github.com/lxc/lxc/pull/3184]
|
||||
---
|
||||
configure.ac | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 645a2166d..4c1a10b3d 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -713,8 +713,8 @@ AX_CHECK_COMPILE_FLAG([-Wcast-align], [CFLAGS="$CFLAGS -Wcast-align"],,[-Werror]
|
||||
AX_CHECK_COMPILE_FLAG([-Wstrict-prototypes], [CFLAGS="$CFLAGS -Wstrict-prototypes"],,[-Werror])
|
||||
AX_CHECK_COMPILE_FLAG([-fno-strict-aliasing], [CFLAGS="$CFLAGS -fno-strict-aliasing"],,[-Werror])
|
||||
AX_CHECK_COMPILE_FLAG([-fstack-clash-protection], [CFLAGS="$CFLAGS -fstack-clash-protection"],,[-Werror])
|
||||
-AX_CHECK_COMPILE_FLAG([-fstack-protector-strong], [CFLAGS="$CFLAGS -fstack-protector-strong"],,[-Werror])
|
||||
-AX_CHECK_COMPILE_FLAG([--param=ssp-buffer-size=4], [CFLAGS="$CFLAGS --param=ssp-buffer-size=4"],,[-Werror])
|
||||
+AX_CHECK_LINK_FLAG([-fstack-protector-strong], [CFLAGS="$CFLAGS -fstack-protector-strong"],,[-Werror])
|
||||
+AX_CHECK_LINK_FLAG([--param=ssp-buffer-size=4], [CFLAGS="$CFLAGS --param=ssp-buffer-size=4"],,[-Werror])
|
||||
AX_CHECK_COMPILE_FLAG([-g], [CFLAGS="$CFLAGS -g"],,[-Werror])
|
||||
AX_CHECK_COMPILE_FLAG([--mcet -fcf-protection], [CFLAGS="$CFLAGS --mcet -fcf-protection"],,[-Werror])
|
||||
AX_CHECK_COMPILE_FLAG([-Werror=implicit-function-declaration], [CFLAGS="$CFLAGS -Werror=implicit-function-declaration"],,[-Werror])
|
||||
--
|
||||
2.23.0
|
||||
|
||||
@@ -10,6 +10,8 @@ LXC_LICENSE = LGPL-2.1+
|
||||
LXC_LICENSE_FILES = COPYING
|
||||
LXC_DEPENDENCIES = host-pkgconf
|
||||
LXC_INSTALL_STAGING = YES
|
||||
# We're patching configure.ac
|
||||
LXC_AUTORECONF = YES
|
||||
|
||||
LXC_CONF_OPTS = --disable-apparmor --with-distro=buildroot \
|
||||
--disable-werror \
|
||||
@@ -19,13 +21,6 @@ ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y)
|
||||
LXC_DEPENDENCIES += bash-completion
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
||||
LXC_CONF_OPTS += --enable-gnutls
|
||||
LXC_DEPENDENCIES += gnutls
|
||||
else
|
||||
LXC_CONF_OPTS += --disable-gnutls
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
||||
LXC_CONF_OPTS += --enable-capabilities
|
||||
LXC_DEPENDENCIES += libcap
|
||||
@@ -47,4 +42,11 @@ else
|
||||
LXC_CONF_OPTS += --disable-selinux
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
LXC_CONF_OPTS += --enable-openssl
|
||||
LXC_DEPENDENCIES += openssl
|
||||
else
|
||||
LXC_CONF_OPTS += --disable-openssl
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
@@ -19,8 +19,10 @@ MARIADB_DEPENDENCIES = \
|
||||
openssl \
|
||||
zlib \
|
||||
libaio \
|
||||
libxml2 \
|
||||
readline
|
||||
libxml2
|
||||
|
||||
# use bundled GPL-2.0+ licensed readline as package/readline is GPL-3.0+
|
||||
MARIADB_CONF_OPTS += -DWITH_READLINE=ON
|
||||
|
||||
# We won't need unit tests
|
||||
MARIADB_CONF_OPTS += -DWITH_UNIT_TESTS=0
|
||||
|
||||
@@ -12,7 +12,7 @@ endif
|
||||
|
||||
# Not possible to directly refer to mesa3d variables, because of
|
||||
# first/second expansion trickery...
|
||||
MESA3D_HEADERS_VERSION = 19.2.2
|
||||
MESA3D_HEADERS_VERSION = 19.2.6
|
||||
MESA3D_HEADERS_SOURCE = mesa-$(MESA3D_HEADERS_VERSION).tar.xz
|
||||
MESA3D_HEADERS_SITE = https://mesa.freedesktop.org/archive
|
||||
MESA3D_HEADERS_DL_SUBDIR = mesa3d
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# From https://lists.freedesktop.org/archives/mesa-announce/2019-October/000551.html
|
||||
sha256 7e4f0e2678bfcf3b94f533078b514f37943378a4a8604e477c888ec8a2904394 mesa-19.2.2.tar.xz
|
||||
sha512 a3269052c2dfb5404180d1aebd68f5b9b0cc136d634ba89fed3f60fcc9b279072e09ee2db9b485375d39e886209053841df920c9d0b975e0de2825e3da4164a5 mesa-19.2.2.tar.xz
|
||||
# From https://lists.freedesktop.org/archives/mesa-announce/2019-November/000559.html
|
||||
sha256 9d7b24fa60c82db34788196450042a55ce6cb2d70c7a8d5c31401619b6907797 mesa-19.2.6.tar.xz
|
||||
sha512 2e961631ae8ea1cb64d87bede51432445a17d153244d8c76f5eb70cbdc8c069d3f08cac11928d85ce2730d772aff9b3aff089e5e552eb021fdcb65364bb685b6 mesa-19.2.6.tar.xz
|
||||
|
||||
# License
|
||||
sha256 d8d662974fc86e2e640362015e42de3fcc161d435a9f2111ecd8561412feca73 docs/license.html
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
################################################################################
|
||||
|
||||
# When updating the version, please also update mesa3d-headers
|
||||
MESA3D_VERSION = 19.2.2
|
||||
MESA3D_VERSION = 19.2.6
|
||||
MESA3D_SOURCE = mesa-$(MESA3D_VERSION).tar.xz
|
||||
MESA3D_SITE = https://mesa.freedesktop.org/archive
|
||||
MESA3D_LICENSE = MIT, SGI, Khronos
|
||||
|
||||
@@ -12,30 +12,30 @@ MINIZIP_DEPENDENCIES = \
|
||||
$(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
||||
MINIZIP_INSTALL_STAGING = YES
|
||||
MINIZIP_CONF_OPTS = \
|
||||
$(if $(BR2_PACKAGE_MINIZIP_DEMOS),-DBUILD_TEST=ON) \
|
||||
-DUSE_COMPAT=OFF
|
||||
$(if $(BR2_PACKAGE_MINIZIP_DEMOS),-DMZ_BUILD_TEST=ON) \
|
||||
-DMZ_COMPAT=OFF
|
||||
MINIZIP_LICENSE = Zlib
|
||||
MINIZIP_LICENSE_FILES = LICENSE
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BZIP2),y)
|
||||
MINIZIP_DEPENDENCIES += bzip2
|
||||
MINIZIP_CONF_OPTS += -DUSE_BZIP2=ON
|
||||
MINIZIP_CONF_OPTS += -DMZ_BZIP2=ON
|
||||
else
|
||||
MINIZIP_CONF_OPTS += -DUSE_BZIP2=OFF
|
||||
MINIZIP_CONF_OPTS += -DMZ_BZIP2=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
MINIZIP_DEPENDENCIES += openssl
|
||||
MINIZIP_CONF_OPTS += -DUSE_OPENSSL=ON
|
||||
MINIZIP_CONF_OPTS += -DMZ_OPENSSL=ON
|
||||
else
|
||||
MINIZIP_CONF_OPTS += -DUSE_OPENSSL=OFF
|
||||
MINIZIP_CONF_OPTS += -DMZ_OPENSSL=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||
MINIZIP_DEPENDENCIES += zlib
|
||||
MINIZIP_CONF_OPTS += -DUSE_ZLIB=ON
|
||||
MINIZIP_CONF_OPTS += -DMZ_ZLIB=ON
|
||||
else
|
||||
MINIZIP_CONF_OPTS += -DUSE_ZLIB=OFF
|
||||
MINIZIP_CONF_OPTS += -DMZ_ZLIB=OFF
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
||||
@@ -22,7 +22,6 @@ config BR2_PACKAGE_MARIADB
|
||||
select BR2_PACKAGE_LIBXML2
|
||||
select BR2_PACKAGE_NCURSES
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_READLINE
|
||||
select BR2_PACKAGE_HAS_MYSQL
|
||||
help
|
||||
MariaDB is one of the most popular database servers in the
|
||||
@@ -38,7 +37,6 @@ comment "mariadb needs a toolchain w/ dynamic library"
|
||||
config BR2_PACKAGE_ORACLE_MYSQL
|
||||
bool "oracle mysql"
|
||||
select BR2_PACKAGE_NCURSES
|
||||
select BR2_PACKAGE_READLINE
|
||||
select BR2_PACKAGE_HAS_MYSQL
|
||||
help
|
||||
The MySQL Open Source Database System
|
||||
|
||||
34
package/ndisc6/0001-Fix-musl-build.patch
Normal file
34
package/ndisc6/0001-Fix-musl-build.patch
Normal file
@@ -0,0 +1,34 @@
|
||||
From 12787f5936c79b56b24ffe0a92f4370804070223 Mon Sep 17 00:00:00 2001
|
||||
From: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
Date: Thu, 7 Nov 2019 21:41:34 +0100
|
||||
Subject: [PATCH] Fix musl build
|
||||
|
||||
Fixes
|
||||
src/trace-tcp.c:67:24: error: 'TH_SYN' undeclared (first use in this function); did you mean 'TH_CWR'?
|
||||
packet->th.th_flags = TH_SYN | (ecn ? (TH_ECE | TH_CWR) : 0);
|
||||
|
||||
Musl guards TH_SYN with if defined(_GNU_SOURCE):
|
||||
https://git.musl-libc.org/cgit/musl/tree/include/netinet/tcp.h#n82
|
||||
|
||||
Patch sent via email to upstream.
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
---
|
||||
src/trace-tcp.c | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/src/trace-tcp.c b/src/trace-tcp.c
|
||||
index 5aba9d4..1b367ae 100644
|
||||
--- a/src/trace-tcp.c
|
||||
+++ b/src/trace-tcp.c
|
||||
@@ -21,7 +21,6 @@
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
-#undef _GNU_SOURCE
|
||||
#define _DEFAULT_SOURCE 1
|
||||
|
||||
#include <string.h>
|
||||
--
|
||||
2.20.1
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
config BR2_PACKAGE_NDISC6
|
||||
bool "ndisc6 tools"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # c11
|
||||
help
|
||||
NDisc6 is a small collection of useful tools for IPv6
|
||||
networking
|
||||
@@ -45,3 +46,7 @@ config BR2_PACKAGE_NDISC6_TCPSPRAY
|
||||
TCP/IP bandwidth measurement tool (Discard and Echo client).
|
||||
|
||||
endif
|
||||
|
||||
comment "ndisc6 needs a toolchain w/ gcc >= 4.7"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
NDISC6_VERSION = 1.0.4
|
||||
NDISC6_SOURCE = ndisc6-$(NDISC6_VERSION).tar.bz2
|
||||
NDISC6_SITE = http://www.remlab.net/files/ndisc6
|
||||
NDISC6_CONF_ENV = CC="$(TARGET_CC) -std=gnu99" LIBS=$(TARGET_NLS_LIBS)
|
||||
NDISC6_CONF_ENV = CC="$(TARGET_CC) -std=c11" LIBS=$(TARGET_NLS_LIBS)
|
||||
NDISC6_CONF_OPTS = --disable-rpath --disable-suid-install
|
||||
NDISC6_LICENSE = GPL-2.0 or GPL-3.0
|
||||
NDISC6_LICENSE_FILES = COPYING
|
||||
|
||||
@@ -5,7 +5,7 @@ config BR2_PACKAGE_NEARDAL
|
||||
depends on BR2_USE_MMU # dbus
|
||||
select BR2_PACKAGE_DBUS
|
||||
select BR2_PACKAGE_DBUS_GLIB
|
||||
select BR2_PACKAGE_READLINE if !BR2_PACKAGE_LIBEDIT
|
||||
select BR2_PACKAGE_LIBEDIT
|
||||
help
|
||||
Provides a simple C API to exchange data with the neard NFC
|
||||
manager daemon.
|
||||
|
||||
@@ -7,20 +7,12 @@
|
||||
NEARDAL_VERSION = 4143d130ed39299bfc59d08d2c7c77dbc7f809e9
|
||||
NEARDAL_SITE = $(call github,connectivity,neardal,$(NEARDAL_VERSION))
|
||||
NEARDAL_INSTALL_STAGING = YES
|
||||
NEARDAL_LICENSE = GPL-2.0
|
||||
NEARDAL_LICENSE = LGPL-2.0
|
||||
NEARDAL_LICENSE_FILES = COPYING
|
||||
|
||||
NEARDAL_DEPENDENCIES = host-pkgconf dbus dbus-glib
|
||||
NEARDAL_DEPENDENCIES = host-pkgconf dbus dbus-glib libedit
|
||||
NEARDAL_AUTORECONF = YES
|
||||
|
||||
# Either readline or libedit are needed, and the Config.in file
|
||||
# guarantees at least one of them is enabled
|
||||
ifeq ($(BR2_PACKAGE_READLINE),y)
|
||||
NEARDAL_DEPENDENCIES += readline
|
||||
else ifeq ($(BR2_PACKAGE_LIBEDIT),y)
|
||||
NEARDAL_DEPENDENCIES += libedit
|
||||
endif
|
||||
|
||||
define NEARDAL_INSTALL_NCL
|
||||
$(INSTALL) -m 0755 -D $(@D)/ncl/ncl $(TARGET_DIR)/usr/bin/ncl
|
||||
endef
|
||||
|
||||
@@ -17,7 +17,7 @@ NINJA_LICENSE_FILES = COPYING
|
||||
HOST_NINJA_DEPENDENCIES = host-python3
|
||||
|
||||
define HOST_NINJA_BUILD_CMDS
|
||||
(cd $(@D); ./configure.py --bootstrap)
|
||||
(cd $(@D); $(HOST_DIR)/bin/python3 configure.py --bootstrap)
|
||||
endef
|
||||
|
||||
define HOST_NINJA_INSTALL_CMDS
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# From https://www.kernel.org/pub/linux/network/ofono/sha256sums.asc
|
||||
sha256 8079735efc5d7f33be9e792e791f2f7ff75c31ce67d477b994673e32319eec5c ofono-1.30.tar.xz
|
||||
sha256 a15c5d28096c10eb30e47a68b6dc2e7c4a5a99d7f4cfedf0b69624f33d859e9b ofono-1.31.tar.xz
|
||||
# Locally computed
|
||||
sha256 e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4 COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OFONO_VERSION = 1.30
|
||||
OFONO_VERSION = 1.31
|
||||
OFONO_SOURCE = ofono-$(OFONO_VERSION).tar.xz
|
||||
OFONO_SITE = $(BR2_KERNEL_MIRROR)/linux/network/ofono
|
||||
OFONO_LICENSE = GPL-2.0
|
||||
|
||||
@@ -22,16 +22,6 @@ config BR2_PACKAGE_OPENVMTOOLS
|
||||
|
||||
if BR2_PACKAGE_OPENVMTOOLS
|
||||
|
||||
config BR2_PACKAGE_OPENVMTOOLS_PROCPS
|
||||
bool "procps support"
|
||||
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
select BR2_PACKAGE_PROCPS_NG
|
||||
help
|
||||
Enable support for procps / meminfo
|
||||
|
||||
comment "procps support needs BR2_PACKAGE_BUSYBOX_SHOW_OTHERS"
|
||||
depends on !BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
|
||||
config BR2_PACKAGE_OPENVMTOOLS_PAM
|
||||
bool "PAM support"
|
||||
# linux-pam needs locale and wchar, but we already have this
|
||||
|
||||
@@ -37,13 +37,6 @@ else
|
||||
OPENVMTOOLS_CONF_OPTS += --without-ssl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENVMTOOLS_PROCPS),y)
|
||||
OPENVMTOOLS_CONF_OPTS += --with-procps
|
||||
OPENVMTOOLS_DEPENDENCIES += procps-ng
|
||||
else
|
||||
OPENVMTOOLS_CONF_OPTS += --without-procps
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENVMTOOLS_PAM),y)
|
||||
OPENVMTOOLS_CONF_OPTS += --with-pam
|
||||
OPENVMTOOLS_DEPENDENCIES += linux-pam
|
||||
|
||||
@@ -9,7 +9,7 @@ ORACLE_MYSQL_VERSION = $(ORACLE_MYSQL_VERSION_MAJOR).73
|
||||
ORACLE_MYSQL_SOURCE = mysql-$(ORACLE_MYSQL_VERSION).tar.gz
|
||||
ORACLE_MYSQL_SITE = http://dev.mysql.com/get/Downloads/MySQL-$(ORACLE_MYSQL_VERSION_MAJOR)
|
||||
ORACLE_MYSQL_INSTALL_STAGING = YES
|
||||
ORACLE_MYSQL_DEPENDENCIES = readline ncurses
|
||||
ORACLE_MYSQL_DEPENDENCIES = ncurses
|
||||
ORACLE_MYSQL_AUTORECONF = YES
|
||||
ORACLE_MYSQL_LICENSE = GPL-2.0
|
||||
ORACLE_MYSQL_LICENSE_FILES = README COPYING
|
||||
@@ -33,7 +33,7 @@ ORACLE_MYSQL_CONF_OPTS = \
|
||||
--without-docs \
|
||||
--without-man \
|
||||
--without-libedit \
|
||||
--without-readline \
|
||||
--with-readline \
|
||||
--with-low-memory \
|
||||
--enable-thread-safe-client \
|
||||
--with-unix-socket-path=$(MYSQL_SOCKET) \
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user