Stan Grishin [Wed, 1 Jan 2025 05:31:14 +0000 (05:31 +0000)]
adblock-fast: Makefile bugfixes and hijack rework
* remove indentation in postinst/prerm/postrm scripts to fix issues with APK
* rework hijack logic to redirect port 53 to the port of active/selected dnsmasq instances
Michael Heimpold [Sat, 21 Dec 2024 14:46:08 +0000 (15:46 +0100)]
imx-uuc: add package 'sdimage' and 'ufb'
This adds two small tools useful only on the Freescale/NXP i.MX23/28
devices, so it is bound to the mxs target:
- sdimage: helper to write the required header for the bootstream,
e.g. during bootloader update
- ufb: can be used in conjunction with NXP's host side mfgtool
Wesley Gimenes [Sun, 22 Dec 2024 22:21:31 +0000 (19:21 -0300)]
netbird: revert fix to build with musl >1.2.4
Partially revert: 7b3d033ab651dd11e0db5fb099d106c9e09a2dc6
- Revert: Also fixes issue of not being able to build with musl >1.2.4,
The issue has been resolved as of March 2024. For more details, see:
https://github.com/mattn/go-sqlite3/issues/1164#issuecomment-1975022901
This time, we really need to use meson to build numpy.
And to make things more complicated, the 'vendored' meson package (that
comes with numpy) must be used. This is because they have some special
logic in there that's specific to numpy.
With this change, we also need to keep a special/internal
'openwrt-cross.txt.in' file, because cross-compiling numpy also requires
that a 'longdouble_format' property be added.
More details about this:
https://github.com/numpy/numpy/issues/23972
https://github.com/numpy/numpy/blob/maintenance/2.2.x/doc/source/building/cross_compilation.rst
Removing quirk fix for x86_64 with detecting 'avx512f'.
This should work with the new meson stuff.
And finally, added a test.sh script.
This should make sure that this package works fine during upgrades.
Michael Heimpold [Mon, 23 Dec 2024 20:41:05 +0000 (21:41 +0100)]
php8: add patch for loongarch64 support
This backported patch is required to fix the build for loongarch64:
...
... loongarch64-openwrt-linux-musl/bin/ld.bfd: Zend/zend_fibers.o: in function `zend_fiber_init_context':
zend_fibers.c:(.text+0xb34): undefined reference to `getcontext'
... loongarch64-openwrt-linux-musl/bin/ld.bfd: zend_fibers.c:(.text+0xb38): undefined reference to `getcontext'
... loongarch64-openwrt-linux-musl/bin/ld.bfd: zend_fibers.c:(.text+0xb74): undefined reference to `makecontext'
... loongarch64-openwrt-linux-musl/bin/ld.bfd: zend_fibers.c:(.text+0xb78): undefined reference to `makecontext'
... loongarch64-openwrt-linux-musl/bin/ld.bfd: Zend/zend_fibers.o: in function `.L170':
zend_fibers.c:(.text+0xe34): undefined reference to `swapcontext'
...
Petr Štetiar [Thu, 12 Dec 2024 20:19:04 +0000 (20:19 +0000)]
lrzsz: fix random build failures by really disabling autofoo
Currently we're seeing random build failures, caused by autofoo being
called on very ancient bundled autofoo:
cd . && aclocal
aclocal.real: warning: autoconf input should be named 'configure.ac', not 'configure.in'
acinclude.m4:2: warning: underquoted definition of AC_REPLACE_GNU_GETOPT
acinclude.m4:2: run info Automake 'Extending aclocal'
acinclude.m4:2: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
configure.in:106: error: automatic de-ANSI-fication support has been removed
For some reason that `touch` based neutralization introduced in commit 6d6c4b21b5e2 ("lrzsz: update to v0.12.21rc and fix a CVE") doesn't
always work.
So lets fix it by removing the autofoo bits from the bundled Makefile.in
and while at it remove processing of man and testsuite subdirs to save
some computing cycles.
Fixes: #25543 Fixes: 6d6c4b21b5e2 ("lrzsz: update to v0.12.21rc and fix a CVE") Signed-off-by: Petr Štetiar <redacted>
Erwan MAS [Fri, 13 Dec 2024 15:33:13 +0000 (10:33 -0500)]
qemu: fix error on python dependency at build
qemu need a recent version of python build , this is visible when you build with the docker image of the sdk see https://github.com/openwrt/docker/
error generated during the build : found no usable tomli, please install it
WFB-ng is long-range packet radio link based on raw WiFi radio.
Adding it to openwrt base packages will help a lot of it users
to use cheap wifi routers (supporting minitoring mode) instead
of build custom hardware yourself.
Liangbin Lian [Fri, 12 Apr 2024 03:43:46 +0000 (11:43 +0800)]
rclone: fix configuration saving
The following error occurs when creating storage configuration in WEBUI:
```
Failed to save config after 10 tries: failed to create temp file for new config: open /etc/rclone/rclone.conf4258227003: permission denied
```
we should set the owner of the parent directory of the configuration
file to rclone.
Daniel Golle [Sat, 7 Dec 2024 21:48:31 +0000 (21:48 +0000)]
gst1-plugins-bad: build Intel QuickSync plugin only on x86
Intel Media SDK lacks support for many architectures and leads to build
failing. As the QuickSync hardware feature is anyway only supported on
x86 CPUs simply don't build the plugin on other platforms.
The challenge directory (for webroot challenges) is on a tmpfs, which
means it doesn't exist on boot. Some web servers (uhttpd in particular)
don't like being configured to serve files from a non-existent
directory. So add a boot() section to the ACME init script that just
creates the challenge directory, and make sure it runs relatively early.
That should take care of the non-existent directory issue, while still
keeping the actual certificate renewal controlled by cron.
Georgi Valkov [Sat, 9 Nov 2024 12:41:41 +0000 (14:41 +0200)]
libimobiledevice: update to the latest git version
Notable changes
- add detection and note about passcode requirement for iOS 16.1
- add support for iOS 17+ Personalized Developer Disk image mounting
- fix heap buffer overflow in ideviceimagemounter
- tools/afcclient: add missing time.h header
- depends on libtatsu, which depends on libcurl