feed/packages.git
17 months agomicropython-mpremote: Add new package 21266/head
Jeffery To [Mon, 29 May 2023 18:25:20 +0000 (02:25 +0800)]
micropython-mpremote: Add new package

From the README:

This CLI tool provides an integrated set of utilities to remotely
interact with and automate a MicroPython device over a serial
connection.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit a83dcf0d5cf20942db27e23e9aff80c7ae373822)

17 months agopython-hatch-requirements-txt: Add new host-only package
Jeffery To [Mon, 29 May 2023 18:19:56 +0000 (02:19 +0800)]
python-hatch-requirements-txt: Add new host-only package

From the README:

Hatchling plugin to read project dependencies from requirements.txt

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 9071deb1c78ec251d2a25f178f37a1ab633b8de2)

17 months agomicropython-lib: Update to master, split target package
Jeffery To [Mon, 29 May 2023 19:24:54 +0000 (03:24 +0800)]
micropython-lib: Update to master, split target package

The package has been reworked to install the same files that are
available to be downloaded/installed by mip, the package manager new to
MicroPython 1.20.0.

This also splits the original target package into four:

* micropython-lib
  * Includes packages common to all MicroPython ports (python-stdlib,
    python-ecosys, micropython)
  * Contains mpy bytecode files

* micropython-lib-src
  * Includes packages common to all MicroPython ports (python-stdlib,
    python-ecosys, micropython)
  * Contains py source files

* micropython-lib-unix
  * Includes packages specific to the MicroPython Unix port (unix-ffi)
  * Contains mpy bytecode files
  * Installs a specific launcher (micropython-unix) that adds the Unix
    package directory into MicroPython's library path

* micropython-lib-unix-src
  * Includes packages specific to the MicroPython Unix port (unix-ffi)
  * Contains py source files

This also updates the package license, title, and description.

Patches:

* 001-build-unix-ffi.patch

  This enables the repo build script to also build the Unix-specific
  packages. Not sure if upstream is open to accepting this since the
  Unix-specific packages don't fit well into the existing package
  distribution mechanism.

* 002-add-unix-ffi-os-path.patch and 003-add-unix-ffi-uu.patch

  These fix instances where the unix-ffi version of the os package is
  overridden by the python-stdlib version. These have been submitted to
  upstream: https://github.com/micropython/micropython-lib/pull/672

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 9390bd0262ad9f0775b76984d1c8f29b9a35584e)

17 months agomicropython: Update to 1.20.0, refresh/rework patches
Jeffery To [Mon, 29 May 2023 18:22:30 +0000 (02:22 +0800)]
micropython: Update to 1.20.0, refresh/rework patches

Patches 000-Makefile-no-errors.patch and 020-mpy-cross-fix-flags.patch
are no longer necessary.

This also adds a Build/InstallDev recipe to install files necessary for
micropython-lib.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit a4ae38494f0c12799b343eb521ca13123c0bb4e3)

17 months agoapfree-wifidog: Update to 6.02.1939
Dengfeng Liu [Sun, 28 May 2023 03:31:37 +0000 (11:31 +0800)]
apfree-wifidog: Update to 6.02.1939

1. support fw4
2. support openssl3.0

Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
17 months agocollectd: enable AllPortsSummary for tcpconns plugin
Maxim Storchak [Fri, 2 Jun 2023 14:47:39 +0000 (17:47 +0300)]
collectd: enable AllPortsSummary for tcpconns plugin

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
(cherry picked from commit 8270bd173ed9e4aa8877bfaa4e23c59223dca9f1)

17 months agonfs-kernel-server: remove libwrap from the dependencies
Maxim Storchak [Thu, 1 Jun 2023 17:29:10 +0000 (20:29 +0300)]
nfs-kernel-server: remove libwrap from the dependencies

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
(cherry picked from commit 33e1deadf8841f0b46890cd2da1c6f8ddd7a3c69)

17 months agoZile: Remove autoreconf.
Ted Hess [Mon, 29 May 2023 19:44:27 +0000 (15:44 -0400)]
Zile: Remove autoreconf.

It is no longer required since gnulib is now local to host build environment (tools/gnulib).

Signed-off-by: Ted Hess <thess@kitschensync.net>
(cherry picked from commit b7afecad9d87c7044c80324b8d88c34ddd2d2ff7)

17 months agodnsproxy: Update to 0.49.2
Tianling Shen [Fri, 2 Jun 2023 13:15:04 +0000 (21:15 +0800)]
dnsproxy: Update to 0.49.2

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit d717bace8d2c2040547bbda284fe302af9ccd695)

17 months agov2ray-geodata: Update to latest version
Tianling Shen [Thu, 1 Jun 2023 08:18:25 +0000 (16:18 +0800)]
v2ray-geodata: Update to latest version

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 56de9f91fd1d14be3b3f5497ff21040005fcf12d)

17 months agoyq: Update to 4.34.1
Tianling Shen [Thu, 1 Jun 2023 07:59:28 +0000 (15:59 +0800)]
yq: Update to 4.34.1

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 2ecf76e27dbcc0a5d64db6d9b30269de56b2bd1e)

17 months agov2ray-core: Update to 5.7.0
Tianling Shen [Thu, 1 Jun 2023 07:59:02 +0000 (15:59 +0800)]
v2ray-core: Update to 5.7.0

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit b95ec1db568f776722147b85ee1724b747a6d7d6)

17 months agocloudflared: Update to 2023.5.1
Tianling Shen [Thu, 1 Jun 2023 07:58:36 +0000 (15:58 +0800)]
cloudflared: Update to 2023.5.1

Fixed build issue with Go 1.20.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 0625f038b3141666821270232eee032620380668)

17 months agoMerge pull request #21235 from jefferyto/python-gmpy2-2.1.5-openwrt-23.05
Tianling Shen [Thu, 1 Jun 2023 08:01:34 +0000 (16:01 +0800)]
Merge pull request #21235 from jefferyto/python-gmpy2-2.1.5-openwrt-23.05

[openwrt-23.05] python-gmpy2: Update to 2.1.5; add new dependencies

17 months agotang: create user tang
Nikos Mavrogiannopoulos [Thu, 1 Jun 2023 07:18:43 +0000 (09:18 +0200)]
tang: create user tang

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
17 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>
(cherry picked from commit 284093d85af82a001227547cc5458ce77cfec101)

17 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>
(cherry picked from commit abfe6272cd7dbb04f3cdc884eaf9febe3a96fe16)

17 months agopyodbc: Update to 4.0.39
Tianling Shen [Sat, 27 May 2023 06:29:12 +0000 (14:29 +0800)]
pyodbc: Update to 4.0.39

* Fixed build with Python 3.11
* Removed unnecessary build depends

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit f02f3ee8c768085eaf6225f6b25121e7efe07fde)

17 months agopython-greenlet: Update to 2.0.2
Tianling Shen [Sat, 27 May 2023 06:48:32 +0000 (14:48 +0800)]
python-greenlet: Update to 2.0.2

Fix build with Python 3.11.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit e399e1ce2c532264ef0a6ecea763311870b57062)

17 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>
(cherry picked from commit e90bb8ea9ad6a36deab4bda7ea3d7f022a22f039)

17 months agoMerge pull request #21244 from jefferyto/werkzeug-2.3.4-openwrt-23.05
Tianling Shen [Thu, 1 Jun 2023 04:14:17 +0000 (12:14 +0800)]
Merge pull request #21244 from jefferyto/werkzeug-2.3.4-openwrt-23.05

[openwrt-23.05] Werkzeug: Update to 2.3.4, rename source package

17 months agoMerge pull request #21243 from jefferyto/markupsafe-2.1.2-openwrt-23.05
Tianling Shen [Thu, 1 Jun 2023 04:14:05 +0000 (12:14 +0800)]
Merge pull request #21243 from jefferyto/markupsafe-2.1.2-openwrt-23.05

[openwrt-23.05] MarkupSafe: Update to 2.1.2, rename source package

17 months agoMerge pull request #21242 from jefferyto/jinja2-3.1.2-openwrt-23.05
Tianling Shen [Thu, 1 Jun 2023 04:13:41 +0000 (12:13 +0800)]
Merge pull request #21242 from jefferyto/jinja2-3.1.2-openwrt-23.05

[openwrt-23.05] Jinja2: Update to 3.1.2, rename source package

17 months agoMerge pull request #21241 from jefferyto/click-log-0.4.0-openwrt-23.05
Tianling Shen [Thu, 1 Jun 2023 04:13:30 +0000 (12:13 +0800)]
Merge pull request #21241 from jefferyto/click-log-0.4.0-openwrt-23.05

[openwrt-23.05] click-log: Update to 0.4.0, rename source package

17 months agoMerge pull request #21240 from jefferyto/bcrypt-3.2.2-openwrt-23.05
Tianling Shen [Thu, 1 Jun 2023 04:12:53 +0000 (12:12 +0800)]
Merge pull request #21240 from jefferyto/bcrypt-3.2.2-openwrt-23.05

[openwrt-23.05] bcrypt: Update to 3.2.2, rename source package

17 months agoMerge pull request #21239 from jefferyto/python-typing-extensions-4.6.2-openwrt-23.05
Tianling Shen [Thu, 1 Jun 2023 04:12:34 +0000 (12:12 +0800)]
Merge pull request #21239 from jefferyto/python-typing-extensions-4.6.2-openwrt-23.05

[openwrt-23.05] python-typing-extensions: Update to 4.6.2

17 months agopython-trove-classifiers: Update to 2023.5.24
Jeffery To [Mon, 29 May 2023 05:47:05 +0000 (13:47 +0800)]
python-trove-classifiers: Update to 2023.5.24

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 17007845bc4964aabf3635903fcb0f0b0e7386aa)

17 months agopython-hatch-fancy-pypi-readme: Update to 23.1.0
Jeffery To [Mon, 29 May 2023 05:40:28 +0000 (13:40 +0800)]
python-hatch-fancy-pypi-readme: Update to 23.1.0

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 9f8a5fb25b22933dc25c72bc8df59db6ac080a68)

17 months agopython-cython: Update to 0.29.35
Jeffery To [Mon, 29 May 2023 04:19:29 +0000 (12:19 +0800)]
python-cython: Update to 0.29.35

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit f47802949c5660eea67d9e3e242942dbe0489b9d)

17 months agoMerge pull request #21205 from stangri/openwrt-23.05-curl-8.1.1
Stan Grishin [Wed, 31 May 2023 17:38:26 +0000 (11:38 -0600)]
Merge pull request #21205 from stangri/openwrt-23.05-curl-8.1.1

[23.05] curl: update to 8.1.1

17 months agoWerkzeug: Update to 2.3.4, rename source package 21244/head
Jeffery To [Mon, 29 May 2023 12:13:37 +0000 (20:13 +0800)]
Werkzeug: Update to 2.3.4, rename source package

This renames the source package from Werkzeug to python-werkzeug to
match other Python packages.

This also updates the package title, description, and list of
dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 574d43fca627bdaee03f43a1be10ba35dd9dd26d)

17 months agoMarkupSafe: Update to 2.1.2, rename source package 21243/head
Jeffery To [Mon, 29 May 2023 11:59:38 +0000 (19:59 +0800)]
MarkupSafe: Update to 2.1.2, rename source package

This renames the source package from MarkupSafe to python-markupsafe to
match other Python packages.

This also updates the package title and description.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 5602cc85d393bef68bc7104529aee12937dbe4c0)

17 months agoJinja2: Update to 3.1.2, rename source package 21242/head
Jeffery To [Mon, 29 May 2023 11:39:45 +0000 (19:39 +0800)]
Jinja2: Update to 3.1.2, rename source package

This renames the source package from Jinja2 to python-jinja2 to match
other Python packages.

This also updates the package license files, title, and list of
dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 572387f0cb41f21c72a33533280a58723b7ed570)

17 months agoclick-log: Update to 0.4.0, rename source package 21241/head
Jeffery To [Mon, 29 May 2023 11:15:29 +0000 (19:15 +0800)]
click-log: Update to 0.4.0, rename source package

This renames the source package from click-log to python-click-log to
match other Python packages.

This also updates the package to download from PyPI, and updates the
package title, URL, and dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 67a854aee28f6a360af1c595fdea396c9193b6e9)

17 months agobcrypt: Update to 3.2.2, rename source package 21240/head
Jeffery To [Mon, 29 May 2023 08:49:23 +0000 (16:49 +0800)]
bcrypt: Update to 3.2.2, rename source package

This is the last released version before bcrypt's Rust rewrite; this
package can be further updated after the OpenWrt Rust toolchain has
stablized.

This also renames the source package from bcrypt to python-bcrypt to
match other Python packages, and updates the list of dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 3def783d3c72effdb87b1168315e51295cebc20f)

17 months agopython-typing-extensions: Update to 4.6.2 21239/head
Jeffery To [Mon, 29 May 2023 06:05:54 +0000 (14:05 +0800)]
python-typing-extensions: Update to 4.6.2

This also updates the SPDX license identifier, title, description and
URL for the package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit f45f067f3f9726acfb0d5edd193731bc587ff54f)

17 months agopython-gmpy2: Update to 2.1.5 21235/head
Jeffery To [Sat, 27 May 2023 19:41:29 +0000 (03:41 +0800)]
python-gmpy2: Update to 2.1.5

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit a7d33e9e3a139648da043980d4fb5345c2e7496a)

17 months agolibmpc: Add package
Jeffery To [Sat, 27 May 2023 19:07:15 +0000 (03:07 +0800)]
libmpc: Add package

From the documentation:

GNU MPC is a portable library written in C for arbitrary precision
arithmetic on complex numbers providing correct rounding. It implements
a multiprecision equivalent of the C99 standard. It builds upon the GNU
MP and the GNU MPFR libraries.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 4d64d5f80a0bbffded0d4d99d7578d61349e424c)

17 months agompfr: Add package
Jeffery To [Sat, 27 May 2023 18:07:01 +0000 (02:07 +0800)]
mpfr: Add package

From the documentation:

MPFR is a portable library written in C for arbitrary precision
arithmetic on floating-point numbers. It is based on the GNU MP library.
It aims to provide a class of floating-point numbers with precise
semantics.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 925bd169451f3223ca3800cde4af390759919e3b)

18 months agopython-packages: Replace --global-option with --build-option
Jeffery To [Sat, 27 May 2023 11:43:57 +0000 (19:43 +0800)]
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 b76fa19b26027f8472617598c19b9e071eef81bb)

18 months agopython3: Split setuptools into separate source package
Jeffery To [Thu, 18 May 2023 12:38:09 +0000 (20:38 +0800)]
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 b4975f8bbb9f61a2a170dc1acd6cabe2b7e9f93c)

18 months agopython3: Split pip into separate source package
Jeffery To [Thu, 18 May 2023 05:36:24 +0000 (13:36 +0800)]
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:
https://salsa.debian.org/python-team/packages/python-pip/-/blob/bb079efb8c6dd2c284eee94cf90e61bce19a6f73/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 eee273507b868ad5f6f7e744d513c85330967906)

18 months agopython3: Split venv module from python3-light into separate package
Jeffery To [Wed, 17 May 2023 17:02:13 +0000 (01:02 +0800)]
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 d53475ac21cf79bef902b61fac69ffe25a3aad2f)

18 months agolighttpd: update to lighttpd 1.4.71 release hash
Glenn Strauss [Sat, 27 May 2023 22:03:56 +0000 (18:03 -0400)]
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 19291ee1951a79776c1b67c10fd67af5d346abc5)

18 months agocurl: update to 8.1.1 21205/head
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>
(cherry picked from commit b126e765cc8bc100336ea42fab5f655c0d4c6325)

18 months agoMerge pull request #21197 from jefferyto/python-tomli-remove-package-openwrt-23.05
Tianling Shen [Sat, 27 May 2023 13:53:54 +0000 (21:53 +0800)]
Merge pull request #21197 from jefferyto/python-tomli-remove-package-openwrt-23.05

[openwrt-23.05] python-tomli: Remove package

18 months agopython-tomli: Remove package 21197/head
Jeffery To [Thu, 25 May 2023 18:06:57 +0000 (02:06 +0800)]
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 0509d460c844c2f62d09fd99c35a0e1627c66b68)

18 months agoMerge pull request #21183 from jefferyto/python-packages-do-not-set-pyvenv-launcher...
Tianling Shen [Fri, 26 May 2023 14:28:28 +0000 (22:28 +0800)]
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

18 months agoMerge pull request #21182 from jefferyto/uwsgi-2.0.21-openwrt-23.05
Tianling Shen [Fri, 26 May 2023 14:28:00 +0000 (22:28 +0800)]
Merge pull request #21182 from jefferyto/uwsgi-2.0.21-openwrt-23.05

[openwrt-23.05] uwsgi: Update to 2.0.21, refresh patches

18 months agoMerge pull request #21180 from stangri/openwrt-23.05-curl
Stan Grishin [Fri, 26 May 2023 14:17:45 +0000 (08:17 -0600)]
Merge pull request #21180 from stangri/openwrt-23.05-curl

[23.05] curl: update to 8.1.0

18 months agoMerge pull request #21179 from stangri/openwrt-23.05-https-dns-proxy
Stan Grishin [Fri, 26 May 2023 14:17:38 +0000 (08:17 -0600)]
Merge pull request #21179 from stangri/openwrt-23.05-https-dns-proxy

[23.05] https-dns-proxy: update to 2023-05-25-1

18 months agopython-packages: Remove __PYVENV_LAUNCHER__ environment variable 21183/head
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>
(cherry picked from commit 9e95dff9ac461d7bcd6fc053292c975241d11448)

18 months agouwsgi: Update to 2.0.21, refresh patches 21182/head
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>
(cherry picked from commit 4d8cc440a4341d0074269db76e1b9b29deeb2db4)

18 months agocurl: update to 8.1.0 21180/head
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>
(cherry picked from commit b9c7aa50f42e5680bae5c26182a359d0fed5b9ce)

18 months agohttps-dns-proxy: update to 2023-05-25-1 21179/head
Stan Grishin [Fri, 26 May 2023 08:24:00 +0000 (08:24 +0000)]
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 eb40aa1b5dc6b5945b8b53cd5a2cc06303a3d9eb)

18 months agoMerge pull request #21173 from jefferyto/python-poetry-core-1.6.0-openwrt-23.05
Tianling Shen [Fri, 26 May 2023 02:21:51 +0000 (10:21 +0800)]
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

18 months agoMerge pull request #21172 from jefferyto/python3-do-not-link-libbsd-openwrt-23.05
Tianling Shen [Fri, 26 May 2023 02:21:38 +0000 (10:21 +0800)]
Merge pull request #21172 from jefferyto/python3-do-not-link-libbsd-openwrt-23.05

[openwrt-23.05] python3: Fix unnecessary linking with libbsd

18 months agopython-poetry-core: Update to 1.6.0 21173/head
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>
(cherry picked from commit 626c7efda92b9fc386d3e408d72f18bcd9e9d2c7)

18 months agopython3: Fix unnecessary linking with libbsd 21172/head
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>
(cherry picked from commit 60bf01cb606344619e002901646171da1e69c0f9)

18 months agoMerge pull request #21154 from jefferyto/python-flit-core-3.9.0-openwrt-23.05
Tianling Shen [Thu, 25 May 2023 06:55:04 +0000 (14:55 +0800)]
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

18 months agoMerge pull request #21153 from jefferyto/borgbackup-move-section-openwrt-23.05
Tianling Shen [Thu, 25 May 2023 06:54:51 +0000 (14:54 +0800)]
Merge pull request #21153 from jefferyto/borgbackup-move-section-openwrt-23.05

[openwrt-23.05] borgbackup: Move from lang/python into utils

18 months agoMerge pull request #21152 from jefferyto/python-3.11.3-openwrt-23.05
Tianling Shen [Thu, 25 May 2023 06:54:31 +0000 (14:54 +0800)]
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

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>
(cherry picked from commit 72c8977b3b4b3b8c905bd53db7557cf6bc8963db)

18 months agopython-flit-core: Update to 3.9.0 21154/head
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>
(cherry picked from commit 6b8340d3cad7a6bd36aa21c93de82c47bf871c33)

18 months agoborgbackup: Move from lang/python into utils 21153/head
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>
(cherry picked from commit 5059cfccae8fda6837481569bdf3fff02144d614)

18 months agopython3: Update to 3.11.3, refresh/redo patches 21152/head
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>
(cherry picked from commit 2445fe9fb25e6d9eed28aa9ad237bd250d1600d1)

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>
(cherry picked from commit 02eb5c100c8462823ea19df6af637be97570ccdb)

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>
(cherry picked from commit 44fb4927f11add18baa11617e67c8a697a3f528d)

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>
(cherry picked from commit f006d0ea23f76a1846c93d0ec3b1ea60ba36d093)

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>
(cherry picked from commit 67e47f11962c4ea0b1b734913f64c32fbba9edf2)

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>
(cherry picked from commit e1a95786358c64483fc16d52eac6746267f0abec)

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>
(cherry picked from commit 8a4da017902d21ac6cada21a3bb23caa5b39af0b)

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>
(cherry picked from commit 3032e7063f5a215a4a2b15f79be8d54aace6b614)

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>
(cherry picked from commit 6c34bf90e38e55d7f2a809f375624f475d4d8d91)

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 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>
18 months agonginx: add configure flag --with-compat 20928/head
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>
18 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>
18 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>
18 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>
18 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>
18 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>
18 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>
18 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>
18 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>
18 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>
18 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>
18 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>
18 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>
18 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>
18 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>
18 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>
18 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>
18 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>
18 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>
18 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

18 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>