Bug 265610 - misc/lesspipe: Update to 2.06
Summary: misc/lesspipe: Update to 2.06
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Nuno Teixeira
URL:
Keywords: needs-patch
Depends on:
Blocks:
 
Reported: 2022-08-04 03:53 UTC by OHARA Shigeki
Modified: 2022-08-21 11:30 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (slaven)
eduardo: merge-quarterly+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description OHARA Shigeki 2022-08-04 03:53:58 UTC
There is a problem with lesspipe 2.02 on FreeBSD as described in the following Issue.

Please update lesspipe to the latest version.

https://github.com/wofr06/lesspipe/issues/76
Comment 1 Nuno Teixeira freebsd_committer freebsd_triage 2022-08-21 09:17:59 UTC
maintainer timeout, >2 weeks
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-08-21 09:33:24 UTC
A commit in branch main references this bug:

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

commit d8192011d116bb00611928ec51ee64bad8414f76
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2022-08-21 09:20:51 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-08-21 09:31:42 +0000

    misc/lesspipe: Update to 2.06

     - use tr to convert into lower case, test string adjustments included
       in 2.03 version ( https://github.com/wofr06/lesspipe/issues/76 )
     - remove perl storable (pst) files interpretation (security fix)

    ChangeLog:      https://github.com/wofr06/lesspipe/blob/lesspipe/ChangeLog
    PR:             265610
    Reported by:    elfham <elfham+freebsd@gmail.com>
    Approved by:    maintainer timeout, >2 weeks
    MFH:            2022Q3

 misc/lesspipe/Makefile | 2 +-
 misc/lesspipe/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-08-21 09:42:26 UTC
A commit in branch 2022Q3 references this bug:

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

commit e28ebf0a0dc2fc78cb034b910d9eb1a90cd69989
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2022-08-21 09:20:51 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-08-21 09:37:03 +0000

    misc/lesspipe: Update to 2.06

     - use tr to convert into lower case, test string adjustments included
       in 2.03 version ( https://github.com/wofr06/lesspipe/issues/76 )
     - remove perl storable (pst) files interpretation (security fix)

    ChangeLog:      https://github.com/wofr06/lesspipe/blob/lesspipe/ChangeLog
    PR:             265610
    Reported by:    elfham <elfham+freebsd@gmail.com>
    Approved by:    maintainer timeout, >2 weeks
    MFH:            2022Q3

    (cherry picked from commit d8192011d116bb00611928ec51ee64bad8414f76)

 misc/lesspipe/Makefile | 2 +-
 misc/lesspipe/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
Comment 4 Nuno Teixeira freebsd_committer freebsd_triage 2022-08-21 09:45:56 UTC
Version 2.01 Jan 4 2022
- experimental zsh and bash completion for archive contents

Consider add zsh completion option

Cosmetic recomendation:
---
# USES block
USES
USE_GITHUB
GH_ACCOUNT

-NO_BUILD
-NO_ARCH
# USES=shebangfix related variables
+SHEBANG_FILES

# Configure block
HAS_CONFIGURE
CONFIGURE_ARGS

-SHEBANG_FILES
# Standard bsd.port.mk variables
+NO_ARCH
+NO_BUILD
+SUB_FILES

# Packaging list block
PLIST_FILES

-SUB_FILES
---
and
---
+CONFIGURE_ARGS=        --prefix=${PREFIX} \
+               --yes
-CONFIGURE_ARGS=        --yes --prefix=${PREFIX}

 SHEBANG_FILES= archive_color code2color lesscomplete lesspipe.sh

+PLIST_FILES=   bin/archive_color \
+               bin/code2color \
+               bin/lesscomplete \
+               bin/lesspipe.sh \
+               etc/bash_completion.d/less_completion \
+               man/man1/lesspipe.1.gz \
-PLIST_FILES=   bin/archive_color bin/code2color bin/lesscomplete bin/lesspipe.sh \
-               etc/bash_completion.d/less_completion man/man1/lesspipe.1.gz \
                share/zsh/site-functions/_less
---

Cheers
Comment 5 Nuno Teixeira freebsd_committer freebsd_triage 2022-08-21 09:46:15 UTC
Committed, thanks!
Comment 6 OHARA Shigeki 2022-08-21 11:30:40 UTC
Thanks for the commit!