Compare commits
69
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
24b5ff16ae | ||
|
|
db619da8d5 | ||
|
|
827b4bb117 | ||
|
|
83d33f76f6 | ||
|
|
f57d68a229 | ||
|
|
12d70ebce6 | ||
|
|
e2f7fca4b8 | ||
|
|
e058075189 | ||
|
|
8b3b8d876c | ||
|
|
ad908f7330 | ||
|
|
98af0fa066 | ||
|
|
d012b4d0f0 | ||
|
|
4349676384 | ||
|
|
37e8a054f2 | ||
|
|
e047dee241 | ||
|
|
81ccf146a7 | ||
|
|
3a3601fe58 | ||
|
|
511309cdbf | ||
|
|
b914fbdc1f | ||
|
|
8a4536b2dd | ||
|
|
11241ac656 | ||
|
|
68fe6d7d00 | ||
|
|
46481878fe | ||
|
|
65f9645263 | ||
|
|
4a3b0ba38f | ||
|
|
f0f680d673 | ||
|
|
8909897ab3 | ||
|
|
a2e0003141 | ||
|
|
0753ffb23d | ||
|
|
c9837870da | ||
|
|
db756327f5 | ||
|
|
3beba26d76 | ||
|
|
7a7a159135 | ||
|
|
182a6c231b | ||
|
|
f6c28c65a3 | ||
|
|
5ef5b39bd4 | ||
|
|
59af8a3a22 | ||
|
|
78fd003891 | ||
|
|
0901b09a69 | ||
|
|
b3c1f08696 | ||
|
|
a732f00379 | ||
|
|
530668ddb7 | ||
|
|
d67cebcda0 | ||
|
|
b1db9038dd | ||
|
|
994a47649b | ||
|
|
0d609585ff | ||
|
|
38de434123 | ||
|
|
ac26da5275 | ||
|
|
b47b082e98 | ||
|
|
b4e459a4ff | ||
|
|
bfde78f48c | ||
|
|
0bf656ead9 | ||
|
|
cba4062a34 | ||
|
|
0debf55bad | ||
|
|
c0be9c192e | ||
|
|
ff2c8883fb | ||
|
|
7175f968fb | ||
|
|
5a70d2ae59 | ||
|
|
3882c878fb | ||
|
|
7c60fa9f88 | ||
|
|
1770251816 | ||
|
|
9b297505eb | ||
|
|
3a9fd97d43 | ||
|
|
551454efff | ||
|
|
3fc990a798 | ||
|
|
43ac3c8432 | ||
|
|
b01100cc90 | ||
|
|
3ab56f8a63 | ||
|
|
373ac58b82 |
@@ -1,3 +1,32 @@
|
||||
2018.08-rc3, Released August 31th, 2018
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
linux: additional improvements to the flex / bison dependency
|
||||
handling, use system provided variant if available. Ensure
|
||||
toolchain is available when configuring for 4.18+ support.
|
||||
|
||||
Download: Fix handling of primary sites using file://
|
||||
|
||||
Toolchain: Correct external toolchain musl detection for
|
||||
static toolchains.
|
||||
|
||||
Updated/fixed packages: aircrack-ng, bison, brltty, busybox,
|
||||
cutelyst, dropbear, gr-osmosdr, i2c-tools, json-c, libconfuse,
|
||||
libkcapi, libsoup, libssh, liburiparser, mbedtls, mender,
|
||||
mesa3d, minicom, mjpegtools, mutt, openpowerlink, openssh,
|
||||
oracle-mysql, php, postgresql, pv, qt5base, qt5quickcontrols,
|
||||
rauc, shairport-sync, systemd, xlib_libX11, zeromq,
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#11091: BR2_PRIMARY_SITE doesn't work (wget is selected...
|
||||
#11141: WF111 package no longer available
|
||||
#11211: Internal compiler error: Killed (program cc1plus)..
|
||||
#11236: util-linux fails to build on Travis CI when python..
|
||||
#11246: Glibc 2.28 - fails to build host-bison and host-m4
|
||||
#11256: Add python-falcon and python-mimeparse packages
|
||||
|
||||
2018.08-rc2, Released August 20th, 2018
|
||||
|
||||
Fixes all over the tree.
|
||||
@@ -54,6 +83,8 @@
|
||||
- X.org server bumped to 1.20, and all X.org proto packages
|
||||
replaced by the single xorgproto package
|
||||
- i.MX6 support packages bumped to 6.2.4
|
||||
- i.MX Vivante graphics version bumped to 6.2.4.p1.2,
|
||||
adding support for Wayland and i.MX8MQ platforms
|
||||
|
||||
Linux: bumped to 4.17 by default.
|
||||
|
||||
@@ -97,6 +128,32 @@
|
||||
#11121: statfs call corrupts memory struct statfs too small
|
||||
#11181: Switching toolchain does not work
|
||||
|
||||
2018.05.2, Released August 28th, 2018
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Defconfigs: Raspberrypi2: Bump rootfs size, T7680: Fix
|
||||
genimage.cfg issue, ARM Juno: Bump ATF to v1.3 to fix build
|
||||
issue.
|
||||
|
||||
Updated/fixed packages: acl, attr, apache, bind,
|
||||
boot-wrapper-aarch64, brltty, bzip2, chrony, crda, cryptsetup,
|
||||
dahdi-tools, dmidecode, dropbear, eigen, ffmpeg, gawk, gcc,
|
||||
ghostscript, gnutls, imx-gpu-viv, ipsec-tools, libarchive,
|
||||
libfuse, libglib2, libopenssl, libselinux, libsoup, lighttpd,
|
||||
linuxptp, lttng-modules, lttng-tools, lua-flu, lvm2, m4,
|
||||
makedevs, mariadb, mbedtls, mesa3d-heders, mtd, ncurses,
|
||||
nodejs, openssh, php, python-django, rauc, ruby, samba4,
|
||||
stress-ng, ti-utils, uboot-tools, uclibc, vim, waylandpp,
|
||||
wireless_tools, wireless-regdb, wireshark, wpa_supplicant,
|
||||
xorriso, znc
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#10781: cryptsetup luksOpen container_file container causes..
|
||||
#10986: Installing package attr when already supplied by..
|
||||
#11191: xattr and check-package issue
|
||||
|
||||
2018.05.1, Released July 20th, 2018
|
||||
|
||||
Important / security related fixes.
|
||||
@@ -325,6 +382,32 @@
|
||||
#10961: Grub2 fails to build for x86_64 when BR2_SSP_ALL is
|
||||
enabled
|
||||
|
||||
2018.02.5, Released August 29th, 2018
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Defconfigs: Raspberrypi2: Bump rootfs size, T7680: Fix
|
||||
genimage.cfg issue, ARM Juno: Bump ATF to v1.3 to fix build
|
||||
issue.
|
||||
|
||||
Updated/fixed packages: acl, apache, attr, bind,
|
||||
boot-wrapper-aarch64, brltty, bzip2, chrony, crda, cryptsetup,
|
||||
dahdi-tools, dmidecode, dropbear, eigen, erlang, ffmpeg, gawk,
|
||||
gcc, ghostscript, gnutls, ipsec-tools, libarchive, libfuse,
|
||||
libopenssl, libselinux, libsoup, lighttpd, linuxptp,
|
||||
lttng-modules, lttng-tools, lua-flu, lvm2, m4, makedevs,
|
||||
mariadb, mbedtls, mesa3d-headers, mtd, ncurses, nodejs,
|
||||
openssh, php, postgresql, python-django, qt5xmlpatterns, ruby,
|
||||
samba4, shairport-sync, stress-ng, ti-utils, uboot-tools, vim,
|
||||
waylandpp, wireless_tools, wireshark, wpa_supplicant, xorriso,
|
||||
znc
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#10781: cryptsetup luksOpen container_file container causes..
|
||||
#10986: Installing package attr when already supplied by..
|
||||
#11191: xattr and check-package issue
|
||||
|
||||
2018.02.4, Released July 21th, 2018
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
@@ -1437,6 +1437,9 @@ F: package/libfribidi/
|
||||
N: Min Xu <xuminready@gmail.com>
|
||||
F: package/shadowsocks-libev/
|
||||
|
||||
N: Mirza Krak <mirza.krak@northern.tech>
|
||||
F: package/mender/
|
||||
|
||||
N: Morgan Delestre <m.delestre@sinters.fr>
|
||||
F: package/monkey/
|
||||
|
||||
|
||||
@@ -87,9 +87,9 @@ all:
|
||||
.PHONY: all
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION := 2018.08-rc2
|
||||
export BR2_VERSION := 2018.08-rc3
|
||||
# Actual time the release is cut (for reproducible builds)
|
||||
BR2_VERSION_EPOCH = 1534755000
|
||||
BR2_VERSION_EPOCH = 1535752000
|
||||
|
||||
# Save running make version since it's clobbered by the make package
|
||||
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
|
||||
|
||||
@@ -5,12 +5,6 @@ Freescale i.MX8MQ EVK board
|
||||
This file documents the Buildroot support for the Freescale i.MX8MQ
|
||||
EVK board.
|
||||
|
||||
Hardware support
|
||||
================
|
||||
|
||||
Currently only basic support for hardware is available, currently no
|
||||
support for GPU, VPU and other HW features.
|
||||
|
||||
Build
|
||||
=====
|
||||
|
||||
|
||||
@@ -449,5 +449,8 @@ endif # BR2_TARGET_UBOOT && BR_BUILDING
|
||||
ifeq ($(BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY),y)
|
||||
$(eval $(generic-package))
|
||||
else ifeq ($(BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG),y)
|
||||
UBOOT_KCONFIG_DEPENDENCIES = \
|
||||
$(BR2_BISON_HOST_DEPENDENCY) \
|
||||
$(BR2_FLEX_HOST_DEPENDENCY)
|
||||
$(eval $(kconfig-package))
|
||||
endif # BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY
|
||||
|
||||
@@ -200,11 +200,24 @@ information is (assuming the package name is +libfoo+) :
|
||||
package. Note that if +HOST_LIBFOO_VERSION+ doesn't exist, it is
|
||||
assumed to be the same as +LIBFOO_VERSION+. It can also be a
|
||||
revision number or a tag for packages that are fetched directly
|
||||
from their version control system. Do not use a branch name as
|
||||
version; it does not work. Examples:
|
||||
from their version control system. Examples:
|
||||
** a version for a release tarball: +LIBFOO_VERSION = 0.1.2+
|
||||
** a sha1 for a git tree: +LIBFOO_VERSION = cb9d6aa9429e838f0e54faa3d455bcbab5eef057+
|
||||
** a tag for a git tree +LIBFOO_VERSION = v0.1.2+
|
||||
+
|
||||
.Note:
|
||||
Using a branch name as +FOO_VERSION+ is not supported, because it does
|
||||
not and can not work as people would expect it should:
|
||||
+
|
||||
1. due to local caching, Buildroot will not re-fetch the repository,
|
||||
so people who expect to be able to follow the remote repository
|
||||
would be quite surprised and disappointed;
|
||||
2. because two builds can never be perfectly simultaneous, and because
|
||||
the remote repository may get new commits on the branch anytime,
|
||||
two users, using the same Buildroot tree and building the same
|
||||
configuration, may get different source, thus rendering the build
|
||||
non reproducible, and people would be quite surprised and
|
||||
disappointed.
|
||||
|
||||
* +LIBFOO_SOURCE+ may contain the name of the tarball of the package,
|
||||
which Buildroot will use to download the tarball from
|
||||
|
||||
+27
-27
@@ -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>2018.02.4</b></h3>
|
||||
<h3 style="text-align: center;">Latest long term support release: <b>2018.02.5</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-2018.02.4.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2018.02.5.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2018.02.4.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2018.02.5.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h3><a href="/downloads/buildroot-2018.02.4.tar.gz">buildroot-2018.02.4.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2018.02.4.tar.gz.sign">PGP signature</a></p>
|
||||
<h3><a href="/downloads/buildroot-2018.02.5.tar.gz">buildroot-2018.02.5.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2018.02.5.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-2018.02.4.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2018.02.5.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2018.02.4.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2018.02.5.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a href="/downloads/buildroot-2018.02.4.tar.bz2">buildroot-2018.02.4.tar.bz2</a></h3>
|
||||
<p><a href="/downloads/buildroot-2018.02.4.tar.bz2.sign">PGP signature</a></p>
|
||||
<h3><a href="/downloads/buildroot-2018.02.5.tar.bz2">buildroot-2018.02.5.tar.bz2</a></h3>
|
||||
<p><a href="/downloads/buildroot-2018.02.5.tar.bz2.sign">PGP signature</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3 style="text-align: center;">Latest stable release: <b>2018.05.1</b></h3>
|
||||
<h3 style="text-align: center;">Latest stable release: <b>2018.05.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-2018.05.1.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2018.05.2.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2018.05.1.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2018.05.2.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h3><a href="/downloads/buildroot-2018.05.1.tar.gz">buildroot-2018.05.1.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2018.05.1.tar.gz.sign">PGP signature</a></p>
|
||||
<h3><a href="/downloads/buildroot-2018.05.2.tar.gz">buildroot-2018.05.2.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2018.05.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-2018.05.1.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2018.05.2.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2018.05.1.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2018.05.2.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a href="/downloads/buildroot-2018.05.1.tar.bz2">buildroot-2018.05.1.tar.bz2</a></h3>
|
||||
<p><a href="/downloads/buildroot-2018.05.1.tar.bz2.sign">PGP signature</a></p>
|
||||
<h3><a href="/downloads/buildroot-2018.05.2.tar.bz2">buildroot-2018.05.2.tar.bz2</a></h3>
|
||||
<p><a href="/downloads/buildroot-2018.05.2.tar.bz2.sign">PGP signature</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3 style="text-align: center;">Latest release candidate: <b>2018.08-rc2</b></h3>
|
||||
<h3 style="text-align: center;">Latest release candidate: <b>2018.08-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-2018.08-rc2.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2018.08-rc3.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2018.08-rc2.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2018.08-rc3.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a href="/downloads/buildroot-2018.08-rc2.tar.gz">buildroot-2018.08-rc2.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2018.08-rc2.tar.gz.sign">PGP signature</a></p>
|
||||
<h3><a href="/downloads/buildroot-2018.08-rc3.tar.gz">buildroot-2018.08-rc3.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2018.08-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-2018.08-rc2.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2018.08-rc3.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2018.08-rc2.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2018.08-rc3.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a href="/downloads/buildroot-2018.08-rc2.tar.bz2">buildroot-2018.08-rc2.tar.bz2</a></h3>
|
||||
<p><a href="/downloads/buildroot-2018.08-rc2.tar.bz2.sign">PGP signature</a></p>
|
||||
<h3><a href="/downloads/buildroot-2018.08-rc3.tar.bz2">buildroot-2018.08-rc3.tar.bz2</a></h3>
|
||||
<p><a href="/downloads/buildroot-2018.08-rc3.tar.bz2.sign">PGP signature</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -9,6 +9,66 @@
|
||||
<h2>News</h2>
|
||||
<ul class="timeline">
|
||||
|
||||
<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">2018.08-rc3 released</h4>
|
||||
<p><small class="text-muted"><i class="glyphicon glyphicon-time"></i>31 August 2018</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=2018.08-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-2018.08-rc3.tar.bz2">2018.08-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">2018.02.5 released</h4>
|
||||
<p><small class="text-muted"><i class="glyphicon glyphicon-time"></i>29 August 2018</small></p>
|
||||
</div>
|
||||
<div class="timeline-body">
|
||||
<p>The 2018.02.5 bugfix release is out, fixing a number of important /
|
||||
security related issues discovered since the 2018.02.4 release. See the
|
||||
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2018.02.5">CHANGES</a>
|
||||
file for more details, read the
|
||||
<a href="http://lists.busybox.net/pipermail/buildroot/2018-August/229453.html">announcement</a>
|
||||
and go to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2018.02.5.tar.bz2">2018.02.5 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">
|
||||
<div class="timeline-heading">
|
||||
<h4 class="timeline-title">2018.05.2 released</h4>
|
||||
<p><small class="text-muted"><i class="glyphicon glyphicon-time"></i>28 August 2018</small></p>
|
||||
</div>
|
||||
<div class="timeline-body">
|
||||
<p>The 2018.05.2 bugfix release is out, fixing a number of important /
|
||||
security related issues discovered since the 2018.05.1 release. See the
|
||||
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2018.05.2">CHANGES</a>
|
||||
file for more details, read the
|
||||
<a href="http://lists.busybox.net/pipermail/buildroot/2018-August/229355.html">announcement</a>
|
||||
and go to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2018.05.2.tar.bz2">2018.05.2 release</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="timeline-badge"><i class="glyphicon glyphicon-thumbs-up"></i></div>
|
||||
<div class="timeline-panel">
|
||||
|
||||
+1
-1
@@ -120,7 +120,7 @@ endif
|
||||
|
||||
config BR2_LINUX_KERNEL_VERSION
|
||||
string
|
||||
default "4.17.17" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
default "4.17.19" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
default "v4.4.138-cip25" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION
|
||||
default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \
|
||||
if BR2_LINUX_KERNEL_CUSTOM_VERSION
|
||||
|
||||
+15
-4
@@ -65,10 +65,16 @@ LINUX_INSTALL_IMAGES = YES
|
||||
LINUX_DEPENDENCIES = host-kmod
|
||||
|
||||
# Starting with 4.16, the generated kconfig paser code is no longer
|
||||
# shipped with the kernel sources, so we need flex and bison.
|
||||
# Starting with 4.17, the generated dtc parser code is no longer
|
||||
# shipped with the kernel sources, so we need flex and bison.
|
||||
LINUX_DEPENDENCIES += host-bison host-flex
|
||||
# shipped with the kernel sources, so we need flex and bison, but
|
||||
# only if the host does not have them.
|
||||
LINUX_KCONFIG_DEPENDENCIES = \
|
||||
$(BR2_BISON_HOST_DEPENDENCY) \
|
||||
$(BR2_FLEX_HOST_DEPENDENCY)
|
||||
|
||||
# Starting with 4.18, the kconfig in the kernel calls the
|
||||
# cross-compiler to check its capabilities. So we need the
|
||||
# toolchain before we can call the configurators.
|
||||
LINUX_KCONFIG_DEPENDENCIES += toolchain
|
||||
|
||||
# host tools needed for kernel compression
|
||||
ifeq ($(BR2_LINUX_KERNEL_LZ4),y)
|
||||
@@ -346,6 +352,11 @@ define LINUX_KCONFIG_FIXUP_CMDS
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_LINUX_KERNEL_DTS_SUPPORT),y)
|
||||
# Starting with 4.17, the generated dtc parser code is no longer
|
||||
# shipped with the kernel sources, so we need flex and bison. For
|
||||
# reproducibility, we use our owns rather than the host ones.
|
||||
LINUX_DEPENDENCIES += host-bison host-flex
|
||||
|
||||
ifeq ($(BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT),)
|
||||
define LINUX_BUILD_DTB
|
||||
$(LINUX_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) $(LINUX_DTBS)
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
From 37078a46346f01141cc13026bb5ad426bb98f3a0 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Wed, 22 Aug 2018 20:01:07 +0200
|
||||
Subject: [PATCH] Fix build with mmx
|
||||
|
||||
Commit 39387fc80f90f3a9ac9ef9f3aa32da5776a0721e removed mmx support
|
||||
however aircrack-ng fails to build on platforms with mmx because an
|
||||
error is raised if __MMX__ is defined.
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.net/results/b7362b69435e9ef6fb2aedc50743e88dbd7a5c72
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Upstream status: merged (https://github.com/aircrack-ng/aircrack-ng/pull/1943)]
|
||||
---
|
||||
src/aircrack-crypto/arch.h | 3 ---
|
||||
src/aircrack-crypto/memory.h | 3 ---
|
||||
src/aircrack-crypto/pseudo_intrinsics.h | 9 ---------
|
||||
3 files changed, 15 deletions(-)
|
||||
|
||||
diff --git a/src/aircrack-crypto/arch.h b/src/aircrack-crypto/arch.h
|
||||
index 1a19ddd6..78b9e619 100644
|
||||
--- a/src/aircrack-crypto/arch.h
|
||||
+++ b/src/aircrack-crypto/arch.h
|
||||
@@ -357,9 +357,6 @@
|
||||
#elif __SSE2__
|
||||
#define SIMD_COEF_32 4
|
||||
#define SIMD_COEF_64 2
|
||||
-#elif __MMX__
|
||||
-#define SIMD_COEF_32 2
|
||||
-#define SIMD_COEF_64 1
|
||||
#endif
|
||||
|
||||
/*
|
||||
diff --git a/src/aircrack-crypto/memory.h b/src/aircrack-crypto/memory.h
|
||||
index 83b048f0..24b1c95b 100644
|
||||
--- a/src/aircrack-crypto/memory.h
|
||||
+++ b/src/aircrack-crypto/memory.h
|
||||
@@ -70,9 +70,6 @@
|
||||
#elif __SSE2__
|
||||
#define SIMD_COEF_32 4
|
||||
#define SIMD_COEF_64 2
|
||||
-#elif __MMX__
|
||||
-#define SIMD_COEF_32 2
|
||||
-#define SIMD_COEF_64 1
|
||||
#endif
|
||||
|
||||
/*
|
||||
diff --git a/src/aircrack-crypto/pseudo_intrinsics.h b/src/aircrack-crypto/pseudo_intrinsics.h
|
||||
index dd0ca379..f5527bdd 100644
|
||||
--- a/src/aircrack-crypto/pseudo_intrinsics.h
|
||||
+++ b/src/aircrack-crypto/pseudo_intrinsics.h
|
||||
@@ -658,15 +658,6 @@ _inline __m128i _mm_set1_epi64(long long a)
|
||||
(vtype)(vtype64) { x0, x1 }
|
||||
#endif
|
||||
|
||||
-/******************************** MMX *********************************/
|
||||
-
|
||||
-#elif __MMX__
|
||||
-#include <mmintrin.h>
|
||||
-
|
||||
-typedef __m64i vtype;
|
||||
-
|
||||
-#error MMX intrinsics not implemented (contributions are welcome!)
|
||||
-
|
||||
#endif /* __SIMD__ elif __SIMD__ elif __SIMD__ */
|
||||
|
||||
/************************* COMMON STUFF BELOW *************************/
|
||||
--
|
||||
2.14.1
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
From 7cf680386de051cb8308510680299aef810fe743 Mon Sep 17 00:00:00 2001
|
||||
From: Joseph Benden <joe@benden.us>
|
||||
Date: Fri, 17 Aug 2018 13:23:39 -0700
|
||||
Subject: [PATCH] autotools: Fix optional SIMD on PPC arch
|
||||
|
||||
Resolves:
|
||||
https://github.com/aircrack-ng/aircrack-ng/issues/1941
|
||||
|
||||
Upstream (applied to their master, not yet in a release): (squashed together)
|
||||
https://github.com/aircrack-ng/aircrack-ng/commit/97838c6b903d33c8403a4bdcae60b8619fad7538
|
||||
https://github.com/aircrack-ng/aircrack-ng/commit/efc0b2718f4afd9582419902d205b242e546b9ab
|
||||
|
||||
Signed-off-by: Joseph Benden <joe@benden.us>
|
||||
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com
|
||||
---
|
||||
build/m4/aircrack_ng_simd.m4 | 4 ++++
|
||||
src/aircrack-crypto/Makefile.am | 7 ++++++-
|
||||
2 files changed, 10 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/build/m4/aircrack_ng_simd.m4 b/build/m4/aircrack_ng_simd.m4
|
||||
index 29c3816..2bcc41f 100644
|
||||
--- a/build/m4/aircrack_ng_simd.m4
|
||||
+++ b/build/m4/aircrack_ng_simd.m4
|
||||
@@ -132,6 +132,7 @@ then
|
||||
AX_CHECK_COMPILE_FLAG([-maltivec], [
|
||||
AX_APPEND_FLAG(-maltivec, [ppc_altivec_[]_AC_LANG_ABBREV[]flags])
|
||||
AC_SUBST(ppc_altivec_[]_AC_LANG_ABBREV[]flags)
|
||||
+ ALTIVEC_FOUND=1
|
||||
])
|
||||
|
||||
AX_CHECK_COMPILE_FLAG([-mabi=altivec], [
|
||||
@@ -147,6 +148,7 @@ then
|
||||
AX_CHECK_COMPILE_FLAG([-mpower8-vector], [
|
||||
AX_APPEND_FLAG(-mpower8-vector, [ppc_altivec_[]_AC_LANG_ABBREV[]flags])
|
||||
AC_SUBST(ppc_altivec_[]_AC_LANG_ABBREV[]flags)
|
||||
+ POWER8_FOUND=1
|
||||
])
|
||||
fi
|
||||
|
||||
@@ -258,6 +260,8 @@ AM_CONDITIONAL([ARM], [test "$IS_ARM" = 1])
|
||||
AM_CONDITIONAL([PPC], [test "$IS_PPC" = 1])
|
||||
AM_CONDITIONAL([NEON], [test "$NEON_FOUND" = 1])
|
||||
AM_CONDITIONAL([AVX512F], [test "$AVX512F_FOUND" = 1])
|
||||
+AM_CONDITIONAL([ALTIVEC], [test "$ALTIVEC_FOUND" = 1])
|
||||
+AM_CONDITIONAL([POWER8], [test "$POWER8_FOUND" = 1])
|
||||
])
|
||||
|
||||
AC_DEFUN([AIRCRACK_NG_SIMD_C], [
|
||||
diff --git a/src/aircrack-crypto/Makefile.am b/src/aircrack-crypto/Makefile.am
|
||||
index 8cc685d..a1664a5 100644
|
||||
--- a/src/aircrack-crypto/Makefile.am
|
||||
+++ b/src/aircrack-crypto/Makefile.am
|
||||
@@ -131,7 +131,12 @@ lib_LTLIBRARIES += libaircrack-crypto-arm-neon.la
|
||||
endif
|
||||
endif
|
||||
if PPC
|
||||
-lib_LTLIBRARIES += libaircrack-crypto-ppc-altivec.la libaircrack-crypto-ppc-power8.la
|
||||
+if ALTIVEC
|
||||
+lib_LTLIBRARIES += libaircrack-crypto-ppc-altivec.la
|
||||
+endif
|
||||
+if POWER8
|
||||
+lib_LTLIBRARIES += libaircrack-crypto-ppc-power8.la
|
||||
+endif
|
||||
endif
|
||||
if X86
|
||||
if AVX512F
|
||||
--
|
||||
1.9.1
|
||||
|
||||
@@ -4,9 +4,6 @@ config BR2_PACKAGE_AIRCRACK_NG
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on !BR2_STATIC_LIBS # dlfcn.h
|
||||
# https://github.com/aircrack-ng/aircrack-ng/issues/1941
|
||||
depends on BR2_POWERPC_CPU_HAS_ALTIVEC || \
|
||||
!(BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le)
|
||||
select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_LIBGCRYPT
|
||||
help
|
||||
A set of tools for auditing wireless networks
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
From 4af4a4a71827c0bc5e0ec67af23edef4f15cee8e Mon Sep 17 00:00:00 2001
|
||||
From: Paul Eggert <eggert@cs.ucla.edu>
|
||||
Date: Mon, 5 Mar 2018 10:56:29 -0800
|
||||
Subject: [PATCH 1/1] fflush: adjust to glibc 2.28 libio.h removal
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Problem reported by Daniel P. Berrangé in:
|
||||
https://lists.gnu.org/r/bug-gnulib/2018-03/msg00000.html
|
||||
* lib/fbufmode.c (fbufmode):
|
||||
* lib/fflush.c (clear_ungetc_buffer_preserving_position)
|
||||
(disable_seek_optimization, rpl_fflush):
|
||||
* lib/fpending.c (__fpending):
|
||||
* lib/fpurge.c (fpurge):
|
||||
* lib/freadable.c (freadable):
|
||||
* lib/freadahead.c (freadahead):
|
||||
* lib/freading.c (freading):
|
||||
* lib/freadptr.c (freadptr):
|
||||
* lib/freadseek.c (freadptrinc):
|
||||
* lib/fseeko.c (fseeko):
|
||||
* lib/fseterr.c (fseterr):
|
||||
* lib/fwritable.c (fwritable):
|
||||
* lib/fwriting.c (fwriting):
|
||||
Check _IO_EOF_SEEN instead of _IO_ftrylockfile.
|
||||
* lib/stdio-impl.h (_IO_IN_BACKUP) [_IO_EOF_SEEN]:
|
||||
Define if not already defined.
|
||||
---
|
||||
lib/fseterr.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
[yann.morin.1998@free.fr: partially backport from upstream gnulib]
|
||||
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
|
||||
diff --git a/lib/fseterr.c b/lib/fseterr.c
|
||||
index 82649c3ac..adb637256 100644
|
||||
--- a/lib/fseterr.c
|
||||
+++ b/lib/fseterr.c
|
||||
@@ -29,7 +29,7 @@ fseterr (FILE *fp)
|
||||
/* Most systems provide FILE as a struct and the necessary bitmask in
|
||||
<stdio.h>, because they need it for implementing getc() and putc() as
|
||||
fast macros. */
|
||||
-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
|
||||
+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
|
||||
fp->_flags |= _IO_ERR_SEEN;
|
||||
#elif defined __sferror || defined __DragonFly__ || defined __ANDROID__
|
||||
/* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */
|
||||
--
|
||||
2.14.1
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
From 74d9d6a293d7462dea8f83e7fc5ac792e956a0ad Mon Sep 17 00:00:00 2001
|
||||
From: Paul Eggert <eggert@cs.ucla.edu>
|
||||
Date: Thu, 8 Mar 2018 16:42:45 -0800
|
||||
Subject: [PATCH 2/2] fflush: be more paranoid about libio.h change
|
||||
|
||||
Suggested by Eli Zaretskii in:
|
||||
https://lists.gnu.org/r/emacs-devel/2018-03/msg00270.html
|
||||
* lib/fbufmode.c (fbufmode):
|
||||
* lib/fflush.c (clear_ungetc_buffer_preserving_position)
|
||||
(disable_seek_optimization, rpl_fflush):
|
||||
* lib/fpending.c (__fpending):
|
||||
* lib/fpurge.c (fpurge):
|
||||
* lib/freadable.c (freadable):
|
||||
* lib/freadahead.c (freadahead):
|
||||
* lib/freading.c (freading):
|
||||
* lib/freadptr.c (freadptr):
|
||||
* lib/freadseek.c (freadptrinc):
|
||||
* lib/fseeko.c (fseeko):
|
||||
* lib/fseterr.c (fseterr):
|
||||
* lib/fwritable.c (fwritable):
|
||||
* lib/fwriting.c (fwriting):
|
||||
Look at _IO_ftrylockfile as well as at _IO_EOF_SEEN.
|
||||
---
|
||||
lib/fseterr.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
[yann.morin.1998@free.fr: partially backport from upstream gnulib]
|
||||
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
|
||||
diff --git a/lib/fseterr.c b/lib/fseterr.c
|
||||
index adb637256..fd9da6338 100644
|
||||
--- a/lib/fseterr.c
|
||||
+++ b/lib/fseterr.c
|
||||
@@ -29,7 +29,8 @@ fseterr (FILE *fp)
|
||||
/* Most systems provide FILE as a struct and the necessary bitmask in
|
||||
<stdio.h>, because they need it for implementing getc() and putc() as
|
||||
fast macros. */
|
||||
-#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
|
||||
+#if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1
|
||||
+ /* GNU libc, BeOS, Haiku, Linux libc5 */
|
||||
fp->_flags |= _IO_ERR_SEEN;
|
||||
#elif defined __sferror || defined __DragonFly__ || defined __ANDROID__
|
||||
/* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */
|
||||
--
|
||||
2.14.1
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
From 088666535a045dae71bd2fcc6b3a1553023106ce Mon Sep 17 00:00:00 2001
|
||||
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
Date: Wed, 22 Aug 2018 10:10:19 +0200
|
||||
Subject: [PATCH] buildsys: fix cross-compilation
|
||||
|
||||
Some identifiers for includes and libs paths may contain digit, e.g.
|
||||
X11_PACKAGE or ATSPI2_PACKAGE or GLIB2_PACKAGE...
|
||||
|
||||
Also detect those identifiers when doing cros-compilation, so that the
|
||||
_FOR_BUILD variants are really created and do not clash with the target
|
||||
variants.
|
||||
|
||||
Fixes:
|
||||
http://autobuild.buildroot.org/results/a37/a37782b3cfc1a96cc129db8fade20a36a7b2d470/build-end.log
|
||||
http://autobuild.buildroot.org/results/97e/97edc6a47d2140968e84b409cdc960604e5896f2/build-end.log
|
||||
[...]
|
||||
|
||||
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
---
|
||||
Upstram status: submitted
|
||||
https://github.com/brltty/brltty/pull/142
|
||||
---
|
||||
mk4build | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/mk4build b/mk4build
|
||||
index db90c86a9..551283825 100755
|
||||
--- a/mk4build
|
||||
+++ b/mk4build
|
||||
@@ -112,7 +112,7 @@ fi
|
||||
|
||||
sedScript="${outputName}.${sedExtension}"
|
||||
sed -n -e '
|
||||
-s/^ *\([A-Za-z][A-Za-z_]*\) *=.*$/\1/
|
||||
+s/^ *\([A-Za-z][A-Za-z0-9_]*\) *=.*$/\1/
|
||||
t found
|
||||
d
|
||||
:found
|
||||
--
|
||||
2.14.1
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
From c9f1a877f1b9e2602913600d769edb17ee41d15d Mon Sep 17 00:00:00 2001
|
||||
From: Baruch Siach <baruch@tkos.co.il>
|
||||
Date: Tue, 17 Jul 2018 13:18:09 +0300
|
||||
Subject: [PATCH] install.sh: don't clobber dangling symlinks
|
||||
|
||||
Symlinks in a subdirectory that is to become target rootfs are sometimes
|
||||
dangling because they link to canonical file names that are not present
|
||||
on the host, but are present relative to the target rootfs root. Don't
|
||||
copy over dangling symlinks when noclobber is enabled
|
||||
|
||||
The -e test treats dangling symlinks as non-existent files. Add -h test
|
||||
that returns true for all symlinks.
|
||||
|
||||
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
|
||||
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
||||
---
|
||||
Upstream status:
|
||||
http://lists.busybox.net/pipermail/busybox/2018-July/086555.html
|
||||
|
||||
applets/install.sh | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/applets/install.sh b/applets/install.sh
|
||||
index 9aede0f530e2..415896893e86 100755
|
||||
--- a/applets/install.sh
|
||||
+++ b/applets/install.sh
|
||||
@@ -83,7 +83,7 @@ install -m 755 busybox "$prefix/bin/busybox" || exit 1
|
||||
for i in $h; do
|
||||
appdir=`dirname "$i"`
|
||||
app=`basename "$i"`
|
||||
- if [ x"$noclobber" = x"1" ] && [ -e "$prefix/$i" ]; then
|
||||
+ if [ x"$noclobber" = x"1" ] && ([ -e "$prefix/$i" ] || [ -h "$prefix/$i" ]); then
|
||||
echo " $prefix/$i already exists"
|
||||
continue
|
||||
fi
|
||||
--
|
||||
2.18.0
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
config BR2_PACKAGE_CUTELYST
|
||||
bool "cutelyst"
|
||||
depends on BR2_PACKAGE_QT5
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_QT5BASE_GUI
|
||||
help
|
||||
@@ -8,3 +10,7 @@ config BR2_PACKAGE_CUTELYST
|
||||
the simple approach of Catalyst (Perl) framework.
|
||||
|
||||
https://cutelyst.org
|
||||
|
||||
comment "cutelyst needs a toolchain w/ C++, gcc >= 4.8"
|
||||
depends on BR2_PACKAGE_QT5
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
||||
|
||||
@@ -16,6 +16,11 @@ CUTELYST_CONF_OPTS += \
|
||||
-DPLUGIN_CSRFPROTECTION=ON \
|
||||
-DPLUGIN_VIEW_GRANTLEE=OFF
|
||||
|
||||
# Qt 5.8 needs atomics, which on various architectures are in -latomic
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC)$(BR2_PACKAGE_QT5_VERSION_LATEST),yy)
|
||||
CUTELYST_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -latomic"
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBPWQUALITY),y)
|
||||
CUTELYST_CONF_OPTS += -DPLUGIN_VALIDATOR_PWQUALITY=ON
|
||||
CUTELYST_DEPENDENCIES += libpwquality
|
||||
|
||||
@@ -0,0 +1,236 @@
|
||||
From 52adbb34c32d3e2e1bcdb941e20a6f81138b8248 Mon Sep 17 00:00:00 2001
|
||||
From: Matt Johnston <matt@ucc.asn.au>
|
||||
Date: Thu, 23 Aug 2018 23:43:12 +0800
|
||||
Subject: [PATCH] Wait to fail invalid usernames
|
||||
|
||||
[hg: https://secure.ucc.asn.au/hg/dropbear/rev/5d2d1021ca00]
|
||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
||||
---
|
||||
auth.h | 6 +++---
|
||||
svr-auth.c | 19 +++++--------------
|
||||
svr-authpam.c | 26 ++++++++++++++++++++++----
|
||||
svr-authpasswd.c | 27 ++++++++++++++-------------
|
||||
svr-authpubkey.c | 11 ++++++++++-
|
||||
5 files changed, 54 insertions(+), 35 deletions(-)
|
||||
|
||||
diff --git a/auth.h b/auth.h
|
||||
index da498f5..98f5468 100644
|
||||
--- a/auth.h
|
||||
+++ b/auth.h
|
||||
@@ -37,9 +37,9 @@ void recv_msg_userauth_request(void);
|
||||
void send_msg_userauth_failure(int partial, int incrfail);
|
||||
void send_msg_userauth_success(void);
|
||||
void send_msg_userauth_banner(const buffer *msg);
|
||||
-void svr_auth_password(void);
|
||||
-void svr_auth_pubkey(void);
|
||||
-void svr_auth_pam(void);
|
||||
+void svr_auth_password(int valid_user);
|
||||
+void svr_auth_pubkey(int valid_user);
|
||||
+void svr_auth_pam(int valid_user);
|
||||
|
||||
#if DROPBEAR_SVR_PUBKEY_OPTIONS_BUILT
|
||||
int svr_pubkey_allows_agentfwd(void);
|
||||
diff --git a/svr-auth.c b/svr-auth.c
|
||||
index c19c090..edde86b 100644
|
||||
--- a/svr-auth.c
|
||||
+++ b/svr-auth.c
|
||||
@@ -149,10 +149,8 @@ void recv_msg_userauth_request() {
|
||||
if (methodlen == AUTH_METHOD_PASSWORD_LEN &&
|
||||
strncmp(methodname, AUTH_METHOD_PASSWORD,
|
||||
AUTH_METHOD_PASSWORD_LEN) == 0) {
|
||||
- if (valid_user) {
|
||||
- svr_auth_password();
|
||||
- goto out;
|
||||
- }
|
||||
+ svr_auth_password(valid_user);
|
||||
+ goto out;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -164,10 +162,8 @@ void recv_msg_userauth_request() {
|
||||
if (methodlen == AUTH_METHOD_PASSWORD_LEN &&
|
||||
strncmp(methodname, AUTH_METHOD_PASSWORD,
|
||||
AUTH_METHOD_PASSWORD_LEN) == 0) {
|
||||
- if (valid_user) {
|
||||
- svr_auth_pam();
|
||||
- goto out;
|
||||
- }
|
||||
+ svr_auth_pam(valid_user);
|
||||
+ goto out;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -177,12 +173,7 @@ void recv_msg_userauth_request() {
|
||||
if (methodlen == AUTH_METHOD_PUBKEY_LEN &&
|
||||
strncmp(methodname, AUTH_METHOD_PUBKEY,
|
||||
AUTH_METHOD_PUBKEY_LEN) == 0) {
|
||||
- if (valid_user) {
|
||||
- svr_auth_pubkey();
|
||||
- } else {
|
||||
- /* pubkey has no failure delay */
|
||||
- send_msg_userauth_failure(0, 0);
|
||||
- }
|
||||
+ svr_auth_pubkey(valid_user);
|
||||
goto out;
|
||||
}
|
||||
#endif
|
||||
diff --git a/svr-authpam.c b/svr-authpam.c
|
||||
index 05e4f3e..d201bc9 100644
|
||||
--- a/svr-authpam.c
|
||||
+++ b/svr-authpam.c
|
||||
@@ -178,13 +178,14 @@ pamConvFunc(int num_msg,
|
||||
* Keyboard interactive would be a lot nicer, but since PAM is synchronous, it
|
||||
* gets very messy trying to send the interactive challenges, and read the
|
||||
* interactive responses, over the network. */
|
||||
-void svr_auth_pam() {
|
||||
+void svr_auth_pam(int valid_user) {
|
||||
|
||||
struct UserDataS userData = {NULL, NULL};
|
||||
struct pam_conv pamConv = {
|
||||
pamConvFunc,
|
||||
&userData /* submitted to pamvConvFunc as appdata_ptr */
|
||||
};
|
||||
+ const char* printable_user = NULL;
|
||||
|
||||
pam_handle_t* pamHandlep = NULL;
|
||||
|
||||
@@ -204,12 +205,23 @@ void svr_auth_pam() {
|
||||
|
||||
password = buf_getstring(ses.payload, &passwordlen);
|
||||
|
||||
+ /* We run the PAM conversation regardless of whether the username is valid
|
||||
+ in case the conversation function has an inherent delay.
|
||||
+ Use ses.authstate.username rather than ses.authstate.pw_name.
|
||||
+ After PAM succeeds we then check the valid_user flag too */
|
||||
+
|
||||
/* used to pass data to the PAM conversation function - don't bother with
|
||||
* strdup() etc since these are touched only by our own conversation
|
||||
* function (above) which takes care of it */
|
||||
- userData.user = ses.authstate.pw_name;
|
||||
+ userData.user = ses.authstate.username;
|
||||
userData.passwd = password;
|
||||
|
||||
+ if (ses.authstate.pw_name) {
|
||||
+ printable_user = ses.authstate.pw_name;
|
||||
+ } else {
|
||||
+ printable_user = "<invalid username>";
|
||||
+ }
|
||||
+
|
||||
/* Init pam */
|
||||
if ((rc = pam_start("sshd", NULL, &pamConv, &pamHandlep)) != PAM_SUCCESS) {
|
||||
dropbear_log(LOG_WARNING, "pam_start() failed, rc=%d, %s",
|
||||
@@ -242,7 +254,7 @@ void svr_auth_pam() {
|
||||
rc, pam_strerror(pamHandlep, rc));
|
||||
dropbear_log(LOG_WARNING,
|
||||
"Bad PAM password attempt for '%s' from %s",
|
||||
- ses.authstate.pw_name,
|
||||
+ printable_user,
|
||||
svr_ses.addrstring);
|
||||
send_msg_userauth_failure(0, 1);
|
||||
goto cleanup;
|
||||
@@ -253,12 +265,18 @@ void svr_auth_pam() {
|
||||
rc, pam_strerror(pamHandlep, rc));
|
||||
dropbear_log(LOG_WARNING,
|
||||
"Bad PAM password attempt for '%s' from %s",
|
||||
- ses.authstate.pw_name,
|
||||
+ printable_user,
|
||||
svr_ses.addrstring);
|
||||
send_msg_userauth_failure(0, 1);
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
+ if (!valid_user) {
|
||||
+ /* PAM auth succeeded but the username isn't allowed in for another reason
|
||||
+ (checkusername() failed) */
|
||||
+ send_msg_userauth_failure(0, 1);
|
||||
+ }
|
||||
+
|
||||
/* successful authentication */
|
||||
dropbear_log(LOG_NOTICE, "PAM password auth succeeded for '%s' from %s",
|
||||
ses.authstate.pw_name,
|
||||
diff --git a/svr-authpasswd.c b/svr-authpasswd.c
|
||||
index bdee2aa..69c7d8a 100644
|
||||
--- a/svr-authpasswd.c
|
||||
+++ b/svr-authpasswd.c
|
||||
@@ -48,22 +48,14 @@ static int constant_time_strcmp(const char* a, const char* b) {
|
||||
|
||||
/* Process a password auth request, sending success or failure messages as
|
||||
* appropriate */
|
||||
-void svr_auth_password() {
|
||||
+void svr_auth_password(int valid_user) {
|
||||
|
||||
char * passwdcrypt = NULL; /* the crypt from /etc/passwd or /etc/shadow */
|
||||
char * testcrypt = NULL; /* crypt generated from the user's password sent */
|
||||
- char * password;
|
||||
+ char * password = NULL;
|
||||
unsigned int passwordlen;
|
||||
-
|
||||
unsigned int changepw;
|
||||
|
||||
- passwdcrypt = ses.authstate.pw_passwd;
|
||||
-
|
||||
-#ifdef DEBUG_HACKCRYPT
|
||||
- /* debugging crypt for non-root testing with shadows */
|
||||
- passwdcrypt = DEBUG_HACKCRYPT;
|
||||
-#endif
|
||||
-
|
||||
/* check if client wants to change password */
|
||||
changepw = buf_getbool(ses.payload);
|
||||
if (changepw) {
|
||||
@@ -73,12 +65,21 @@ void svr_auth_password() {
|
||||
}
|
||||
|
||||
password = buf_getstring(ses.payload, &passwordlen);
|
||||
-
|
||||
- /* the first bytes of passwdcrypt are the salt */
|
||||
- testcrypt = crypt(password, passwdcrypt);
|
||||
+ if (valid_user) {
|
||||
+ /* the first bytes of passwdcrypt are the salt */
|
||||
+ passwdcrypt = ses.authstate.pw_passwd;
|
||||
+ testcrypt = crypt(password, passwdcrypt);
|
||||
+ }
|
||||
m_burn(password, passwordlen);
|
||||
m_free(password);
|
||||
|
||||
+ /* After we have got the payload contents we can exit if the username
|
||||
+ is invalid. Invalid users have already been logged. */
|
||||
+ if (!valid_user) {
|
||||
+ send_msg_userauth_failure(0, 1);
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
if (testcrypt == NULL) {
|
||||
/* crypt() with an invalid salt like "!!" */
|
||||
dropbear_log(LOG_WARNING, "User account '%s' is locked",
|
||||
diff --git a/svr-authpubkey.c b/svr-authpubkey.c
|
||||
index aa6087c..ff481c8 100644
|
||||
--- a/svr-authpubkey.c
|
||||
+++ b/svr-authpubkey.c
|
||||
@@ -79,7 +79,7 @@ static int checkfileperm(char * filename);
|
||||
|
||||
/* process a pubkey auth request, sending success or failure message as
|
||||
* appropriate */
|
||||
-void svr_auth_pubkey() {
|
||||
+void svr_auth_pubkey(int valid_user) {
|
||||
|
||||
unsigned char testkey; /* whether we're just checking if a key is usable */
|
||||
char* algo = NULL; /* pubkey algo */
|
||||
@@ -102,6 +102,15 @@ void svr_auth_pubkey() {
|
||||
keybloblen = buf_getint(ses.payload);
|
||||
keyblob = buf_getptr(ses.payload, keybloblen);
|
||||
|
||||
+ if (!valid_user) {
|
||||
+ /* Return failure once we have read the contents of the packet
|
||||
+ required to validate a public key.
|
||||
+ Avoids blind user enumeration though it isn't possible to prevent
|
||||
+ testing for user existence if the public key is known */
|
||||
+ send_msg_userauth_failure(0, 0);
|
||||
+ goto out;
|
||||
+ }
|
||||
+
|
||||
/* check if the key is valid */
|
||||
if (checkpubkey(algo, algolen, keyblob, keybloblen) == DROPBEAR_FAILURE) {
|
||||
send_msg_userauth_failure(0, 0);
|
||||
--
|
||||
2.11.0
|
||||
|
||||
@@ -12,7 +12,7 @@ GR_OSMOSDR_LICENSE_FILES = COPYING
|
||||
# gr-osmosdr prevents doing an in-source-tree build
|
||||
GR_OSMOSDR_SUPPORTS_IN_SOURCE_BUILD = NO
|
||||
|
||||
GR_OSMOSDR_DEPENDENCIES = gnuradio
|
||||
GR_OSMOSDR_DEPENDENCIES = gnuradio host-python-cheetah
|
||||
|
||||
GR_OSMOSDR_CONF_OPTS = -DENABLE_DEFAULT=OFF
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Locally computed
|
||||
sha256 d900ca1c11c51ea20caa50b096f948008b8a7ad832311b23353e21baa7af28d6 i2c-tools-4.0.tar.xz
|
||||
|
||||
# License file
|
||||
# License files
|
||||
sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING
|
||||
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL
|
||||
sha256 158abc6886c2c6e2dec7e9cb11b46fd41cb13a015c5057c2a587ef581f9142f8 README
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
I2C_TOOLS_VERSION = 4.0
|
||||
I2C_TOOLS_SOURCE = i2c-tools-$(I2C_TOOLS_VERSION).tar.xz
|
||||
I2C_TOOLS_SITE = https://www.kernel.org/pub/software/utils/i2c-tools
|
||||
I2C_TOOLS_LICENSE = GPL-2.0+, GPL-2.0 (py-smbus)
|
||||
I2C_TOOLS_LICENSE_FILES = COPYING
|
||||
I2C_TOOLS_LICENSE = GPL-2.0+, GPL-2.0 (py-smbus), LGPL-2.1+ (libi2c)
|
||||
I2C_TOOLS_LICENSE_FILES = COPYING COPYING.LGPL README
|
||||
I2C_TOOLS_MAKE_OPTS = EXTRA=eeprog
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
||||
|
||||
@@ -10,5 +10,13 @@ JSON_C_INSTALL_STAGING = YES
|
||||
JSON_C_LICENSE = MIT
|
||||
JSON_C_LICENSE_FILES = COPYING
|
||||
|
||||
# update config.h.in timestamp to avoid autoheader run
|
||||
define JSON_C_UPDATE_CONFIG_TIMESTAMP
|
||||
touch $(@D)/config.h.in
|
||||
endef
|
||||
|
||||
JSON_C_POST_EXTRACT_HOOKS += JSON_C_UPDATE_CONFIG_TIMESTAMP
|
||||
HOST_JSON_C_POST_EXTRACT_HOOKS += JSON_C_UPDATE_CONFIG_TIMESTAMP
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# From https://github.com/martinh/libconfuse/releases/download/v3.2.1/confuse-3.2.1.tar.xz.md5
|
||||
md5 ebd66bb669cf43e62a23ed00d475ba67 confuse-3.2.1.tar.xz
|
||||
# From https://github.com/martinh/libconfuse/releases/download/v3.2.2/confuse-3.2.2.tar.xz.md5
|
||||
md5 978996e421e5005e6a9f6f84948fac44 confuse-3.2.2.tar.xz
|
||||
# Locally computed
|
||||
sha256 23c63272baf2ef4e2cbbafad2cf57de7eb81f006ec347c00b954819824add25e confuse-3.2.1.tar.xz
|
||||
sha256 a9240b653d02e8cfc52db48e8c4224426e528e1faa09b65e8ca08a197fad210b confuse-3.2.2.tar.xz
|
||||
sha256 dc3ff4b62f851dd2e94a151061ffeb7d28ddfc880a442068dc5283dbaa927306 LICENSE
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBCONFUSE_VERSION = 3.2.1
|
||||
LIBCONFUSE_VERSION = 3.2.2
|
||||
LIBCONFUSE_SOURCE = confuse-$(LIBCONFUSE_VERSION).tar.xz
|
||||
LIBCONFUSE_SITE = https://github.com/martinh/libconfuse/releases/download/v$(LIBCONFUSE_VERSION)
|
||||
LIBCONFUSE_INSTALL_STAGING = YES
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
From 581717cfb0e35c041246da0c0c591a6e9f7a40e5 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Wed, 2 May 2018 21:03:45 +0200
|
||||
Subject: [PATCH] Fix getrandom call in kcapi-rng.c
|
||||
|
||||
_GNU_SOURCE must be defined and unistd.h must be included to be able to
|
||||
use getrandom
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
|
||||
[Upstream status: https://github.com/smuellerDD/libkcapi/pull/56]
|
||||
---
|
||||
lib/kcapi-rng.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/lib/kcapi-rng.c b/lib/kcapi-rng.c
|
||||
index 45f4d18..9ceabd4 100644
|
||||
--- a/lib/kcapi-rng.c
|
||||
+++ b/lib/kcapi-rng.c
|
||||
@@ -18,6 +18,8 @@
|
||||
* DAMAGE.
|
||||
*/
|
||||
|
||||
+#define _GNU_SOURCE
|
||||
+#include <unistd.h>
|
||||
#include <linux/random.h>
|
||||
#ifdef HAVE_GETRANDOM
|
||||
#include <sys/random.h>
|
||||
--
|
||||
2.14.1
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Locally calculated
|
||||
sha256 ac80211317750f6a545b1e5547cfb6ae450b37c11acb6d24982a581705eb5250 libkcapi-1.1.0.tar.xz
|
||||
sha256 19c044310eda0bf5403fae8df2eeffcfef33b67cb5b01def5f440d41ff16b55f libkcapi-1.1.3.tar.xz
|
||||
sha256 b0336f8f07a6abf8b0a59d961f53601d7c4a7c09a8137805b730a34a976039f8 COPYING
|
||||
sha256 e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4 COPYING.gplv2
|
||||
sha256 13aa749a5b0a454917a944ed8fffc530b784f5ead522b1aacaf4ec8aa55a6239 COPYING.bsd
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBKCAPI_VERSION = 1.1.0
|
||||
LIBKCAPI_VERSION = 1.1.3
|
||||
LIBKCAPI_SOURCE = libkcapi-$(LIBKCAPI_VERSION).tar.xz
|
||||
LIBKCAPI_SITE = http://www.chronox.de/libkcapi
|
||||
LIBKCAPI_AUTORECONF = YES
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
From 3f5635028bbad44287511fcd3c99f2a2fddf01cd Mon Sep 17 00:00:00 2001
|
||||
From: Michael Catanzaro <mcatanzaro@igalia.com>
|
||||
Date: Sun, 24 Jun 2018 19:46:19 -0500
|
||||
Subject: [PATCH] cookie-jar: bail if hostname is an empty string
|
||||
|
||||
There are several other ways to fix the problem with this function, but
|
||||
skipping over all of the code is probably the simplest.
|
||||
|
||||
Fixes #3
|
||||
|
||||
|
||||
(cherry picked from commit db2b0d5809d5f8226d47312b40992cadbcde439f)
|
||||
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
||||
---
|
||||
Upstream status: commit db2b0d5809d
|
||||
|
||||
libsoup/soup-cookie-jar.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/libsoup/soup-cookie-jar.c b/libsoup/soup-cookie-jar.c
|
||||
index d12bc85a8e60..365da6abf9f4 100644
|
||||
--- a/libsoup/soup-cookie-jar.c
|
||||
+++ b/libsoup/soup-cookie-jar.c
|
||||
@@ -306,7 +306,7 @@ get_cookies (SoupCookieJar *jar, SoupURI *uri, gboolean for_http, gboolean copy_
|
||||
|
||||
priv = SOUP_COOKIE_JAR_GET_PRIVATE (jar);
|
||||
|
||||
- if (!uri->host)
|
||||
+ if (!uri->host || !uri->host[0])
|
||||
return NULL;
|
||||
|
||||
/* The logic here is a little weird, but the plan is that if
|
||||
--
|
||||
2.18.0
|
||||
|
||||
@@ -4,9 +4,10 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBSSH_VERSION = 0.7.5
|
||||
LIBSSH_VERSION_MAJOR = 0.7
|
||||
LIBSSH_VERSION = $(LIBSSH_VERSION_MAJOR).5
|
||||
LIBSSH_SOURCE = libssh-$(LIBSSH_VERSION).tar.xz
|
||||
LIBSSH_SITE = https://red.libssh.org/attachments/download/218
|
||||
LIBSSH_SITE = https://www.libssh.org/files/$(LIBSSH_VERSION_MAJOR)
|
||||
LIBSSH_LICENSE = LGPL-2.1
|
||||
LIBSSH_LICENSE_FILES = COPYING
|
||||
LIBSSH_INSTALL_STAGING = YES
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 58eacd5c03d9e341c04eb0b30831faec89f3b415949ff8d72254e63432352cdd uriparser-0.8.5.tar.bz2
|
||||
sha256 0709a7e572417db763f0356250d91686c19a64ab48e9da9f5a1e8055dc2a4a54 uriparser-0.8.6.tar.bz2
|
||||
sha256 ee90029e62d11f48faa59360d15c3ad8e7c094c74cc25b055716d92340da561f COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBURIPARSER_VERSION = 0.8.5
|
||||
LIBURIPARSER_VERSION = 0.8.6
|
||||
LIBURIPARSER_SOURCE = uriparser-$(LIBURIPARSER_VERSION).tar.bz2
|
||||
LIBURIPARSER_SITE = https://github.com/uriparser/uriparser/releases/download/uriparser-$(LIBURIPARSER_VERSION)
|
||||
LIBURIPARSER_LICENSE = BSD-3-Clause
|
||||
|
||||
@@ -77,6 +77,14 @@ config BR2_KERNEL_HEADERS_4_17
|
||||
|
||||
config BR2_KERNEL_HEADERS_VERSION
|
||||
bool "Manually specified Linux version"
|
||||
help
|
||||
This option allows you to use a specific official version from
|
||||
kernel.org, like 2.6.x, 2.6.x.y, 3.x.y, ...
|
||||
|
||||
Note: you cannot use this option to select a _longterm_ 2.6
|
||||
kernel, because these kernels are not located at the standard
|
||||
URL at kernel.org. Instead, select "Custom tarball" and
|
||||
specify the right URL directly.
|
||||
|
||||
endchoice
|
||||
|
||||
@@ -258,14 +266,14 @@ config BR2_DEFAULT_KERNEL_HEADERS
|
||||
string
|
||||
default "3.2.102" if BR2_KERNEL_HEADERS_3_2
|
||||
default "4.1.52" if BR2_KERNEL_HEADERS_4_1
|
||||
default "4.4.150" if BR2_KERNEL_HEADERS_4_4
|
||||
default "4.9.122" if BR2_KERNEL_HEADERS_4_9
|
||||
default "4.4.153" if BR2_KERNEL_HEADERS_4_4
|
||||
default "4.9.124" if BR2_KERNEL_HEADERS_4_9
|
||||
default "4.10.17" if BR2_KERNEL_HEADERS_4_10
|
||||
default "4.11.12" if BR2_KERNEL_HEADERS_4_11
|
||||
default "4.12.14" if BR2_KERNEL_HEADERS_4_12
|
||||
default "4.13.16" if BR2_KERNEL_HEADERS_4_13
|
||||
default "4.14.65" if BR2_KERNEL_HEADERS_4_14
|
||||
default "4.14.67" if BR2_KERNEL_HEADERS_4_14
|
||||
default "4.15.18" if BR2_KERNEL_HEADERS_4_15
|
||||
default "4.16.18" if BR2_KERNEL_HEADERS_4_16
|
||||
default "4.17.17" if BR2_KERNEL_HEADERS_4_17
|
||||
default "4.17.19" if BR2_KERNEL_HEADERS_4_17
|
||||
default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
|
||||
|
||||
@@ -0,0 +1,74 @@
|
||||
From a0ae2ba37ca479c6edddec8634b25686be965e0d Mon Sep 17 00:00:00 2001
|
||||
From: Peter Korsgaard <peter@korsgaard.com>
|
||||
Date: Mon, 27 Aug 2018 22:50:57 +0200
|
||||
Subject: [PATCH] bn_mul.h: fix x86 PIC inline ASM compilation with GCC < 5
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Fixes #1910
|
||||
|
||||
With ebx added to the MULADDC_STOP clobber list to fix #1550, the inline
|
||||
assembly fails to build with GCC < 5 in PIC mode with the following error:
|
||||
|
||||
include/mbedtls/bn_mul.h:46:13: error: PIC register clobbered by ‘ebx’ in ‘asm’
|
||||
|
||||
This is because older GCC versions treated the x86 ebx register (which is
|
||||
used for the GOT) as a fixed reserved register when building as PIC.
|
||||
|
||||
This is fixed by an improved register allocator in GCC 5+. From the release
|
||||
notes:
|
||||
|
||||
Register allocation improvements: Reuse of the PIC hard register, instead of
|
||||
using a fixed register, was implemented on x86/x86-64 targets. This
|
||||
improves generated PIC code performance as more hard registers can be used.
|
||||
|
||||
https://www.gnu.org/software/gcc/gcc-5/changes.html
|
||||
|
||||
As a workaround, detect this situation and disable the inline assembly,
|
||||
similar to the MULADDC_CANNOT_USE_R7 logic.
|
||||
|
||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
||||
Upstream: https://github.com/ARMmbed/mbedtls/pull/1986
|
||||
---
|
||||
include/mbedtls/bn_mul.h | 18 +++++++++++++++++-
|
||||
1 file changed, 17 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/include/mbedtls/bn_mul.h b/include/mbedtls/bn_mul.h
|
||||
index b587317d9..74a2d29be 100644
|
||||
--- a/include/mbedtls/bn_mul.h
|
||||
+++ b/include/mbedtls/bn_mul.h
|
||||
@@ -50,13 +50,29 @@
|
||||
#if defined(__GNUC__) && \
|
||||
( !defined(__ARMCC_VERSION) || __ARMCC_VERSION >= 6000000 )
|
||||
|
||||
+/*
|
||||
+ * GCC < 5.0 treated the x86 ebx (which is used for the GOT) as a
|
||||
+ * fixed reserved register when building as PIC, leading to errors
|
||||
+ * like: bn_mul.h:46:13: error: PIC register clobbered by ‘ebx’ in ‘asm’
|
||||
+ *
|
||||
+ * This is fixed by an improved register allocator in GCC 5+. From the
|
||||
+ * release notes:
|
||||
+ * Register allocation improvements: Reuse of the PIC hard register,
|
||||
+ * instead of using a fixed register, was implemented on x86/x86-64
|
||||
+ * targets. This improves generated PIC code performance as more hard
|
||||
+ * registers can be used.
|
||||
+ */
|
||||
+#if defined(__GNUC__) && __GNUC__ < 5 && defined(__PIC__)
|
||||
+#define MULADDC_CANNOT_USE_EBX
|
||||
+#endif
|
||||
+
|
||||
/*
|
||||
* Disable use of the i386 assembly code below if option -O0, to disable all
|
||||
* compiler optimisations, is passed, detected with __OPTIMIZE__
|
||||
* This is done as the number of registers used in the assembly code doesn't
|
||||
* work with the -O0 option.
|
||||
*/
|
||||
-#if defined(__i386__) && defined(__OPTIMIZE__)
|
||||
+#if defined(__i386__) && defined(__OPTIMIZE__) && !defined(MULADDC_CANNOT_USE_EBX)
|
||||
|
||||
#define MULADDC_INIT \
|
||||
asm( \
|
||||
--
|
||||
2.11.0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# From https://tls.mbed.org/tech-updates/releases/mbedtls-2.11.0-2.7.4-and-2.1.13-released
|
||||
sha1 20394e353050992c5f9699da7c9a336bd2ed2dea mbedtls-2.7.4-apache.tgz
|
||||
sha256 34e164d49500e377970c5f6761a146078baae0e086ec88cdcfeb9c96878a38f5 mbedtls-2.7.4-apache.tgz
|
||||
# From https://tls.mbed.org/tech-updates/releases/mbedtls-2.12.0-2.7.5-and-2.1.14-released
|
||||
sha1 180ca49e2bb6df3826113781b793529a81427ce3 mbedtls-2.7.5-apache.tgz
|
||||
sha256 a1302ad9094aabb9880d2755927b466a6bac8e02b68e04dee77321f3859e9b40 mbedtls-2.7.5-apache.tgz
|
||||
# Locally calculated
|
||||
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 apache-2.0.txt
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
################################################################################
|
||||
|
||||
MBEDTLS_SITE = https://tls.mbed.org/code/releases
|
||||
MBEDTLS_VERSION = 2.7.4
|
||||
MBEDTLS_VERSION = 2.7.5
|
||||
MBEDTLS_SOURCE = mbedtls-$(MBEDTLS_VERSION)-apache.tgz
|
||||
MBEDTLS_CONF_OPTS = \
|
||||
-DENABLE_PROGRAMS=$(if $(BR2_PACKAGE_MBEDTLS_PROGRAMS),ON,OFF) \
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
From 2b13f9a50793fdc15199925000107cb0cc4e7bad Mon Sep 17 00:00:00 2001
|
||||
From: Angelo Compagnucci <angelo@amarulasolutions.com>
|
||||
Date: Thu, 9 Aug 2018 09:28:06 +0200
|
||||
Subject: [PATCH] FIX: Enabling compiling ppc64le
|
||||
|
||||
This patch enables Mender compilation on ppc64le
|
||||
|
||||
Changelog: FIX: Enabling compiling ppc64le
|
||||
|
||||
Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
|
||||
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
|
||||
---
|
||||
ioctl_64_bit.go | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/ioctl_64_bit.go b/ioctl_64_bit.go
|
||||
index 6f61a6c..f1e2dd8 100644
|
||||
--- a/ioctl_64_bit.go
|
||||
+++ b/ioctl_64_bit.go
|
||||
@@ -1,4 +1,4 @@
|
||||
-// Copyright 2017 Northern.tech AS
|
||||
+// Copyright 2018 Northern.tech AS
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
-// +build amd64 arm64
|
||||
+// +build amd64 arm64 ppc64le
|
||||
|
||||
package main
|
||||
|
||||
--
|
||||
2.17.1
|
||||
|
||||
@@ -3,6 +3,8 @@ config BR2_PACKAGE_MENDER
|
||||
depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
|
||||
depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_UBOOT_TOOLS # runtime
|
||||
select BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV # runtime
|
||||
help
|
||||
Mender is an open source over-the-air (OTA) software updater
|
||||
for embedded Linux devices. Mender comprises a client
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Example script called by Mender agent to collect device identity data. The
|
||||
# script needs to be located at
|
||||
# $(datadir)/mender/identity/mender-device-identity path for the agent to find
|
||||
# it. The script shall exit with non-0 status on errors. In this case the agent
|
||||
# will discard any output the script may have produced.
|
||||
#
|
||||
# The script shall output identity data in <key>=<value> format, one
|
||||
# entry per line. Example
|
||||
#
|
||||
# $ ./mender-device-identity
|
||||
# mac=de:ad:ca:fe:00:01
|
||||
# cpuid=1112233
|
||||
#
|
||||
# The example script collects the MAC address of a network interface with the
|
||||
# type ARPHRD_ETHER and it will pick the interface with the lowest ifindex
|
||||
# number if there are multiple interfaces with that type. The identity data is
|
||||
# output in the following format:
|
||||
#
|
||||
# mac=00:01:02:03:04:05
|
||||
#
|
||||
|
||||
set -ue
|
||||
|
||||
SCN=/sys/class/net
|
||||
min=65535
|
||||
arphrd_ether=1
|
||||
ifdev=
|
||||
|
||||
# find iface with lowest ifindex, skip non ARPHRD_ETHER types (lo, sit ...)
|
||||
for dev in $SCN/*; do
|
||||
iftype=$(cat $dev/type)
|
||||
if [ $iftype -ne $arphrd_ether ]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
idx=$(cat $dev/ifindex)
|
||||
if [ $idx -lt $min ]; then
|
||||
min=$idx
|
||||
ifdev=$dev
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -z "$ifdev" ]; then
|
||||
echo "no suitable interfaces found" >&2
|
||||
exit 1
|
||||
else
|
||||
echo "using interface $ifdev" >&2
|
||||
# grab MAC address
|
||||
echo "mac=$(cat $ifdev/address)"
|
||||
fi
|
||||
@@ -1,21 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# The example script collects information about current host
|
||||
#
|
||||
|
||||
set -ue
|
||||
|
||||
LC_ALL=C
|
||||
export LC_ALL
|
||||
|
||||
grep 'model name' /proc/cpuinfo | uniq | awk -F': ' '
|
||||
// { printf("cpu_model=%s\n", $2);}
|
||||
'
|
||||
echo "kernel=$(cat /proc/version)"
|
||||
|
||||
cat /proc/meminfo | awk '
|
||||
/MemTotal/ {printf("mem_total_kB=%d\n", $2)}
|
||||
'
|
||||
|
||||
echo "hostname=$(cat /etc/hostname)"
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Example script called by Mender agent to collect inventory data for a
|
||||
# particular devce. The script needs to be located in $(datadir)/mender and its
|
||||
# name shall start with `mender-inventory-` prefix. The script shall exit with
|
||||
# non-0 status on errors. In this case the agent will discard any output the
|
||||
# script may have produced.
|
||||
#
|
||||
# The script shall output inventory data in <key>=<value> format, one entry per
|
||||
# line. Entries appearing multiple times will be joined in a list under the same
|
||||
# key.
|
||||
#
|
||||
# $ ./mender-inventory-network
|
||||
# mac_br-fbfdad18c33c=02:42:7e:74:96:85
|
||||
# network_interfaces=br-fbfdad18c33c
|
||||
# ipv4_br-fbfdad18c33c=172.21.0.1/16
|
||||
# mac_enp0s25=de:ad:be:ef:bb:05
|
||||
# network_interfaces=enp0s25
|
||||
# ipv4_enp0s25=123.22.0.197/16
|
||||
# ipv4_enp0s25=10.20.20.105/16
|
||||
# ipv6_enp0s25=fe80::2aad:beff:feef:bb05/64
|
||||
#
|
||||
#
|
||||
# The example script collects the list of network interfaces, as well as
|
||||
# ethernet and IP addresses of each of the interfaces.
|
||||
#
|
||||
|
||||
set -ue
|
||||
|
||||
SCN=/sys/class/net
|
||||
min=65535
|
||||
ifdev=
|
||||
|
||||
# find iface with lowest ifindex, except loopback
|
||||
for devpath in $SCN/*; do
|
||||
dev=$(basename $devpath)
|
||||
if [ $dev = "lo" ]; then
|
||||
continue
|
||||
fi
|
||||
echo "mac_$dev=$(cat $devpath/address)"
|
||||
echo "network_interfaces=$dev"
|
||||
|
||||
ip addr show dev $dev | awk -v dev=$dev '
|
||||
/inet / { printf("ipv4_%s=%s\n", dev, $2) }
|
||||
/inet6 / {printf("ipv6_%s=%s\n", dev, $2) }
|
||||
'
|
||||
done
|
||||
@@ -1,14 +1,10 @@
|
||||
{
|
||||
"ClientProtocol": "http",
|
||||
"HttpsClient": {
|
||||
"Certificate": "",
|
||||
"Key": ""
|
||||
},
|
||||
"RootfsPartA": "@MENDER_ROOTFS_PART_A@",
|
||||
"RootfsPartB": "@MENDER_ROOTFS_PART_B@",
|
||||
"UpdatePollIntervalSeconds": @MENDER_UPDATE_POLL_INTERVAL_SECONDS@,
|
||||
"InventoryPollIntervalSeconds": @MENDER_INVENTORY_POLL_INTERVAL_SECONDS@,
|
||||
"RetryPollIntervalSeconds": @MENDER_RETRY_POLL_INTERVAL_SECONDS@,
|
||||
"ServerURL": "@MENDER_SERVER_URL@",
|
||||
"ServerCertificate": "@MENDER_CERT_LOCATION@"
|
||||
"InventoryPollIntervalSeconds": 1800,
|
||||
"UpdatePollIntervalSeconds": 1800,
|
||||
"RetryPollIntervalSeconds": 300,
|
||||
"RootfsPartA": "mmcblk0p2",
|
||||
"RootfsPartB": "mmcblk0p3",
|
||||
"ServerCertificate": "/etc/mender/server.crt",
|
||||
"ServerURL": "https://docker.mender.io",
|
||||
"TenantToken": "dummy"
|
||||
}
|
||||
|
||||
@@ -1,2 +1,41 @@
|
||||
# Locally computed:
|
||||
sha256 267fa73ad472b034248ee298593b5c52ea0b105fd73c91febb3587280c61bee2 mender-1.4.0.tar.gz
|
||||
|
||||
# Apache-2.0 license, locally computed
|
||||
sha256 ceb1b36ff073bd13d9806d4615b931707768ca9023805620acc32dd1cfc2f680 LICENSE
|
||||
|
||||
# Vendor licenses
|
||||
# Generated with sed '/^[A-Za-z0-9_]/s/^/sha256 /' LIC_FILES_CHKSUM.sha256
|
||||
|
||||
# Apache-2.0 license.
|
||||
sha256 ceb1b36ff073bd13d9806d4615b931707768ca9023805620acc32dd1cfc2f680 vendor/github.com/mendersoftware/mendertesting/LICENSE
|
||||
sha256 3591f687e2d6f49c83b1ec69577e8110afbde80be5ec81791bd86d2838ccd3de vendor/github.com/mendersoftware/log/LICENSE
|
||||
sha256 bbb303820971c294a9a8e5eba5affcf1379036e877ea61c11cbf9400b2949483 vendor/github.com/mendersoftware/log/COPYING
|
||||
sha256 3591f687e2d6f49c83b1ec69577e8110afbde80be5ec81791bd86d2838ccd3de vendor/github.com/mendersoftware/scopestack/LICENSE
|
||||
sha256 bbb303820971c294a9a8e5eba5affcf1379036e877ea61c11cbf9400b2949483 vendor/github.com/mendersoftware/scopestack/COPYING
|
||||
sha256 b40930bbcf80744c86c46a12bc9da056641d722716c378f5659b9e555ef833e1 vendor/github.com/mendersoftware/mender-artifact/LICENSE
|
||||
|
||||
# BSD 2 Clause license.
|
||||
sha256 8d427fd87bc9579ea368fde3d49f9ca22eac857f91a9dec7e3004bdfab7dee86 vendor/github.com/pkg/errors/LICENSE
|
||||
|
||||
# BSD 3 Clause license.
|
||||
sha256 2eb550be6801c1ea434feba53bf6d12e7c71c90253e0a9de4a4f46cf88b56477 vendor/github.com/pmezard/go-difflib/LICENSE
|
||||
sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 vendor/golang.org/x/sys/LICENSE
|
||||
sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 vendor/golang.org/x/net/LICENSE
|
||||
sha256 0634b008cee55ca01f0888d2f5aba2d34e66c3f52c31a4e16a5d5d33d0c2a03e vendor/github.com/bmatsuo/lmdb-go/LICENSE.md
|
||||
|
||||
# ISC license.
|
||||
sha256 3525392c6db3b804af76980b2c560ee9ec1abdadd907d76a26091df7c78f3a25 vendor/github.com/davecgh/go-spew/LICENSE
|
||||
|
||||
# MIT license.
|
||||
sha256 51a0c9ec7f8b7634181b8d4c03e5b5d204ac21d6e72f46c313973424664b2e6b vendor/github.com/Sirupsen/logrus/LICENSE
|
||||
sha256 402f39eed8a1851385d0703999aa9f23d067c2ea3e15c63c074e389cbf8f8f8f vendor/github.com/stretchr/testify/LICENSE
|
||||
sha256 402f39eed8a1851385d0703999aa9f23d067c2ea3e15c63c074e389cbf8f8f8f vendor/github.com/stretchr/testify/LICENCE.txt
|
||||
sha256 fde7d610b9b95fc5a6304055c4dae951025b630aaa42a24e95ebf76675ae832c vendor/github.com/stretchr/objx/LICENSE.md
|
||||
sha256 ffa15bdce332058a03a1d923910864fb6e58bf6df66a0e3914284725b327183e vendor/github.com/ungerik/go-sysfs/LICENSE
|
||||
|
||||
# OpenLDAP Public License
|
||||
sha256 310fe25c858a9515fc8c8d7d1f24a67c9496f84a91e0a0e41ea9975b1371e569 vendor/github.com/bmatsuo/lmdb-go/LICENSE.mdb.md
|
||||
|
||||
# sha256 of all the vendor licenses combined
|
||||
sha256 54d6f54a2815cc2e3cef4f7dde5a3aae20f09b2cde394d8d3f1dce5d8a79d738 LIC_FILES_CHKSUM.sha256
|
||||
|
||||
@@ -6,20 +6,50 @@
|
||||
|
||||
MENDER_VERSION = 1.4.0
|
||||
MENDER_SITE = $(call github,mendersoftware,mender,$(MENDER_VERSION))
|
||||
MENDER_LICENSE = Apache-2.0, BSD-2-Clause, BSD-3-Clause, ISC, MIT, OLDAP-2.8
|
||||
|
||||
# Vendor license paths generated with:
|
||||
# awk '{print $2}' LIC_FILES_CHKSUM.sha256 | grep vendor
|
||||
MENDER_LICENSE_FILES = \
|
||||
LICENSE \
|
||||
LIC_FILES_CHKSUM.sha256 \
|
||||
vendor/github.com/mendersoftware/mendertesting/LICENSE \
|
||||
vendor/github.com/mendersoftware/log/LICENSE \
|
||||
vendor/github.com/mendersoftware/log/COPYING \
|
||||
vendor/github.com/mendersoftware/scopestack/LICENSE \
|
||||
vendor/github.com/mendersoftware/scopestack/COPYING \
|
||||
vendor/github.com/mendersoftware/mender-artifact/LICENSE \
|
||||
vendor/github.com/pkg/errors/LICENSE \
|
||||
vendor/github.com/pmezard/go-difflib/LICENSE \
|
||||
vendor/golang.org/x/sys/LICENSE \
|
||||
vendor/golang.org/x/net/LICENSE \
|
||||
vendor/github.com/bmatsuo/lmdb-go/LICENSE.md \
|
||||
vendor/github.com/davecgh/go-spew/LICENSE \
|
||||
vendor/github.com/Sirupsen/logrus/LICENSE \
|
||||
vendor/github.com/stretchr/testify/LICENSE \
|
||||
vendor/github.com/stretchr/testify/LICENCE.txt \
|
||||
vendor/github.com/stretchr/objx/LICENSE.md \
|
||||
vendor/github.com/ungerik/go-sysfs/LICENSE \
|
||||
vendor/github.com/bmatsuo/lmdb-go/LICENSE.mdb.md
|
||||
|
||||
MENDER_LDFLAGS = -X main.Version=$(MENDER_VERSION)
|
||||
|
||||
define MENDER_INSTALL_CONFIG_FILES
|
||||
$(INSTALL) -d -m 755 $(TARGET_DIR)/etc/mender/scripts
|
||||
echo -n "2" > $(TARGET_DIR)/etc/mender/scripts/version
|
||||
|
||||
$(INSTALL) -D -m 0644 package/mender/mender.conf \
|
||||
$(TARGET_DIR)/etc/mender/mender.conf
|
||||
$(INSTALL) -D -m 0644 package/mender/tenant.conf \
|
||||
$(TARGET_DIR)/etc/mender/tenant.conf
|
||||
|
||||
$(INSTALL) -D -m 0644 package/mender/server.crt \
|
||||
$(TARGET_DIR)/etc/mender/server.crt
|
||||
$(INSTALL) -D -m 0755 package/mender/mender-device-identity \
|
||||
$(TARGET_DIR)/var/share/mender/identity/mender-device-identity
|
||||
$(INSTALL) -D -m 0755 package/mender/mender-inventory-network \
|
||||
$(TARGET_DIR)/var/share/mender/inventory/mender-inventory-network
|
||||
$(INSTALL) -D -m 0755 package/mender/mender-inventory-hostinfo \
|
||||
$(TARGET_DIR)/var/share/mender/inventory/mender-inventory-hostinfo
|
||||
|
||||
$(INSTALL) -D -m 0755 $(@D)/support/mender-device-identity \
|
||||
$(TARGET_DIR)/usr/share/mender/identity/mender-device-identity
|
||||
$(foreach f,hostinfo network, \
|
||||
$(INSTALL) -D -m 0755 $(@D)/support/mender-inventory-$(f) \
|
||||
$(TARGET_DIR)/usr/share/mender/inventory/mender-inventory-$(f)
|
||||
)
|
||||
endef
|
||||
|
||||
MENDER_POST_INSTALL_TARGET_HOOKS += MENDER_INSTALL_CONFIG_FILES
|
||||
|
||||
@@ -7,7 +7,6 @@ Type=idle
|
||||
User=root
|
||||
Group=root
|
||||
ExecStartPre=/bin/mkdir -p -m 0700 /data/mender
|
||||
ExecStartPre=/bin/ln -sf /etc/mender/tenant.conf /var/lib/mender/authtentoken
|
||||
ExecStart=/usr/bin/mender -daemon
|
||||
Restart=on-abort
|
||||
|
||||
|
||||
@@ -210,16 +210,19 @@ comment "Vulkan drivers"
|
||||
config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_INTEL
|
||||
bool "Vulkan Intel driver"
|
||||
depends on BR2_i386 || BR2_x86_64
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libxshmfence
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 # memfd.h
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC # ifunc, static_assert
|
||||
depends on BR2_PACKAGE_XORG7 # xorgproto
|
||||
select BR2_PACKAGE_MESA3D_VULKAN_DRIVER
|
||||
select BR2_PACKAGE_XORGPROTO
|
||||
select BR2_PACKAGE_XLIB_LIBXSHMFENCE
|
||||
help
|
||||
Vulkan driver for Intel hardware from Ivy Bridge onward.
|
||||
|
||||
comment "intel vulkan depends on X.org and needs a glibc toolchain w/ headers >= 3.18"
|
||||
depends on BR2_i386 || BR2_x86_64
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 || \
|
||||
!BR2_TOOLCHAIN_USES_GLIBC || !BR2_PACKAGE_XORG7
|
||||
|
||||
|
||||
@@ -130,7 +130,9 @@ ifeq ($(BR2_PACKAGE_MESA3D_VULKAN_DRIVER),)
|
||||
MESA3D_CONF_OPTS += \
|
||||
--without-vulkan-drivers
|
||||
else
|
||||
MESA3D_DEPENDENCIES += xlib_libxshmfence
|
||||
MESA3D_CONF_OPTS += \
|
||||
--enable-dri3 \
|
||||
--with-vulkan-drivers=$(subst $(space),$(comma),$(MESA3D_VULKAN_DRIVERS-y))
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1 minicom-2.7.1.tar.gz
|
||||
sha256 cf80a758014eefbf068afffe3d462fc34ff4f528527524d8e100329c42094e15 COPYING
|
||||
|
||||
@@ -12,6 +12,11 @@ config BR2_PACKAGE_MJPEGTOOLS
|
||||
|
||||
http://mjpeg.sourceforge.net
|
||||
|
||||
config BR2_PACKAGE_MJPEGTOOLS_SIMD_SUPPORT
|
||||
bool
|
||||
default y if BR2_X86_CPU_HAS_MMX
|
||||
default y if BR2_POWERPC_CPU_HAS_ALTIVEC
|
||||
|
||||
comment "mjpegtools needs a toolchain w/ C++, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
@@ -10,6 +10,12 @@ MJPEGTOOLS_DEPENDENCIES = host-pkgconf jpeg
|
||||
MJPEGTOOLS_LICENSE = GPL-2.0+
|
||||
MJPEGTOOLS_LICENSE_FILES = COPYING
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MJPEGTOOLS_SIMD_SUPPORT),y)
|
||||
MJPEGTOOLS_CONF_OPTS += --enable-simd-accel
|
||||
else
|
||||
MJPEGTOOLS_CONF_OPTS += --disable-simd-accel
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBPNG),y)
|
||||
MJPEGTOOLS_CONF_OPTS += --with-libpng
|
||||
MJPEGTOOLS_DEPENDENCIES += libpng
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
From 1baceb95bd8e6f35c25bc7afdc6a88c8f6264f3f Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Mon, 20 Aug 2018 19:06:08 +0200
|
||||
Subject: [PATCH] Fix static build with libidn2 and libunistring
|
||||
|
||||
When libidn2 is statically build with libunistring support, mutt needs
|
||||
to add -lunistring to LIBS.
|
||||
To do that, add a call to PKG_CHECK_MODULES to retrieve this information
|
||||
from libidn2.pc
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.net/results/177da8f4798f69298db5385957184f1c53cca923
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
configure.ac | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 29252173..2e69ac19 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1341,6 +1341,10 @@ AC_ARG_WITH(idn2, AS_HELP_STRING([--with-idn2=@<:@PFX@:>@],[Use GNU libidn2 for
|
||||
if test "$with_idn2" != "yes" ; then
|
||||
CPPFLAGS="$CPPFLAGS -I$with_idn2/include"
|
||||
LDFLAGS="$LDFLAGS -L$with_idn2/lib"
|
||||
+ else
|
||||
+ PKG_CHECK_MODULES([LIBIDN2], libidn2,
|
||||
+ [CPPFLAGS="$CPPFLAGS $LIBIDN2_CFLAGS"
|
||||
+ LIBS="$LIBIDN2_LIBS"])
|
||||
fi
|
||||
fi
|
||||
],
|
||||
--
|
||||
2.14.1
|
||||
|
||||
@@ -8,8 +8,10 @@ MUTT_VERSION = 1.10.1
|
||||
MUTT_SITE = https://bitbucket.org/mutt/mutt/downloads
|
||||
MUTT_LICENSE = GPL-2.0+
|
||||
MUTT_LICENSE_FILES = GPL
|
||||
MUTT_DEPENDENCIES = ncurses
|
||||
MUTT_DEPENDENCIES = host-pkgconf ncurses
|
||||
MUTT_CONF_OPTS = --disable-doc --disable-smtp
|
||||
# We're patching configure.ac
|
||||
MUTT_AUTORECONF = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
||||
MUTT_DEPENDENCIES += libiconv
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
From 710e2b8ba2ecf51057a89de24e6f0d387614ea53 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Date: Sat, 25 Aug 2018 23:36:39 +0200
|
||||
Subject: [PATCH] stack/src/kernel/edrv/edrv-rawsock_linux.c: add missing
|
||||
<sys/types.h> include
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
This is necessary to get the definition of the u_char type, otherwise
|
||||
the build fails with the musl C library with:
|
||||
|
||||
stack/src/kernel/edrv/edrv-rawsock_linux.c:373:46: error: ‘u_char’ undeclared (first use in this function)
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Upstream: https://github.com/OpenAutomationTechnologies/openPOWERLINK_V2/pull/371
|
||||
---
|
||||
stack/src/kernel/edrv/edrv-rawsock_linux.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/stack/src/kernel/edrv/edrv-rawsock_linux.c b/stack/src/kernel/edrv/edrv-rawsock_linux.c
|
||||
index f8e0216f..e5230a52 100644
|
||||
--- a/stack/src/kernel/edrv/edrv-rawsock_linux.c
|
||||
+++ b/stack/src/kernel/edrv/edrv-rawsock_linux.c
|
||||
@@ -59,6 +59,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#include <arpa/inet.h>
|
||||
#include <ifaddrs.h>
|
||||
#include <linux/if_packet.h>
|
||||
+#include <sys/types.h>
|
||||
|
||||
//============================================================================//
|
||||
// G L O B A L D E F I N I T I O N S //
|
||||
--
|
||||
2.14.4
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# From http://www.openssh.com/txt/release-7.7 (base64 encoded)
|
||||
sha256 d73be7e684e99efcd024be15a30bffcbe41b012b2f7b3c9084aed621775e6b8f openssh-7.7p1.tar.gz
|
||||
# From http://www.openssh.com/txt/release-7.8 (base64 encoded)
|
||||
sha256 1a484bb15152c183bb2514e112aa30dd34138c3cfb032eee5490a66c507144ca openssh-7.8p1.tar.gz
|
||||
# Locally calculated
|
||||
sha256 05a4c25ef464e19656c5259bd4f4da8428efab01044f3541b79fbb3ff209350f LICENCE
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OPENSSH_VERSION = 7.7p1
|
||||
OPENSSH_VERSION = 7.8p1
|
||||
OPENSSH_SITE = http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable
|
||||
OPENSSH_LICENSE = BSD-3-Clause, BSD-2-Clause, Public Domain
|
||||
OPENSSH_LICENSE_FILES = LICENCE
|
||||
|
||||
@@ -21,6 +21,7 @@ MYSQL_SOCKET = /run/mysql/mysql.sock
|
||||
ORACLE_MYSQL_CONF_ENV = \
|
||||
ac_cv_sys_restartable_syscalls=yes \
|
||||
ac_cv_path_PS=/bin/ps \
|
||||
ac_cv_path_HOSTNAME=/bin/hostname \
|
||||
ac_cv_FIND_PROC="/bin/ps p \$\$PID | grep -v grep | grep mysqld > /dev/null" \
|
||||
ac_cv_have_decl_HAVE_IB_ATOMIC_PTHREAD_T_GCC=yes \
|
||||
ac_cv_have_decl_HAVE_IB_ATOMIC_PTHREAD_T_SOLARIS=no \
|
||||
|
||||
@@ -113,6 +113,7 @@ endif
|
||||
|
||||
config BR2_PACKAGE_PHP_EXT_MYSQLI
|
||||
bool "Mysqli"
|
||||
select BR2_PACKAGE_PHP_EXT_HASH
|
||||
help
|
||||
MySQL Improved extension support
|
||||
|
||||
|
||||
@@ -92,7 +92,7 @@ endif
|
||||
|
||||
define DOWNLOAD
|
||||
$(Q)mkdir -p $($(PKG)_DL_DIR)
|
||||
$(EXTRA_ENV) $(FLOCK) $(DL_WRAPPER) \
|
||||
$(Q)$(EXTRA_ENV) $(FLOCK) $(DL_WRAPPER) \
|
||||
-c '$($(PKG)_DL_VERSION)' \
|
||||
-d '$($(PKG)_DL_DIR)' \
|
||||
-D '$(DL_DIR)' \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# From https://ftp.postgresql.org/pub/source/v10.3/postgresql-10.3.tar.bz2.sha256
|
||||
sha256 6ea268780ee35e88c65cdb0af7955ad90b7d0ef34573867f223f14e43467931a postgresql-10.3.tar.bz2
|
||||
# From https://ftp.postgresql.org/pub/source/v10.5/postgresql-10.5.tar.bz2.sha256
|
||||
sha256 6c8e616c91a45142b85c0aeb1f29ebba4a361309e86469e0fb4617b6a73c4011 postgresql-10.5.tar.bz2
|
||||
|
||||
# License file, Locally calculated
|
||||
sha256 24cfc70cf16b3a23242c49ffce39510683bdd48cbedb8a46fe03976ee5f5c21e COPYRIGHT
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
POSTGRESQL_VERSION = 10.3
|
||||
POSTGRESQL_VERSION = 10.5
|
||||
POSTGRESQL_SOURCE = postgresql-$(POSTGRESQL_VERSION).tar.bz2
|
||||
POSTGRESQL_SITE = http://ftp.postgresql.org/pub/source/v$(POSTGRESQL_VERSION)
|
||||
POSTGRESQL_LICENSE = PostgreSQL
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
From cd7605723eb8e6d8231644f1cf62f1e80badf074 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Korsgaard <peter@korsgaard.com>
|
||||
Date: Mon, 20 Aug 2018 15:57:22 +0200
|
||||
Subject: [PATCH] configure.in: tighten AIX test
|
||||
|
||||
Depending on the configuration, the cpp output may contain the string 'yes'
|
||||
in a comment if built under a path containing 'yes', confusing the _AIX
|
||||
test:
|
||||
|
||||
${CROSS}-cpp conftest.h
|
||||
\# 1 "conftest.h"
|
||||
\# 1 "<built-in>"
|
||||
\# 1 "<command-line>"
|
||||
\# 31 "<command-line>"
|
||||
\# 1 "/home/peko/source/buildroot/output-yes/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdc-predef.h" 1 3 4
|
||||
\# 32 "<command-line>" 2
|
||||
\# 1 "conftest.txt"
|
||||
|
||||
Fix it by only matching on 'yes' on a line by itself.
|
||||
|
||||
Upstream-status: submitted to author
|
||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
||||
---
|
||||
|
||||
autoconf/configure.in | 2 +-
|
||||
configure | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/autoconf/configure.in b/autoconf/configure.in
|
||||
index bd45004..487c42b 100644
|
||||
--- a/autoconf/configure.in
|
||||
+++ b/autoconf/configure.in
|
||||
@@ -86,7 +86,7 @@ AC_PROG_MAKE_SET
|
||||
|
||||
dnl AIX needs -lc128
|
||||
dnl
|
||||
-AC_EGREP_CPP([yes], [#ifdef _AIX
|
||||
+AC_EGREP_CPP([^yes$], [#ifdef _AIX
|
||||
yes
|
||||
#endif
|
||||
], [LIBS="$LIBS -lc128"])
|
||||
diff --git a/configure b/configure
|
||||
index 7c11be0..59267b9 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -3377,7 +3377,7 @@ yes
|
||||
|
||||
_ACEOF
|
||||
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
||||
- $EGREP "yes" >/dev/null 2>&1; then
|
||||
+ $EGREP "^yes$" >/dev/null 2>&1; then
|
||||
LIBS="$LIBS -lc128"
|
||||
fi
|
||||
rm -f conftest*
|
||||
--
|
||||
2.11.0
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
From 372d33fbe549ea73318c187505716ac99fbf3054 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Seiderer <ps.report@gmx.net>
|
||||
Date: Tue, 21 Aug 2018 21:11:40 +0200
|
||||
Subject: [PATCH] double-conversion: enable for microblaze
|
||||
|
||||
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
||||
---
|
||||
.../double-conversion/include/double-conversion/utils.h | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/3rdparty/double-conversion/include/double-conversion/utils.h b/src/3rdparty/double-conversion/include/double-conversion/utils.h
|
||||
index b0a7d5d4f4..485f680180 100644
|
||||
--- a/src/3rdparty/double-conversion/include/double-conversion/utils.h
|
||||
+++ b/src/3rdparty/double-conversion/include/double-conversion/utils.h
|
||||
@@ -66,7 +66,8 @@
|
||||
defined(__SH4__) || defined(__alpha__) || \
|
||||
defined(_MIPS_ARCH_MIPS32R2) || \
|
||||
defined(__AARCH64EL__) || defined(__AARCH64EB__) || \
|
||||
- defined(__or1k__)
|
||||
+ defined(__or1k__) || \
|
||||
+ defined(__microblaze__)
|
||||
#define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
|
||||
#elif defined(_M_IX86) || defined(__i386__) || defined(__i386)
|
||||
#if defined(_WIN32)
|
||||
--
|
||||
2.18.0
|
||||
|
||||
@@ -11,7 +11,12 @@ QT5QUICKCONTROLS_DEPENDENCIES = qt5base qt5declarative
|
||||
QT5QUICKCONTROLS_INSTALL_STAGING = YES
|
||||
|
||||
QT5QUICKCONTROLS_LICENSE = GPL-2.0 or GPL-3.0 or LGPL-3.0, GFDL-1.3 (docs)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
QT5QUICKCONTROLS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.LGPL3 LICENSE.FDL
|
||||
else
|
||||
QT5QUICKCONTROLS_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.LGPLv3 LICENSE.FDL
|
||||
endif
|
||||
|
||||
define QT5QUICKCONTROLS_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake)
|
||||
|
||||
@@ -0,0 +1,116 @@
|
||||
From d66502532fea652d8743bfb61f9843c796d305cf Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Date: Fri, 24 Aug 2018 14:30:19 +0200
|
||||
Subject: [PATCH] build: make eMMC boot partition support optional
|
||||
|
||||
The eMMC boot partition support, added in commit
|
||||
ea5cc7ff606c65536da218bd1ef6d0ca279c9b17 ("src/update_handler: add
|
||||
support for updating eMMC boot partitions"), requires
|
||||
<linux/mmc/ioctl.h>, only available starting from kernel headers 3.0.
|
||||
|
||||
Even though it is pretty likely that people are going to use Linux >=
|
||||
3.0 on their embedded systems these days, RAUC also needs to be built
|
||||
natively on the build machine to produce update artifacts, and the
|
||||
build machine is sometimes using an ancient Linux system, especially
|
||||
in an enterprise contexts.
|
||||
|
||||
In order to make sure that RAUC builds fine in this context, this
|
||||
commit makes the eMMC boot partition support optional, by verifying
|
||||
the availability of <linux/mmc/ioctl.h>.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
---
|
||||
Makefile.am | 5 ++++-
|
||||
configure.ac | 6 ++++++
|
||||
src/update_handler.c | 6 ++++++
|
||||
3 files changed, 16 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 23eb2d1..7b4682d 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -39,7 +39,6 @@ librauc_la_SOURCES = \
|
||||
src/checksum.c \
|
||||
src/config_file.c \
|
||||
src/context.c \
|
||||
- src/emmc.c \
|
||||
src/install.c \
|
||||
src/manifest.c \
|
||||
src/mark.c \
|
||||
@@ -63,6 +62,10 @@ librauc_la_SOURCES = \
|
||||
include/update_handler.h \
|
||||
include/utils.h
|
||||
|
||||
+if WANT_EMMC_BOOT_SUPPORT
|
||||
+librauc_la_SOURCES += src/emmc.c
|
||||
+endif
|
||||
+
|
||||
if WANT_NETWORK
|
||||
librauc_la_SOURCES += src/network.c include/network.h
|
||||
endif
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 2d6f940..1ec124b 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -102,6 +102,12 @@ AC_SUBST(DBUS_SYSTEMSERVICEDIR)
|
||||
|
||||
# Checks for header files.
|
||||
|
||||
+AC_CHECK_HEADER([linux/mmc/ioctl.h],
|
||||
+ AC_DEFINE([ENABLE_EMMC_BOOT_SUPPORT], [1], [Define to 1 to enable eMMC boot support]),
|
||||
+ AC_DEFINE([ENABLE_EMMC_BOOT_SUPPORT], [0]))
|
||||
+
|
||||
+AM_CONDITIONAL([WANT_EMMC_BOOT_SUPPORT], [test x$ac_cv_header_linux_mmc_ioctl_h != xno])
|
||||
+
|
||||
# Checks for typedefs, structures, and compiler characteristics.
|
||||
|
||||
# Checks for library functions.
|
||||
diff --git a/src/update_handler.c b/src/update_handler.c
|
||||
index 62115ec..a9f233a 100644
|
||||
--- a/src/update_handler.c
|
||||
+++ b/src/update_handler.c
|
||||
@@ -57,6 +57,7 @@ out:
|
||||
return outstream;
|
||||
}
|
||||
|
||||
+#if ENABLE_EMMC_BOOT_SUPPORT == 1
|
||||
static gboolean clear_slot(RaucSlot *slot, GError **error)
|
||||
{
|
||||
GError *ierror = NULL;
|
||||
@@ -99,6 +100,7 @@ out:
|
||||
g_clear_object(&outstream);
|
||||
return res;
|
||||
}
|
||||
+#endif
|
||||
|
||||
static gboolean ubifs_ioctl(RaucImage *image, int fd, GError **error)
|
||||
{
|
||||
@@ -1085,6 +1087,7 @@ out:
|
||||
return res;
|
||||
}
|
||||
|
||||
+#if ENABLE_EMMC_BOOT_SUPPORT == 1
|
||||
static gboolean img_to_boot_emmc_handler(RaucImage *image, RaucSlot *dest_slot, const gchar *hook_name, GError **error)
|
||||
{
|
||||
|
||||
@@ -1245,6 +1248,7 @@ out:
|
||||
|
||||
return res;
|
||||
}
|
||||
+#endif
|
||||
|
||||
static gboolean img_to_raw_handler(RaucImage *image, RaucSlot *dest_slot, const gchar *hook_name, GError **error)
|
||||
{
|
||||
@@ -1329,7 +1333,9 @@ RaucUpdatePair updatepairs[] = {
|
||||
{"*.img", "nand", img_to_nand_handler},
|
||||
{"*.img", "ubivol", img_to_ubivol_handler},
|
||||
{"*.squashfs", "ubivol", img_to_ubivol_handler},
|
||||
+#if ENABLE_EMMC_BOOT_SUPPORT == 1
|
||||
{"*.img", "boot-emmc", img_to_boot_emmc_handler},
|
||||
+#endif
|
||||
{"*.img", "*", img_to_raw_handler}, /* fallback */
|
||||
{0}
|
||||
};
|
||||
--
|
||||
2.14.4
|
||||
|
||||
@@ -9,6 +9,8 @@ RAUC_SITE = https://github.com/rauc/rauc/releases/download/v$(RAUC_VERSION)
|
||||
RAUC_SOURCE = rauc-$(RAUC_VERSION).tar.xz
|
||||
RAUC_LICENSE = LGPL-2.1
|
||||
RAUC_DEPENDENCIES = host-pkgconf openssl libglib2
|
||||
# 0002-build-make-eMMC-boot-partition-support-optional.patch
|
||||
RAUC_AUTORECONF = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_RAUC_NETWORK),y)
|
||||
RAUC_CONF_OPTS += --enable-network
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
From 5101ab2d13e2b89ea3c1276df5fb7413634eeccd Mon Sep 17 00:00:00 2001
|
||||
From: Mike Brady <mikebrady@eircom.net>
|
||||
Date: Sat, 25 Aug 2018 13:08:37 +0100
|
||||
Subject: [PATCH] Sometimes libsoxr is built to rely on libavutil. If libavutil
|
||||
is detected, link to it when building libsoxr. Add pgk_config support to soxr
|
||||
selection.
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
The Buildroot autobuilder detected a build issue [0] when building
|
||||
shairport-sync statically:
|
||||
|
||||
```
|
||||
arm-buildroot-linux-uclibcgnueabi/sysroot/usr//lib/libsoxr.a(soxr.c.o): In function `soxr_create':
|
||||
soxr.c:(.text+0xd4c): undefined reference to `av_get_cpu_flags'
|
||||
collect2: error: ld returned 1 exit status
|
||||
```
|
||||
|
||||
A quick look at the soxr source code shows that `soxr_create()` might use
|
||||
`av_get_cpu_flags()` depending on the architecture.
|
||||
|
||||
For the sake of simplicity link with `-lavutil` if it is found when using soxr.
|
||||
|
||||
Even better, as soxr provides a pkg-config file, this should be prefered.
|
||||
|
||||
[0] http://autobuild.buildroot.org/results/53d/53d21686780aa2485745b59e812b6280dd39f1c5
|
||||
|
||||
Upstream status: 5101ab2d13e2b89ea3c1276df5fb7413634eeccd
|
||||
|
||||
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
|
||||
---
|
||||
configure.ac | 15 ++++++++++++++-
|
||||
1 file changed, 14 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 0c917a4..2b6fddb 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -176,7 +176,20 @@ AC_ARG_WITH(ssl, [ choose --with-ssl=openssl, --with-ssl=mbedtls or --with-ssl=p
|
||||
# Look for soxr flag
|
||||
AC_ARG_WITH(soxr, [ --with-soxr = choose libsoxr for high-quality interpolation], [
|
||||
AC_MSG_RESULT(>>Including support for soxr-based interpolation)
|
||||
- AC_CHECK_LIB([soxr],[soxr_create], , AC_MSG_ERROR(soxr support requested but libsoxr not found!))], )
|
||||
+ if test "x${with_pkg_config}" = xyes ; then
|
||||
+ PKG_CHECK_MODULES(
|
||||
+ [SOXR], [soxr],
|
||||
+ [LIBS="${SOXR_LIBS} ${LIBS}"])
|
||||
+ else
|
||||
+ AC_CHECK_LIB([avutil],[av_get_cpu_flags])
|
||||
+ if test "x${ac_cv_lib_avutil_av_get_cpu_flags}" = xyes ; then
|
||||
+ # soxr may link against libavutil, depending on the architecture, but for the sake of simplicity link with it if it is found
|
||||
+ AC_CHECK_LIB([soxr],[soxr_create], , AC_MSG_ERROR(soxr support requested but libsoxr not found!), [-lavutil])
|
||||
+ else
|
||||
+ AC_CHECK_LIB([soxr],[soxr_create], , AC_MSG_ERROR(soxr support requested but libsoxr not found!))
|
||||
+ fi
|
||||
+ fi
|
||||
+], )
|
||||
|
||||
# Look for metadata flag -- set flag for conditional compilation
|
||||
AC_ARG_WITH(metadata, [ --with-metadata = include support for a metadata feed], [
|
||||
--
|
||||
2.18.0
|
||||
@@ -65,6 +65,13 @@ else
|
||||
SYSTEMD_CONF_OPTS += -Daudit=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ELFUTILS),y)
|
||||
SYSTEMD_DEPENDENCIES += elfutils
|
||||
SYSTEMD_CONF_OPTS += -Delfutils=true
|
||||
else
|
||||
SYSTEMD_CONF_OPTS += -Delfutils=false
|
||||
endif
|
||||
|
||||
# Both options can't be selected at the same time so prefer libidn2
|
||||
ifeq ($(BR2_PACKAGE_LIBIDN2),y)
|
||||
SYSTEMD_DEPENDENCIES += libidn2
|
||||
|
||||
@@ -1,2 +1,7 @@
|
||||
# From https://lists.x.org/archives/xorg-announce/2017-February/002777.html
|
||||
sha256 4d3890db2ba225ba8c55ca63c6409c1ebb078a2806de59fb16342768ae63435d libX11-1.6.5.tar.bz2
|
||||
# From https://lists.x.org/archives/xorg-announce/2018-August/002916.html
|
||||
md5 6b0f83e851b3b469dd660f3a95ac3e42 libX11-1.6.6.tar.bz2
|
||||
sha1 b29cf4362b58188cb27fed2294788004af7428a9 libX11-1.6.6.tar.bz2
|
||||
sha256 65fe181d40ec77f45417710c6a67431814ab252d21c2e85c75dd1ed568af414f libX11-1.6.6.tar.bz2
|
||||
sha512 9866dc6b158b15a96efe140b6fa68a775889a37e5565a126216211fee63868e02629a9f9f41816d590ef150560f43b8864010a77a6318c9109e76aec1d21b4d7 libX11-1.6.6.tar.bz2
|
||||
# Locally computed
|
||||
sha256 2daec087a88e7c9b8082557cdeebad5bbb8155a4137472f0b22e269cd99d0c1e COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
XLIB_LIBX11_VERSION = 1.6.5
|
||||
XLIB_LIBX11_VERSION = 1.6.6
|
||||
XLIB_LIBX11_SOURCE = libX11-$(XLIB_LIBX11_VERSION).tar.bz2
|
||||
XLIB_LIBX11_SITE = https://xorg.freedesktop.org/archive/individual/lib
|
||||
XLIB_LIBX11_LICENSE = MIT
|
||||
|
||||
@@ -23,6 +23,12 @@ ZEROMQ_CONF_ENV = libzmq_cv_sock_cloexec=yes \
|
||||
libzmq_cv_tcp_keepidle=yes \
|
||||
libzmq_cv_tcp_keepintvl=yes
|
||||
|
||||
# Internal error, aborting at dwarf2cfi.c:2752 in connect_traces
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58864
|
||||
ifeq ($(BR2_m68k_cf),y)
|
||||
ZEROMQ_CONF_OPTS += CXXFLAGS="$(TARGET_CXXFLAGS) -fno-defer-pop"
|
||||
endif
|
||||
|
||||
# Only tools/curve_keygen.c needs this, but it doesn't hurt to pass it
|
||||
# for the rest of the build as well (which automatically includes stdc++).
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
# If the system lacks bison or flex, add
|
||||
# dependencies to suitable host packages
|
||||
|
||||
ifeq ($(shell which bison 2>/dev/null),)
|
||||
BR2_BISON_HOST_DEPENDENCY = host-bison
|
||||
endif
|
||||
|
||||
ifeq ($(shell which flex 2>/dev/null),)
|
||||
BR2_FLEX_HOST_DEPENDENCY = host-flex
|
||||
endif
|
||||
@@ -88,7 +88,8 @@ main() {
|
||||
download_and_check=0
|
||||
rc=1
|
||||
for uri in "${uris[@]}"; do
|
||||
backend=${uri%%+*}
|
||||
backend_urlencode="${uri%%+*}"
|
||||
backend="${backend_urlencode%|*}"
|
||||
case "${backend}" in
|
||||
git|svn|cvs|bzr|file|scp|hg) ;;
|
||||
*) backend="wget" ;;
|
||||
|
||||
@@ -241,14 +241,11 @@ check_glibc = \
|
||||
# $2: cross-readelf path
|
||||
check_musl = \
|
||||
__CROSS_CC=$(strip $1) ; \
|
||||
__CROSS_READELF=$(strip $2) ; \
|
||||
echo 'void main(void) {}' | $${__CROSS_CC} -x c -o $(BUILD_DIR)/.br-toolchain-test.tmp - >/dev/null 2>&1; \
|
||||
if ! $${__CROSS_READELF} -l $(BUILD_DIR)/.br-toolchain-test.tmp 2> /dev/null | grep 'program interpreter: /lib/ld-musl' -q; then \
|
||||
rm -f $(BUILD_DIR)/.br-toolchain-test.tmp*; \
|
||||
libc_a_path=`$${__CROSS_CC} -print-file-name=libc.a` ; \
|
||||
if ! strings $${libc_a_path} | grep -q MUSL_LOCPATH ; then \
|
||||
echo "Incorrect selection of the C library" ; \
|
||||
exit -1; \
|
||||
fi ; \
|
||||
rm -f $(BUILD_DIR)/.br-toolchain-test.tmp*
|
||||
fi
|
||||
|
||||
#
|
||||
# Check the conformity of Buildroot configuration with regard to the
|
||||
|
||||
@@ -557,8 +557,7 @@ define $(2)_CONFIGURE_CMDS
|
||||
$$(call check_uclibc,$$$${SYSROOT_DIR}) ; \
|
||||
elif test "$$(BR2_TOOLCHAIN_EXTERNAL_MUSL)" = "y" ; then \
|
||||
$$(call check_musl,\
|
||||
"$$(TOOLCHAIN_EXTERNAL_CC) $$(TOOLCHAIN_EXTERNAL_CFLAGS)",\
|
||||
$$(TOOLCHAIN_EXTERNAL_READELF)) ; \
|
||||
"$$(TOOLCHAIN_EXTERNAL_CC) $$(TOOLCHAIN_EXTERNAL_CFLAGS)") ; \
|
||||
else \
|
||||
$$(call check_glibc,$$$${SYSROOT_DIR}) ; \
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user