pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/rlwrap rlwrap: Update to version 0.44



details:   https://anonhg.NetBSD.org/pkgsrc/rev/42fd1b263105
branches:  trunk
changeset: 445339:42fd1b263105
user:      leot <leot%pkgsrc.org@localhost>
date:      Wed Jan 20 18:31:22 2021 +0000

description:
rlwrap: Update to version 0.44

pkgsrc changes:
- Remove patch-configure.ac, now also applied upstream

Changes:
0.44
----
- rlwrap doesn't (yet) work with bracketed-paste. As this is
  enabled by default from readline-8.1 onwards, rlwrap disables
  it, even if specified in .inputrc. A multi-line paste will
  therefore (still) behave as multiple 1-line pastes
- rlwrap is now aware of multi-byte characters and correctly
  handles prompts (or things that look like prompts, e.g.
  progress indicators) that contain them, according to your
  locale.
- rlwrap filters can now also filter signals (see
  RlwrapFilter(3pm)), changing them, or providing extra input to
  the rlwrapped command.
- Key *sequences* can now be bound to rlwrap-direct-keypress
  (using a new readline command rlwrap-direct-prefix) (contributed
  by Yuri d'Elia)
- configure will correctly identify whether --mirror-arguments
  will work, even on 1-processor systems
- the handle_hotkey filter has a handler definition that enables
  fuzzy history search using fzf
- binding accept-line to a key would make that key mess up the
  display
- The debug log is more readable (e.g. by marking debug lines
  with "parent", "child" or "filter")

diffstat:

 misc/rlwrap/Makefile                   |  14 ++++++++++----
 misc/rlwrap/PLIST                      |   5 ++++-
 misc/rlwrap/distinfo                   |  11 +++++------
 misc/rlwrap/patches/patch-configure.ac |  23 -----------------------
 4 files changed, 19 insertions(+), 34 deletions(-)

diffs (117 lines):

diff -r a1478544aeea -r 42fd1b263105 misc/rlwrap/Makefile
--- a/misc/rlwrap/Makefile      Wed Jan 20 15:59:16 2021 +0000
+++ b/misc/rlwrap/Makefile      Wed Jan 20 18:31:22 2021 +0000
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.24 2020/12/04 20:45:31 nia Exp $
+# $NetBSD: Makefile,v 1.25 2021/01/20 18:31:22 leot Exp $
 #
 
-DISTNAME=      rlwrap-0.43
-PKGREVISION=   5
+DISTNAME=      rlwrap-0.44
 CATEGORIES=    misc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=hanslub42/}
-GITHUB_RELEASE=        v${PKGVERSION_NOREV}
+GITHUB_RELEASE=        7c1e432
 
 MAINTAINER=    leot%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/hanslub42/rlwrap
@@ -18,12 +17,14 @@
 
 REPLACE_PERL+= filters/censor_passwords
 REPLACE_PERL+= filters/count_in_prompt
+REPLACE_PERL+= filters/debug_null
 REPLACE_PERL+= filters/ftp_filter
 REPLACE_PERL+= filters/handle_hotkeys
 REPLACE_PERL+= filters/history_format
 REPLACE_PERL+= filters/listing
 REPLACE_PERL+= filters/logger
 REPLACE_PERL+= filters/null
+REPLACE_PERL+= filters/outfilter
 REPLACE_PERL+= filters/paint_prompt
 REPLACE_PERL+= filters/pipeline
 REPLACE_PERL+= filters/pipeto
@@ -43,6 +44,11 @@
 
 .include "options.mk"
 
+post-install:
+       ${CHMOD} -x ${DESTDIR}${PREFIX}/share/rlwrap/filters/README
+       ${CHMOD} -x ${DESTDIR}${PREFIX}/share/rlwrap/filters/RlwrapFilter.3pm
+       ${CHMOD} -x ${DESTDIR}${PREFIX}/share/rlwrap/filters/RlwrapFilter.pm
+
 BUILDLINK_API_DEPENDS.readline+=readline>=4.2
 .include "../../devel/readline/buildlink3.mk"
 .include "../../lang/python/application.mk"
diff -r a1478544aeea -r 42fd1b263105 misc/rlwrap/PLIST
--- a/misc/rlwrap/PLIST Wed Jan 20 15:59:16 2021 +0000
+++ b/misc/rlwrap/PLIST Wed Jan 20 18:31:22 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2017/04/10 20:30:15 leot Exp $
+@comment $NetBSD: PLIST,v 1.5 2021/01/20 18:31:22 leot Exp $
 bin/rlwrap
 man/man1/rlwrap.1
 man/man3/RlwrapFilter.3pm
@@ -11,16 +11,19 @@
 share/rlwrap/filters/censor_passwords.py
 share/rlwrap/filters/count_in_prompt
 share/rlwrap/filters/count_in_prompt.py
+share/rlwrap/filters/debug_null
 share/rlwrap/filters/ftp_filter
 share/rlwrap/filters/ftp_filter.py
 share/rlwrap/filters/handle_hotkeys
 share/rlwrap/filters/handle_hotkeys.py
+share/rlwrap/filters/handle_sigwinch.py
 share/rlwrap/filters/history_format
 share/rlwrap/filters/listing
 share/rlwrap/filters/logger
 share/rlwrap/filters/logger.py
 share/rlwrap/filters/null
 share/rlwrap/filters/null.py
+share/rlwrap/filters/outfilter
 share/rlwrap/filters/paint_prompt
 share/rlwrap/filters/paint_prompt.py
 share/rlwrap/filters/pipeline
diff -r a1478544aeea -r 42fd1b263105 misc/rlwrap/distinfo
--- a/misc/rlwrap/distinfo      Wed Jan 20 15:59:16 2021 +0000
+++ b/misc/rlwrap/distinfo      Wed Jan 20 18:31:22 2021 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.8 2018/09/18 14:30:17 leot Exp $
+$NetBSD: distinfo,v 1.9 2021/01/20 18:31:22 leot Exp $
 
-SHA1 (rlwrap-0.43.tar.gz) = 0c0a3a6012a003d4ae3a44e9f82f9090b4ac4650
-RMD160 (rlwrap-0.43.tar.gz) = 8c122eb2acb8963132be744aae0f6d416169877e
-SHA512 (rlwrap-0.43.tar.gz) = 4a1440b2eef3a1664c6381eb09c19f4030de2c0ef4f1f3509f7d6e130d3c5e9c3ceb00fc6ea6052b22bbe1f6b162f72e0b47564df34ccecc5220f195c22e86a1
-Size (rlwrap-0.43.tar.gz) = 313139 bytes
-SHA1 (patch-configure.ac) = e5eee74d13030454f6453721f7d6292765fd4aac
+SHA1 (rlwrap-0.44.tar.gz) = b093d353cc5aa77794da9f33a197392f42c3b73d
+RMD160 (rlwrap-0.44.tar.gz) = 95a0eaff7a90348e12120c56b7a400c2c03bb955
+SHA512 (rlwrap-0.44.tar.gz) = b7bbec5a04ae3588d467d985c0bd7d4a6a91014c7f3a9fca8eb184f9d699e2463fc334c9eb336690427efce3ad62cd2a5b59b892790643a7a3260b6218e4a145
+Size (rlwrap-0.44.tar.gz) = 321590 bytes
diff -r a1478544aeea -r 42fd1b263105 misc/rlwrap/patches/patch-configure.ac
--- a/misc/rlwrap/patches/patch-configure.ac    Wed Jan 20 15:59:16 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-$NetBSD: patch-configure.ac,v 1.2 2018/09/18 14:30:17 leot Exp $
-
-Really check for <util.h> needed by openpty(3) at least on NetBSD.
-
-Please note that src/rlwrap.h already checked for HAVE_UTIL_H in
-src/rlwrap.h but actually HAVE_UTIL_H was never defined because
-util.h was not added to the AC_CHECK_HEADERS().
-
-Also reported upstream via:
-
- <https://github.com/hanslub42/rlwrap/pull/85>
-
---- configure.ac.orig  2017-03-03 09:41:58.000000000 +0000
-+++ configure.ac
-@@ -102,7 +102,7 @@ AC_CHECK_PROG(STRIP,strip,strip,true)
- # Checks for header files.
- AC_HEADER_STDC
- AC_HEADER_SYS_WAIT
--AC_CHECK_HEADERS([errno.h fcntl.h libgen.h libutil.h stdlib.h string.h sched.h sys/ioctl.h sys/wait.h sys/resource.h stddef.h ])
-+AC_CHECK_HEADERS([errno.h fcntl.h libgen.h libutil.h util.h stdlib.h string.h sched.h sys/ioctl.h sys/wait.h sys/resource.h stddef.h ])
- AC_CHECK_HEADERS([termios.h unistd.h stdint.h time.h getopt.h regex.h curses.h termcap.h ])
- 
- AC_CHECK_HEADERS([ term.h  ncurses/term.h], , ,



Home | Main Index | Thread Index | Old Index