Commit Graph

19 Commits

Author SHA1 Message Date
Alexandru Ardelean 8d3c004213 treewide: set me where PKG_MAINTAINER empty
Seems a lot of packages are just getting abandoned by people.
Will pick these up and see them through.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-16 21:48:36 +03:00
Stan Grishin ee3114a766 jq: add host build
* luci-app-advanced-reboot requires jq on host, this adds host build of jq
* remove maintainer

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2026-02-04 07:44:44 +02:00
Josef Schlehofer 142331bdb8 jq: refactor variants and fix PROVIDES
Refactor package variants definition to be cleaner and more robust.
E.g.:
- Remove redundant PROVIDES:=jq from the main 'jq' package (it provides
  itself automatically).
- Keep PROVIDES:=jq only on the 'jq-full' variant so it can serve as a
  drop-in replacement.
- Use $(CP) macro rather than $(INSTALL_BIN) to preserve symlinks on shared objects
INSTALL_BIN turns all of the symlinks to files, increasing size.

Fixes: 711a19c4b2 ("jq: provide regex support in additional package jq-full")

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-12-30 01:07:20 +01:00
John Audia 383fba198e jq: bump to v1.8.1
Simple bump to new release

Build system: x86/64
Build-tested: x86/64
Run-tested: x86/64

Signed-off-by: John Audia <therealgraysky@proton.me>
2025-07-08 15:16:40 +08:00
John Audia 0f281ad57b jq: bump to v1.8.0
In addition to shipping the latest upstream version, package shared objects.
It is worth noting that this release is required when building with GCC 15.1.

Signed-off-by: John Audia <therealgraysky@proton.me>
2025-06-08 11:40:15 +03:00
Maximilian Trüpschuch 711a19c4b2 jq: provide regex support in additional package jq-full
I modified the makefile, so that it will build two packages: jq and
jq-full. The former will remain unchanged and the latter will have a
dependency to the oniguruma library, so jq-full will have regex functions
enabled.

Signed-off-by: Maximilian Trüpschuch <milanx@gmx.net>
2025-04-24 01:22:48 +08:00
Andreas Gnau 7e5332e3cd jq: Add PKG_CPE_ID
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
2024-07-05 13:41:56 -07:00
krant 73f179bdf0 jq: update to 1.7.1
- Update package URLs
- Fix license
- Drop obsolete CFLAGS
- Drop obsolete patches

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-04 16:29:43 -08:00
W. Michael Petullo f60a0b2b46 jq: remove _GNU_SOURCE from Makefile and instead backport patch
Commit 4bb18b04 added _GNU_SOURCE to jq's Makefile to fix a segfault.
This has since been fixed upstream, so this commit backports the upstream
patch instead. This keeps things closer to upstream, and it will prevent
the Makefile from containing a redundant fix once upstream releases the
next version.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-07-17 11:44:01 -07:00
Bradford Zhang 1bc9cbf2b7 jq: fix hash mismatch problem
change jq source proto to git to deal with hash mismatch problem.

Signed-off-by: Bradford Zhang <zyc@zyc.name>
2022-11-17 14:54:35 -08:00
Marko Ratkaj c7fa48007e jq: update maintainer email
Signed-off-by: Marko Ratkaj <markoratkaj@gmail.com>
2022-03-31 11:25:17 +02:00
François Goudal dca61c0261 jq: Backport a bunch of commits in order to fix jq-1.6 terrible performance on startup
Signed-off-by: François Goudal <francois.goudal@airmont.com>
2021-08-23 11:15:44 +02:00
W. Michael Petullo 4bb18b04b6 jq: compile with _GNU_SOURCE (fixes #7785)
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2019-02-11 06:58:21 -05:00
Marko Ratkaj 0099bad30b utils: jq: bump version to 1.6
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2018-11-06 16:56:47 +01:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Florian Fainelli 38eb3ad83a jq: Set -std=c99 CLFAGS
Fixes build errors/warnings:

locfile.c: In function 'locfile_init':
locfile.c:21:3: error: 'for' loop initial declarations are only allowed
in C99 mode
   for (int i=0; i<length; i++) {

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-07-02 20:51:17 -07:00
Marko Ratkaj 6868aabccf jq: import improvements from debian
Mitigate stack exhaustion when printing a very deeply nested term.
Fix heap buffer overflow in tokenadd()

Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2017-05-17 15:01:51 +02:00
Marko Ratkaj 50716550be jq: fix MIPS compile flags
There is a gcc related bug that causes the following issue on MIPS:
Assertion failed: jv_get_kind(a) == JV_KIND_STRING (jv.c: jvp_string_ptr: 435)

This patch will disable SRA optimizations on MIPS platform and prevent
the above issue.

Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2017-05-17 15:01:51 +02:00
Marko Ratkaj a576b3aad8 jq: add package
jq is a lightweight and flexible command-line JSON processor.

Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2017-04-07 18:40:10 +02:00