diff options
author | leot <leot@pkgsrc.org> | 2021-01-20 18:31:22 +0000 |
---|---|---|
committer | leot <leot@pkgsrc.org> | 2021-01-20 18:31:22 +0000 |
commit | 00625f1b7e14c403f4e4b5f3bc5dd4834aab091d (patch) | |
tree | 1cf71a9ef07c18a072ed2a8ec8b7056d44f0cfac | |
parent | 8218234480a9cb514c8d07e48f501c9fcb22b9a1 (diff) | |
download | pkgsrc-00625f1b7e14c403f4e4b5f3bc5dd4834aab091d.tar.gz |
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")
-rw-r--r-- | misc/rlwrap/Makefile | 14 | ||||
-rw-r--r-- | misc/rlwrap/PLIST | 5 | ||||
-rw-r--r-- | misc/rlwrap/distinfo | 11 | ||||
-rw-r--r-- | misc/rlwrap/patches/patch-configure.ac | 23 |
4 files changed, 19 insertions, 34 deletions
diff --git a/misc/rlwrap/Makefile b/misc/rlwrap/Makefile index 19714b8bed9..6f5c0cd0b08 100644 --- a/misc/rlwrap/Makefile +++ b/misc/rlwrap/Makefile @@ -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 HOMEPAGE= https://github.com/hanslub42/rlwrap @@ -18,12 +17,14 @@ USE_TOOLS+= autoreconf autoconf automake 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 @@ pre-configure: .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 --git a/misc/rlwrap/PLIST b/misc/rlwrap/PLIST index 7cd0425f7a8..228a4b3b59f 100644 --- a/misc/rlwrap/PLIST +++ b/misc/rlwrap/PLIST @@ -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 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 --git a/misc/rlwrap/distinfo b/misc/rlwrap/distinfo index 9e7cda81a2c..659549f9d32 100644 --- a/misc/rlwrap/distinfo +++ b/misc/rlwrap/distinfo @@ -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 --git a/misc/rlwrap/patches/patch-configure.ac b/misc/rlwrap/patches/patch-configure.ac deleted file mode 100644 index 5233f476206..00000000000 --- a/misc/rlwrap/patches/patch-configure.ac +++ /dev/null @@ -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], , , |