summaryrefslogtreecommitdiff
path: root/devel/jq
AgeCommit message (Collapse)AuthorFilesLines
2018-11-03jq: Clarify a bit the comment of patch-Makefile.amleot2-4/+5
2018-11-03jq: Update devel/jq to 1.6leot11-134/+52
pkgsrc changes: - Use GITHUB_RELEASE instead of GITHUB_TAG because the former does not need auto* tools (despite we need auto* tools for patches/, hopefully one day they will be applied!) - Remove no longer needed SUBST_*, `git describe' is no longer used - Remove patch-src_jv__parse.c and patch-src_jv__print.c, they are present in 1.6 - Rename and readjust patch-Makefile.in to patch-Makefile.am (pre-configure target rewrote it due `autoreconf') Changes: 1.6 --- New in this release since 1.5: - Destructuring Alternation - New Builtins: * builtins/0 * stderr/0 * halt/0, halt_error/1 * isempty/1 * walk/1 * utf8bytelength/1 * localtime/0, strflocaltime/1 * SQL-style builtins * and more! - Add support for ASAN and UBSAN - Make it easier to use jq with shebangs (8f6f28c) - Add $ENV builtin variable to access environment - Add JQ_COLORS env var for configuring the output colors Bug fixes: - Calling jq without a program argument now always assumes . for the program, regardless of stdin/stdout. (5fe0536) - Make sorting stable regardless of qsort. (7835a72) - Adds a local oniguruma submodule and the `./configure --with-oniguruma=builtin' option to make it easier to build with oniguruma support on systems where you can't install system-level libraries. (c6374b6 and 02bad4b) - And much more!
2018-08-19jq: Avoid SIGSEGVs when using date builtinsleot7-10/+133
Apply patch written by <soda> and shared with upstream as part of <https://github.com/stedolan/jq/pull/1458> in order to fix crashes of jq when using date builtin functions. Also add a SUBST class intended to avoid invoking git as part of pre-configure phase when invoking autoreconf. While here take the MAINTAINERship and reformat a bit the Makefile (NFCI). Thanks a lot to <soda>, Takehiko NOZAKI and <nonaka> for investigating the issue, writing the patches, sharing them with upstream and as part of PR pkg/52460! Bump PKGREVISION
2018-05-30CVE-2016-4074 denial-of-service (via upstream)ginsbach3-3/+45
Fix present in jq-1.6rc1 (https://github.com/stedolan/jq/commit/83e2cf6). The fix prevents 'infinite' recursion preventing stack exhaustion.
2018-03-22Revbump after updating textproc/onigurumaadam1-2/+2
2018-01-22Turn oniguruma support into a (default) option.fhajny2-4/+17
2018-01-15jq: fixed dynamic linking (now bin/jq is tiny); cleaned pkglint warningsadam3-5/+21
2018-01-12devel/jq: Link against textproc/oniguruma to enable regexp support.fhajny1-2/+5
2017-08-03Reset MAINTAINERship.jperkin1-2/+2
2017-07-30Switch github HOMEPAGEs to https.wiz1-2/+2
2016-08-10Fix build on SunOS. Submitted by Attila Fueloep.jperkin1-2/+2
2016-05-10CVE-2015-8863 heap-based buffer overflow (via upstream)tnn3-2/+42
2015-11-03Add SHA512 digests for distfiles for devel categoryagc1-1/+2
Issues found with existing distfiles: distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip distfiles/fortran-utils-1.1.tar.gz distfiles/ivykis-0.39.tar.gz distfiles/enum-1.11.tar.gz distfiles/pvs-3.2-libraries.tgz distfiles/pvs-3.2-linux.tgz distfiles/pvs-3.2-solaris.tgz distfiles/pvs-3.2-system.tgz No changes made to these distinfo files. Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-08-28Update to 1.5, and simplify a lot.wiz3-1462/+7
New features in 1.5 since 1.4: - regular expressions (with Oniguruma) - a library/module system - many new builtins - datetime builtins - math builtins - regexp-related builtins - stream-related builtins (e.g., all/1, any/1) - minimal I/O builtins (`inputs`, `debug`) - new syntactic features, including: - destructuring (`. as [$first, $second] | ...`) - try/catch, generalized `?` operator, and label/break - `foreach` - multiple definitions of a function with different numbers of arguments - command-line arguments - --join-lines / -j for raw output - --argjson and --slurpfile - --tab and --indent - --stream (streaming JSON parser) - --seq (RFC7464 JSON text sequence) - --run-tests improvements - optimizations: - tail-call optimization - reduce and foreach no longer leak a reference to .
2015-07-31Update to 1.4ryoon4-34/+14
* Use github framework. Changelog: Not available.
2014-04-17Update jq to 1.3.fhajny7-115/+378
Changelog not provided, see commits made since 1.2: https://github.com/stedolan/jq/compare/jq-1.2...jq-1.3
2014-01-27Do not set FETCH_USING, should not be set in a package Makefile.wiz1-3/+1
2013-04-26Update jq to version 1.2. This is the version which should have been addedjperkin7-22/+1222
in the first place, but I somehow missed it. Unfortunately there is no changelog, just a git history, with no indication of which are the important changes. However a lot of bugfixes are included. The main pkgsrc change in 1.2 is that there is now a manual page.
2013-04-25Import jq-1.1 as devel/jq into pkgsrc.jperkin5-0/+56
jq is a lightweight and flexible command-line JSON processor. jq is like sed for JSON data – you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text.