Sunday, July 19, 2026

Re: [maintainer update] sysutils/fzf 0.74.1

På lørdag 18. juli 2026 kl. 15:09, skrev Laurent Cheylus <foxy@free.fr>: > Hi ports@ > > a simple update for sysutils/fzf to the latest version 0.74.1 > > Changelog: https://github.com/junegunn/fzf/releases/tag/v0.74.1 > > Build and tests OK on current/amd64 with Go 1.26.4 > > Tests welcome and please commit if OK. > > Laurent > > Built/tested on current/amd64 w/ privsep. Was simple to patch and built in a couple of minutes. $ cd /usr/ports/sysutils/fzf/ && patch -l -p0 -E < /tmp/fzf-0.74.1.diff $ cd /usr/ports/sysutils/fzf/ && make build package test ; make port-lib-depends-check check-shlib-syms ===> Regression tests for fzf-0.74.1 cd /usr/ports/pobj/fzf-0.74.1/github.com/junegunn/fzf@v0.74.1 && /usr/bin/env -i GO386=softfloat GOCACHE="/usr/ports/pobj/fzf-0.74.1/go-cache" GOTOOLCHAIN=local TMPDIR="/usr/ports/pobj/fzf-0.74.1/build-amd64" GOPROXY=file:///usr/ports/pobj/fzf-0.74.1/go_modules GO111MODULE=on GOPATH="/usr/ports/pobj/fzf-0.74.1/go:/usr/local/go-pkg" PORTSDIR="/usr/ports" LIBTOOL="/usr/bin/libtool" PATH='/usr/ports/pobj/fzf-0.74.1/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin' PREFIX='/usr/local' LOCALBASE='/usr/local' X11BASE='/usr/X11R6' CFLAGS='-O2 -pipe' TRUEPREFIX='/usr/local' DESTDIR='' HOME='/fzf-0.74.1_writes_to_HOME' PICFLAG="-fpic" BINGRP=bin BINOWN=root BINMODE=755 NONBINMODE=644 DIRMODE=755 INSTALL_COPY=-c INSTALL_STRIP= MANGRP=bin MANOWN=root MANMODE=644 BSD_INSTALL_PROGRAM="/usr/ports/pobj/fzf-0.74.1/bin/install -c -m 755" BSD_INSTALL_SCRIPT="/usr/ports/pobj/fzf-0.74.1/bin/install -c -m 755" BSD_INSTALL_DATA="/usr/ports/pobj/fzf-0.74.1/bin/install -c -m 644" BSD_INSTALL_MAN="/usr/ports/pobj/fzf-0.74.1/bin/install -c -m 644" BSD_INSTALL_PROGRAM_DIR="/usr/ports/pobj/fzf-0.74.1/bin/install -d -m 755" BSD_INSTALL_SCRIPT_DIR="/usr/ports/pobj/fzf-0.74.1/bin/install -d -m 755" BSD_INSTALL_DATA_DIR="/usr/ports/pobj/fzf-0.74.1/bin/install -d -m 755" BSD_INSTALL_MAN_DIR="/usr/ports/pobj/fzf-0.74.1/bin/install -d -m 755" go test -modcacherw -trimpath -v -buildvcs=false -p=1 -ldflags="-X main.version=0.74.1 -X main.revision="" -s -w" github.com/junegunn/fzf/src github.com/junegunn/fzf/src/algo github.com/junegunn/fzf/src/tui github.com/junegunn/fzf/src/util === RUN TestNextAnsiEscapeSequence --- PASS: TestNextAnsiEscapeSequence (0.00s) === RUN TestNextAnsiEscapeSequence_Fuzz_Modified === PAUSE TestNextAnsiEscapeSequence_Fuzz_Modified === RUN TestNextAnsiEscapeSequence_Fuzz_Random === PAUSE TestNextAnsiEscapeSequence_Fuzz_Random === RUN TestExtractColor ansi_test.go:211: hello world <nil> ansi_test.go:211: hello world <nil> ansi_test.go:211: hello world &[{[0 11] {-1 -1 -1 1 -1 <nil>}}] ansi_test.go:211: hello wrld &[{[0 6] {-1 -1 -1 1 -1 <nil>}}] ansi_test.go:211: hello world &[{[0 11] {-1 -1 -1 1 -1 <nil>}}] ansi_test.go:211: hello world &[{[6 11] {4 5 -1 1 -1 <nil>}}] ansi_test.go:211: hello world &[{[6 11] {4 5 -1 1 -1 <nil>}}] ansi_test.go:211: hello world &[{[6 9] {4 5 -1 1 -1 <nil>}}] ansi_test.go:211: hello world &[{[6 8] {4 233 -1 1 -1 <nil>}} {[8 9] {161 233 -1 1 -1 <nil>}} {[10 11] {161 -1 -1 0 -1 <nil>}}] ansi_test.go:211: hello world &[{[6 9] {38 48 -1 1 -1 <nil>}} {[9 10] {48 38 -1 1 -1 <nil>}}] ansi_test.go:211: hello world &[{[6 11] {2 -1 -1 1 -1 <nil>}}] ansi_test.go:211: hello world &[{[0 11] {2 -1 -1 1 -1 <nil>}}] ansi_test.go:211: hello world &[{[0 6] {2 -1 -1 1 -1 <nil>}} {[6 11] {200 100 -1 0 -1 <nil>}}] ansi_test.go:211: hello world &[{[0 6] {-1 -1 -1 1 -1 <nil>}} {[6 11] {28622590 -1 -1 1 -1 <nil>}}] ansi_test.go:211: hello world &[{[0 11] {28622590 -1 -1 1 -1 <nil>}}] --- PASS: TestExtractColor (0.00s) === RUN TestAnsiCodeStringConversion --- PASS: TestAnsiCodeStringConversion (0.00s) === RUN TestParseAnsiCode --- PASS: TestParseAnsiCode (0.00s) === RUN TestInterpretCodeUnderlineStyles --- PASS: TestInterpretCodeUnderlineStyles (0.00s) === RUN TestInterpretCodeUnderlineColor --- PASS: TestInterpretCodeUnderlineColor (0.00s) === RUN TestChunkCache --- PASS: TestChunkCache (0.00s) === RUN TestChunkList --- PASS: TestChunkList (0.00s) === RUN TestChunkListTail --- PASS: TestChunkListTail (0.00s) === RUN TestHistory --- PASS: TestHistory (0.42s) === RUN TestStringPtr --- PASS: TestStringPtr (0.00s) === RUN TestEmptyMerger --- PASS: TestEmptyMerger (0.00s) === RUN TestMergerUnsorted --- PASS: TestMergerUnsorted (0.00s) === RUN TestMergerSorted --- PASS: TestMergerSorted (0.00s) === RUN TestDelimiterRegex --- PASS: TestDelimiterRegex (0.00s) === RUN TestDelimiterRegexString --- PASS: TestDelimiterRegexString (0.00s) === RUN TestDelimiterRegexRegex --- PASS: TestDelimiterRegexRegex (0.00s) === RUN TestDelimiterRegexRegexCaret --- PASS: TestDelimiterRegexRegexCaret (0.00s) === RUN TestSplitNth --- PASS: TestSplitNth (0.00s) === RUN TestIrrelevantNth --- PASS: TestIrrelevantNth (0.00s) === RUN TestParseKeys --- PASS: TestParseKeys (0.00s) === RUN TestParseKeysWithComma --- PASS: TestParseKeysWithComma (0.00s) === RUN TestBind --- PASS: TestBind (0.00s) === RUN TestParseEveryEvent --- PASS: TestParseEveryEvent (0.00s) === RUN TestColorSpec --- PASS: TestColorSpec (0.00s) === RUN TestDefaultCtrlNP --- PASS: TestDefaultCtrlNP (0.00s) === RUN TestToggle --- PASS: TestToggle (0.00s) === RUN TestPreviewOpts --- PASS: TestPreviewOpts (0.00s) === RUN TestPreviewWrapSign --- PASS: TestPreviewWrapSign (0.00s) === RUN TestAdditiveExpect --- PASS: TestAdditiveExpect (0.00s) === RUN TestValidateSign --- PASS: TestValidateSign (0.00s) === RUN TestParseSingleActionList --- PASS: TestParseSingleActionList (0.00s) === RUN TestParseSingleActionListError --- PASS: TestParseSingleActionListError (0.00s) === RUN TestMaskActionContents --- PASS: TestMaskActionContents (0.00s) === RUN TestParseTermsExtended --- PASS: TestParseTermsExtended (0.00s) === RUN TestParseTermsExtendedExact --- PASS: TestParseTermsExtendedExact (0.00s) === RUN TestParseTermsEmpty --- PASS: TestParseTermsEmpty (0.00s) === RUN TestExact --- PASS: TestExact (0.00s) === RUN TestEqual --- PASS: TestEqual (0.00s) === RUN TestCaseSensitivity --- PASS: TestCaseSensitivity (0.00s) === RUN TestOrigTextAndTransformed --- PASS: TestOrigTextAndTransformed (0.00s) === RUN TestCacheKey --- PASS: TestCacheKey (0.00s) === RUN TestCacheable --- PASS: TestCacheable (0.00s) === RUN TestBitmapCacheBenefit pattern_test.go:263: Chunks: 100, Queries: 5 pattern_test.go:264: Cache memory: 136040 bytes (132.9 KB) pattern_test.go:265: Per-chunk-per-query: 272 bytes pattern_test.go:286: query="s": matches=102400 pattern_test.go:286: query="se": matches=102400 pattern_test.go:286: query="ser": matches=71680 pattern_test.go:286: query="serv": matches=30720 pattern_test.go:286: query="servi": matches=20480 --- PASS: TestBitmapCacheBenefit (2.45s) === RUN TestReadFromCommand --- PASS: TestReadFromCommand (0.10s) === RUN TestOffsetSort --- PASS: TestOffsetSort (0.00s) === RUN TestRankComparison --- PASS: TestRankComparison (0.00s) === RUN TestResultRank --- PASS: TestResultRank (0.00s) === RUN TestChunkTiebreak --- PASS: TestChunkTiebreak (0.00s) === RUN TestColorOffset --- PASS: TestColorOffset (0.00s) === RUN TestRadixSortResults --- PASS: TestRadixSortResults (0.00s) === RUN TestReplacePlaceholder --- PASS: TestReplacePlaceholder (0.46s) === RUN TestQuoteEntry --- PASS: TestQuoteEntry (0.00s) === RUN TestUnixCommands --- PASS: TestUnixCommands (0.00s) === RUN TestWindowsCommands --- SKIP: TestWindowsCommands (0.00s) === RUN TestPowershellCommands --- SKIP: TestPowershellCommands (0.00s) === RUN TestParsePlaceholder --- PASS: TestParsePlaceholder (0.00s) === RUN TestExtractPassthroughs --- PASS: TestExtractPassthroughs (0.00s) === RUN TestWordWrapAnsiLine --- PASS: TestWordWrapAnsiLine (0.00s) === RUN TestEscapeTmuxTitle --- PASS: TestEscapeTmuxTitle (0.00s) === RUN TestEscapeTmuxTitleSeparator --- PASS: TestEscapeTmuxTitleSeparator (0.00s) === RUN TestParseRange --- PASS: TestParseRange (0.00s) === RUN TestTokenize --- PASS: TestTokenize (0.00s) === RUN TestTransform --- PASS: TestTransform (0.00s) === RUN TestTransformIndexOutOfBounds --- PASS: TestTransformIndexOutOfBounds (0.00s) === CONT TestNextAnsiEscapeSequence_Fuzz_Modified === CONT TestNextAnsiEscapeSequence_Fuzz_Random --- PASS: TestNextAnsiEscapeSequence_Fuzz_Modified (0.30s) --- PASS: TestNextAnsiEscapeSequence_Fuzz_Random (1.36s) PASS ok github.com/junegunn/fzf/src 4.917s === RUN TestFuzzyMatch --- PASS: TestFuzzyMatch (0.01s) === RUN TestFuzzyMatchBackward --- PASS: TestFuzzyMatchBackward (0.00s) === RUN TestExactMatchNaive --- PASS: TestExactMatchNaive (0.00s) === RUN TestExactMatchNaiveBackward --- PASS: TestExactMatchNaiveBackward (0.00s) === RUN TestPrefixMatch --- PASS: TestPrefixMatch (0.00s) === RUN TestSuffixMatch --- PASS: TestSuffixMatch (0.00s) === RUN TestEmptyPattern --- PASS: TestEmptyPattern (0.00s) === RUN TestNormalize --- PASS: TestNormalize (0.00s) === RUN TestLongString --- PASS: TestLongString (0.02s) === RUN TestLongStringWithNormalize --- PASS: TestLongStringWithNormalize (0.00s) === RUN TestIndexByteTwo === RUN TestIndexByteTwo/empty === RUN TestIndexByteTwo/single_b1 === RUN TestIndexByteTwo/single_b2 === RUN TestIndexByteTwo/single_none === RUN TestIndexByteTwo/b1_first === RUN TestIndexByteTwo/b2_first === RUN TestIndexByteTwo/same_byte === RUN TestIndexByteTwo/at_end === RUN TestIndexByteTwo/not_found === RUN TestIndexByteTwo/long_b1_at_3000 === RUN TestIndexByteTwo/long_b2_at_3000 --- PASS: TestIndexByteTwo (0.02s) --- PASS: TestIndexByteTwo/empty (0.00s) --- PASS: TestIndexByteTwo/single_b1 (0.00s) --- PASS: TestIndexByteTwo/single_b2 (0.00s) --- PASS: TestIndexByteTwo/single_none (0.00s) --- PASS: TestIndexByteTwo/b1_first (0.00s) --- PASS: TestIndexByteTwo/b2_first (0.00s) --- PASS: TestIndexByteTwo/same_byte (0.00s) --- PASS: TestIndexByteTwo/at_end (0.00s) --- PASS: TestIndexByteTwo/not_found (0.00s) --- PASS: TestIndexByteTwo/long_b1_at_3000 (0.00s) --- PASS: TestIndexByteTwo/long_b2_at_3000 (0.00s) === RUN TestLastIndexByteTwo === RUN TestLastIndexByteTwo/empty === RUN TestLastIndexByteTwo/single_b1 === RUN TestLastIndexByteTwo/single_b2 === RUN TestLastIndexByteTwo/single_none === RUN TestLastIndexByteTwo/b1_last === RUN TestLastIndexByteTwo/b2_last === RUN TestLastIndexByteTwo/same_byte === RUN TestLastIndexByteTwo/at_start === RUN TestLastIndexByteTwo/both_present === RUN TestLastIndexByteTwo/not_found === RUN TestLastIndexByteTwo/long_b1_at_3000 === RUN TestLastIndexByteTwo/long_b2_at_end --- PASS: TestLastIndexByteTwo (0.02s) --- PASS: TestLastIndexByteTwo/empty (0.00s) --- PASS: TestLastIndexByteTwo/single_b1 (0.00s) --- PASS: TestLastIndexByteTwo/single_b2 (0.00s) --- PASS: TestLastIndexByteTwo/single_none (0.00s) --- PASS: TestLastIndexByteTwo/b1_last (0.00s) --- PASS: TestLastIndexByteTwo/b2_last (0.00s) --- PASS: TestLastIndexByteTwo/same_byte (0.00s) --- PASS: TestLastIndexByteTwo/at_start (0.00s) --- PASS: TestLastIndexByteTwo/both_present (0.00s) --- PASS: TestLastIndexByteTwo/not_found (0.00s) --- PASS: TestLastIndexByteTwo/long_b1_at_3000 (0.00s) --- PASS: TestLastIndexByteTwo/long_b2_at_end (0.00s) === RUN FuzzIndexByteTwo === RUN FuzzIndexByteTwo/seed#0 === RUN FuzzIndexByteTwo/seed#1 === RUN FuzzIndexByteTwo/seed#2 --- PASS: FuzzIndexByteTwo (0.00s) --- PASS: FuzzIndexByteTwo/seed#0 (0.00s) --- PASS: FuzzIndexByteTwo/seed#1 (0.00s) --- PASS: FuzzIndexByteTwo/seed#2 (0.00s) === RUN FuzzLastIndexByteTwo === RUN FuzzLastIndexByteTwo/seed#0 === RUN FuzzLastIndexByteTwo/seed#1 === RUN FuzzLastIndexByteTwo/seed#2 --- PASS: FuzzLastIndexByteTwo (0.00s) --- PASS: FuzzLastIndexByteTwo/seed#0 (0.00s) --- PASS: FuzzLastIndexByteTwo/seed#1 (0.00s) --- PASS: FuzzLastIndexByteTwo/seed#2 (0.00s) PASS ok github.com/junegunn/fzf/src/algo 0.124s === RUN TestLightRenderer --- PASS: TestLightRenderer (0.07s) === RUN TestLightRendererScrollWheel --- PASS: TestLightRendererScrollWheel (0.00s) === RUN TestLightRendererSGRDeduplication --- PASS: TestLightRendererSGRDeduplication (0.09s) === RUN TestWrapLine --- PASS: TestWrapLine (0.00s) === RUN TestHexToColor --- PASS: TestHexToColor (0.00s) PASS ok github.com/junegunn/fzf/src/tui 0.206s === RUN TestAtExit --- PASS: TestAtExit (0.00s) === RUN TestAtomicBool --- PASS: TestAtomicBool (0.00s) === RUN TestToCharsAscii --- PASS: TestToCharsAscii (0.00s) === RUN TestCharsLength --- PASS: TestCharsLength (0.00s) === RUN TestCharsToString --- PASS: TestCharsToString (0.00s) === RUN TestTrimLength --- PASS: TestTrimLength (0.00s) === RUN TestCharsLines [[97 98 99 100 101 102 10]] true [[97 98 99 100 101 102 10] [44032 45208 45796 10]] true [[97 98 99 100 101 102 10] [44032 45208 45796 10] [9 100 101 102]] false [[97 98] [99 100] [101 102 10] [44032]] true [[97 98] [99 100] [101 102 10] [44032] [45208]] true [[97 98] [99 100] [101 102 10] [44032] [45208] [45796 10]] true [[97 98] [99 100] [101 102 10] [44032] [45208] [45796 10] [9]] true [[97 98] [99 100] [101 102 10] [44032] [45208] [45796 10] [9] [100 101]] true [[97 98] [99 100] [101 102 10] [44032] [45208] [45796 10] [9] [100 101] [102]] false [[97 98] [99 100] [101 102 10] [44032] [45208] [45796 10] [9 100] [101 102]] false [[97 98 99] [100 101] [102 10] [44032] [45208] [45796 10] [9 100 101] [102]] false [[97 98 99] [100] [101] [102 10] [44032] [45208] [45796] [10] [9 100 101] [102]] false [[97 98 99] [100] [101] [102] [10] [44032] [45208] [45796] [10] [9] [100] [101] [102]] false --- PASS: TestCharsLines (0.00s) === RUN TestCharsLinesWrapWord --- PASS: TestCharsLinesWrapWord (0.00s) === RUN TestEventBox --- PASS: TestEventBox (0.00s) === RUN TestConstrain --- PASS: TestConstrain (0.00s) === RUN TestAsUint16 --- PASS: TestAsUint16 (0.00s) === RUN TestOnce --- PASS: TestOnce (0.00s) === RUN TestRunesWidth --- PASS: TestRunesWidth (0.00s) === RUN TestTruncate --- PASS: TestTruncate (0.00s) === RUN TestRepeatToFill --- PASS: TestRepeatToFill (0.00s) === RUN TestStringWidth --- PASS: TestStringWidth (0.00s) === RUN TestCompareVersions --- PASS: TestCompareVersions (0.00s) PASS ok github.com/junegunn/fzf/src/util 0.033s -- // Checks did not complain; test look like they pass # TRUSTED_PKG_PATH=/usr/ports/packages/amd64/all/ pkg_add -Dsnap -u fzf fzf-0.74.0->0.74.1: ok -- No grammar/spelling or nits I could find. Not sure if I missed anything, but looks acceptable. May you have a good week and well wishes. Hope that helps. -- yaydn

No comments:

Post a Comment