Commit Graph

236 Commits

Author SHA1 Message Date
Christian Marangi 4d9ec853be
devel: gcc: refresh patches
Refresh patches with make package/gcc/refresh by tweaking the
GCC_VERSION to refresh every supported version.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-04-11 13:48:13 +02:00
Christian Marangi da8303d430
devel: gcc: add support for GCC 13
Add support for GCC 13 and take patches from openwrt main repo.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-04-11 13:48:12 +02:00
Christian Marangi a6934ed64e
devel: gcc: add missing RISCV patches for GCC 12
Add missing RISCV patches for GCC 12 from openwrt toolchain GCC.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-04-11 13:48:12 +02:00
Christian Marangi b31d6da0a8
devel: gcc: align patches structure to openwrt toolchain GCC
Align patches structure to openwrt toolchain GCC to make it easier to
maintain them and reduce patch delta on GCC update.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-04-11 13:48:09 +02:00
krant 8e1c788059 diffutils: update to 3.10
- Switch package URL to HTTPS
- Refresh the patch

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-07 13:56:41 -08:00
krant 2bcd9a4cd7 automake: update to 1.16.5
Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-07 13:54:03 -08:00
krant 90d316b428 autoconf: update to 2.72
Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-07 13:52:35 -08:00
Fabrice Fontaine 9acff9cd6b devel/autoconf: assign PKG_LICENSE_FILES
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2024-02-05 11:24:54 -08:00
Fabrice Fontaine 5afe5c9031 treewide: assign PKG_CPE_ID
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2024-02-04 16:16:10 -08:00
krant 532f6e0782 make: update to 4.4.1
Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-04 16:12:55 -08:00
Fabrice Fontaine f3e54bda31 devel/automake: fix license
automake is licensed under GPL-2.0-or-later, not GPL-3.0-or-later:
https://git.savannah.gnu.org/cgit/automake.git/tree/COPYING
indeed switch to GPL-3.0-or-later was reverted a long time ago (i.e.
before its addition to openwrt) by
https://git.savannah.gnu.org/cgit/automake.git/commit/?id=fcf2f56062e384455ec8b1aed943af33f20c27c7

While at it, add the license file

Fixes: c6ac1e3f76

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2024-01-31 16:00:56 -08:00
Tianling Shen 27b4291bd4 gitlab-runner: Update to 16.0.2
* Added test.sh script
* Fixed build with riscv64
* Passed package version via go ldflags
* Refreshed patches
* Removed useless test binaries from package

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-22 21:38:36 +03:00
Tianling Shen 92059f19b0
packr: remove package
In Go 1.18+ embedded files is natively supported, so this package
is useless now. It has been archived on Jun 2022 and failed to build
on the riscv64 target.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-05 00:50:02 +08:00
John Audia fa76c4df5c ragel: new package to build vectorscan
This is a new package for ragel which is a dependency for another
new package vectorscan

Co-authored-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Signed-off-by: John Audia <therealgraysky@proton.me>
2023-05-28 15:48:25 +03:00
Tianling Shen caf37fd3e1 lttng-modules: Update to 2.13.9
* Added new dependency
* Enabled parallel build
* Switched to use KERNEL_MAKE

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-18 06:50:36 +02:00
Tianling Shen e36152abcd lttng-tools: Update to 2.13.9
Backported a upstream commit (with manually rebased) to fix build
with musl 1.2.4.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-18 06:50:36 +02:00
Nick Hainke 7a251bd3ff gcc: update to 12.3.0
Release notes:
https://gcc.gnu.org/gcc-12/changes.html

Refresh patches:
- 230-musl_libssp.patch
- 910-mbsd_multi.patch
- 920-specs_nonfatal_getenv.patch
- 970-macos_arm64-building-fix.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-05-16 18:43:31 +02:00
Nick Hainke 54cc4cc7f6 gcc: copy patches from 12.2.0 to 12.3.0
This simplifies reviewing process.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-05-16 18:43:31 +02:00
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Andre Heider 565866a472 treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Glen Huang 10247c1d18 delve: update to version 1.20.1
Signed-off-by: Glen Huang <i@glenhuang.com>
2023-01-24 17:59:52 -08:00
Oskari Rauta 137174dd6a nasm: new package
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-01-22 18:03:07 +02:00
Christian Marangi dd0de22a35
gcc: limit postinst and postrm only with INCLUDE_STATIC_LINK_SPEC
Limit postinst and postrm only with INCLUDE_STATIC_LINK_SPEC enabled
as it's only needed to install and remove the generated spec file.

Also remove extra tab from scripts.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-01-11 22:49:27 +01:00
Christian Marangi 399c1a467d
gcc: add support for gcc 12
Copy patch from gcc 11 to gcc 12 and add missing hash.
Refresh patch for .c -> .cc change and drop
931-libffi-fix-MIPS-softfloat-build-issue as it got merged in
gcc 12.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-01-11 21:27:28 +01:00
Michael Pratt d581399e60 patch: do not patch automake Makefile template
We do not build the tests for this package,
so we can avoid needing autoreconf
when the host automake version doesn't match
the version this package was bootstrapped with
by not changing the .am file in this patch.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
2022-09-09 15:20:58 -07:00
Michael Pratt ac45a74551 flex: install dev files to staging
Provide the library and headers for flex
in the staging directory
for the target build of packages
that depend on lexical functions.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
2022-09-09 15:20:58 -07:00
Christian Marangi 4db8466a14 gcc: update 11 minor version
- Update 11 minor version to match the upstream
- Rename patches dir to reflect new gcc 11 minor version
- Drop upstream patch

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2022-06-21 14:23:26 -06:00
Rosen Penev df5d7245b9 treewide: remove PKG_INSTALL for meson projects
It doesn't seem to be used by meson.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-06-15 18:07:46 -07:00
W. Michael Petullo 8e0bc54fcd gcc: depend on libzstd
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2022-05-25 18:58:01 -07:00
W. Michael Petullo ceaa6e840e gcc: update to allow compiling different versions
This is based on the toolchain GCC, and aims to share as much of its
Makefile and patches with that definition. The package requires two
additional patches:

(1) 003-dont-choke-when-building-32bit-on-64bit.patch, which fixes the
`error: size of array 'test_real_width' is negative` error that occurs
when building a 32-bit GCC on a 64-bit host. (Search the Internet for
examples of this error appearing.)

(2) 980-add-nostdinc++.patch, which backports a fix from 11.3.0 (11.2.0
only).

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2022-05-18 16:34:53 -07:00
W. Michael Petullo abbe33b369 gcc: change maintainer
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2022-05-18 16:34:53 -07:00
Eneas U de Queiroz f60a09d0c2 flex: disable building po, tools
Amend the patch that disabled tests and docs to remove everything but
the src dir that builds the main flex program--the only file packaged.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-04-29 15:27:12 -07:00
Tianling Shen 126e51360f statik: drop package
This was previously used by cloudreve, but now deprecated.

Package `embed` has been built-in since Go 1.16, so this one is
pointless anyway.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-04-29 15:22:11 -07:00
W. Michael Petullo d681408b34 flex: use PKG_FIXUP:=autoreconf gettext-version
This change aims to fix build problems that produce the error "gettext
infrastructure mismatch".

References:
- See the commit comments at:
  baaf7f95cb

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2022-04-17 22:46:00 +02:00
W. Michael Petullo 4478a1d382 bison: new package
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2022-04-14 06:41:49 +02:00
W. Michael Petullo baaf7f95cb flex: new package
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2022-04-14 06:40:58 +02:00
Niels Widger d48a82d6f6 delve: Update to 1.8.2
See https://github.com/go-delve/delve/blob/master/CHANGELOG.md for
changes.

Signed-off-by: Niels Widger <niels@qacafe.com>
2022-03-10 10:50:46 -05:00
Sergey V. Lobanov 75c25bef6d lpc21isp: fix build on macos
lpc21isp Makefile detects Darwin and defines __APPLE__ that is not
required for cross-compile build for OpenWrt

This patch sets OSTYPE="Linux" due to OpenWrt is always Linux

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-18 18:03:44 -08:00
Rosen Penev 06d5252474 diffutils: update to 3.8
Fixes compilation with newer glibc.

Ported gnulib patch from m4.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-17 21:12:20 -08:00
Tianling Shen f639052800 statik: add new packages
This is required by cloudreve.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-10-20 13:05:28 -07:00
Jan Pavlinec 4a02b71723 gitlab-runner: update to version 14.3.2
Signed-off-by: Jan Pavlinec <jan.pavlinec1@gmail.com>
2021-10-10 22:21:54 +03:00
Eneas U de Queiroz 1f91016ac3 gcc: enable parallel building
Even though PKG_BUILD_PARALLEL is set for the package, the package calls
$(MAKE) without $(PKG_JOBS), so it was always built with only one job.

Fix this by adding $(PKG_JOBS) to the $(MAKE) call, and calling make
install only after make all is finished.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-10-08 09:50:29 -07:00
Niels Widger bf40d06f3d delve: Update to 1.7.2
See https://github.com/go-delve/delve/blob/master/CHANGELOG.md for
changes.

Signed-off-by: Niels Widger <niels@qacafe.com>
2021-09-28 07:17:08 +03:00
Rosen Penev 00a0d249dc m4: update to 1.4.19
Remove upstream backport.

Add patch fixing compilation with powerpc and musl.

Switch to AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-25 02:14:57 -07:00
Rosen Penev 0a144bbef1 pkgconf: update to 1.8.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-25 01:16:23 -07:00
Rosen Penev 4e740b25fe ninja: remove
There's no point to this package. Ninja files are typically generated by
meson or CMake, none of which are available as packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-19 01:06:33 -07:00
Rosen Penev 468572af01 meson: remove
This is in base now.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-17 22:06:54 -07:00
Rosen Penev 5ccd4d1c25 treewide: compile with tools/meson
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-17 22:06:52 -07:00
Ren Zongjia 72f3dfcb0e autoconf: fix shebang
Fix shebang errors for autom4te, autoreconf, autoheader, autoscan, autoupdate, ifnames.

resolve openwrt/packages#16604

Signed-off-by: Ren Zongjia <acooler15@foxmail.com>
2021-09-12 10:57:29 -07:00
Niels Widger 3583fd1c2e delve: Update to 1.7.1
See
https://github.com/go-delve/delve/blob/master/CHANGELOG.md#171-2021-08-18
for changes.

Signed-off-by: Niels Widger <niels@qacafe.com>
2021-08-23 08:38:26 -04:00