Commit Graph

31783 Commits

Author SHA1 Message Date
Georgi Valkov a0c4d8a6fb usbmuxd: fix tethering not working after iPhone restart
If the iPhone restarts while the USB cable is still connected,
tethering does not work. This can be fixed by reconnecting.

Fix: if the hotplug.d script detects that carrier is disabled
(no communication), the USB link is reset, and then the
usbmuxd service is restarted. Tethering starts even before
the iPhone is unlocked. As a side effect, if tethering is not
enabled, the iPhone will ding a second time after 5 seconds.

Add dependency on usbutils for usbreset, remove dependency on librt.

[1] https://github.com/libimobiledevice/usbmuxd/issues/218
[2] https://github.com/openwrt/openwrt/issues/12566#issuecomment-2066305622

Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
2024-04-21 13:45:57 -07:00
Rosen Penev 66c237a78f mtd-rw: update version to latest master
Remove local patch as upstream has a different solution applied.

Use PKG_SOURCE_DATE to get rid of weird apk version.

Remove various variables that are default anyway.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-04-21 13:44:49 -07:00
Dirk Brenken ad755e0c4d
banip: update 0.9.5-2
* fixed possible Set search race condition (initiated from LuCI frontend)
* fixed the "no result" Set search problem in LuCI
* removed abandoned feeds: spamhaus edrop (was merged with spamhaus drop)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2024-04-21 21:58:32 +02:00
Christian Marangi 2750b16b47
nginx: bump to 1.25.5 release
Bump nginx to 1.25.5 release.

Patch automatically refreshed with make package/nginx/refresh.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-04-21 17:47:59 +02:00
Christian Marangi fbb7ad4d10
uwsgi: update Maintainer name
Update maintainer name with real name for Christian Marangi.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-04-21 17:40:28 +02:00
Christian Marangi a9371952c9
uwsgi: bump to latest 2.0.25.1 release
Bump to latest 2.0.25.1 release

Drop upstream PCRE2 patch and alarm memory leak fix.
Rework and refresh patch due to release bump.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-04-21 17:38:24 +02:00
Jonas Jelonek bf1b907d12 eza: update to 0.18.11
changelogs:
0.18.10: https://github.com/eza-community/eza/releases/tag/v0.18.10
0.18.11: https://github.com/eza-community/eza/releases/tag/v0.18.11

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2024-04-20 18:09:45 -07:00
Hauke Mehrtens 9447654b6b libmraa: Fix compilation with musl libc 1.2.5
Support POSIX basename used in musl libc 1.2.5.

This backports a patch from upstream git.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-04-20 18:07:19 -07:00
Rosen Penev 72a6e17d49 xxhash: build with cmake
Faster.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-04-20 18:06:21 -07:00
Rosen Penev db07f86c35 xxhash: switch to local git tarballs
Smaller and avoids having to use PKG_UNPACK.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-04-20 18:06:21 -07:00
Hauke Mehrtens ddd379416e tini: Fix compilation with musl libc 1.2.5
Support POSIX basename used in musl libc 1.2.5.

This fixes compilation with musl libc 1.2.5.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-04-20 18:05:14 -07:00
Josef Schlehofer 46c8b621b0
Merge pull request #23969 from dibdot/curl
curl: fix/bump PKG_RELEASE, remove maintainer
2024-04-20 19:03:20 +02:00
Dirk Brenken d5a13478eb
Merge pull request #23963 from dibdot/banIP
banip: release 0.9.5-1
2024-04-20 13:05:05 +02:00
Dirk Brenken fa80fefe22
banip: release 0.9.5-1
* added a DDoS protection rules in a new pre-routing chain to prevent common ICMP, UDP and SYN flood attacks and drop spoofed tcp flags & invalid conntrack packets, flood tresholds are configured via 'ban_icmplimit' (default 10/s), 'ban_synlimit' (default 10/s) and 'ban_udplimit' (default 100/s)
* the new pre-routing rules are tracked via named nft counters and are part of the standard reporting, set 'ban_logprerouting' accordingly
* block countries dynamically by Regional Internet Registry (RIR)/regions, e.g. all countries related to ARIN. Supported service regions are: AFRINIC, ARIN, APNIC, LACNIC and RIPE, set 'ban_region' accordingly
* it's now possible to always allow certain protocols/destination ports in wan-input and wan-forward chains, set 'ban_allowflag' accordingly - e.g. ' tcp 80 443-445'
* filter/convert possible windows line endings of external feeds during processing
* the cpu core autodetection is now limited to max. 16 cores in parallel, set 'ban_cores' manually to overrule this limitation
* set the default nft priority to -100 for banIP input/forward chains (pre-routing is set to -150)
* update readme
* a couple of bugfixes & performance improvements
* removed abandoned feeds: darklist, ipblackhole
* added new feeds: becyber, ipsum, pallebone, debl (changed URL)
* requires a LuCI frontend update as well (separate PR/commit)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2024-04-20 12:43:37 +02:00
Hannu Nyman 767b3f2ea8 geoip-shell: remove extra r from PKG_RELEASE
Remove the unnecessary 'r' from PKG_RELEASE as it is
added automatically by the build system to the final versioning.

(Current version leads into  'geoip-shell_0.5-rr2_all.ipk')

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2024-04-20 09:21:07 +03:00
Dirk Brenken afae2776e9
curl: fix/bump PKG_RELEASE, remove maintainer
* make PKG_RELEASE numeric again
* made a release bump due to  a newly added patch (see de4ef9d169 for details)
* remove maintainer (as requested in #23890

Signed-off-by: Dirk Brenken <dev@brenken.org>
2024-04-20 07:41:20 +02:00
Paul Donald b2742ed05d ntpd: update to version 4.2.8p17
Also some spell fixes for README.md

Drop patch-0001 - ntpd >= 4.2.8p16 patched this behaviour. See:

https://bugs.ntp.org/show_bug.cgi?id=3741 (and the linked diff there)
d2a7faef2f

Signed-off-by: Paul Donald <newtwen@gmail.com>
2024-04-20 11:15:11 +08:00
Rosen Penev 1bac5b386d udpspeeder: use local tarballs
Simpler, smaller, and avoids PKG_UNPACK.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-04-19 15:54:27 -07:00
Hauke Mehrtens 577259cfb9 lua-eco: Fix compilation with musl libc 1.2.5
Support POSIX basename used in musl libc 1.2.5.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-04-19 14:24:43 -07:00
Hauke Mehrtens b20e69d765 rtty: Fix compilation with musl libc 1.2.5
Support POSIX basename used in musl libc 1.2.5.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-04-19 14:23:51 -07:00
Rosen Penev 55440f2ac7 yara: update to 4.5.0
Move away from codeload for smaller and better tarballs.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-04-19 14:20:13 -07:00
Zephyr Lykos 8982c3e61a tailscale: Update to 1.64.1
<https://github.com/tailscale/tailscale/releases/v1.64.1>

Signed-off-by: Zephyr Lykos <git@mochaa.ws>
2024-04-19 14:19:47 -07:00
krant 2650de4686 socat: fix compile error when ccache is enabled
Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-04-19 14:19:25 -07:00
Rosen Penev bfb5d820bf ibrcommon: remove basename
Can be replaced with regular C++.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-04-19 14:18:45 -07:00
Maxim Storchak 8951378aec rsync: support xxhash and lz4
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2024-04-19 21:51:40 +08:00
Rui Salvaterra a7172aec50
Merge pull request #23943 from rsalvaterra/tor-bump
tor: update to 0.4.8.11 stable
2024-04-19 12:36:32 +01:00
Jo-Philipp Wich 3d99f1d2f1
Merge pull request #23821 from friendly-bits/add_geoip-shell
geoip-shell: add package
2024-04-19 13:16:39 +02:00
Alexandru Ardelean c789bcefb1
Merge pull request #23939 from commodo/python-updates1
django,django-restframework: bump versions
2024-04-19 12:32:13 +03:00
Michael Heimpold b459d2e798
Merge pull request #23955 from mhei/php8-update-to-8.3.6
php8: update to 8.3.6
2024-04-19 06:27:36 +02:00
Tianling Shen c1e6fbbcb0 v2ray-geodata: Update to latest version
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-04-19 10:56:03 +08:00
Tianling Shen d7e63d4e24 v2ray-geodata: make PKG_RELEASE numeric again
According to the documentation[1] 'PKG_RELEASE' should be a number,
so polulate the APK-style 'r' via 'VERSION' instead.

1. https://openwrt.org/docs/guide-developer/packages#buildpackage_variables

Fixes: 30796c5948 ("v2ray-geodata: use APK compatible version schema")
Reported-by: Sean Khan <datapronix@protonmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-04-19 10:56:03 +08:00
Felix Fietkau de4ef9d169 curl: fix SSL init with mbedtls 3.6
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2024-04-18 21:58:13 +02:00
Felix Fietkau 23bd17806b libssh: update to version 0.10.6, fix build with mbedtls 3.6
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2024-04-18 21:46:20 +02:00
Josef Schlehofer 4e20600abf
Merge pull request #23953 from commodo/cython-update1
python-cython: bump to version 3.0.10
2024-04-18 19:38:19 +02:00
Marcus Folkesson eb35a3be13 python-jinja2: create /host target
Make the python-jinja2/host target available for the build environment
to be used with e.g. the PKG_BUILD_DEPENDS list.

This is needed for an upcoming package (libcamera).

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
2024-04-18 16:29:34 +02:00
Marcus Folkesson 436e462c64 python-yaml: create /host target
Make the python-yaml/host target available for the build environment
to be used with e.g. the PKG_BUILD_DEPENDS list.

This is needed for an upcoming package (libcamera).

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
2024-04-18 16:28:59 +02:00
Sean Khan 660aa8091f nginx: Use zst + APK style packaging for modules
Generates git tarballs in the new APK style format:

Note that `SOURCE_DATE` was added and need to be updated
as the commit date of the commit hash

Before:
```
nginx-mod-geoip2-1cabd8a1f68ea3998f94e9f3504431970f848fbf.tar.xz
nginx-mod-headers-more-bea1be3bbf6af28f6aa8cf0c01c07ee1637e2bd0.tar.xz
nginx-mod-brotli-25f86f0bac1101b6512135eac5f93c49c63609e3.tar.xz
nginx-mod-rtmp-f0ea62342a4eca504b311cd5df910d026c3ea4cf.tar.xz
nginx-mod-ts-ef2f874d95cc75747eb625a292524a702aefb0fd.tar.xz
nginx-mod-naxsi-d714f1636ea49a9a9f4f06dba14aee003e970834.tar.xz
nginx-mod-lua-c89469e920713d17d703a5f3736c9335edac22bf.tar.xz
nginx-mod-lua-resty-core-2e2b2adaa61719972fe4275fa4c3585daa0dcd84.tar.xz
nginx-mod-lua-resty-lrucache-52f5d00403c8b7aa8a4d4f3779681976b10a18c1.tar.xz
nginx-mod-dav-ext-f5e30888a256136d9c550bf1ada77d6ea78a48af.tar.xz
nginx-mod-ubus-b2d7260dcb428b2fb65540edb28d7538602b4a26.tar.xz
```

After:
```
nginx-mod-geoip2-2020.01.22~1cabd8a1.tar.zst
nginx-mod-headers-more-2022.07.17~bea1be3b.tar.zst
nginx-mod-brotli-2020.04.23~25f86f0b.tar.zst
nginx-mod-rtmp-2018.12.07~f0ea6234.tar.zst
nginx-mod-ts-2017.12.04~ef2f874d.tar.zst
nginx-mod-naxsi-2022.09.14~d714f163.tar.zst
nginx-mod-lua-2023.08.19~c89469e9.tar.zst
nginx-mod-lua-resty-core-2023.09.09~2e2b2ada.tar.zst
nginx-mod-lua-resty-lrucache-2023.08.06~52f5d004.tar.zst
nginx-mod-dav-ext-2018.12.17~f5e30888.tar.zst
nginx-mod-ubus-2020.09.06~b2d7260d.tar.zst
```

Run tested: aarch64, Dynalink DL-WRX36, Master Branch

Signed-off-by: Sean Khan <datapronix@protonmail.com>
2024-04-18 13:11:31 +02:00
Sean Khan caffa410ed nginx: autoload dynamic modules
In current setup, dynamic modules are not autoloaded, requiring users
to create and load additional config files.

We should assume that if a user installs additional modules, they want
them 'on' by default.

This commit does the following:

1.) generates a module load config in '/etc/nginx/modules.d' with the
    format '${module_name}'.module
    (i.e. /etc/nginx/modules.d/ngx_http_geoip2.module)
2.) deletes previous module conf for 'luci'
    /etc/nginx/modules.d/luci.module if it exists, this will prevent
    'module already loaded' errors.

The following is a portion of the final output when using the
default uci template `/etc/nginx/uci.conf.template` (via nginx-util):

```
nginx -T -c '/etc/nginx/uci.conf'

load_module /usr/lib/nginx/modules/ngx_http_brotli_filter_module.so;

load_module /usr/lib/nginx/modules/ngx_http_brotli_static_module.so;

load_module /usr/lib/nginx/modules/ngx_http_dav_ext_module.so;

load_module /usr/lib/nginx/modules/ngx_http_geoip2_module.so;

load_module /usr/lib/nginx/modules/ngx_http_headers_more_filter_module.so;

load_module /usr/lib/nginx/modules/ngx_http_lua_module.so;

load_module /usr/lib/nginx/modules/ngx_http_naxsi_module.so;

load_module /usr/lib/nginx/modules/ngx_http_ts_module.so;

load_module /usr/lib/nginx/modules/ngx_http_ubus_module.so;

load_module /usr/lib/nginx/modules/ngx_rtmp_module.so;

load_module /usr/lib/nginx/modules/ngx_stream_module.so;

load_module /usr/lib/nginx/modules/ngx_stream_geoip2_module.so;
```

Signed-off-by: Sean Khan <datapronix@protonmail.com>
2024-04-18 13:02:42 +02:00
Sean Khan 4cc682c8a4 nginx: fix geoip2 dependency on mod ngx_stream
Since the geoip2 package contains both `http` and `stream` versions. It
requires the module `ngx_stream` be installed and loaded and produces
the error:

```
2024/04/12 18:38:18 [emerg] 4402#0: dlopen()
"/usr/lib/nginx/modules/ngx_stream_geoip2_module.so" failed (Error
relocating /usr/lib/nginx/modules/ngx_stream_geoip2_module.so:
ngx_stream_complex_value: symbol not found) in
/etc/nginx/module.d/ngx_stream_geoip2.module:1 nginx: configuration file
/etc/nginx/uci.conf test failed
```

Add dependency so it's built at build time and installed automatically
by `opkg`

Signed-off-by: Sean Khan <datapronix@protonmail.com>
2024-04-18 13:00:20 +02:00
Michael Heimpold 2682b28cb3 php8: update to 8.3.6
This fixes:
    - CVE-2024-1874
    - CVE-2024-2756
    - CVE-2024-2757
    - CVE-2024-3096

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2024-04-17 20:56:55 +02:00
Alexandru Ardelean e3ed196f20 python-cython: bump to version 3.0.10
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2024-04-17 11:31:26 +03:00
Anton Khazan fc35918026 geoip-shell: add package
Adds the geoip-shell package to OpenWrt.
geoip-shell is a flexible geoip blocker for Linux with a user-friendly command-line interface.

Signed-off-by: Anton Khazan <antonk.d3v@gmail.com>
2024-04-16 13:45:05 +02:00
Alexandru Ardelean 0592f27d99 django-restframework: bump to version 3.15.1
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2024-04-16 14:13:23 +03:00
Alexandru Ardelean 1a51bd18ac django: bump to version 5.0.4
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2024-04-16 14:12:52 +03:00
Rui Salvaterra 570ee10a13 tor: update to 0.4.8.11 stable
Minor release, see the changelog [1] for what's new.

[1] https://gitlab.torproject.org/tpo/core/tor/-/raw/tor-0.4.8.11/ChangeLog

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2024-04-16 09:28:27 +01:00
Florian Eckert f788525078
Merge pull request #23879 from TDT-AG/pr/20240411-ucitrack
keepalived: remove file sync handling for ucitrack
2024-04-16 08:45:17 +02:00
Florian Eckert 7889c520b7 keepalived: remove file sync handling for ucitrack
The ucitrack file hanlding was converted to json. Therefore this is not
needed anymore.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-16 08:44:55 +02:00
Stan Grishin 3886eac61c
Merge pull request #23925 from stangri/master-pbr
pbr: bugfix: fix IPv6 interface errors
2024-04-15 14:43:13 -07:00
Stan Grishin 717a800ec5 pbr: bugfix: fix IPv6 interface errors
* update license to AGPL-3.0-or-later
* rename pbr_get_gateway to pbr_get_gateway4 for better readability
* improve IPv6 "gateway" detection/display on start
* prevent IPv6 interface errors on start
* revert release format

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2024-04-15 19:55:27 +00:00
krant 6a400cce62 squid: update to 6.9
Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-04-14 22:45:15 -07:00