aboutsummaryrefslogtreecommitdiff
path: root/lang
Commit message (Collapse)AuthorAge
...
* rust: Install to $(STAGING_DIR)/hostJeffery To2023-10-11
| | | | | | | | | | This allows rustc/cargo/etc to be called without having to set PATH, as $(STAGING_DIR)/host/bin is already in PATH. This also fixes CARGO_HOME not being set during Host/Configure and Host/Compile. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* rust: Improve Host/Install speedJeffery To2023-10-11
| | | | | | | | | | | | | | | | * Compress dist archives with gzip instead of xz; gzip is faster to compress and decompress * Use a for loop instead of calling find to extract archives * Use libdeflate's gzip to decompress instead of gzip * Limit search for install scripts to top level of extracted archives This also runs the install scripts with bash instead of sh, in accordance with the shebang lines inside the scripts. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* rust: Cache bootstrap downloads to $(DL_DIR)/rustcJeffery To2023-10-11
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* rust: Add RUST_HOST_FEATURES for host buildsJeffery To2023-10-11
| | | | | | Features to be enabled for host may not be the same as those for target. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* rust: Use build host PythonJeffery To2023-10-11
| | | | | | The build system already requires Python to be installed. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-zope-interface: Update to 6.1, refresh patchJeffery To2023-10-11
| | | | | | | This also updates the list of dependencies and adds a test.sh script for the packages feed CI. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-pycares: bump to 4.4.0Fabian Lipken2023-10-11
| | | | Signed-off-by: Fabian Lipken <dynasticorpheus@gmail.com>
* Merge pull request #22343 from jefferyto/python-3.11.6Tianling Shen2023-10-11
|\ | | | | python3: Update to 3.11.6, refresh patches
| * python3: Update to 3.11.6, refresh patchesJeffery To2023-10-09
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | Merge pull request #22203 from pprindeville/perl-text-csv_xs-update-1.52Philip Prindeville2023-10-10
|\ \ | |/ |/| Perl text csv xs update 1.52
| * perl-text-csv_xs: Update to 1.52Philip Prindeville2023-10-10
| | | | | | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* | lua-eco: update to 3.0.1Jianhui Zhao2023-10-08
| | | | | | | | Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
* | golang: Update to 1.21.2Jeffery To2023-10-07
| | | | | | | | | | | | | | Includes fix for CVE-2023-39323 (cmd/go: line directives allows arbitrary execution during build). Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | Merge pull request #22306 from cotequeiroz/python3-rebuildJeffery To2023-10-07
|\ \ | | | | | | python3: avoid unnecessary rebuilds
| * | python3: avoid unnecessary rebuildsEneas U de Queiroz2023-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the order in which BuildPackage is called, so that the libpython package is built ahead of the module packages, to avoid forcing a clean-build of the package when 'make package/python3/compile' is called a second time without changes. The library must be built first, so that when the buildsystem checks for ABI version changes using libpython3.version, its timestamp should be older than the dependent package's STAMP_PREPARED file. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* | | Merge pull request #22301 from cotequeiroz/pymysql_sha256Alexandru Ardelean2023-10-06
|\ \ \ | | | | | | | | pymysql: add meta-package for sha256 support
| * | | pymysql: add meta-package for sha256 supportEneas U de Queiroz2023-10-05
| |/ / | | | | | | | | | | | | | | | | | | | | | Replace the PYTHON3_PYMYSQL_SHA_PASSWORD_SUPPORT option, which is causing circular dependencies, with a meta-package that installs both python3-pymysql and python3-cryptography. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* | | python-twisted: Update to 23.8.0, rework patchesJeffery To2023-10-05
| | | | | | | | | | | | | | | | | | The package changed to the hatchling build backend. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | Merge pull request #22290 from mhei/php8-update-to-8.2.11Michael Heimpold2023-10-05
|\ \ \ | |/ / |/| | php8: update to 8.2.11
| * | php8: update to 8.2.11Michael Heimpold2023-10-03
| | | | | | | | | | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* | | lua-openssl: Update to version 0.8.5-1Amnon Paz2023-10-03
| | | | | | | | | | | | Signed-off-by: Amnon Paz <pazamnon@gmail.com>
* | | python-packaging: Update to 23.2Jeffery To2023-10-03
| | | | | | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | Merge pull request #22284 from jefferyto/python-charset-normalizer-3.3.0Alexandru Ardelean2023-10-03
|\ \ \ | | | | | | | | python-charset-normalizer: Update to 3.3.0
| * | | python-charset-normalizer: Update to 3.3.0Jeffery To2023-10-03
| |/ / | | | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* / / python-cffi: Update to 1.16.0Jeffery To2023-10-03
|/ / | | | | | | | | | | | | | | | | This includes a patch to unpin the version of setuptools required for build; the required version is newer than the version bundled with Python 3.11. This patch should not be necessary when Python 3.12 is available. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python-bcrypt: Update to 4.0.1, add myself as maintainerJeffery To2023-10-02
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python-pyopenssl: Update to 23.2.0Jeffery To2023-10-02
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | lua-eco: update to 3.0.0Jianhui Zhao2023-10-02
| | | | | | | | Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
* | python-cryptography: Update to 41.0.4Jeffery To2023-09-27
| | | | | | | | | | | | | | | | | | | | This includes a patch to update the version of ouroboros (Rust crate) used, to fix RUSTSEC-2023-0042[1]. Upstream has switch from ouroboros to self_cell so this patch should only be necessary for cryptography 41. [1]: https://rustsec.org/advisories/RUSTSEC-2023-0042.html Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python: Add environment variables to build Rust extensionsJeffery To2023-09-27
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python-setuptools-rust: Add new host-only packageJeffery To2023-09-27
| | | | | | | | | | | | | | | | | | From the README: setuptools-rust is a plugin for setuptools to build Rust Python extensions implemented with PyO3 or rust-cpython. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python-semantic-version: Add new host-only packageJeffery To2023-09-27
| | | | | | | | | | | | | | | | | | From the README: This small python library provides a few tools to handle SemVer in Python. It follows strictly the 2.0.0 version of the SemVer scheme. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python-typing-extensions: Update to 4.8.0Jeffery To2023-09-27
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python-trove-classifiers: Update to 2023.9.19Jeffery To2023-09-27
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python-setuptools: Update to 68.2.2Jeffery To2023-09-27
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | Merge pull request #22187 from mhei/php8-pecl-redis-update-to-6.0.0Michael Heimpold2023-09-27
|\ \ | | | | | | php8-pecl-redis: update to 6.0.1
| * | php8-pecl-redis: update to 6.0.1Michael Heimpold2023-09-25
| | | | | | | | | | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* | | luajit2: replace arch dependency to common config HAS_LUAJIT_ARCHChristian Marangi2023-09-25
| | | | | | | | | | | | | | | | | | | | | Replace arch dependency to common config HAS_LUAJIT_ARCH from luajit package. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* | | luajit: move arch dependency to dedicated config HAS_LUAJIT_ARCHChristian Marangi2023-09-25
| |/ |/| | | | | | | | | | | Move arch dependency for luajit to dedicated config HAS_LUAJIT_ARCH to workaround recursive dependency limitation. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* | python-bidict: Update to 0.22.1Jeffery To2023-09-23
| | | | | | | | | | | | The package no longer has a build dependency on setuptools-scm. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python-exceptiongroup: Remove packageJeffery To2023-09-23
|/ | | | | | | | | | | There are no longer any packages in the packages repo that depend on this package. Since this package backports exception groups from Python 3.11, and Python in the packages repo has been updated to 3.11, there should be no future need for this package. This package will be added to the abandoned packages feed. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* luajit2: add OpenResty's mantained branch of luajitJavier Marcet2023-09-22
| | | | | | | | | Add OpenResty's mantained branch of luajit. Required for nginx lua module to work correctly with their custom patches. Signed-off-by: Javier Marcet <javier@marcet.info> [ add commit description ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* python3-networkx: Update to 3.1, rename source packageJeffery To2023-09-22
| | | | | | | | | This renames the source package to python-networkx to match other Python packages. This also updates the list of dependencies. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* node: bump to v18.18.0Hirokazu MORIKAWA2023-09-21
| | | | | | Update to v18.18.0 Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
* Merge pull request #22134 from jefferyto/rust-cargo-rustflagsTianling Shen2023-09-21
|\ | | | | rust: Set rustflags by environment variable
| * rust: Set rustflags by environment variableJeffery To2023-09-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to use $(RUSTC_TARGET_ARCH) in HOST_BUILD_DIR, the line to include rust-values.mk in the Rust makefile was moved in f489e019ac4a15e974518d9928ef913a157d135a, causing it to be included before package.mk is included. This had the side effect of preventing "-lssp_nonshared" from being added to RUSTC_LDFLAGS, because PKG_SSP is indirectly set by package.mk (package.mk includes hardening.mk, hardening.mk sets PKG_SSP). There is a deeper issue; it is the Rust package's PKG_SSP value that causes RUSTC_LDFLAGS to be set and written to the Cargo config file. For packages that use Rust to build, their PKG_SSP value does not affect the linker flag. This sets rustflags with the RUSTFLAGS environment variable, instead of writing the value to the Cargo config file, allowing PKG_SSP from the package being built to be used and for the package being built to modify the rustflags used. This also: * Fix "-lssp_nonshared" being added to TARGET_CFLAGS instead of RUSTC_LDFLAGS, when CONFIG_PKG_CC_STACKPROTECTOR_STRONG is set. * Remove the use of $(RUSTC_TARGET_ARCH) in HOST_BUILD_DIR and move the include line for rust-values.mk back to after package.mk. Since the host build directory was moved under the target build directory in efdbac38dc8b649ca26b49fac27abeb5cf76cd28, it is no longer necessary to separate build directories with RUSTC_TARGET_ARCH; $(BUILD_DIR) already separates build directories by target. * Add BUILDONLY:=1, as the Rust package does not build a target package. * Install the Cargo config file as "config.toml" instead of "config", as this is the preferred form[1]. * Rename RUST_CFLAGS to RUSTC_CFLAGS and CONFIG_HOST_SUFFIX to RUSTC_HOST_SUFFIX, for consistency. * Allow CARGO_VARS to be set before rust-values.mk is included. [1]: https://doc.rust-lang.org/cargo/reference/config.html#hierarchical-structure Fixes: f489e019ac4a ("rust: compile host package per target") Fixes: 83785a7ce016 ("rust-lang: Add the rust language support") Fixes: https://github.com/openwrt/packages/issues/22133 Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | Merge pull request #22132 from pprindeville/perl-text-csv_xs-update-1.51Philip Prindeville2023-09-17
|\ \ | | | | | | perl-text-csv_xs: Update to 1.51
| * | perl-text-csv_xs: Update to 1.51Philip Prindeville2023-09-17
| | | | | | | | | | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* | | perl-cgi: Update to 4.57Philip Prindeville2023-09-17
| |/ |/| | | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* | python-setuptools: Update to 68.2.0Jeffery To2023-09-14
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>