Commit Graph

7665 Commits

Author SHA1 Message Date
Rosen Penev
93a955b8a6 toolchain/musl: update to 1.2.2
This release introduces 64-bit time_t, which is needed to avoid the
year 2038 problem.

Remove upstream patches. Refreshed others.

Rebased features.h file based on latest musl.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-25 00:05:12 +08:00
Hauke Mehrtens
9eea506ce9 toolchain: musl: refresh patches
Refresh the musl patches

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-09-25 00:05:06 +08:00
Hauke Mehrtens
3eb78a8e0c libtool: Revert "libtool: bump to 2.4.6"
This breaks the package builds using the SDK.
The targets all build fine, but the package builder fails on many
packages. The package builder uses the OpenWrt SDK.

This reverts commit c377d874be.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-09-23 23:56:08 +08:00
Timo Sigurdsson
0a5c569b99 fstools: ensure filesystems are mounted before log service starts
Currently, the fstab service starts after the log service which breaks
the ability to write a persistent log file to a filesystem mounted by
the fstab service. Thus, change the start order of the fstab service so
it starts right before the log service.

Fixes: b131853 ("ubox: update to latest git revision")
Signed-off-by: Timo Sigurdsson <public_timo.s@silentcreek.de>
[set to 11 to be explicitly before log, not only alphabetically, SPDX]
Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-09-23 23:55:48 +08:00
David Lam
57f148ba25 6rd: delete tunnel on interface teardown
Delete tunnel on 6rd interface teardown.
Should solve problem related to tunnel stuck on restart loop
with "Unknown Command" on tunnel restart due to wan connection drop.

This patch is similar to the one written by Ansuel on Aug 2, 2021
but the 6rd teardown produces the same symptoms when the network
service is restarted.

Signed-off-by: David Lam <david@thedavid.net>
2021-09-23 23:53:12 +08:00
Rosen Penev
85bdd87fc4 tools/e2fsprogs: update to 1.46.4
Refresh patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-22 23:35:20 +08:00
Rosen Penev
7457d9bc2b tools/autoconf-archive: update to 2021.02.19
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-22 23:35:06 +08:00
Rosen Penev
00b400024b tools/sstrip: update to 3.2
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-22 23:34:49 +08:00
Rosen Penev
f20796d631 tools/sparse: update to 0.6.4
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-22 23:34:38 +08:00
Rosen Penev
f2b0893fc0 tools/mtools: update to 4.0.35
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-22 23:34:21 +08:00
Rosen Penev
a62ae81c66 tools/m4: update to 1.4.19
Remove upstreamed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-22 23:34:11 +08:00
Rosen Penev
164b915c2c tools/fakeroot: update to 1.26
Remove upstreamed patches. Refresh other.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-22 23:34:00 +08:00
Rosen Penev
40614a630c tools/bison: update to 3.8.1
Remove upstreamed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-22 23:33:49 +08:00
Eneas U de Queiroz
49eb757386 libtool: bump to 2.4.6
This updates libtool to its current release, from 2015.  Current patches
were renumbered and given a description text.  The fix in
160-passthrough-ssp.patch is no longer needed.

A patch to speed up build was cherry-picked, and another openwrt
specific patch was needed to not use quotes in $(SHELL), to acommodate
our "SHELL=/usr/bin/env bash" usage.

The already present call to ./bootstrap ensures that generated files are
refreshed, so the patches are applied only to their sources.  Also, that
bootstrap call was adjusted to run at the appropriate time when QUILT=1.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-09-21 23:39:32 +08:00
Hans Dedecker
7005a508f3 iproute2: update to 5.14
Update iproute2 to latest stable 5.14; for the changes see https://lwn.net/Articles/867940/

Refresh patches

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2021-09-21 23:39:16 +08:00
Ivan Pavlov
fe489301cf wolfssl: update to 4.8.1-stable
Changes from 4.7.0:
  Fix one high (OCSP verification issue) and two low vulnerabilities
  Improve compatibility layer
  Other improvements and fixes

For detailed changes refer to https://github.com/wolfSSL/wolfssl/releases

Signed-off-by: Ivan Pavlov <AuthorReflex@gmail.com>
2021-09-21 23:38:59 +08:00
Rosen Penev
41b0200487 tools/pkgconf: update to 1.8.0
Switch to compiling with meson for faster and more reliable compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-19 00:09:29 +08:00
Rosen Penev
3d0dc072f1 tools/pkgconf: update to 1.7.3
Remove upstreamed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-19 00:06:37 +08:00
Jo-Philipp Wich
c2ff1d8c03 pkgconf: always retain -I and -L flags
The pkgconf fork filters -I and -L flag values from .pc files which match
pkgconf's builtin system directory value.

During configure, pkgconf derives the default system include and library
search path values from exec_prefix, which is set to staging_dir/host in
the host tool build phase.

Due to that, pkgconf will drop all -I and -L flags pointing to
staging_dir/host/include or staging_dir/host/lib, unless invoked with
--keep-system-cflags and --keep-system-libs respectively, breaking our
kernel libelf discovery / stack validation workarounds.

In order to inhibit the filtering, add --keep-system-cflags and
--keep-system-libs to our pkg-config shell wrapper.

Fixes: GH#2832
Fixes: 867298cf47 ("tools/pkg-config: Replace with pkgconf")
Ref: https://lists.infradead.org/pipermail/openwrt-devel/2020-March/022182.html
Ref: https://git.openwrt.org/fe43969336201f2cc7d103b68fd6e65989bee184
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Acked-by: Petr Štetiar <ynezz@true.cz>
2021-09-19 00:06:26 +08:00
Rosen Penev
0a3ac3cc02 tools/pkgconf: Run pkg-config wrapper through shellcheck
Mainly quoting fixes.

Separated parameters by \ for easier readability.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-19 00:06:16 +08:00
Rosen Penev
3246dc7f15 tools/pkg-config: Replace with pkgconf
pkgconf is a newer, actively maintained implementation of pkg-config that
supports more aspects of the pkg-config file specification and provides a
library interface that applications can use to incorporate intelligent
handling of pkg-config files into themselves (such as build file
generators, IDEs, and compilers). Through its pkg-config compatibility
interface (activated when it is run as "pkg-config"), it also can
completely replace the original implementation.

It is also lighterweight and does not require glib2, as pkg-config does.

On other distros, pkgconf is symlinked to pkg-config. For simplicity here,
it is renamed to pkg-config.real, as in the original package.

Initial results have been positive. As before, pkgconf works as long as
the pkg-config files point to the proper paths.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
[backported upstream fix for Meson]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2021-09-19 00:05:57 +08:00
Rosen Penev
e06ab0c6b3 tools: add meson
meson is a next generation build system designed to have good defaults,
simpler build files, and fast compilation.

It is built upon python and uses ninja for compilation. The latter
provides fast by default (parallel) and problem free compilation.

There are over 40 packages already successfully using meson. The next
commit will convert pkgconf to use meson compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-18 23:53:55 +08:00
Rosen Penev
f0dff7533c tools/mm-macros: remove
ccaaab1c04 says that this is in the
codebase because of libsigc++, which is not in the codebase anymore.
Neither in base nor in packages. It doesn't seem to be needed by
anything else either. GNOME packages have transitioned to using meson,
which does not use m4 files.

Tested local compile with CONFIG_ALL. No problems seen.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-18 23:51:55 +08:00
Paul Spooren
e9cb0a7753
build: store artifacts in JSON
Multiple profiles create artifacts, these should be stored in the JSON
file as well, allowing downstream tooling to show those files, too.

Artifacts don't have specific filesystems so only the fields `name`,
`type` and `sha256` are available.

Rename env variable names from IMAGE_ to FILE_ prefixes to reflect that
images, kernels and artifacts are added with the same command.

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 5ef4608c02)
2021-09-17 04:49:04 +08:00
Adrian Schmutzler
7984a95946
treewide: rename IMAGE_PREFIX/IMAGE_NAME to DEVICE_IMG_*
We so far had two variables IMG_PREFIX and IMAGE_PREFIX with
different content. Since these names are obviously quite
confusing, this patch renames the latter to DEVICE_IMG_PREFIX,
as it's a device-dependent variable, while IMG_PREFIX is only
(sub)target-dependent.

For consistency, also rename IMAGE_NAME to DEVICE_IMG_NAME, as
that's a device-dependent variable as well.

Cc: Paul Spooren <mail@aparcar.org>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit ef2cb8572b)
2021-09-17 04:48:26 +08:00
AmadeusGhost
32d4a71c3c dnsmasq/2.86: refresh patches 2021-09-16 00:12:16 +08:00
Etan Kissling
f72ec2ce65 dnsmasq: add config option for connmark DNS filtering
This adds uci support to configure connmark based DNS filtering.

Signed-off-by: Etan Kissling <etan_kissling@apple.com>
(imported from upstream mailing list
https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2021q2/015151.html)
Signed-off-by: Etan Kissling <etan.kissling@gmail.com>
2021-09-15 23:34:50 +08:00
Etan Kissling
5d1c2547ef dnsmasq: Update to version 2.86
Summary of upstream CHANGELOG:
* Handle DHCPREBIND requests in the DHCPv6 server code.
* Fix bug which caused dnsmasq to lose track of processes forked.
* Major rewrite of the DNS server and domain handling code.
* Revise resource handling for number of concurrent DNS queries.
* Improve efficiency of DNSSEC.
* Connection track mark based DNS query filtering.
* Allow smaller than 64 prefix lengths in synth-domain.
* Make domains generated by --synth-domain appear in replies
  when in authoritative mode.
* Ensure CAP_NET_ADMIN capability is available when
  conntrack is configured.
* When --dhcp-hostsfile --dhcp-optsfile and --addn-hosts are
  given a directory as argument, define the order in which
  files within that directory are read.
* Support some wildcard matching of input tags to --tag-if.

Signed-off-by: Etan Kissling <etan.kissling@gmail.com>
2021-09-15 23:34:19 +08:00
Sven Eckelmann
3211091e62 ipq40xx: Select correct board-2.bin for EnGenius EMR3500
The board data file for the EnGenius EMR3500 is not part of the default
board-2.bin which is shipped by ath10k-board-qca4019. As result, the wrong
calibration information will be loaded into the wifi chip.

Fixes: 3f61e5e1b9 ("ipq40xx: add support for EnGenius EMR3500")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2021-09-15 23:30:14 +08:00
Sven Eckelmann
98e8ea7c84 ipq40xx: Select correct board-2.bin for EnGenius EMD1
The board data file for the EnGenius EMD1 is not part of the default
board-2.bin which is shipped by ath10k-board-qca4019. As result, the wrong
calibration information will be loaded into the wifi chip.

Fixes: 51f3035978 ("ipq40xx: add support for EnGenius EMD1")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2021-09-15 23:28:17 +08:00
Tianling Shen
6882bcb487
uboot-omap: fix build by adding comparabilities for old dtc
The patch is taken from commit 367ee3274d.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-14 03:34:47 +08:00
Tianling Shen
9aeff45240
uboot-zynq: fix build by adding comparabilities for old dtc
The patch is taken from commit 367ee3274d.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-14 03:32:22 +08:00
Tianling Shen
8d9ab9fe0d
ar71xx: hardcode VERSION_DIST for mkdapimg2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-14 03:26:28 +08:00
Tianling Shen
17e4ffc418
archs38: drop target
I've never heard somebody use this target, and it requires uClibc to
work, which was removed in the past.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-14 03:17:33 +08:00
Tianling Shen
4fa4878e6b
arc770: drop target
I've never heard somebody use this target, and it requires uClibc to
work, which was removed in the past.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-14 03:17:29 +08:00
Tianling Shen
cf1a90eb7f
glibc: depends on !arc
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-14 03:17:20 +08:00
Tianling Shen
e890caecb3
glibc: rollback to 2.27 for kernel 4.x
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-14 01:31:43 +08:00
AmadeusGhost
eef1d31b57 rtl8192eu: add new package
Also removed obsolete packages.
2021-09-13 15:50:16 +08:00
AmadeusGhost
91b245d0f2 mediatek/4.19: build error fixes 2021-09-13 15:35:05 +08:00
Chuanhong Guo
f4d680bd16
ramips: disable images for 4M devices
default initramfs for 5.4 kernel is larger than 4M, causing build error
for oversized initramfs image.
disable these images because we have no mechanism for ignoring initramfs
errors and the squashfs image will be larger than initramfs anyway.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
(cherry picked from commit d7d46da938)
2021-09-13 09:01:58 +08:00
Tianling Shen
aa5b96beac
autocore: drop extra % from CPU usage
Fixes: #458

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-13 08:46:06 +08:00
Tianling Shen
7f022898e9
ath79: nand: add KERNEL_SIZE for glinet_gl-ar750s-nor-nand
The recipe check-kernel-size was deprecated and use KERNEL_SIZE to
check the size of the kernel image.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-13 08:05:58 +08:00
Tianling Shen
bc54e5ea6e
ar71xx: tiny: add missing mkbuffaloimg method
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-13 07:59:14 +08:00
Tianling Shen
db3a9e3987
x86: add automount
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-11 05:02:45 +08:00
Tianling Shen
1ebbbbfec6
target: drop some default packages
Let users to decide build them or not.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-11 05:01:06 +08:00
Tianling Shen
d9b91146a1
default-settings: remove nas hack
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-11 04:53:12 +08:00
Tianling Shen
145b8fd486
exfat: Update to 5.14.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-11 04:31:35 +08:00
Tianling Shen
9ab390153c
README: update domain for build-scripts
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 21caef8ed3)
2021-09-11 04:12:11 +08:00
Roman Yeryomin
7e2ea78761 iproute2: m_xt.so depends on dynsyms.list
When doing parallel build on a fast machine with bottleneck in i/o,
m_xt.so may start linking faster than dynsyms.list gets populated,
resulting in error:

ld:dynsyms.list:0: syntax error in dynamic list

Fix this by adding dynsyms.list as make dependency to m_xt.so
Described also here:
https://bugs.openwrt.org/index.php?do=details&task_id=3353

Change from v1:
- add dynsysms.list dependancy only when shared libs are enabled

Signed-off-by: Roman Yeryomin <roman@advem.lv>
Fixes: FS#3353
2021-09-10 12:25:43 +08:00
Tianling Shen
74b9096ed0
README.md: add missing gcc dependencies
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-10 02:29:59 +08:00