head 1.58; access; symbols pkgsrc-2026Q3:1.56.0.2 pkgsrc-2026Q3-base:1.56 pkgsrc-2026Q2:1.49.0.2 pkgsrc-2026Q2-base:1.49 pkgsrc-2026Q1:1.46.0.2 pkgsrc-2026Q1-base:1.46 pkgsrc-2025Q4:1.42.0.2 pkgsrc-2025Q4-base:1.42 pkgsrc-2025Q3:1.38.0.2 pkgsrc-2025Q3-base:1.38 pkgsrc-2025Q2:1.35.0.2 pkgsrc-2025Q2-base:1.35 pkgsrc-2025Q1:1.32.0.2 pkgsrc-2025Q1-base:1.32 pkgsrc-2024Q4:1.30.0.4 pkgsrc-2024Q4-base:1.30 pkgsrc-2024Q3:1.30.0.2 pkgsrc-2024Q3-base:1.30 pkgsrc-2024Q2:1.25.0.2 pkgsrc-2024Q2-base:1.25 pkgsrc-2024Q1:1.21.0.2 pkgsrc-2024Q1-base:1.21 pkgsrc-2023Q4:1.18.0.2 pkgsrc-2023Q4-base:1.18 pkgsrc-2023Q3:1.12.0.2 pkgsrc-2023Q3-base:1.12 pkgsrc-2023Q2:1.8.0.2 pkgsrc-2023Q2-base:1.8 pkgsrc-2023Q1:1.4.0.2 pkgsrc-2023Q1-base:1.4; locks; strict; comment @# @; 1.58 date 2026.10.20.20.27.59; author bsiegert; state Exp; branches; next 1.57; commitid dJKI2rPaaRPrWf0H; 1.57 date 2026.10.13.18.37.40; author bsiegert; state Exp; branches; next 1.56; commitid wvHFFhdcWIkzylZG; 1.56 date 2026.09.05.19.09.43; author bsiegert; state Exp; branches 1.56.2.1; next 1.55; commitid 9ZfzZiM9sH3jXsUG; 1.55 date 2026.08.31.19.18.48; author bsiegert; state Exp; branches; next 1.54; commitid w58ayX00lU4maPTG; 1.54 date 2026.08.26.09.31.37; author wiz; state Exp; branches; next 1.53; commitid 1DetOg5e06X058TG; 1.53 date 2026.08.25.18.11.08; author wiz; state Exp; branches; next 1.52; commitid 0r4xFP8rpficZ2TG; 1.52 date 2026.08.22.15.18.58; author bsiegert; state Exp; branches; next 1.51; commitid y6FJlsYJaKI18ESG; 1.51 date 2026.08.15.12.53.19; author bsiegert; state Exp; branches; next 1.50; commitid 5lqJISwxui9ZxJRG; 1.50 date 2026.07.08.18.32.23; author bsiegert; state Exp; branches; next 1.49; commitid cDbYxmIrkrXYDSMG; 1.49 date 2026.06.05.10.21.34; author bsiegert; state Exp; branches 1.49.2.1; next 1.48; commitid jt8yVpLxXvatZAIG; 1.48 date 2026.05.07.18.49.50; author bsiegert; state Exp; branches; next 1.47; commitid MMrI2EXGAt3HJUEG; 1.47 date 2026.04.08.05.44.53; author bsiegert; state Exp; branches; next 1.46; commitid FFJx9trbRMg7k7BG; 1.46 date 2026.03.15.18.23.35; author wiz; state Exp; branches 1.46.2.1; next 1.45; commitid 53wJdi0QzCBji6yG; 1.45 date 2026.03.06.21.07.47; author bsiegert; state Exp; branches; next 1.44; commitid AQtIeR1eh5qvuXwG; 1.44 date 2026.02.24.08.45.22; author bsiegert; state Exp; branches; next 1.43; commitid IrpU9bGVDwSIHBvG; 1.43 date 2026.01.15.19.54.39; author bsiegert; state Exp; branches; next 1.42; commitid Zuo9UmMrkrU4HwqG; 1.42 date 2025.12.07.12.53.42; author wiz; state Exp; branches; next 1.41; commitid jAKTmRJUmefpCtlG; 1.41 date 2025.12.02.19.25.05; author bsiegert; state Exp; branches; next 1.40; commitid 269raRGxaHJBWRkG; 1.40 date 2025.10.16.17.59.46; author bsiegert; state Exp; branches; next 1.39; commitid RAGpkHmyeYCUYOeG; 1.39 date 2025.10.08.06.54.22; author bsiegert; state Exp; branches; next 1.38; commitid 5p46uH9RJXSFyJdG; 1.38 date 2025.09.06.13.16.55; author bsiegert; state Exp; branches; next 1.37; commitid cojusOdnRBFGHE9G; 1.37 date 2025.08.31.10.02.45; author bsiegert; state Exp; branches; next 1.36; commitid SdH7Ppgppxg5PR8G; 1.36 date 2025.07.13.08.55.20; author wiz; state Exp; branches; next 1.35; commitid iAZ8ZSaCbwxB1z2G; 1.35 date 2025.06.06.14.01.23; author bsiegert; state Exp; branches; next 1.34; commitid JbNcx43ItkrmUPXF; 1.34 date 2025.04.20.20.19.22; author wiz; state Exp; branches; next 1.33; commitid JpQ222BoPD1GvPRF; 1.33 date 2025.04.05.18.51.12; author bsiegert; state Exp; branches; next 1.32; commitid 5KX0APffNjdlvTPF; 1.32 date 2025.03.07.20.54.15; author bsiegert; state Exp; branches 1.32.2.1; next 1.31; commitid rfTPfnLphAPl7bMF; 1.31 date 2025.02.08.16.39.48; author wiz; state Exp; branches; next 1.30; commitid 9oCUo9XmkKuPzGIF; 1.30 date 2024.09.21.15.24.08; author wiz; state Exp; branches; next 1.29; commitid uqltJjMQu5nVEGqF; 1.29 date 2024.09.06.18.48.43; author bsiegert; state Exp; branches; next 1.28; commitid sM1YPLxu37gUgMoF; 1.28 date 2024.08.11.15.56.57; author bsiegert; state Exp; branches; next 1.27; commitid Q02ZqKpOSdvP9qlF; 1.27 date 2024.07.15.15.28.42; author wiz; state Exp; branches; next 1.26; commitid pAQJ6YnwnKASRWhF; 1.26 date 2024.07.03.06.59.19; author bsiegert; state Exp; branches; next 1.25; commitid clKUvbmZS6C5rmgF; 1.25 date 2024.06.13.13.46.57; author bsiegert; state Exp; branches; next 1.24; commitid JAoDOmAvI7TNkPdF; 1.24 date 2024.06.01.14.02.49; author bsiegert; state Exp; branches; next 1.23; commitid ffwNZJIDPPV5OhcF; 1.23 date 2024.04.14.15.31.10; author wiz; state Exp; branches; next 1.22; commitid onqMsjNGXDNcQ76F; 1.22 date 2024.04.05.19.13.56; author bsiegert; state Exp; branches; next 1.21; commitid eg3d1kDRSryvmZ4F; 1.21 date 2024.02.13.18.19.06; author wiz; state Exp; branches; next 1.20; commitid 3cXMkh0DzuAnJiYE; 1.20 date 2024.02.07.14.50.46; author bsiegert; state Exp; branches; next 1.19; commitid 7gDVHFycBNsGLvXE; 1.19 date 2024.01.10.19.14.27; author bsiegert; state Exp; branches; next 1.18; commitid UV9PAPQbNGpZ7WTE; 1.18 date 2023.12.05.19.46.04; author bsiegert; state Exp; branches; next 1.17; commitid U47ig27ZDVHCsjPE; 1.17 date 2023.11.25.19.03.16; author wiz; state Exp; branches; next 1.16; commitid 0a6pOB1U56MXx1OE; 1.16 date 2023.11.10.15.45.07; author bsiegert; state Exp; branches; next 1.15; commitid o3oFzjmXZZyOV4ME; 1.15 date 2023.10.29.14.48.08; author bsiegert; state Exp; branches; next 1.14; commitid jWdavz5Nyqs70xKE; 1.14 date 2023.10.15.12.04.17; author bsiegert; state Exp; branches; next 1.13; commitid ty8v2zrF0XsQxIIE; 1.13 date 2023.09.28.08.33.20; author wiz; state Exp; branches; next 1.12; commitid 9Bj5SNbvKzL0VvGE; 1.12 date 2023.09.08.19.05.59; author bsiegert; state Exp; branches 1.12.2.1; next 1.11; commitid c6lIkxn2TQcc40EE; 1.11 date 2023.08.26.16.31.25; author bsiegert; state Exp; branches; next 1.10; commitid g2P4Ffplg5e8DjCE; 1.10 date 2023.07.15.10.52.54; author bsiegert; state Exp; branches; next 1.9; commitid AvpTGe7iqymJ6TwE; 1.9 date 2023.07.07.12.18.31; author wiz; state Exp; branches; next 1.8; commitid TKvOJT1k35m6QRvE; 1.8 date 2023.05.16.16.41.35; author wiz; state Exp; branches; next 1.7; commitid pT3mLoSe98zZXcpE; 1.7 date 2023.05.05.19.37.45; author bsiegert; state Exp; branches; next 1.6; commitid QnXJTC5u3Ar9iOnE; 1.6 date 2023.04.13.16.35.41; author wiz; state Exp; branches; next 1.5; commitid iZjGCksuCWpxZXkE; 1.5 date 2023.04.05.20.48.00; author bsiegert; state Exp; branches; next 1.4; commitid otfbJh3QwD1ZDXjE; 1.4 date 2023.03.08.17.36.59; author wiz; state Exp; branches; next 1.3; commitid aZ4LRuVIIsP8ulgE; 1.3 date 2023.03.08.13.38.59; author bsiegert; state Exp; branches; next 1.2; commitid zjDge6tGIbvHakgE; 1.2 date 2023.02.16.15.02.10; author bsiegert; state Exp; branches; next 1.1; commitid 0nue7vmM3ce6hLdE; 1.1 date 2023.02.16.10.55.23; author wiz; state Exp; branches; next ; commitid CWRTmlJKpmMBUJdE; 1.56.2.1 date 2026.10.21.20.45.28; author maya; state Exp; branches; next ; commitid IJL9kZcpR4sp0o0H; 1.49.2.1 date 2026.07.14.00.35.44; author maya; state Exp; branches; next ; commitid sHC3bIiGgkiEuyNG; 1.46.2.1 date 2026.04.22.14.31.57; author maya; state Exp; branches; next ; commitid iDHLLUhOplH6NXCG; 1.32.2.1 date 2025.04.05.20.44.55; author maya; state Exp; branches; next ; commitid ts1uPa8RLrwE7UPF; 1.12.2.1 date 2023.10.22.18.44.05; author spz; state Exp; branches; next 1.12.2.2; commitid F5xCMl0v6Vo6xEJE; 1.12.2.2 date 2023.12.06.12.08.39; author spz; state Exp; branches; next ; commitid fLEciuttqVQKToPE; desc @@ 1.58 log @Revbump all Go packages after go127 security update @ text @# $NetBSD: Makefile,v 1.57 2026/10/13 18:37:40 bsiegert Exp $ DISTNAME= fq-0.18.0 PKGREVISION= 5 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GITHUB:=wader/} GITHUB_TAG= v${PKGVERSION_NOREV} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/wader/fq/ COMMENT= File parsing tool like jq, but for binary files LICENSE= mit GO_BUILD_PATTERN+= . INSTALLATION_DIRS+= ${PKGMANDIR}/man1 post-install: ${INSTALL_DATA} ${WRKSRC}/doc/fq.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "go-modules.mk" .include "../../lang/go/go-module.mk" .include "../../mk/bsd.pkg.mk" @ 1.57 log @Revbump all Go packages after go127 security update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.56 2026/09/05 19:09:43 bsiegert Exp $ d4 1 a4 1 PKGREVISION= 4 @ 1.56 log @Revbump all Go packages after go127 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.55 2026/08/31 19:18:48 bsiegert Exp $ d4 1 a4 1 PKGREVISION= 3 @ 1.56.2.1 log @*: Revbump for go126, go127. Ticket #7311 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.56 2026/09/05 19:09:43 bsiegert Exp $ d4 1 a4 1 PKGREVISION= 4 @ 1.55 log @Revbump all Go packages after go127 became the default @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.54 2026/08/26 09:31:37 wiz Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.54 log @fq: install man page. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.53 2026/08/25 18:11:08 wiz Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.53 log @fq: update to 0.18.0. Changes Improved documentation in more formats. #1346 HTML version available at https://wader.github.io/fq/. Man page available at doc/fq.1. AsciiDoc source at doc/fq.1.adoc. jq compatibility: Add $ARGS, --args and --jsonargs support. #1321 $ fq -n --arg a a --argjson b 1 '$ARGS' { "named": { "a": "a", "b": 1 }, "positional": [] } $ fq -cn '$ARGS' --args a b c {"named":{},"positional":["a","b","c"]} $ fq -cn '$ARGS' --jsonargs 1 2 3 {"named":{},"positional":[1,2,3]} jq compatibility: Using - as input filename reads from stdin. Previously leaving out any filename argument would be the only way to read from stdin. #1344 $ echo 123 | fq . - 123 Add gaps for struct/array bitbufs and skip adding single empty gap. #1289 Faster format options handling during decode. Will speed up decoding of formats that might use lots of sub-formats, for example big mp4 files. #1352 #1353 open Make returned file value behave more properly as a binary. #1360 Add Gentoo installation instructions. #1314 Thanks @@kimjune01 Format changes avc_nalu Remove redundant_pic_cnt name in nalu. #1292 avc_sei Decode SEI recovery point. #1292 heif Add High Efficiency Image Format decoder. #1336 Generic item support Partial item decode for HEIC (HEVC) and AVIF (AV1) mp4 Make stsd decode aware of qt/isom difference. #1305 More correct and flexible probe via brands. #1365 stl Add Standard Tessellation Language decoder. #1299 Thanks @@knittl webp Fix incorrect decoding of size for lossless (vp8l). #1341 Reported by @@xnuk @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.52 2026/08/22 15:18:58 bsiegert Exp $ d4 1 d16 5 @ 1.52 log @Revbump all Go packages after go126 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.51 2026/08/15 12:53:19 bsiegert Exp $ d3 1 a3 2 DISTNAME= fq-0.17.0 PKGREVISION= 6 @ 1.51 log @Revbump all Go packages after Go 1.26 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.50 2026/07/08 18:32:23 bsiegert Exp $ d4 1 a4 1 PKGREVISION= 5 @ 1.50 log @Revbump all Go packages after go126 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.49 2026/06/05 10:21:34 bsiegert Exp $ d4 1 a4 1 PKGREVISION= 4 @ 1.49 log @Revbump all Go packages after go126 security update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.48 2026/05/07 18:49:50 bsiegert Exp $ d4 1 a4 1 PKGREVISION= 3 @ 1.49.2.1 log @Revbump all Go packages after go126 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.49 2026/06/05 10:21:34 bsiegert Exp $ d4 1 a4 1 PKGREVISION= 4 @ 1.48 log @Revbump all Go packages after go126 security update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.47 2026/04/08 05:44:53 bsiegert Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.47 log @Revbump all Go packages after security update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.46 2026/03/15 18:23:35 wiz Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.46 log @fq: update to 0.17.0. Changes fromjson now works more like jq and as one would expect for decode value. fromjson used to be implement as normal format decode which returns decode values which in turn when decoding from will decode the backing binary range. This result was expressions like "123" | fromjson | fromjson would return 123 instead of failing the second fromjson. #1268 Thanks @@soberich for reporting iprint now support strings in addition to numbers #1246 $ fq -cn '"fq" | iprint' {"bin":"0b1100110","dec":"102","hex":"0x66","oct":"0o146","str":"f"} {"bin":"0b1110001","dec":"113","hex":"0x71","oct":"0o161","str":"q"} In REPL mode input_filename used to always return the last filename. Now it returns null which is wrong but less confusing. The REPL mode needs quite a bit of refactor to fix this properly. #1251 Update gojq fork. Changes from upstream: Fix gsub and sub when the replacement emits multiple values Improve performance of regexp functions by caching compiled regexps Implement splits/2 using match/2 for better jq compatibility Fix fmax, fmin, modf functions against NaN and infinity Fix join/1 to use add/0 implementation and handle null separator Fix significand function against subnormal numbers Fix confusing operator precedence in funcIsnormal Fix arithmetic operations on the minimum integer Fix array slice update to validate index types Fix del and delpaths on null to emit null Fix flatten/1 to emit error when depth is nan Fix string repetition boundary check to match jq behavior Fix type error messages for split and match functions Updated Guix install instructions #1242 Thanks @@Hellseher @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.45 2026/03/06 21:07:47 bsiegert Exp $ d4 1 @ 1.46.2.1 log @Revbump all Go packages after go126 security fix @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.46 2026/03/15 18:23:35 wiz Exp $ a3 1 PKGREVISION= 1 @ 1.45 log @Revbump all Go packages after go126 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.44 2026/02/24 08:45:22 bsiegert Exp $ d3 1 a3 2 DISTNAME= fq-0.16.0 PKGREVISION= 3 @ 1.44 log @Revbump all Go packages after default version bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.43 2026/01/15 19:54:39 bsiegert Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.43 log @Revbump all Go packages after go125 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.42 2025/12/07 12:53:42 wiz Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.42 log @fq: update to 0.16.0. # 0.16.0 ## Changes - Update gojq fork. Changes from upstream: - Reduced memory usage for long running scripts (restore data offset when popping fork) - Support binding expressions with binary operators, ex `1 // 2 as $v | $v` - Fix repeating string to emit an error when the result is too large - Fix last/1 to be included in builtins/0 - Implement toboolean/0 function - Implement trimstr/1 function - Increase the array index limit to 2^29 - Round up end index of slicing for jq compatibility - Documentation fixes #1185 Thanks @@emanuele6 ## Format changes - `avc_nal` Decode slice header frame number and picture order #1227 - `flac_frame` Add option to decode sample and residuals details #802 - `matroska` Update to latest spec #1219 - `mpeg_asc` Decode SBR and PS hierarchical signalling #1192 Thanks @@ntrrgc - `mp4` Decode `elng` box #1182 - `safetensors` Add decoder #1203 Thanks @@Leowbattle @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.41 2025/12/02 19:25:05 bsiegert Exp $ d4 1 @ 1.41 log @Revbump all Go packages after go125 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.40 2025/10/16 17:59:46 bsiegert Exp $ d3 1 a3 2 DISTNAME= fq-0.15.1 PKGREVISION= 5 @ 1.40 log @Revbump all Go packages after go125 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.39 2025/10/08 06:54:22 bsiegert Exp $ d4 1 a4 1 PKGREVISION= 4 @ 1.39 log @Revbump all Go packages after go125 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.38 2025/09/06 13:16:55 bsiegert Exp $ d4 1 a4 1 PKGREVISION= 3 @ 1.38 log @Revbump all Go packages after go125 security update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.37 2025/08/31 10:02:45 bsiegert Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.37 log @Revbump all Go packages after moving to go125 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2025/07/13 08:55:20 wiz Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.36 log @fq: update to 0.15.1. # 0.15.1 Minor release to maninly fix golang sum database hash issue. ## Changes - The v0.15.0 tag was updated during release because it incorrectly had the wrong build version and missing change log. Somehow the first commit hash managed to get into the global golang sum database. This will cause `go get` and `go install` to build a binary that displays the incorrect fq version, and if `GOPROXY=direct` is used it would cause a security error. - Update golang and dependencies. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.35 2025/06/06 14:01:23 bsiegert Exp $ d4 1 @ 1.35 log @Revbump all Go packages after go124 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2025/04/20 20:19:22 wiz Exp $ d3 1 a3 2 DISTNAME= fq-0.15.0 PKGREVISION= 1 @ 1.34 log @fq: update to 0.15.0. # 0.15.0 ## Changes - Fix issue running fq without a home directory. #1107 Thanks @@phiekl for the report. ## Format changes - `avc_nalu` Decode payload into a `rbsp` struct (raw byte sequence payload) and only introduce a sub-buffer if de-emulation prevention was done. #1120 - `hevc_nalu` Decode payload into a `rbsp` struct. See above. #1120 - `matroska` Update specification. #1124 - `mp4` - Add a `skip_samples` option to not add fields or decode samples at all. Useful when dealing with broken mp4 files. #1089 - Add a `truncated_size` field if allow_truncated is used and we had to truncate. Useful when dealing with broken mp4 files. #1091 - `pcmC` Decode box. #1082 - `chnl` Decode box. #1082 - Don't decode samples for `ipcm` track format. Could end up with a huge array and not be very useful. #1083 - `trun` Skip samples array if there are no sample flags - `uuid` Decode `tfxd` and `tfrf` boxes. #1110 Thanks @@rafalborczuch @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2025/04/05 18:51:12 bsiegert Exp $ d4 1 @ 1.33 log @Belated revbump for all Go packages after go124 update I forgot to do the revbump again, sorry for doing it so late after the update. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2025/03/07 20:54:15 bsiegert Exp $ d3 1 a3 2 DISTNAME= fq-0.14.0 PKGREVISION= 2 @ 1.32 log @Revbump all Go packages after go124 update I realize I forgot to do the revbump after updating the default Go version to 1.24, so let's do that now. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2025/02/08 16:39:48 wiz Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.32.2.1 log @Pulup ticket #6952 - Update PKGREVISION for all Go packages. Go had a security update to one of the builtin libraries. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2025/03/07 20:54:15 bsiegert Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.31 log @fq: update to 0.14.0. # 0.14.0 ## Changes - More jq compatible `debug/0`/`debug/1` (correct prefix) and `stderr/0` (output raw strings). #1015 #1016 - Fix crash when decoding a file while it's growing. #1050 - Clean up some build dependencies. #1047 Thanks @@Juneezee - gojq update. Changes from upstream: #1070 - Fix reduce syntax to emit results for each initial value - Implement skip/2, fix limit/2 to emit error on negative count - Fix last/1 to yield no values when the argument yields no values ## Format changes - `av1_obu` Decode more fields and derive more values according to spec. #1020 #1021 - `elf` Handle section header null better. #1051 - `markdown` Update to latest gomarkdown (Fixes CVE-2024-44337). #1048 - `matroska` Spec update. #1035 - `midi` - Mapped SMPTE frame rates to strings and fixed bug in SMPTE offset metaevent decoding and more refactoring. #1023 Thanks @@transcriptaze - `toml` `to_toml/1` now support indent option. #1033 - `wav` Decode fmt chunk a bit better and improve format sym names (implied endian not bit size). #1034 #1038 - `yaml` `to_yaml/1` now support indent option. #1033 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2024/09/21 15:24:08 wiz Exp $ d4 1 @ 1.30 log @fq: update to 0.13.0. New format decoders midi, negentropy, tap and txz, see below for details. Add byte_array bits format. #992 Go 1.22 or later is now required to build. This is to keep up with build requirements of some dependencies. #1011 gojq changes from upstream: #1000 Implement add/1 function Improve time functions to accept fewer element arrays Fix uri and urid formats not to convert a space between a plus sign Format changes matroska Updated to latest specification. #1010 midi MIDI decoder added by @@twystd. #1004 negentropy Negentropy message decoder added by @@fiatjaf. #1012 tap and txz TAP and TXZ tape format for ZX Spectrum computers added by @@mrcook. #975 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2024/09/06 18:48:43 bsiegert Exp $ d3 1 a3 1 DISTNAME= fq-0.13.0 @ 1.29 log @Revbump all Go packages after go122 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2024/08/11 15:56:57 bsiegert Exp $ d3 1 a3 2 DISTNAME= fq-0.12.0 PKGREVISION= 2 @ 1.28 log @Revbump all Go packages after update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2024/07/15 15:28:42 wiz Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.27 log @fq: update to 0.12.0. 0.12.0 fixes a REPL readline issue, has some improved JPEG decoding, and otherwise mostly updates of golang and dependencies. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2024/07/03 06:59:19 bsiegert Exp $ d4 1 @ 1.26 log @Revbump all Go packages after go122 security update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2024/06/13 13:46:57 bsiegert Exp $ d3 1 a3 2 DISTNAME= fq-0.11.0 PKGREVISION= 3 @ 1.25 log @Revbump all Go packages after go122 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2024/06/01 14:02:49 bsiegert Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.24 log @Revbump all Go packages, default Go version is now 1.22. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2024/04/14 15:31:10 wiz Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.23 log @fq: update to 0.11.0. # 0.11.0 New iNES/NES 2.0 ROM decoder (thanks @@mlofjard) and basic JPEG 2000 format support. jq language improvements and fixes from gojq. And as always various decoder improvements and fixes. ## Changes - Add `string_truncate` option to configure how to truncate long strings when displaying a decode value tree. `dd`, `dv` etc set truncate length to zero to not truncate. #919 - gojq updates from upstream: - Implement `ltrim`, `rtrim`, and `trim` functions - Fix object construction with duplicate keys (`{x:0,y:1} | {a:.x,a:.y}`) - Fix `halt` and `halt_error` functions to stop the command execution immediately - Fix variable scope of binding syntax (`"a" as $v | def f: $v; "b" as $v | f`) - Fix `ltrimstr` and `rtrimstr` functions to emit error on non-string input - Fix `nearbyint` and `rint` functions to round ties to even - Improve parser to allow `reduce`, `foreach`, `if`, `try`-`catch` syntax as object values - Remove `pow10` in favor of `exp10`, define `scalbn` and `scalbln` by `ldexp` - Fix issue using decode value with `ltrimstr`/`rtrimstr`. ## Format changes - `fit` - Skip array fields on pre read messages. #878 - Fixed subfield referencing fields below self in message. #877 - `jp2c` New JPEG 2000 codestream decoder. #928 - `icc_profile` Strip whitespace in header and tag strings. #912 - `mp4` - Add `jp2c`, `jp2h`, `ihdr` `jP` JPEG 2000 related boxes support. #928 - Add `thmb` box support. #897 - Turns out for qt brand `hdlr` component name might be zero bytes. #896 - `nes` New iNES/NES 2.0 ROM decoder (thanks @@mlofjard). #893 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2024/04/05 19:13:56 bsiegert Exp $ d4 1 @ 1.22 log @Revbump all Go packages after go121 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2024/02/13 18:19:06 wiz Exp $ d3 1 a3 2 DISTNAME= fq-0.10.0 PKGREVISION= 1 @ 1.21 log @fq: update to 0.10.0. # 0.10.0 Adds support for various LevelDB formats (thanks @@mikez) and Garmin Flexible and Interoperable Data Transfer format (FIT) (thanks @@mlofjard). And as usual some small fixes and dependency updates. ## Changes - On macOS fq now reads init script from `~/.config/fq` in addition to `~/Library/Application Support/fq`. #871 - Switch readline module from own fork to https://github.com/ergochat/readline #854 - Updated gojq fork. Notable changes from upstream below. #844 - Fix pre-defined variables to be available in initial modules - Fix object construction with duplicate keys ## Format changes - `aac_frame` Decode instance tag and common window flag. #859 - `fit` Add support for Garmin Flexible and Interoperable Data Transfer decoder. Thanks @@mlofjard #874 - This format is used by various GPS tracking devices to record location, speed etc. - Example of converting position information to KML: ```jq # to_kml.jq # convert locations in a fit structure to KML def to_kml: ( [ .data_records[].data_message as {position_lat: $lat, position_long: $long} | select($lat and $long) | [$long, $lat, 0] | join(",") ] | join(". ") | { kml: {"@@xmlns":"http://earth.google.com/kml/2.0" , Document: {Placemark: {LineString: {coordinates: .}}}} } | to_xml({indent:2}) ); ``` Usage: ```sh # -L to add current directory to library path # -r for raw string output # 'include "to_ml";' to include to_kml.jq # to_kml calls to_kml function $ fq -L . -r 'include "to_kml"; to_kml' file.fit > file.kml ``` - `hevc_sps` Fix some incorrect profile_tier_level decoding. #829 - `html` Fix issue parsing elements including SOLIDUS "/". #870 - Upstream issue https://github.com/golang/go/issues/63402 - `mpeg_es` Support ES_ID_Inc and decode descriptors for IOD tags - `leveldb_descriptor`, `leveldb_log`, `leveldb_table` Add support for LevelDB. Thanks @@mikez #824 - This format is used by many database backends and applications like Google chrome. - `pcapng` Decode all section headers instead of just the first. #860 - `png` Fix incorrect decoding of type flags. #847 - `hevc_sps` Fix incorrect decoding of profile_tier_level. #829 - `tls` Fix field name typos. #839 - `mp4` - Don't try decode samples for a track that has an external reference. #834 - Use box structure instead of track id to keep track for sample table data. #833 - `ctts` box v0 sample offset seems to be signed in practice but not in spec. #832 - `webp` Decode width, height and flags for lossless WebP. #857 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2024/02/07 14:50:46 bsiegert Exp $ d4 1 @ 1.20 log @Revbump all Go packages after go121 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2024/01/10 19:14:27 bsiegert Exp $ d3 1 a3 2 DISTNAME= fq-0.9.0 PKGREVISION= 3 @ 1.19 log @Revbump all Go packages after go121 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2023/12/05 19:46:04 bsiegert Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.18 log @Revbump all Go packages after go121 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2023/11/25 19:03:16 wiz Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.17 log @fq: update to 0.9.0. # 0.9.0 ## Changes - Make synthetic values not look like decode values with a zero range. #777 - Bit ranges are now displayed using exclusive end notation to be more consistent. For example if a field at byte offset 5 is 8 bit in size using the `[.]` notation it is now shown as `5-6`, before it was shown as `5-5.7`. See usage documentation for more examples. #789 - Improve colors when using a light background. Thanks @@adedomin for reporting. #781 - Better `from_jq` error handling. Thanks @@emanuele6 for reporting. #788 - Updated gojq fork. Notable changes from upstream below. #808 - Adds `pick/1` function. Outputs value and nested values for given input expression. - Implements comment continuation with backslash. - Updated gopacket to 1.2.1. Notable changes from upstream below. #815 - fix(ip4defrag): allow final fragment to be less than 8 octets by @@niklaskb - refactor: don't fill empty metadata slots by @@smira - refactor: optimize port map to switch statement by @@smira ## Decoder changes - `avi` - Some general clean up fixes. Thanks to Marion Jaks at mediathek.at for testing and motivation. - Add extended chunks support and `decode_extended_chunks` option. This is trailing chunks used by big AVI files. #786 - Add type, handler, compression (video) and format_tag (audio) per stream. #775 - Properly use sample size field when decoding samples. #776 - `exif` (and `tiff`) - Handle broken last next ifd offset by treating it as end marker. #804 - `gzip` - Correctly handle multiple members. Thanks @@TomiBelan for the bug report and assistance. #795 - Now gzip is modelled as a struct with a `members` array and a `uncompressed` field that is the concatenation of the uncompressed members. - `macho` - Properly respect endian when decoding some flag fields. #796 - Move formatted timestamp to description so that numeric value is easier to access. #797 - `matroska` - Support decoding EBML date type. #787 - `protobuf` - No need to use synthetic fields for string and bytes. #800 - `webp` - Refactor to use common RIFF decoder and also decode VP8X, EXIF, ICCP and XMP chunks. #803 - `zip` Better timestamp support and fixes - Fix incorrect MSDOS time/date decoding and add extended timestamp support. Also remodel time/date to be a struct with raw values, components and a synthetics UTC unixtime guess. Thanks @@TomiBelan for the bug report and assistance. #793 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2023/11/10 15:45:07 bsiegert Exp $ d4 1 @ 1.16 log @Revbump all Go packages after go121 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2023/10/29 14:48:08 bsiegert Exp $ d3 1 a3 2 DISTNAME= fq-0.8.0 PKGREVISION= 3 @ 1.15 log @Revbump all Go packages because go121 is now the default @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2023/10/15 12:04:17 bsiegert Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.14 log @Revbump all Go packages after go120 security update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2023/09/28 08:33:20 wiz Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.13 log @fq: update to 0.8.0. # 0.8.0 Fix handling of shadowing order for `_` keys, 3 new decoders `caff`, `moc3` and `opentimestamps`, some smaller fixes and improvements. - New decoders `caff` and `moc3`. See below for details. - Fix shadowing of underscore prefixed keys (`_`) for text formats like `json`, `yaml` etc. #757 - Rename `--null`/`nul-output` to `--raw-output0` and also clarify that NUL and new lines are outputted after and not between each output. - Updated gojq fork with fixes from upstream: - Improved error messages for indices, setpath, delpaths - Add `abs` function - Change behavior of walk with multiple outputs - Change zero division to produce an error when dividend is zero - Fix empty string repeating with the maximum integer - Fix string multiplication by zero to emit empty string - Remove deprecated `leaf_paths` function - Fix `split` in combination with binary to not include separator. #767 ## Decoder changes - `caff` Add archive format decoder. Thanks @@Ronsor #747 - CAFF is an archive format usually found with the extensions `.cmo3` and `.can3` used by Live2D Cubism. - `id3v2` Handle `W000`-`WZZZ` and `W00`-`WZZ` URL frames. #758 - `matroska` Update spec and regenerate. #737 - `moc3` Add Live2D Cubism MOC3 decoder. Thanks @@Ronsor #747 - MOC3 is a format for 2D rigged puppets, somewhat like Flash. - `mp3_frame_xing` Detect lame ext more similar to ffmpeg and mediainfo. #763 - `mp4` - Decode `sgpd` (Sample group definition box) entries. Thanks Sergei Kuzmin @@ksa-real #707 - Decode `cslg` (Composition to decode timeline mapping) box. #754 - Decode `emsg` (Event message) and `id3v2` message data. #755 - Nicer trimmed major brand for `ftyp`. #723 - `opentimestamps` Add [OpenTimestamps](https://opentimestamps.org/) decoder. Thanks @@fiatjaf #769 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2023/09/08 19:05:59 bsiegert Exp $ d4 1 @ 1.12 log @Revbump all Go packages after go120 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2023/08/26 16:31:25 bsiegert Exp $ d3 1 a3 2 DISTNAME= fq-0.7.0 PKGREVISION= 3 @ 1.12.2.1 log @Pullup ticket #6812 - requested by bsiegert lang/go120: security update lang/go: version info update audio/gospt: RevBump audio/ymuse: RevBump chat/coyim: RevBump chat/gomuks: RevBump chat/matterircd: RevBump chat/senpai: RevBump chat/ssh-chat: RevBump databases/go-ldap: RevBump databases/influxdb: RevBump databases/mongo-tools: RevBump databases/mysqld_exporter: RevBump databases/postgres_exporter: RevBump databases/prometheus: RevBump databases/promscale: RevBump databases/sqlc: RevBump databases/timescaledb-tune: RevBump devel/asmfmt: RevBump devel/conftest: RevBump devel/errcheck: RevBump devel/fq: RevBump devel/git-lfs: RevBump devel/go-ed25519: RevBump devel/go-gocode: RevBump devel/go-golang-lru: RevBump devel/go-gopkgs: RevBump devel/go-goptlib: RevBump devel/go-goreturns: RevBump devel/go-gox: RevBump devel/go-impl: RevBump devel/go-logrus: RevBump devel/go-nbreader: RevBump devel/go-pty: RevBump devel/go-review: RevBump devel/go-siphash: RevBump devel/go-staticcheck: RevBump devel/go-swagger: RevBump devel/go-sys: RevBump devel/go-tools: RevBump devel/go-wire: RevBump devel/go-xerrors: RevBump devel/golangci-lint: RevBump devel/golint: RevBump devel/gomodifytags: RevBump devel/gopls: RevBump devel/goredo: RevBump devel/gotags: RevBump devel/gotests: RevBump devel/govulncheck: RevBump devel/lazygit: RevBump devel/mob: RevBump devel/nancy: RevBump devel/opa: RevBump devel/packr: RevBump devel/reftools: RevBump devel/regal: RevBump devel/revive: RevBump devel/shfmt: RevBump devel/syft: RevBump editors/micro: RevBump filesystems/kubo: RevBump graphics/gif2png: RevBump lang/joker: RevBump mail/opensmtpd-filter-rspamd: RevBump mail/opensmtpd-filter-senderscore: RevBump mail/postforward: RevBump meta-pkgs/bulk-test-essential: RevBump misc/exercism: RevBump net/amazon-ecs-cli: RevBump net/amfora: RevBump net/bombadillo: RevBump net/croc: RevBump net/czds: RevBump net/dnscontrol: RevBump net/dnscrypt-proxy2: RevBump net/gh: RevBump net/go-dnstap: RevBump net/go-net: RevBump net/go-websocket: RevBump net/gunison: RevBump net/gvproxy: RevBump net/hub: RevBump net/ipget: RevBump net/kubectl: RevBump net/libquic: RevBump net/mangos: RevBump net/nats-server: RevBump net/obfs4proxy: RevBump net/rclone: RevBump net/stern: RevBump net/syncthing: RevBump net/terraform-provider-archive: RevBump net/terraform-provider-aws: RevBump net/terraform-provider-kubernetes: RevBump net/terraform-provider-local: RevBump net/terraform-provider-null: RevBump net/terraform-provider-random: RevBump net/terraform-provider-template: RevBump net/terraform-provider-vultr: RevBump net/terraform: RevBump net/tut: RevBump net/vultr-cli: RevBump pkgtools/pkglint: RevBump security/2fa: RevBump security/age: RevBump security/amass: RevBump security/authelia: RevBump security/cfssl: RevBump security/dnsx: RevBump security/go-asn1-ber: RevBump security/go-crypto: RevBump security/go-getpass: RevBump security/go-mkcert: RevBump security/gopass: RevBump security/httpx: RevBump security/nuclei: RevBump security/oauth2c: RevBump security/osv-scanner: RevBump security/subfinder: RevBump security/tlsx: RevBump security/trufflehog: RevBump security/vault: RevBump shells/elvish: RevBump shells/oh-my-posh: RevBump sysutils/beats: RevBump sysutils/consul: RevBump sysutils/direnv: RevBump sysutils/fzf: RevBump sysutils/goreman: RevBump sysutils/lf: RevBump sysutils/node_exporter: RevBump sysutils/packer: RevBump sysutils/podman: RevBump sysutils/restic: RevBump sysutils/vultr: RevBump textproc/glow: RevBump textproc/go-kr-text: RevBump textproc/go-md2man: RevBump textproc/go-mmark: RevBump textproc/go-text: RevBump textproc/miller: RevBump textproc/sift: RevBump www/apisprout: RevBump www/caddy: RevBump www/gitea: RevBump www/go-ffuf: RevBump www/go-minify: RevBump www/gotosocial: RevBump www/grafana: RevBump www/hugo: RevBump www/jira-cli: RevBump www/mycorrhiza: RevBump www/pup: RevBump www/restish: RevBump www/shoutrrr: RevBump Revisions pulled up: - lang/go/version.mk 1.190,1.192 - lang/go120/PLIST 1.9 - lang/go120/distinfo 1.10-1.11 ------------------------------------------------------------------- Module Name: pkgsrc Committed By: bsiegert Date: Sat Oct 7 18:09:35 UTC 2023 Modified Files: pkgsrc/lang/go: version.mk pkgsrc/lang/go120: PLIST distinfo Log Message: go120: update to 1.20.9 (security). cmd/go: line directives allows arbitrary execution during build "//line" directives can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be passed during compliation. This can result in unexpected execution of arbitrary code when running "go build". The line directive requires the absolute path of the file in which the directive lives, which makes exploting this issue significantly more complex. This is CVE-2023-39323 and Go issue https://go.dev/issue/63211. View the release notes for more information: https://go.dev/doc/devel/release#go1.20.9 To generate a diff of this commit: cvs rdiff -u -r1.189 -r1.190 pkgsrc/lang/go/version.mk cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/go120/PLIST cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/go120/distinfo ------------------------------------------------------------------- Module Name: pkgsrc Committed By: bsiegert Date: Sun Oct 15 11:02:08 UTC 2023 Modified Files: pkgsrc/lang/go: version.mk pkgsrc/lang/go120: distinfo Log Message: go120: update to 1.20.10 (security) net/http: rapid stream resets can cause excessive work A malicious HTTP/2 client which rapidly creates requests and immediately resets them can cause excessive server resource consumption. While the total number of requests is bounded to the http2.Server.MaxConcurrentStreams setting, resetting an in-progress request allows the attacker to create a new request while the existing one is still executing. HTTP/2 servers now bound the number of simultaneously executing handler goroutines to the stream concurrency limit. New requests arriving when at the limit (which can only happen after the client has reset an existing, in-flight request) will be queued until a handler exits. If the request queue grows too large, the server will terminate the connection. This issue is also fixed in golang.org/x/net/http2 v0.17.0, for users manually configuring HTTP/2. The default stream concurrency limit is 250 streams (requests) per HTTP/2 connection. This value may be adjusted using the golang.org/x/net/http2 package; see the Server.MaxConcurrentStreams setting and the ConfigureServer function. This is CVE-2023-39325 and Go issue https://go.dev/issue/63417. This is also tracked by CVE-2023-44487. To generate a diff of this commit: cvs rdiff -u -r1.191 -r1.192 pkgsrc/lang/go/version.mk cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/go120/distinfo @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2023/09/08 19:05:59 bsiegert Exp $ d4 1 a4 1 PKGREVISION= 4 @ 1.12.2.2 log @Pullup ticket #6822 - requested by bsiegert lang/go120: security update lang/go121: security update lang/go: metadata update audio/gospt: revision bump audio/ymuse: revision bump chat/coyim: revision bump chat/gomuks: revision bump chat/matterircd: revision bump chat/senpai: revision bump chat/ssh-chat: revision bump databases/go-ldap: revision bump databases/influxdb: revision bump databases/mongo-tools: revision bump databases/mysqld_exporter: revision bump databases/postgres_exporter: revision bump databases/prometheus: revision bump databases/promscale: revision bump databases/sqlc: revision bump databases/timescaledb-tune: revision bump devel/asmfmt: revision bump devel/conftest: revision bump devel/errcheck: revision bump devel/fq: revision bump devel/git-lfs: revision bump devel/go-ed25519: revision bump devel/go-gocode: revision bump devel/go-golang-lru: revision bump devel/go-gopkgs: revision bump devel/go-goptlib: revision bump devel/go-goreturns: revision bump devel/go-gox: revision bump devel/go-impl: revision bump devel/go-logrus: revision bump devel/go-nbreader: revision bump devel/go-pty: revision bump devel/go-review: revision bump devel/go-siphash: revision bump devel/go-staticcheck: revision bump devel/go-swagger: revision bump devel/go-sys: revision bump devel/go-tools: revision bump devel/go-wire: revision bump devel/go-xerrors: revision bump devel/golangci-lint: revision bump devel/golint: revision bump devel/gomodifytags: revision bump devel/gopls: revision bump devel/goredo: revision bump devel/gotags: revision bump devel/gotests: revision bump devel/govulncheck: revision bump devel/lazygit: revision bump devel/mob: revision bump devel/nancy: revision bump devel/opa: revision bump devel/packr: revision bump devel/reftools: revision bump devel/regal: revision bump devel/revive: revision bump devel/shfmt: revision bump devel/syft: revision bump editors/micro: revision bump filesystems/kubo: revision bump graphics/gif2png: revision bump lang/joker: revision bump mail/opensmtpd-filter-rspamd: revision bump mail/opensmtpd-filter-senderscore: revision bump mail/postforward: revision bump misc/exercism: revision bump net/amazon-ecs-cli: revision bump net/amfora: revision bump net/bombadillo: revision bump net/croc: revision bump net/czds: revision bump net/dnscontrol: revision bump net/dnscrypt-proxy2: revision bump net/gh: revision bump net/go-dnstap: revision bump net/go-net: revision bump net/go-websocket: revision bump net/gunison: revision bump net/gvproxy: revision bump net/hub: revision bump net/ipget: revision bump net/kubectl: revision bump net/libquic: revision bump net/mangos: revision bump net/nats-server: revision bump net/obfs4proxy: revision bump net/rclone: revision bump net/stern: revision bump net/syncthing: revision bump net/terraform-provider-archive: revision bump net/terraform-provider-aws: revision bump net/terraform-provider-kubernetes: revision bump net/terraform-provider-local: revision bump net/terraform-provider-null: revision bump net/terraform-provider-random: revision bump net/terraform-provider-template: revision bump net/terraform-provider-vultr: revision bump net/terraform: revision bump net/tut: revision bump net/vultr-cli: revision bump pkgtools/pkglint: revision bump security/2fa: revision bump security/age: revision bump security/amass: revision bump security/authelia: revision bump security/cfssl: revision bump security/dnsx: revision bump security/go-asn1-ber: revision bump security/go-crypto: revision bump security/go-getpass: revision bump security/go-mkcert: revision bump security/gopass: revision bump security/httpx: revision bump security/nuclei: revision bump security/oauth2c: revision bump security/osv-scanner: revision bump security/subfinder: revision bump security/tlsx: revision bump security/trufflehog: revision bump security/vault: revision bump shells/elvish: revision bump shells/oh-my-posh: revision bump sysutils/beats: revision bump sysutils/consul: revision bump sysutils/direnv: revision bump sysutils/fzf: revision bump sysutils/goreman: revision bump sysutils/lf: revision bump sysutils/node_exporter: revision bump sysutils/packer: revision bump sysutils/podman: revision bump sysutils/restic: revision bump sysutils/vultr: revision bump textproc/glow: revision bump textproc/go-kr-text: revision bump textproc/go-md2man: revision bump textproc/go-mmark: revision bump textproc/go-text: revision bump textproc/miller: revision bump textproc/sift: revision bump www/apisprout: revision bump www/caddy: revision bump www/gitea: revision bump www/go-ffuf: revision bump www/go-minify: revision bump www/gotosocial: revision bump www/grafana: revision bump www/hugo: revision bump www/jira-cli: revision bump www/mycorrhiza: revision bump www/pup: revision bump www/restish: revision bump www/shoutrrr: revision bump Revisions pulled up: - lang/go/version.mk 1.194 - lang/go120/PLIST 1.10 - lang/go120/distinfo 1.12 - lang/go121/PLIST 1.4 - lang/go121/distinfo 1.4 - audio/gospt/Makefile by patch - audio/ymuse/Makefile by patch - chat/coyim/Makefile by patch - chat/gomuks/Makefile by patch - chat/matterircd/Makefile by patch - chat/senpai/Makefile by patch - chat/ssh-chat/Makefile by patch - databases/go-ldap/Makefile by patch - databases/influxdb/Makefile by patch - databases/mongo-tools/Makefile by patch - databases/mysqld_exporter/Makefile by patch - databases/postgres_exporter/Makefile by patch - databases/prometheus/Makefile by patch - databases/promscale/Makefile by patch - databases/sqlc/Makefile by patch - databases/timescaledb-tune/Makefile by patch - devel/asmfmt/Makefile by patch - devel/conftest/Makefile by patch - devel/errcheck/Makefile by patch - devel/fq/Makefile by patch - devel/git-lfs/Makefile by patch - devel/go-ed25519/Makefile by patch - devel/go-gocode/Makefile by patch - devel/go-golang-lru/Makefile by patch - devel/go-gopkgs/Makefile by patch - devel/go-goptlib/Makefile by patch - devel/go-goreturns/Makefile by patch - devel/go-gox/Makefile by patch - devel/go-impl/Makefile by patch - devel/go-logrus/Makefile by patch - devel/go-nbreader/Makefile by patch - devel/go-pty/Makefile by patch - devel/go-review/Makefile by patch - devel/go-siphash/Makefile by patch - devel/go-staticcheck/Makefile by patch - devel/go-swagger/Makefile by patch - devel/go-sys/Makefile by patch - devel/go-tools/Makefile by patch - devel/go-wire/Makefile by patch - devel/go-xerrors/Makefile by patch - devel/golangci-lint/Makefile by patch - devel/golint/Makefile by patch - devel/gomodifytags/Makefile by patch - devel/gopls/Makefile by patch - devel/goredo/Makefile by patch - devel/gotags/Makefile by patch - devel/gotests/Makefile by patch - devel/govulncheck/Makefile by patch - devel/lazygit/Makefile by patch - devel/mob/Makefile by patch - devel/nancy/Makefile by patch - devel/opa/Makefile by patch - devel/packr/Makefile by patch - devel/reftools/Makefile by patch - devel/regal/Makefile by patch - devel/revive/Makefile by patch - devel/shfmt/Makefile by patch - devel/syft/Makefile by patch - editors/micro/Makefile by patch - filesystems/kubo/Makefile by patch - graphics/gif2png/Makefile by patch - lang/joker/Makefile by patch - mail/opensmtpd-filter-rspamd/Makefile by patch - mail/opensmtpd-filter-senderscore/Makefile by patch - mail/postforward/Makefile by patch - misc/exercism/Makefile by patch - net/amazon-ecs-cli/Makefile by patch - net/amfora/Makefile by patch - net/bombadillo/Makefile by patch - net/croc/Makefile by patch - net/czds/Makefile by patch - net/dnscontrol/Makefile by patch - net/dnscrypt-proxy2/Makefile by patch - net/gh/Makefile by patch - net/go-dnstap/Makefile by patch - net/go-net/Makefile by patch - net/go-websocket/Makefile by patch - net/gunison/Makefile by patch - net/gvproxy/Makefile by patch - net/hub/Makefile by patch - net/ipget/Makefile by patch - net/kubectl/Makefile by patch - net/libquic/Makefile by patch - net/mangos/Makefile by patch - net/nats-server/Makefile by patch - net/obfs4proxy/Makefile by patch - net/rclone/Makefile by patch - net/stern/Makefile by patch - net/syncthing/Makefile by patch - net/terraform-provider-archive/Makefile by patch - net/terraform-provider-aws/Makefile by patch - net/terraform-provider-kubernetes/Makefile by patch - net/terraform-provider-local/Makefile by patch - net/terraform-provider-null/Makefile by patch - net/terraform-provider-random/Makefile by patch - net/terraform-provider-template/Makefile by patch - net/terraform-provider-vultr/Makefile by patch - net/terraform/Makefile by patch - net/tut/Makefile by patch - net/vultr-cli/Makefile by patch - pkgtools/pkglint/Makefile by patch - security/2fa/Makefile by patch - security/age/Makefile by patch - security/amass/Makefile by patch - security/authelia/Makefile by patch - security/cfssl/Makefile by patch - security/dnsx/Makefile by patch - security/go-asn1-ber/Makefile by patch - security/go-crypto/Makefile by patch - security/go-getpass/Makefile by patch - security/go-mkcert/Makefile by patch - security/gopass/Makefile by patch - security/httpx/Makefile by patch - security/nuclei/Makefile by patch - security/oauth2c/Makefile by patch - security/osv-scanner/Makefile by patch - security/subfinder/Makefile by patch - security/tlsx/Makefile by patch - security/trufflehog/Makefile by patch - security/vault/Makefile by patch - shells/elvish/Makefile by patch - shells/oh-my-posh/Makefile by patch - sysutils/beats/Makefile by patch - sysutils/consul/Makefile by patch - sysutils/direnv/Makefile by patch - sysutils/fzf/Makefile by patch - sysutils/goreman/Makefile by patch - sysutils/lf/Makefile by patch - sysutils/node_exporter/Makefile by patch - sysutils/packer/Makefile by patch - sysutils/podman/Makefile by patch - sysutils/restic/Makefile by patch - sysutils/vultr/Makefile by patch - textproc/glow/Makefile by patch - textproc/go-kr-text/Makefile by patch - textproc/go-md2man/Makefile by patch - textproc/go-mmark/Makefile by patch - textproc/go-text/Makefile by patch - textproc/miller/Makefile by patch - textproc/sift/Makefile by patch - www/apisprout/Makefile by patch - www/caddy/Makefile by patch - www/gitea/Makefile by patch - www/go-ffuf/Makefile by patch - www/go-minify/Makefile by patch - www/gotosocial/Makefile by patch - www/grafana/Makefile by patch - www/hugo/Makefile by patch - www/jira-cli/Makefile by patch - www/mycorrhiza/Makefile by patch - www/pup/Makefile by patch - www/restish/Makefile by patch - www/shoutrrr/Makefile by patch ------------------------------------------------------------------- Module Name: pkgsrc Committed By: bsiegert Date: Fri Nov 10 15:39:34 UTC 2023 Modified Files: pkgsrc/lang/go: version.mk pkgsrc/lang/go120: PLIST distinfo pkgsrc/lang/go121: PLIST distinfo Log Message: Update go120 to 1.20.11 and go121 to 1.21.4 (security). These minor releases include 2 security fixes following the security policy: - path/filepath: recognize \??\ as a Root Local Device path prefix. On Windows, a path beginning with \??\ is a Root Local Device path equivalent to a path beginning with \\?\. Paths with a \??\ prefix may be used to access arbitrary locations on the system. For example, the path \??\c:\x is equivalent to the more common path c:\x. The filepath package did not recognize paths with a \??\ prefix as special. Clean could convert a rooted path such as \a\..\??\b into the root local device path \??\b. It will now convert this path into .\??\b. IsAbs did not report paths beginning with \??\ as absolute. It now does so. VolumeName now reports the \??\ prefix as a volume name. Join(`\`, `??`, `b`) could convert a seemingly innocent sequence of path elements into the root local device path \??\b. It will now convert this to \.\??\b. This is CVE-2023-45283 and https://go.dev/issue/63713. - path/filepath: recognize device names with trailing spaces and superscripts The IsLocal function did not correctly detect reserved names in some cases: reserved names followed by spaces, such as "COM1 ". "COM" or "LPT" followed by a superscript 1, 2, or 3. IsLocal now correctly reports these names as non-local. This is CVE-2023-45284 and https://go.dev/issue/63713. To generate a diff of this commit: cvs rdiff -u -r1.193 -r1.194 pkgsrc/lang/go/version.mk cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/go120/PLIST cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/go120/distinfo cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/go121/PLIST pkgsrc/lang/go121/distinfo @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12.2.1 2023/10/22 18:44:05 spz Exp $ d4 1 a4 1 PKGREVISION= 5 @ 1.11 log @Revbump all Go packages after go120 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2023/07/15 10:52:54 bsiegert Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.10 log @Revbump all Go packages after go120 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2023/07/07 12:18:31 wiz Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.9 log @fq: update to 0.7.0. # 0.7.0 Added LuaJIT bytecode decoder by @@dlatchx, otherwise mostly small things. Been busy with nice weather and helping our getting jq development and maintenance back on track. ## Changes - Better performance of binary arrays when they only include 0-255 numbers or strings. #704 - Make `tovalue` on binary, in addition decode value binary, respect `bits_format` options. #677 ```sh # uses -V to do tovalue to get a hex string # uses -r to output "raw" string $ fq -o bits_format=hex -Vr -n '[1,0xff,3] | tobytes' 01ff03 ``` - Updated gojq fork with fixes from upstream: #679 - Improved error messages - `@@urid` URI format function ## Decoder changes - `luajit` Add LuaJIT bytecode decoder. Thanks @@dlatchx #709 - `mp4` Improved sample group definition box `sgpd` entries decoder. Thanks @@ksa-real #707 - `mp4` Improved user metadata `udta` structure decoding #676 - `wav` Decode `bext` chunk. #712 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2023/05/16 16:41:35 wiz Exp $ d4 1 @ 1.8 log @fq: update to 0.6.0. 0.6.0 adds a bunch of PosgreSQL decoders, more intuitive tovalue, skip gap fields, binary type fixes, binary hex string output, html is now probeable and some fixes and improvement to bson, mp4, id3v2, matroska etc format decoders. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2023/05/05 19:37:45 bsiegert Exp $ d3 1 a3 1 DISTNAME= fq-0.6.0 @ 1.7 log @Revbump all Go packages after go120 security update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2023/04/13 16:35:41 wiz Exp $ d3 1 a3 2 DISTNAME= fq-0.5.0 PKGREVISION= 1 @ 1.6 log @fq: update to 0.5.0. # 0.5.0 Mostly a bug fix release but adds `-V` for easy JSON output. ## Changes - Add `-V` argument to default output JSON instead of decode tree in case of decode value. #385 Thanks @@peterwaller-arm for reminding me to merge this. ```sh # default in case of decode value is to show a hexdump tree $ fq '.headers | grep_by(.id=="TSSE").text' file.mp3 │00 01 02 03 04 05 06 07 08 09 0a 0b│0123456789ab│ 0x0c│ 4c 61 76│ Lav│.headers[0].frames[0].text: "Lavf58.76.100" 0x18│66 35 38 2e 37 36 2e 31 30 30 00 │f58.76.100. │ # with -V an implicit "tovalue" is done $ fq -V '.headers | grep_by(.id=="TSSE").text' file.mp3 "Lavf58.76.100" # and in combination with -r will for strings output a "raw string" without quotes # for other types like number, object, array etc -r makes not difference (same as jq) $ fq -Vr '.headers | grep_by(.id=="TSSE").text' file.mp3 Lavf58.76.100 ``` As a side note `-V` can be used with binary type also. Then the binary data will be interpreted as UTF-8 and turned into a string. ```sh # trailing null terminator ends up as codepoint zero `\u0000` $ fq -V '.headers | grep_by(.id=="TSSE").text | tobytes' file.mp3 "Lavf58.76.100\u0000" # with -r null terminator and a new line is outputted $ fq -Vr '.headers | grep_by(.id=="TSSE").text | tobytes' file.mp3 | hexdump -C 00000000 4c 61 76 66 35 38 2e 37 36 2e 31 30 30 00 0a |Lavf58.76.100..| 0000000f # in contrast raw binary output has no new line separator $ fq '.headers | grep_by(.id=="TSSE").text | tobytes' doc/file.mp3 | hexdump -C 00000000 4c 61 76 66 35 38 2e 37 36 2e 31 30 30 00 |Lavf58.76.100.| 0000000e ``` - Fix issue using decode value in object passed as argument to internal function. #638 ```sh # this used to fail but now works fq '.tracks[0].samples[10] | avc_au({length_size: })' file.mp4 ``` - Some typo fixes. Thanks @@retokromer and @@peterwaller-arm ## Decoder changes - `aiff` Basic AIFF decoder added. #614 - `matroska` Update to latest specification. #640 - `msgpack` Fix bug decoding some fixstr lengths. #636 Thanks @@schmee for reporting. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2023/04/05 20:48:00 bsiegert Exp $ d4 1 @ 1.5 log @Revbump all Go packages after yesterday's go120 security update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2023/03/08 17:36:59 wiz Exp $ d3 1 a3 2 DISTNAME= fq-0.4.0 PKGREVISION= 1 @ 1.4 log @fq: update to 0.4.0. # 0.4.0 TLS decode and decryption, better streaming matroska/webm support, support raw IP in PCAP and bug fixes. ## Changes - Fix panic when interrupting big JSON output. #573 - Support passing options (`-o name=value`) to nested decoders. #589 - Allows for example to pass keylog to a TLS decoder inside a PCAP file or to tell a container decoders to not decode samples inside a ZIP file etc. - Exit with error if `-o name=@@path` fails to read file at `path`. #597 ## Decoder changes - `id3v2` Properly decode CTOC subframes. #606 - `matroska` - Now supports streaming matroska and webm better (master elements with unknown size). #576 #581 - Add `decode_samples` option. #574 - Spec update and clean up of symbols and descriptions. #580 - `pcap,pcapng` Support raw IPv4 and IPv6 link frames. #599 #590 - `tls` Add Transport layer security decoder and decryption. #603 - Supports TLS 1.0, 1.1, 1.2 and some SSL 3.0. - Decodes records and most messages and extensions. - Can decrypt most common cipher suites if a keylog is provided. See documentation for list of supported ciphers suites. - `toml` Fail faster to speed up probe. Could in some cases read the whole file before failing. Thanks @@0-wiz-0 for report. #594 - `zip` Properly decode EOCD record in zip64 files. Thanks @@0-wiz-0 for report and spec interpretation. #586 #596 - `xml` Fail faster to speed up probe. Could in some cases read the whole file before failing. Thanks @@0-wiz-0 for report. #594 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2023/03/08 13:38:59 bsiegert Exp $ d4 1 @ 1.3 log @Revbump all Go packages after go119 security update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2023/02/16 15:02:10 bsiegert Exp $ d3 1 a3 2 DISTNAME= fq-0.3.0 PKGREVISION= 2 @ 1.2 log @Revbump all Go packages after go119 update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2023/02/16 10:55:23 wiz Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.1 log @devel/fq: import fq-0.3.0 Packaged by leot and myself in wip. Tool, language and decoders for inspecting binary data. In most cases fq works the same way as jq but instead of reading JSON it reads binary data. The result is a JSON compatible structures where each value has a bit range, symbolic interpretations and know how to be presented in a useful way. @ text @d1 1 a1 1 # $NetBSD$ d4 1 @