feed/packages.git
18 months agonginx: refactor Makefile
Glen Huang [Sat, 29 Apr 2023 06:53:02 +0000 (14:53 +0800)]
nginx: refactor Makefile

Make modules follow a naming convention, which enables:

1. Inline ADDITIONAL_MODULES into CONFIGURE_ARGS
2. Consolidate some parts of Quilt and Download for each module into
BuildModule

Signed-off-by: Glen Huang <me@glenhuang.com>
[ fix conflict error ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agonginx: make nginx-mod-luci depend on nginx-ssl
Glen Huang [Sun, 14 May 2023 11:13:39 +0000 (19:13 +0800)]
nginx: make nginx-mod-luci depend on nginx-ssl

Change dependency from nginx virtual migration package to nginx-ssl for
nginx-mod-luci nginx module package.

Signed-off-by: Glen Huang <me@glenhuang.com>
[ add commit description ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agoMerge pull request #21186 from commodo/mstpd-drop
Alexandru Ardelean [Fri, 26 May 2023 10:32:15 +0000 (13:32 +0300)]
Merge pull request #21186 from commodo/mstpd-drop

mstpd: drop package (replaced by ustp in core)

18 months agomstpd: drop package (replaced by ustp in core)
Alexandru Ardelean [Fri, 26 May 2023 10:25:28 +0000 (13:25 +0300)]
mstpd: drop package (replaced by ustp in core)

OpenWrt core has a package called ustp which is an OpenWrt adaptation (from
mstpd) for OpenWrt (using libubox, libubus, etc).

No sense in keeping mstpd anymore.
We can just update ustp.
Also, if mstpd has any updates, they can be ported over to ustp too.

Abandoned PR:
   https://github.com/openwrt/packages-abandoned/pull/30

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
18 months agoMerge pull request #21149 from stangri/master-curl
Stan Grishin [Fri, 26 May 2023 08:43:02 +0000 (02:43 -0600)]
Merge pull request #21149 from stangri/master-curl

curl: update to 8.1.1

18 months agoMerge pull request #21167 from jefferyto/python-packages-do-not-set-pyvenv-launcher
Alexandru Ardelean [Fri, 26 May 2023 07:11:59 +0000 (10:11 +0300)]
Merge pull request #21167 from jefferyto/python-packages-do-not-set-pyvenv-launcher

python-packages: Remove __PYVENV_LAUNCHER__ environment variable

18 months agosqueezelite: restructure package variants
Robert Högberg [Wed, 17 May 2023 22:01:24 +0000 (00:01 +0200)]
squeezelite: restructure package variants

The squeezelite packages were lacking some features/codecs
(ssl, opus, wma, dsd and resampling) and required manual compilation to
enable these features/codecs.

Now there are 3 packages available that hopefully should satisfy most users:
* full
  This package enables all features and codecs.
* dynamic
  This package only enables PCM/AIFF and MP3 codecs and all other
  features/codecs can be added by manually installing OpenWrt packages.
* custom
  This package allows for customizing squeezelite.

Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
18 months agoopenvpn-easy-rsa: update to 3.1.3
Luiz Angelo Daros de Luca [Tue, 23 May 2023 21:03:26 +0000 (18:03 -0300)]
openvpn-easy-rsa: update to 3.1.3

Version 3.0.9 of EasyRSA introduces OpenSSL 3 (3.0.3) support.

For other changes, see:
- https://github.com/OpenVPN/easy-rsa/releases/tag/v3.0.9
- https://github.com/OpenVPN/easy-rsa/releases/tag/v3.1.0
- https://github.com/OpenVPN/easy-rsa/releases/tag/v3.1.1
- https://github.com/OpenVPN/easy-rsa/releases/tag/v3.1.2
- https://github.com/OpenVPN/easy-rsa/releases/tag/v3.1.3

Closes #21142

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
18 months agouwsgi: Update to 2.0.21, refresh patches
Jeffery To [Thu, 25 May 2023 12:52:26 +0000 (20:52 +0800)]
uwsgi: Update to 2.0.21, refresh patches

This version includes support for Python 3.11.

This also:

* Updates Build/Compile to only build selected subpackages.

* Removes the submenu in menuconfig; there are too few subpackages to
  justify the extra complexity.

Fixes: https://github.com/openwrt/packages/issues/21163
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
18 months agogst1-libav: update to 1.22.3
W. Michael Petullo [Wed, 24 May 2023 15:02:40 +0000 (10:02 -0500)]
gst1-libav: update to 1.22.3

Signed-off-by: W. Michael Petullo <mike@flyn.org>
18 months agogst1-plugins-ugly: update to 1.22.3
W. Michael Petullo [Wed, 24 May 2023 15:02:25 +0000 (10:02 -0500)]
gst1-plugins-ugly: update to 1.22.3

Signed-off-by: W. Michael Petullo <mike@flyn.org>
18 months agogst1-plugins-bad: update to 1.22.3
W. Michael Petullo [Wed, 24 May 2023 15:01:43 +0000 (10:01 -0500)]
gst1-plugins-bad: update to 1.22.3

Signed-off-by: W. Michael Petullo <mike@flyn.org>
18 months agogst1-plugins-good: update to 1.22.3
W. Michael Petullo [Wed, 24 May 2023 15:01:15 +0000 (10:01 -0500)]
gst1-plugins-good: update to 1.22.3

Signed-off-by: W. Michael Petullo <mike@flyn.org>
18 months agogst1-plugins-base: update to 1.22.3
W. Michael Petullo [Wed, 24 May 2023 15:00:46 +0000 (10:00 -0500)]
gst1-plugins-base: update to 1.22.3

Signed-off-by: W. Michael Petullo <mike@flyn.org>
18 months agogstreamer1: update to 1.22.3
W. Michael Petullo [Wed, 24 May 2023 14:59:51 +0000 (09:59 -0500)]
gstreamer1: update to 1.22.3

Signed-off-by: W. Michael Petullo <mike@flyn.org>
18 months agoMerge pull request #21168 from jefferyto/python-poetry-core-1.6.0
Tianling Shen [Thu, 25 May 2023 17:28:42 +0000 (01:28 +0800)]
Merge pull request #21168 from jefferyto/python-poetry-core-1.6.0

python-poetry-core: Update to 1.6.0

18 months agopostgresql: update to 15.2
Nick Hainke [Wed, 26 Apr 2023 06:49:59 +0000 (08:49 +0200)]
postgresql: update to 15.2

Release Notes:
https://www.postgresql.org/docs/release/15.2/

Fixes: CVE-2022-41862
Signed-off-by: Nick Hainke <vincent@systemli.org>
18 months agoMerge pull request #21166 from jefferyto/python3-do-not-link-libbsd
Tianling Shen [Thu, 25 May 2023 14:28:52 +0000 (22:28 +0800)]
Merge pull request #21166 from jefferyto/python3-do-not-link-libbsd

python3: Fix unnecessary linking with libbsd

18 months agopython-poetry-core: Update to 1.6.0
Jeffery To [Thu, 25 May 2023 07:30:08 +0000 (15:30 +0800)]
python-poetry-core: Update to 1.6.0

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
18 months agopython-packages: Remove __PYVENV_LAUNCHER__ environment variable
Jeffery To [Thu, 25 May 2023 05:19:48 +0000 (13:19 +0800)]
python-packages: Remove __PYVENV_LAUNCHER__ environment variable

Setting __PYVENV_LAUNCHER__ for Python package builds was added in
a91a992abb1fe9b7c4e4e5d11532dbf18c5b213d, but neither the commit message
nor the pull request[1] explain its purpose in detail.

My guess is this was done to set the shebang for installed Python
scripts. We now have a Makefile recipe to set the shebang, so it would
be unnecessary to set this variable for this purpose.

It appears that Python 3.11 has changed the handling of this (internal)
environment variable, and setting it appears to be causing build errors
for all Python packages.

This removes setting __PYVENV_LAUNCHER__ for Python package builds.

[1]: https://github.com/openwrt/packages/pull/525

Fixes: https://github.com/openwrt/packages/issues/21162
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
18 months agopython3: Fix unnecessary linking with libbsd
Jeffery To [Thu, 25 May 2023 04:01:17 +0000 (12:01 +0800)]
python3: Fix unnecessary linking with libbsd

configure will try to link with libbsd for the flock function, even when
flock is available without it.

Fixes: https://github.com/openwrt/packages/issues/21161
Fixes: 2445fe9fb25e ("python3: Update to 3.11.3, refresh/redo patches")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
18 months agopython-flit-core: Update to 3.9.0
Jeffery To [Mon, 22 May 2023 07:54:42 +0000 (15:54 +0800)]
python-flit-core: Update to 3.9.0

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
18 months agoborgbackup: Move from lang/python into utils
Jeffery To [Fri, 19 May 2023 05:54:09 +0000 (13:54 +0800)]
borgbackup: Move from lang/python into utils

lang/python is meant for Python libraries and other packages closely
related to the Python language. It makes more sense for borgbackup to be
in utils instead.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
18 months agoperl: fix tests
Oskari Rauta [Sun, 21 May 2023 14:11:06 +0000 (17:11 +0300)]
perl: fix tests

Enabling Perl tests causes failure during build.
Files that should be installed into packages, are
missing or in different location.

This PR removes missing files/paths and replaces
paths that have changed with working ones.

Most likely, test files have been relocated during
time and this portion hasn't been updated when
perl package has updated.

Fixes #21127

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
18 months agopython3: Update to 3.11.3, refresh/redo patches
Jeffery To [Fri, 5 May 2023 09:23:49 +0000 (17:23 +0800)]
python3: Update to 3.11.3, refresh/redo patches

* Removed patches:

  * 001-enable-zlib.patch: zlib module should be enabled automatically

  * 007-distutils-do-not-adjust-path.patch: Not necessary since we
    process shebang lines for all scripts (in python3-package.mk)

  * 030-bpo-43112-detect-musl-as-a-separate-SOABI-GH-24502.patch:
    Already merged

* Move configure vars from config.site back into Makefile

  Centralizing all build information into one file makes it easier to
  maintain

* No longer set ac_cv_header_uuid_h=yes as configure should detect
  libuuid

* Order configure args by enable-/disable-/with-/without-, then
  alphabetically

* Set ac_cv_working_openssl_hashlib=yes for host configure to bypass the
  OpenSSL API tests with LibreSSL

* Use the default Host/Compile recipe instead of picking out specific
  targets to make

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
18 months agopython3: Fix hashlib module not compiled for host Python
Jeffery To [Mon, 22 May 2023 15:26:19 +0000 (23:26 +0800)]
python3: Fix hashlib module not compiled for host Python

026-openssl-feature-flags.patch and
028-host-python-support-ssl-with-libressl.patch were removed in
4ecd9d67e90651a8e93760bf0b5771f7057c74a8 to fix the ssl module after
libressl was upgraded to 3.7.0[1].

However, the cause of the ssl module build failure was only
028-host-python-support-ssl-with-libressl.patch.

Removing 026-openssl-feature-flags.patch caused a build failure for the
hashlib module.

This restores 026-openssl-feature-flags.patch with an updated version of
the patch from OpenBSD[2].

[1]: https://github.com/openwrt/packages/issues/20107
[2]: https://github.com/openbsd/ports/blob/26a04435bf2a09dcbe22b718bfee08997617a906/lang/python/3.10/patches/patch-Modules__hashopenssl_c

Fixes: 4ecd9d67e906 ("python3: fix ssl support by removing libressl patches")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
18 months agopython3: Fix uuid module not compiled for host Python
Jeffery To [Tue, 23 May 2023 11:12:27 +0000 (19:12 +0800)]
python3: Fix uuid module not compiled for host Python

This adds $(STAGING_DIR_HOST)/include/e2fsprogs to HOST_CFLAGS and
HOST_CPPFLAGS so that configure can find uuid/uuid.h.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
18 months agopython3: Fix multiarch/local paths added when building host Python
Jeffery To [Tue, 23 May 2023 09:49:43 +0000 (17:49 +0800)]
python3: Fix multiarch/local paths added when building host Python

By default, the Python build process will add /usr/local/{lib,include},
and multiarch paths (e.g. /usr/{lib,include}/x86_64-linux-gnu) if
building on Debian/Ubuntu, to its library and includes paths.

006-remove-multi-arch-and-local-paths.patch was added in
84202f17e1aac6faf66b8d186f7c5c62b6f72ffb to stop the Python build
process from adding these paths.

006-remove-multi-arch-and-local-paths.patch was removed in
48277ec9158151763239461c6f60808e38a99c2f.

006-do-not-add-multiarch-paths-when-cross-compiling.patch was added in
0c8b0b0bf727a57b0138a1425d2f32786dddd146 to stop the Python build
process from adding these paths for target Python.

These paths are still added by the Python build process when building
host Python.

This replaces the cross-compiling-only patch with the original patch,
renamed slightly and adapted for Python 3.10.

Fixes: 48277ec91581 ("python3: bump to version 3.8")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
18 months agopython3: Fix race condition when doing parallel builds
Jeffery To [Sat, 20 May 2023 11:07:22 +0000 (19:07 +0800)]
python3: Fix race condition when doing parallel builds

When doing parallel builds, host Python can install the python3 symlink
before the Python standard library is installed completely.

When this occurs, it is possible for other packages to detect the
python3 symlink and try to use host Python before it is fully installed.

This adds a patch to make commoninstall (where the standard library is
installed) a prerequisite of bininstall (where the python3 symlink is
installed), so that commoninstall is fully completed before bininstall
begins.

Patch has been submitted upstream:
https://github.com/python/cpython/pull/104693

Fixes: https://github.com/openwrt/packages/issues/19241
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
18 months agopython3: Fix readelf program name not replaced in _sysconfigdata.py
Jeffery To [Thu, 18 May 2023 09:42:12 +0000 (17:42 +0800)]
python3: Fix readelf program name not replaced in _sysconfigdata.py

The Makefile lines to add READELF to TARGET_CONFIGURE_OPTS was removed
in 4e05541782edeb06b51d691dadf52648df24c940.

Without setting READELF, configure finds the symlink to
$(TARGET_CROSS)readelf (e.g. arm-openwrt-linux-readelf) instead of
$(TARGET_CROSS)readelf (e.g. arm-openwrt-linux-muslgnueabi-readelf).

This leads to the symlink name being saved to _sysconfigdata.py, and so
the readelf name is not replaced correctly (in
Py3Package/python3-base/install).

This restores the removed Makefile lines.

Fixes: 4e05541782ed ("python3: bump to version 3.10.0")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
18 months agopython3: Fix __pycache__ files included in python3-light
Jeffery To [Fri, 12 May 2023 11:40:11 +0000 (19:40 +0800)]
python3: Fix __pycache__ files included in python3-light

003-do-not-run-distutils-tests.patch was removed in
4e05541782edeb06b51d691dadf52648df24c940. This patch stopped "make
install" from, among other things, running compileall.

When this patch was removed, "make install" ran compileall as normal and
created bytecode files in __pycache__ directories. These files were then
packaged in python3-light.

This adds a patch to stop compileall from being run during "make
install".

Fixes: 4e05541782ed ("python3: bump to version 3.10.0")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
18 months agopython3: Remove --without-pymalloc
Jeffery To [Mon, 8 May 2023 15:42:37 +0000 (23:42 +0800)]
python3: Remove --without-pymalloc

--without-pymalloc was added in 7bf1ae65a89e380ce20ef5ab13b1a7276d6f7047
because leaving it enabled added an "m" flag/suffix to file names.

This flag/suffix was removed in Python 3.8[1], so disabling pymalloc is
no longer necessary.

[1]: https://docs.python.org/3.8/whatsnew/3.8.html#build-and-c-api-changes

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
18 months agosqueezelite: update to 1.9.9-1432
Robert Högberg [Thu, 18 May 2023 07:59:21 +0000 (09:59 +0200)]
squeezelite: update to 1.9.9-1432

Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
18 months agoxfsprogs: Update to 6.2.0
Tianling Shen [Mon, 22 May 2023 04:29:27 +0000 (12:29 +0800)]
xfsprogs: Update to 6.2.0

* Added new dependencies introduced in this version
* Disabled mips16 due to build issues
* Fixed the usage of the `CONFIG_USE_MUSL` variable (missing $)
* Refreshed patches

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
18 months agoinih: add new package
Tianling Shen [Mon, 22 May 2023 04:29:27 +0000 (12:29 +0800)]
inih: add new package

It's required by next xfsprogs update.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
18 months agocurl: update to 8.1.1
Stan Grishin [Tue, 23 May 2023 22:26:26 +0000 (22:26 +0000)]
curl: update to 8.1.1

* https://curl.se/changes.html#8_1_1

Signed-off-by: Stan Grishin <stangri@melmac.ca>
18 months agoMerge pull request #21145 from stangri/master-curl
Stan Grishin [Tue, 23 May 2023 22:14:49 +0000 (16:14 -0600)]
Merge pull request #21145 from stangri/master-curl

curl: update to 8.1.0

18 months agocurl: update to 8.1.0
Stan Grishin [Tue, 23 May 2023 17:59:55 +0000 (17:59 +0000)]
curl: update to 8.1.0

* https://curl.se/changes.html#8_1_0

Signed-off-by: Stan Grishin <stangri@melmac.ca>
18 months agoipfs-http-client: remove package
Tianling Shen [Fri, 19 May 2023 13:14:13 +0000 (21:14 +0800)]
ipfs-http-client: remove package

This package lacks proper maintenance in both upstream and here.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
18 months agolcd4linux: rename dpf to DPF to fix compilation
Florian Eckert [Tue, 23 May 2023 08:12:03 +0000 (10:12 +0200)]
lcd4linux: rename dpf to DPF to fix compilation

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
18 months agosnort3: update to 3.1.62.0
John Audia [Mon, 22 May 2023 16:29:22 +0000 (12:29 -0400)]
snort3: update to 3.1.62.0

Upstream bump

Build system: x86_64
Build-tested: bcm2711/RPi4B
Run-tested: bcm2711/RPi4B

Signed-off-by: John Audia <therealgraysky@proton.me>
18 months agolcd4linux: fix build error for custom build
Florian Eckert [Tue, 23 May 2023 06:30:06 +0000 (08:30 +0200)]
lcd4linux: fix build error for custom build

This change fixes the following build error:
hecking that generated files are newer than configure... done
configure: error: conditional "ANSICXX" was never defined.
Usually this means the macro was only invoked conditionally.
make[2]: *** [Makefile:300:
/home/feckert/openwrt/build_dir/target-x86_64_musl/lcd4linux-custom/lcd4linux-2019-07-19-0b83bb3a/.configured_a17fb5ef857664f03cd0ce37cc5ea591]
Error 1
make[2]: Leaving directory
'/home/feckert/feeds/packages/utils/lcd4linux'
time: package/feeds/packages/lcd4linux/custom/compile#15.43#0.79#16.92
ERROR: package/feeds/packages/lcd4linux failed to build (build
variant: custom).
make[1]: *** [package/Makefile:120:
package/feeds/packages/lcd4linux/compile] Error 1
make[1]: Leaving directory
'/home/feckert/openwrt'
make: ***
[/home/feckert/openwrt/include/toplevel.mk:231:
package/feeds/packages/lcd4linux/compile] Error 2

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Suggested-by: Oskari Rauta <oskari.rauta@gmail.com>
18 months agodos2unix: Update to 7.5.0
Tianling Shen [Mon, 22 May 2023 10:17:47 +0000 (18:17 +0800)]
dos2unix: Update to 7.5.0

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
18 months agopciutils: update to 3.10.0
Nick Hainke [Sun, 21 May 2023 13:08:35 +0000 (15:08 +0200)]
pciutils: update to 3.10.0

Manually refresh:
- 101-no-strip.patch

Remove upstreamed:
- 107-avoid-addng-multiple-version-tags.patch

ChangeLog:
https://github.com/pciutils/pciutils/blob/21407521fb62a65e39051561e16e4ce1a74362c1/ChangeLog

Signed-off-by: Nick Hainke <vincent@systemli.org>
18 months agoMerge pull request #21128 from mhei/php8-pecl-xdebug-update-to-3.2.1
Michael Heimpold [Sun, 21 May 2023 18:27:00 +0000 (20:27 +0200)]
Merge pull request #21128 from mhei/php8-pecl-xdebug-update-to-3.2.1

php8-pecl-xdebug: update to 3.2.1

18 months agoocserv: add otp config option
Thlv Alivs [Sat, 20 May 2023 04:21:57 +0000 (12:21 +0800)]
ocserv: add otp config option

and also fix build error:
Package ocserv is missing dependencies for the following libraries:
liboath.so.0

Signed-off-by: Thlv Alivs <zgmzzzz18@gmail.com>
18 months agooath-toolkit: Add oath PAM authentication module
Thlv Alivs [Sat, 20 May 2023 04:21:44 +0000 (12:21 +0800)]
oath-toolkit: Add oath PAM authentication module

will install to /usr/lib/security/pam_oath.so

Signed-off-by: Thlv Alivs <zgmzzzz18@gmail.com>
18 months agooath-toolkit: splitting liboath from oath-toolkit
Tianling Shen [Sat, 20 May 2023 02:45:54 +0000 (10:45 +0800)]
oath-toolkit: splitting liboath from oath-toolkit

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
18 months agotransmission: add missing nls.mk include
Marius Dinu [Sat, 20 May 2023 16:41:57 +0000 (19:41 +0300)]
transmission: add missing nls.mk include

Fixes issue #21016.

Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
18 months agophp8-pecl-xdebug: update to 3.2.1
Michael Heimpold [Sun, 21 May 2023 08:31:20 +0000 (10:31 +0200)]
php8-pecl-xdebug: update to 3.2.1

Some bugfixes, see changelog:
https://pecl.php.net/package-info.php?package=xdebug&version=3.2.1

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
18 months agotailscale: update to 1.40.1
Zephyr Lykos [Sat, 20 May 2023 15:27:13 +0000 (23:27 +0800)]
tailscale: update to 1.40.1

Signed-off-by: Zephyr Lykos <git@mochaa.ws>
19 months agonginx: add configure flag --with-compat
Glen Huang [Thu, 11 May 2023 03:25:10 +0000 (11:25 +0800)]
nginx: add configure flag --with-compat

Without it, nginx could complain about incompatible dynamic modules

Signed-off-by: Glen Huang <me@glenhuang.com>
[ fix conflict error on cherry-pick ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
19 months agonginx: introduce migration for old uci conf template
Christian Marangi [Wed, 3 May 2023 23:47:07 +0000 (01:47 +0200)]
nginx: introduce migration for old uci conf template

Introduce support for migration of old uci conf template to new version.
Uci conf template are saved in config backup. This cause problem on config
restore as old config template might have compatibility problem with new
nginx implementation.

Add logic to migrate the template script at runtime to correctly align
to latest change from nginx and nginx-util.

Fixes: 65a676ed56fb ("nginx: introduce support for dynamic modules")
Fixes: #20904
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
19 months agonginx-util: add version to UCI conf template
Christian Marangi [Mon, 15 May 2023 16:44:52 +0000 (18:44 +0200)]
nginx-util: add version to UCI conf template

Add versioning to UCI conf template as a commented version.
This permits the introduction of migration script since the template is
saved and restored config restore. The migration script are handled by
nginx init.d script.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
19 months agovips: update to 8.14.2
W. Michael Petullo [Fri, 19 May 2023 15:41:29 +0000 (10:41 -0500)]
vips: update to 8.14.2

Signed-off-by: W. Michael Petullo <mike@flyn.org>
19 months agozmq: fix gcc 13 errors
Oskari Rauta [Fri, 19 May 2023 18:14:59 +0000 (21:14 +0300)]
zmq: fix gcc 13 errors

gcc 13 compatibility patch is from alpine linux.
https://git.alpinelinux.org/aports/tree/main/zeromq/gcc13.patch

fixes #20972

I also renamed one of patches, so patch filenames are more unified.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
19 months agoopenvpn: Add more hotplug events
Michal Hrusecky [Mon, 15 May 2023 12:30:29 +0000 (14:30 +0200)]
openvpn: Add more hotplug events

OpenVPN supports more hooks than just 'up' and 'down'. Especially
reacting to 'route-up' and 'route-pre-down' events could be important.
When routing table changes, it can make sense to adapt firewall, run
some tests or change even more routes. This change passes those events
to hotplug, so it is easy to react to them without changing
configuration files provided by VPN provider.

Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
19 months agottyd: update to 1.7.3
Oskari Rauta [Thu, 18 May 2023 16:58:42 +0000 (19:58 +0300)]
ttyd: update to 1.7.3

also fixes linking issue that appeared after gcc 13
removed obsolete (merged) patch, ttyd now depends on
libcap, added that as a dependency.

remaining patch refreshed.

release notes: https://github.com/tsl0922/ttyd/releases

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
19 months agoscapy: update to 2.5.0
W. Michael Petullo [Sat, 20 May 2023 01:35:59 +0000 (20:35 -0500)]
scapy: update to 2.5.0

Signed-off-by: W. Michael Petullo <mike@flyn.org>
19 months agosyslog-ng: update to 4.2.0
W. Michael Petullo [Fri, 19 May 2023 16:40:28 +0000 (11:40 -0500)]
syslog-ng: update to 4.2.0

Signed-off-by: W. Michael Petullo <mike@flyn.org>
19 months agophp8-pecl-mcrypt: update to 1.0.6
W. Michael Petullo [Fri, 19 May 2023 17:20:27 +0000 (12:20 -0500)]
php8-pecl-mcrypt: update to 1.0.6

Signed-off-by: W. Michael Petullo <mike@flyn.org>
19 months agophp8-pecl-krb5: update to 1.1.5
W. Michael Petullo [Fri, 19 May 2023 16:38:49 +0000 (11:38 -0500)]
php8-pecl-krb5: update to 1.1.5

Signed-off-by: W. Michael Petullo <mike@flyn.org>
19 months agoopenldap: update to 2.6.4
W. Michael Petullo [Fri, 19 May 2023 16:37:11 +0000 (11:37 -0500)]
openldap: update to 2.6.4

Signed-off-by: W. Michael Petullo <mike@flyn.org>
19 months agonfdump: update to 4.2.0
W. Michael Petullo [Fri, 19 May 2023 16:35:38 +0000 (11:35 -0500)]
nfdump: update to 4.2.0

Signed-off-by: W. Michael Petullo <mike@flyn.org>
19 months agoluasec: update to 1.3.1
W. Michael Petullo [Fri, 19 May 2023 16:34:09 +0000 (11:34 -0500)]
luasec: update to 1.3.1

Signed-off-by: W. Michael Petullo <mike@flyn.org>
19 months agolibsoup3: update to 2.6.4
W. Michael Petullo [Fri, 19 May 2023 16:32:39 +0000 (11:32 -0500)]
libsoup3: update to 2.6.4

Signed-off-by: W. Michael Petullo <mike@flyn.org>
19 months agolibgpg-error: update to 1.47
W. Michael Petullo [Fri, 19 May 2023 16:30:33 +0000 (11:30 -0500)]
libgpg-error: update to 1.47

Signed-off-by: W. Michael Petullo <mike@flyn.org>
19 months agolibgcrypt: update to 1.10.2
W. Michael Petullo [Fri, 19 May 2023 16:28:21 +0000 (11:28 -0500)]
libgcrypt: update to 1.10.2

Signed-off-by: W. Michael Petullo <mike@flyn.org>
19 months agolibpsl: update to 0.21.2
W. Michael Petullo [Fri, 19 May 2023 13:26:18 +0000 (08:26 -0500)]
libpsl: update to 0.21.2

Signed-off-by: W. Michael Petullo <mike@flyn.org>
19 months agoevtest: don't build man page
Michael Heimpold [Fri, 19 May 2023 11:51:13 +0000 (13:51 +0200)]
evtest: don't build man page

Just selecting this package resulted in a build error:

/home/mhei/openwrt.git/staging_dir/hostpkg/bin/python3: No module named asciidoc
make[4]: *** [Makefile:856: evtest.xml] Error 1

Since we usually do not need the man page, just prevent to
build it by pre-setting two environments variables. Then
the makefile warns about, but don't try to build.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
19 months agoMerge pull request #21103 from jefferyto/gensio-without-go
Tianling Shen [Sat, 20 May 2023 05:09:04 +0000 (13:09 +0800)]
Merge pull request #21103 from jefferyto/gensio-without-go

gensio: Fix build on build host with Go compiler

19 months agopython3-libselinux: fix compilation with musl 1.2.4
Tianling Shen [Fri, 19 May 2023 13:45:21 +0000 (21:45 +0800)]
python3-libselinux: fix compilation with musl 1.2.4

musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.

Manually pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
19 months agomariadb: fix gcc 13 building
Oskari Rauta [Thu, 18 May 2023 16:24:21 +0000 (19:24 +0300)]
mariadb: fix gcc 13 building

fixes:
FAILED: tpool/CMakeFiles/tpool.dir/aio_liburing.cc.o
/usr/src/openwrt/staging_dir/toolchain-x86_64_gcc-13.1.0_musl/bin/x86_64-openwrt-linux-musl-g++ -DDBUG_TRACE -DHAVE_CONFIG_H -DHAVE_URING -D_FILE_OFFSET_BITS=64 -I/usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3/wsrep-lib/include -I/usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3/wsrep-lib/wsrep-API/v26 -I/usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3/include -I/usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3/include/providers -I/usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3/tpool -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3=mariadb-10.9.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro   -I/usr/src/openwrt/staging_dir/toolchain-x86_64_gcc-13.1.0_musl/usr/include -I/usr/src/openwrt/staging_dir/toolchain-x86_64_gcc-13.1.0_musl/include/fortify -I/usr/src/openwrt/staging_dir/toolchain-x86_64_gcc-13.1.0_musl/include -DNDEBUG -DDBUG_OFF -std=gnu++11 -DHAVE_IO_URING_MLOCK_SIZE -MD -MT tpool/CMakeFiles/tpool.dir/aio_liburing.cc.o -MF tpool/CMakeFiles/tpool.dir/aio_liburing.cc.o.d -o tpool/CMakeFiles/tpool.dir/aio_liburing.cc.o -c /usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3/tpool/aio_liburing.cc
/usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3/tpool/aio_liburing.cc: In constructor '{anonymous}::aio_uring::aio_uring(tpool::thread_pool*, int)':
/usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3/tpool/aio_liburing.cc:64:18: error: 'runtime_error' is not a member of 'std'
   64 |       throw std::runtime_error("aio_uring()");

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
19 months agognutls: fix build with zabbix
Tianling Shen [Fri, 19 May 2023 07:42:22 +0000 (15:42 +0800)]
gnutls: fix build with zabbix

Zabbix verifies the version of gnutls by search in the header gnutls.h.
This is done with 'cat' and 'egrep'. The problem here is now that the
preprocess definition did changed in gnutls.h, so the regex does not
match anymore.

The following error message acourse in the log:
> configure: error: GnuTLS library version requirement not met (>= 3.1.18)

To fix this backport an upstream patch to let the regex work again.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
19 months agoefivar: fix compilation with musl 1.2.4
Tianling Shen [Fri, 19 May 2023 09:37:24 +0000 (17:37 +0800)]
efivar: fix compilation with musl 1.2.4

musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.

Backport an upstream fix to replace these old data types.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
19 months agoperl: perlmod: append _LARGEFILE64_SOURCE flag for musl 1.2.4
Tianling Shen [Fri, 19 May 2023 13:03:09 +0000 (21:03 +0800)]
perl: perlmod: append _LARGEFILE64_SOURCE flag for musl 1.2.4

musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.

Manually pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
19 months agocloudflared: support setting tunnel token
Scott McKenzie [Fri, 19 May 2023 17:38:27 +0000 (03:38 +1000)]
cloudflared: support setting tunnel token

Allows user to provide a token for Cloudflare tunnel.
When provided along with credentials, this will take precedence.

Signed-off-by: Scott McKenzie <scott@noizyland.net>
19 months agoMerge pull request #20981 from jefferyto/python3-packages-fix-build
Tianling Shen [Sat, 20 May 2023 00:01:25 +0000 (08:01 +0800)]
Merge pull request #20981 from jefferyto/python3-packages-fix-build

python3-packages: Set PYTHON3_PKG_BUILD:=0

19 months agonatmap: add myself to maintainers
Ray Wang [Fri, 19 May 2023 15:16:04 +0000 (23:16 +0800)]
natmap: add myself to maintainers

Signed-off-by: Ray Wang <r@hev.cc>
19 months agonatmap: update to 20230519
Ray Wang [Fri, 19 May 2023 14:53:20 +0000 (22:53 +0800)]
natmap: update to 20230519

Signed-off-by: Ray Wang <r@hev.cc>
19 months agopodman: fix compilation with musl 1.2.4
Tianling Shen [Fri, 19 May 2023 07:53:38 +0000 (15:53 +0800)]
podman: fix compilation with musl 1.2.4

musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.

Manually pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
19 months agogensio: Fix build on build host with Go compiler
Jeffery To [Fri, 19 May 2023 12:03:43 +0000 (20:03 +0800)]
gensio: Fix build on build host with Go compiler

If the build host has the Go compiler installed, then configure will
detect this and will try to compile gensio's Go support, leading to a
build failure.

This disables Go support entirely to fix this build failure.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
19 months agotransmission: add missing ftruncate64 syscall
Daniel Golle [Fri, 19 May 2023 01:53:53 +0000 (02:53 +0100)]
transmission: add missing ftruncate64 syscall

Transmission 4.0.3 started using the ftruncate64 syscall.
Add it to the list of allowed syscalls.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
19 months agodocker-compose: Update to version 2.18.1
Javier Marcet [Thu, 18 May 2023 17:01:11 +0000 (19:01 +0200)]
docker-compose: Update to version 2.18.1

Signed-off-by: Javier Marcet <javier@marcet.info>
19 months agophp8: update to 8.2.6
Michael Heimpold [Mon, 15 May 2023 06:32:28 +0000 (08:32 +0200)]
php8: update to 8.2.6

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
19 months agophp8: fix compilation with musl 1.2.4
Michael Heimpold [Mon, 15 May 2023 06:32:28 +0000 (08:32 +0200)]
php8: fix compilation with musl 1.2.4

As noted in the release notes of musl 1.2.4, we can use
CFLAGS to pass -D_LARGEFILE64_SOURCE to allow to keep
using LFS64 definitions (as a short-term solution).

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
19 months agomariadb: fix compilation with musl 1.2.4
Tianling Shen [Wed, 17 May 2023 06:43:07 +0000 (14:43 +0800)]
mariadb: fix compilation with musl 1.2.4

musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.

Manually pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
19 months agoinotify-tools: fix compilation with musl 1.2.4
Nick Hainke [Tue, 16 May 2023 21:41:26 +0000 (23:41 +0200)]
inotify-tools: fix compilation with musl 1.2.4

Fixes errors in the form of:
inotifytools.c: In function 'inotifytools_watch_recursively_with_exclude':
inotifytools.c:1335:30: error: storage size of 'my_stat' isn't known
 1335 |         static struct stat64 my_stat;
      |                              ^~~~~~~
inotifytools.c:1342:36: error: implicit declaration of function 'lstat64'; did you mean 'lstat'? [-Werror=implicit-function-declaration]
 1342 |                         if ( -1 == lstat64( next_file, &my_stat ) ) {
      |                                    ^~~~~~~
      |                                    lstat
inotifytools.c:1335:30: error: unused variable 'my_stat' [-Werror=unused-variable]
 1335 |         static struct stat64 my_stat;
      |                              ^~~~~~~
inotifytools.c: In function 'isdir':
inotifytools.c:1621:30: error: storage size of 'my_stat' isn't known
 1621 |         static struct stat64 my_stat;
      |                              ^~~~~~~
inotifytools.c:1621:30: error: unused variable 'my_stat' [-Werror=unused-variable]
inotifytools.c:1630:1: error: control reaches end of non-void function [-Werror=return-type]
 1630 | }
      | ^
cc1: all warnings being treated as errors

Signed-off-by: Nick Hainke <vincent@systemli.org>
19 months agoarp-scan: fix missing libcap dependency
Nick Hainke [Tue, 16 May 2023 21:52:46 +0000 (23:52 +0200)]
arp-scan: fix missing libcap dependency

arp-scan complains about missing libcap dependency. Disable the
dependency.

Signed-off-by: Nick Hainke <vincent@systemli.org>
19 months agocrowdsec: new upstream release version 1.5.1
S. Brusch [Wed, 17 May 2023 20:09:53 +0000 (22:09 +0200)]
crowdsec: new upstream release version 1.5.1

Update crowdsec to latest upstream release version 1.5.1

Signed-off-by: S. Brusch <ne20002@gmx.ch>
Maintainer: Kerma Gérald <gandalf@gk2.net>
Run tested: ipq40xx/generic, Fritzbox 4040, Openwrt 22.03.5

Description: update to latest version of upstream

19 months agotgt: Update to 1.0.86
Tianling Shen [Wed, 17 May 2023 08:24:49 +0000 (16:24 +0800)]
tgt: Update to 1.0.86

musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.

Manually pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
19 months agopcre: move pcre from base repository to packages feed
Nick Hainke [Wed, 17 May 2023 20:45:11 +0000 (22:45 +0200)]
pcre: move pcre from base repository to packages feed

pcre is no longer needed in the base repository. However, some packages
still rely on it in the packages and telephony feed.

Cross-reference to base repository:
e3e6652a550d ("pcre: move package to packages feed")

While working on it remove AUTORELEASE.

Signed-off-by: Nick Hainke <vincent@systemli.org>
19 months agopcre2: package moved to base feed
Nick Hainke [Wed, 17 May 2023 17:40:33 +0000 (19:40 +0200)]
pcre2: package moved to base feed

The package is needed by selinux, so it was moved to the base repository.
Remove it from openwrt packages feed.

Cross-reference:
c39b0646f3f2 ("pcre2: import pcre2 from packages feed")

Signed-off-by: Nick Hainke <vincent@systemli.org>
19 months agopython-packaging: Update to 23.1
Jeffery To [Wed, 17 May 2023 09:51:11 +0000 (17:51 +0800)]
python-packaging: Update to 23.1

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
19 months agopython-attrs: Update to 23.1.0
Jeffery To [Wed, 17 May 2023 08:27:16 +0000 (16:27 +0800)]
python-attrs: Update to 23.1.0

The package now uses pyproject.toml-based builds with additional build
dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
19 months agolibvorbisidec: Fix error in package description
Robert Högberg [Thu, 11 May 2023 06:54:02 +0000 (08:54 +0200)]
libvorbisidec: Fix error in package description

libvorbisidec needs libogg since
https://gitlab.xiph.org/xiph/tremor/-/commit/8886a2805fc107489912f8c500db3373e04a316d

Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
19 months agopython-automat: Update to 22.10.0, refresh patches
Jeffery To [Wed, 17 May 2023 11:03:52 +0000 (19:03 +0800)]
python-automat: Update to 22.10.0, refresh patches

This also removes the patch to avoid setuptools-scm and adds a build
dependency on python-setuptools-scm/host.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
19 months agogpgme: fix compilation with musl 1.2.4
Tianling Shen [Wed, 17 May 2023 12:15:52 +0000 (20:15 +0800)]
gpgme: fix compilation with musl 1.2.4

musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.

Manually pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
19 months agolibdeflate: Update to 1.18
Tianling Shen [Wed, 17 May 2023 13:34:02 +0000 (21:34 +0800)]
libdeflate: Update to 1.18

Release note:
https://github.com/ebiggers/libdeflate/blob/master/NEWS.md#version-118

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
19 months agolibupm: Workaround for errors with GCC13
Hirokazu MORIKAWA [Thu, 18 May 2023 00:41:16 +0000 (09:41 +0900)]
libupm: Workaround for errors with GCC13

Workaround for errors with GCC13
 https://github.com/openwrt/packages/issues/20994

patch
 https://github.com/oskarirauta/local-overrides/blob/main/libs/libupm/patches/011-gcc-13-compatibility-fixes.patch

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>