Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Sep 2023 18:58:49 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a27077dde796 - main - textproc/fzf: update to 0.42.0
Message-ID:  <202309241858.38OIwnIe045626@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a27077dde796e9a20c68229ec744138a4081b1a2

commit a27077dde796e9a20c68229ec744138a4081b1a2
Author:     Denis Shaposhnikov <dsh@bamus.cz>
AuthorDate: 2023-09-22 15:32:52 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-09-24 18:57:13 +0000

    textproc/fzf: update to 0.42.0
    
    Changelog: https://github.com/junegunn/fzf/releases/tag/0.42.0
    
    PR:             272847
    Approved by:    dmgk (maintainer timeout)
---
 textproc/fzf/Makefile                          |  3 +--
 textproc/fzf/distinfo                          | 10 +++++-----
 textproc/fzf/files/patch-shell_completion.bash | 14 +++++++-------
 textproc/fzf/files/patch-shell_completion.zsh  | 14 +++++++-------
 4 files changed, 20 insertions(+), 21 deletions(-)

diff --git a/textproc/fzf/Makefile b/textproc/fzf/Makefile
index c10e9fd15ed2..8ac348e158f2 100644
--- a/textproc/fzf/Makefile
+++ b/textproc/fzf/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	fzf
-DISTVERSION=	0.38.0
-PORTREVISION=	4
+DISTVERSION=	0.42.0
 CATEGORIES=	textproc
 MASTER_SITES=	https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${DISTVERSIONFULL}/:gomod
 DISTFILES=	go.mod:gomod
diff --git a/textproc/fzf/distinfo b/textproc/fzf/distinfo
index b1f1895d26f3..28a0ef1d9f20 100644
--- a/textproc/fzf/distinfo
+++ b/textproc/fzf/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1676759020
-SHA256 (go/textproc_fzf/junegunn-fzf-0.38.0_GH0/go.mod) = f971f9b4684a0eb3a3cef6cca818b7a94001bd63e3cf44f57233a4273bbc93e6
-SIZE (go/textproc_fzf/junegunn-fzf-0.38.0_GH0/go.mod) = 596
-SHA256 (go/textproc_fzf/junegunn-fzf-0.38.0_GH0/junegunn-fzf-0.38.0_GH0.tar.gz) = 75ad1bdb2ba40d5b4da083883e65a2887d66bd2d4dbfa29424cb3f09c37efaa7
-SIZE (go/textproc_fzf/junegunn-fzf-0.38.0_GH0/junegunn-fzf-0.38.0_GH0.tar.gz) = 232613
+TIMESTAMP = 1690816707
+SHA256 (go/textproc_fzf/junegunn-fzf-0.42.0_GH0/go.mod) = 2261585fafcd4f08e955e096fd1d82312055830822a0bb3462a51779f379cde1
+SIZE (go/textproc_fzf/junegunn-fzf-0.42.0_GH0/go.mod) = 540
+SHA256 (go/textproc_fzf/junegunn-fzf-0.42.0_GH0/junegunn-fzf-0.42.0_GH0.tar.gz) = 743c1bfc7851b0796ab73c6da7db09d915c2b54c0dd3e8611308985af8ed3df2
+SIZE (go/textproc_fzf/junegunn-fzf-0.42.0_GH0/junegunn-fzf-0.42.0_GH0.tar.gz) = 239469
diff --git a/textproc/fzf/files/patch-shell_completion.bash b/textproc/fzf/files/patch-shell_completion.bash
index 41694936d8fa..50ab25d5db55 100644
--- a/textproc/fzf/files/patch-shell_completion.bash
+++ b/textproc/fzf/files/patch-shell_completion.bash
@@ -1,11 +1,11 @@
---- shell/completion.bash.orig	2020-08-03 09:46:24 UTC
-+++ shell/completion.bash
-@@ -262,7 +262,7 @@ _fzf_complete_kill() {
+--- shell/completion.bash.orig	2023-07-31 17:35:49.551906000 +0200
++++ shell/completion.bash	2023-07-31 17:35:58.560554000 +0200
+@@ -271,7 +271,7 @@
  
  _fzf_proc_completion() {
-   _fzf_complete -m --preview 'echo {}' --preview-window down:3:wrap --min-height 15 -- "$@" < <(
--    command ps -ef | sed 1d
-+    command ps -uef | sed 1d
+   _fzf_complete -m --header-lines=1 --preview 'echo {}' --preview-window down:3:wrap --min-height 15 -- "$@" < <(
+-    command ps -eo user,pid,ppid,start,time,command 2> /dev/null ||
++    command ps -uef 2> /dev/null ||
+       command ps -eo user,pid,ppid,time,args # For BusyBox
    )
  }
- 
diff --git a/textproc/fzf/files/patch-shell_completion.zsh b/textproc/fzf/files/patch-shell_completion.zsh
index f75340ab462a..ab6587338513 100644
--- a/textproc/fzf/files/patch-shell_completion.zsh
+++ b/textproc/fzf/files/patch-shell_completion.zsh
@@ -1,11 +1,11 @@
---- shell/completion.zsh.orig	2020-08-03 09:46:30 UTC
-+++ shell/completion.zsh
-@@ -252,7 +252,7 @@ _fzf_complete_unalias() {
+--- shell/completion.zsh.orig	2023-07-31 17:25:48.004185000 +0200
++++ shell/completion.zsh	2023-07-31 17:34:23.011756000 +0200
+@@ -252,7 +252,7 @@
  
  _fzf_complete_kill() {
-   _fzf_complete -m --preview 'echo {}' --preview-window down:3:wrap --min-height 15 -- "$@" < <(
--    command ps -ef | sed 1d
-+    command ps -uef | sed 1d
+   _fzf_complete -m --header-lines=1 --preview 'echo {}' --preview-window down:3:wrap --min-height 15 -- "$@" < <(
+-    command ps -eo user,pid,ppid,start,time,command 2> /dev/null ||
++    command ps -uef 2> /dev/null ||
+       command ps -eo user,pid,ppid,time,args # For BusyBox
    )
  }
- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309241858.38OIwnIe045626>