Commit Graph

29437 Commits

Author SHA1 Message Date
Jeffery To
fdd6334160 python-cython: Update to 0.29.35
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit f47802949c)
2023-06-01 04:17:47 +03:00
Stan Grishin
6070c1f118 Merge pull request #21205 from stangri/openwrt-23.05-curl-8.1.1
[23.05] curl: update to 8.1.1
2023-05-31 11:38:26 -06:00
Jeffery To
1a3df95f7e python-packages: Replace --global-option with --build-option
setuptools 64.0.0 deprecated the use of --global-option to pass build
parameters[1]. This replaces the use of --global-option with
--build-option.

[1]: https://github.com/pypa/setuptools/blob/main/CHANGES.rst#v6400

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit b76fa19b26)
2023-05-28 15:47:24 +03:00
Jeffery To
d6cc46e2c2 python3: Split setuptools into separate source package
Packaging setuptools from a separate source package allows it to stay
updated with upstream.

Host setuptools will remain installed as part of python3. Host
setuptools is used in a much more controlled way and so is less critical
for it to track upstream.

setuptools was in a separate source package that was removed in
a53d0c5a403d1669e2cf6c59c2be6a9d3ed633a0; this work is not based on that
earlier package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit b4975f8bbb)
2023-05-28 15:47:08 +03:00
Jeffery To
b997e1bb69 python3: Split pip into separate source package
Packaging pip from a separate source package allows it to stay updated
with upstream.

Host pip will remain installed as part of python3. Host pip is used in a
much more controlled way and so is less critical for it to track
upstream.

This also removes the python-pip-conf package and installs the pip.conf
file as part of python3-pip.

The patch 003-disable-pip-version-check.patch is originally from Debian:
bb079efb8c/debian/patches/disable-pip-version-check.patch

pip was in a separate source package that was removed in
a53d0c5a403d1669e2cf6c59c2be6a9d3ed633a0; this work is not based on that
earlier package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit eee273507b)
2023-05-28 15:47:08 +03:00
Jeffery To
28b70d4fa9 python3: Split venv module from python3-light into separate package
This adds a new subpackage for the venv module. This also moves the
ensurepip module from python3-pip into python3-venv, as ensurepip is not
necessary for pip but often used for venv.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit d53475ac21)
2023-05-28 15:47:08 +03:00
Glenn Strauss
6549b22789 lighttpd: update to lighttpd 1.4.71 release hash
remove patches included upstream

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 19291ee195)
2023-05-28 15:42:41 +03:00
Stan Grishin
6e9508d6d0 curl: update to 8.1.1
* https://curl.se/changes.html#8_1_1

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit b126e765cc)
2023-05-28 04:53:47 +00:00
Tianling Shen
ecc23cedae Merge pull request #21197 from jefferyto/python-tomli-remove-package-openwrt-23.05
[openwrt-23.05] python-tomli: Remove package
2023-05-27 21:53:54 +08:00
Jeffery To
1ca7a53fdb python-tomli: Remove package
Python added tomli to its standard library in 3.11. Now that Python in
the packages feed has been updated to 3.11, the separate tomli package
is no longer necessary.

This removes python-tomli and updates all dependant packages, removing
python-tomli from their lists of dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 0509d460c8)
2023-05-27 16:51:02 +08:00
Tianling Shen
d1eef4705b Merge pull request #21183 from jefferyto/python-packages-do-not-set-pyvenv-launcher-openwrt-23.05
[openwrt-23.05] python-packages: Remove __PYVENV_LAUNCHER__ environment variable
2023-05-26 22:28:28 +08:00
Tianling Shen
b54687d91e Merge pull request #21182 from jefferyto/uwsgi-2.0.21-openwrt-23.05
[openwrt-23.05] uwsgi: Update to 2.0.21, refresh patches
2023-05-26 22:28:00 +08:00
Stan Grishin
ded5364fae Merge pull request #21180 from stangri/openwrt-23.05-curl
[23.05] curl: update to 8.1.0
2023-05-26 08:17:45 -06:00
Stan Grishin
c9f8c0b6e4 Merge pull request #21179 from stangri/openwrt-23.05-https-dns-proxy
[23.05] https-dns-proxy: update to 2023-05-25-1
2023-05-26 08:17:38 -06:00
Jeffery To
550f3f07a4 python-packages: Remove __PYVENV_LAUNCHER__ environment variable
Setting __PYVENV_LAUNCHER__ for Python package builds was added in
a91a992abb, 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>
(cherry picked from commit 9e95dff9ac)
2023-05-26 17:00:48 +08:00
Jeffery To
ed529f0904 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>
(cherry picked from commit 4d8cc440a4)
2023-05-26 16:54:53 +08:00
Stan Grishin
0e429f5129 curl: update to 8.1.0
* https://curl.se/changes.html#8_1_0

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit b9c7aa50f4)
2023-05-26 08:39:34 +00:00
Stan Grishin
25883f715c https-dns-proxy: update to 2023-05-25-1
* update to a new upstream commit, fixes #19366
* update patches/010-cmakelists-remove-cflags.patch as upstream file was update
* remove patches/020-cmakelists-add-version.patch as version is now set elsewhere
* add patches/020-src-options.c-add-version.patch to set the version information
* adjust PROCD START time to 95

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit eb40aa1b5d)
2023-05-26 08:33:37 +00:00
Tianling Shen
dc9a678e9a Merge pull request #21173 from jefferyto/python-poetry-core-1.6.0-openwrt-23.05
[openwrt-23.05] python-poetry-core: Update to 1.6.0
2023-05-26 10:21:51 +08:00
Tianling Shen
93ffc00aea Merge pull request #21172 from jefferyto/python3-do-not-link-libbsd-openwrt-23.05
[openwrt-23.05] python3: Fix unnecessary linking with libbsd
2023-05-26 10:21:38 +08:00
Jeffery To
f55a74a3ca python-poetry-core: Update to 1.6.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 626c7efda9)
2023-05-26 01:40:24 +08:00
Jeffery To
f619e26c13 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: 2445fe9fb2 ("python3: Update to 3.11.3, refresh/redo patches")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 60bf01cb60)
2023-05-25 23:27:11 +08:00
Tianling Shen
26f502b9f6 Merge pull request #21154 from jefferyto/python-flit-core-3.9.0-openwrt-23.05
[openwrt-23.05] python-flit-core: Update to 3.9.0
2023-05-25 14:55:04 +08:00
Tianling Shen
db89f065fe Merge pull request #21153 from jefferyto/borgbackup-move-section-openwrt-23.05
[openwrt-23.05] borgbackup: Move from lang/python into utils
2023-05-25 14:54:51 +08:00
Tianling Shen
9626223470 Merge pull request #21152 from jefferyto/python-3.11.3-openwrt-23.05
[openwrt-23.05] python3: Update to 3.11.3, refresh/redo patches
2023-05-25 14:54:31 +08:00
Tianling Shen
7cd7833774 ipfs-http-client: remove package
This package lacks proper maintenance in both upstream and here.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 72c8977b3b)
2023-05-24 14:29:49 +08:00
Jeffery To
cd8c13d822 python-flit-core: Update to 3.9.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 6b8340d3ca)
2023-05-24 12:44:06 +08:00
Jeffery To
81ecb5f503 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>
(cherry picked from commit 5059cfccae)
2023-05-24 12:41:20 +08:00
Jeffery To
24aa47eb2b 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>
(cherry picked from commit 2445fe9fb2)
2023-05-24 12:34:32 +08:00
Jeffery To
cc000a1a2c 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
4ecd9d67e9 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]: 26a04435bf/lang/python/3.10/patches/patch-Modules__hashopenssl_c

Fixes: 4ecd9d67e9 ("python3: fix ssl support by removing libressl patches")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 02eb5c100c)
2023-05-24 12:34:18 +08:00
Jeffery To
0358c18d02 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>
(cherry picked from commit 44fb4927f1)
2023-05-24 12:34:07 +08:00
Jeffery To
41a6ec0a11 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
84202f17e1 to stop the Python build
process from adding these paths.

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

006-do-not-add-multiarch-paths-when-cross-compiling.patch was added in
0c8b0b0bf7 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: 48277ec915 ("python3: bump to version 3.8")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit f006d0ea23)
2023-05-24 12:33:58 +08:00
Jeffery To
1342fd891a 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>
(cherry picked from commit 67e47f1196)
2023-05-24 12:33:44 +08:00
Jeffery To
c766386f3d python3: Fix readelf program name not replaced in _sysconfigdata.py
The Makefile lines to add READELF to TARGET_CONFIGURE_OPTS was removed
in 4e05541782.

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: 4e05541782 ("python3: bump to version 3.10.0")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit e1a9578635)
2023-05-24 12:33:28 +08:00
Jeffery To
3d42803578 python3: Fix __pycache__ files included in python3-light
003-do-not-run-distutils-tests.patch was removed in
4e05541782. 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: 4e05541782 ("python3: bump to version 3.10.0")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 8a4da01790)
2023-05-24 12:33:00 +08:00
Jeffery To
cc2726f9e5 python3: Remove --without-pymalloc
--without-pymalloc was added in 7bf1ae65a8
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>
(cherry picked from commit 3032e7063f)
2023-05-24 12:31:56 +08:00
Nick Hainke
2001484c28 pciutils: update to 3.10.0
Manually refresh:
- 101-no-strip.patch

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

ChangeLog:
21407521fb/ChangeLog

Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit 6c34bf90e3)
2023-05-22 07:01:09 +02:00
Thlv Alivs
8dd2a6edf2 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>
2023-05-21 19:42:53 +08:00
Thlv Alivs
80dad35294 oath-toolkit: Add oath PAM authentication module
will install to /usr/lib/security/pam_oath.so

Signed-off-by: Thlv Alivs <zgmzzzz18@gmail.com>
2023-05-21 19:42:53 +08:00
Tianling Shen
0ef5f50a83 oath-toolkit: splitting liboath from oath-toolkit
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-21 19:42:53 +08:00
Marius Dinu
f66bcdd1b6 transmission: add missing nls.mk include
Fixes issue #21016.

Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
2023-05-21 12:29:36 +03:00
Zephyr Lykos
0da92a74aa tailscale: update to 1.40.1
Signed-off-by: Zephyr Lykos <git@mochaa.ws>
2023-05-21 14:08:25 +08:00
Glen Huang
57eb73ae63 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>
2023-05-20 23:18:00 +02:00
Christian Marangi
6a3cc76ea5 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: 65a676ed56 ("nginx: introduce support for dynamic modules")
Fixes: #20904
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-20 23:18:00 +02:00
Christian Marangi
e499f0adf1 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>
2023-05-20 23:18:00 +02:00
W. Michael Petullo
4a7822604a vips: update to 8.14.2
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 16:31:33 +03:00
Oskari Rauta
cb7aa1e2da 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>
2023-05-20 13:00:04 +03:00
Michal Hrusecky
f8a8b71e26 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>
2023-05-20 12:58:33 +03:00
Oskari Rauta
7cc8d25381 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>
2023-05-20 16:04:50 +08:00
W. Michael Petullo
1abea58fec scapy: update to 2.5.0
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 14:25:37 +08:00