Mon Apr 10 20:30:15 2017 UTC ()
Update misc/rlwrap to 0.43

pkgsrc changes:
 - depends on python3* now that filters can be written in Python
 - update MASTER_SITES and HOMEPAGE (old homepage seems no longer available)
 - take MAINTAINERship

Changes:
0.43
----
 - Added Hisanobu Okuda's rlwrapfilter.py python3 module
   and example filters. Filters can now be written in python
   as well as perl.
 - If a filter was used, rlwrap would pass all input, output,
   history items, prompts, ... through the filter, even if it
   wouldn't change them. Now, at startup, filters (even filter
   pipelines) tell rlwrap which messages they handle, after which
   rlwrap won't bother them with anything else.
 - Added bindable readline command rlwrap-direct-keypress
   that bypasses readline editing and sends its keypress directly
   to the rlwrapped command (like CTRL-G for the Erlang shell)
 - Added bindable readline command rlwrap-hotkey that passes
   the current input buffer and history to the filter (or
   filter pipeline) specified with the '-z' option. This can
   be used e.g. to insert the current selection at the cursor
   position, or to edit (re-write) the history.
   This uncovered quite a few bugs and inconsistencies:
      - My ncurses' termcap emulation misses some codes (like
        term_cursor_hpos) that its terminfo has. rlwrap now
        always searches terminfo before termcap.
      - rlwrap was confused about the role of history_offset,
        resulting in muddled and unclear (although correct) code.
      - rlwrap --history-size -0 would clobber the history file
        (as per the manual - that has been updated as well)
      - rlwrap's ad hoc way of sending lists of strings to filters
        by interspersing them with TABS or spaces is becoming
        unwieldy, it has been replaced by a standard encoding
        <length1><string1><length2><string2>.... (where the
        <lengths> are fixed length hexadecimal numbers (this is a
        contribution by Hisanobu Okuda)
 - Playing back a readline macro consisting of more than one line
   would crash with SIGSEGV
 - rlwrap with negative --histsize would fail when there is no
   history file yet.
 - An empty prompt would make $filter->{cumulative_output} miss
   its last line
 - Pre-given (-P) input would only be put in input line after
   cooking timeout (usually 40 msec)
 - One-shot (-o) rlwrap could accept more than one line when input
   in quick succession.
 - rlwrap didn't delete the tempfiles used in a multi-line
   edit
 - configure.ac now works even when cross-compiling (skipping some
   tests, but providing sensible defaults)
 - --enable-pedantic-ansi is a new configure option separate from
   --enable-debug (it used to be implied by --enable-debug)
 - --complete-filenames (-c) will now work on OS X and FreeBSD as well


(leot)
diff -r1.17 -r1.18 pkgsrc/misc/rlwrap/Makefile
diff -r1.3 -r1.4 pkgsrc/misc/rlwrap/PLIST
diff -r1.5 -r1.6 pkgsrc/misc/rlwrap/distinfo

cvs diff -r1.17 -r1.18 pkgsrc/misc/rlwrap/Makefile (expand / switch to unified diff)

--- pkgsrc/misc/rlwrap/Makefile 2017/01/04 22:19:17 1.17
+++ pkgsrc/misc/rlwrap/Makefile 2017/04/10 20:30:15 1.18
@@ -1,38 +1,45 @@ @@ -1,38 +1,45 @@
1# $NetBSD: Makefile,v 1.17 2017/01/04 22:19:17 roy Exp $ 1# $NetBSD: Makefile,v 1.18 2017/04/10 20:30:15 leot Exp $
2# 2#
3 3
4DISTNAME= rlwrap-0.42 4DISTNAME= rlwrap-0.43
5PKGREVISION= 4 
6CATEGORIES= misc 5CATEGORIES= misc
7MASTER_SITES= http://utopia.knoware.nl/~hlub/uck/rlwrap/ 6MASTER_SITES= ${MASTER_SITE_GITHUB:=hanslub42/}
 7GITHUB_RELEASE= v${PKGVERSION_NOREV}
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= leot@NetBSD.org
10HOMEPAGE= http://utopia.knoware.nl/~hlub/uck/rlwrap/ 10HOMEPAGE= https://github.com/hanslub42/rlwrap
11COMMENT= Provides command line editing and history for other commands 11COMMENT= Provides command line editing and history for other commands
12LICENSE= gnu-gpl-v2 12LICENSE= gnu-gpl-v2
13 13
14GNU_CONFIGURE= yes 14GNU_CONFIGURE= yes
15USE_TOOLS+= gmake perl:run 15USE_TOOLS+= gmake perl:run
16 16
17REPLACE_PERL+= filters/censor_passwords 17REPLACE_PERL+= filters/censor_passwords
18REPLACE_PERL+= filters/count_in_prompt 18REPLACE_PERL+= filters/count_in_prompt
19REPLACE_PERL+= filters/ftp_filter 19REPLACE_PERL+= filters/ftp_filter
 20REPLACE_PERL+= filters/handle_hotkeys
20REPLACE_PERL+= filters/history_format 21REPLACE_PERL+= filters/history_format
21REPLACE_PERL+= filters/listing 22REPLACE_PERL+= filters/listing
22REPLACE_PERL+= filters/logger 23REPLACE_PERL+= filters/logger
23REPLACE_PERL+= filters/null 24REPLACE_PERL+= filters/null
24REPLACE_PERL+= filters/paint_prompt 25REPLACE_PERL+= filters/paint_prompt
25REPLACE_PERL+= filters/pipeline 26REPLACE_PERL+= filters/pipeline
26REPLACE_PERL+= filters/pipeto 27REPLACE_PERL+= filters/pipeto
27REPLACE_PERL+= filters/scrub_prompt 28REPLACE_PERL+= filters/scrub_prompt
28REPLACE_PERL+= filters/simple_macro 29REPLACE_PERL+= filters/simple_macro
29REPLACE_PERL+= filters/template 30REPLACE_PERL+= filters/template
30REPLACE_PERL+= filters/unbackspace 31REPLACE_PERL+= filters/unbackspace
31 32
 33REPLACE_PYTHON+= filters/*.py
 34
 35PYTHON_VERSIONS_INCOMPATIBLE= 27
 36
32TEST_TARGET= check 37TEST_TARGET= check
33 38
34.include "options.mk" 39.include "options.mk"
 40
35BUILDLINK_API_DEPENDS.readline+=readline>=4.2 41BUILDLINK_API_DEPENDS.readline+=readline>=4.2
36.include "../../devel/readline/buildlink3.mk" 42.include "../../devel/readline/buildlink3.mk"
 43.include "../../lang/python/application.mk"
37.include "../../mk/curses.buildlink3.mk" 44.include "../../mk/curses.buildlink3.mk"
38.include "../../mk/bsd.pkg.mk" 45.include "../../mk/bsd.pkg.mk"

cvs diff -r1.3 -r1.4 pkgsrc/misc/rlwrap/PLIST (expand / switch to unified diff)

--- pkgsrc/misc/rlwrap/PLIST 2012/09/30 22:10:42 1.3
+++ pkgsrc/misc/rlwrap/PLIST 2017/04/10 20:30:15 1.4
@@ -1,23 +1,33 @@ @@ -1,23 +1,33 @@
1@comment $NetBSD: PLIST,v 1.3 2012/09/30 22:10:42 dholland Exp $ 1@comment $NetBSD: PLIST,v 1.4 2017/04/10 20:30:15 leot Exp $
2bin/rlwrap 2bin/rlwrap
3man/man1/rlwrap.1 3man/man1/rlwrap.1
4man/man3/RlwrapFilter.3pm 4man/man3/RlwrapFilter.3pm
5share/rlwrap/completions/coqtop 5share/rlwrap/completions/coqtop
6share/rlwrap/completions/testclient 6share/rlwrap/completions/testclient
7share/rlwrap/filters/README 7share/rlwrap/filters/README
8share/rlwrap/filters/RlwrapFilter.3pm 8share/rlwrap/filters/RlwrapFilter.3pm
9share/rlwrap/filters/RlwrapFilter.pm 9share/rlwrap/filters/RlwrapFilter.pm
10share/rlwrap/filters/censor_passwords 10share/rlwrap/filters/censor_passwords
 11share/rlwrap/filters/censor_passwords.py
11share/rlwrap/filters/count_in_prompt 12share/rlwrap/filters/count_in_prompt
 13share/rlwrap/filters/count_in_prompt.py
12share/rlwrap/filters/ftp_filter 14share/rlwrap/filters/ftp_filter
 15share/rlwrap/filters/ftp_filter.py
 16share/rlwrap/filters/handle_hotkeys
 17share/rlwrap/filters/handle_hotkeys.py
13share/rlwrap/filters/history_format 18share/rlwrap/filters/history_format
14share/rlwrap/filters/listing 19share/rlwrap/filters/listing
15share/rlwrap/filters/logger 20share/rlwrap/filters/logger
 21share/rlwrap/filters/logger.py
16share/rlwrap/filters/null 22share/rlwrap/filters/null
 23share/rlwrap/filters/null.py
17share/rlwrap/filters/paint_prompt 24share/rlwrap/filters/paint_prompt
 25share/rlwrap/filters/paint_prompt.py
18share/rlwrap/filters/pipeline 26share/rlwrap/filters/pipeline
19share/rlwrap/filters/pipeto 27share/rlwrap/filters/pipeto
 28share/rlwrap/filters/pipeto.py
 29share/rlwrap/filters/rlwrapfilter.py
20share/rlwrap/filters/scrub_prompt 30share/rlwrap/filters/scrub_prompt
21share/rlwrap/filters/simple_macro 31share/rlwrap/filters/simple_macro
22share/rlwrap/filters/template 32share/rlwrap/filters/template
23share/rlwrap/filters/unbackspace 33share/rlwrap/filters/unbackspace

cvs diff -r1.5 -r1.6 pkgsrc/misc/rlwrap/distinfo (expand / switch to unified diff)

--- pkgsrc/misc/rlwrap/distinfo 2015/11/03 23:49:48 1.5
+++ pkgsrc/misc/rlwrap/distinfo 2017/04/10 20:30:15 1.6
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.5 2015/11/03 23:49:48 agc Exp $ 1$NetBSD: distinfo,v 1.6 2017/04/10 20:30:15 leot Exp $
2 2
3SHA1 (rlwrap-0.42.tar.gz) = 8d2ad1be9b6c362439825ae5456a2ba5cdd7eb07 3SHA1 (rlwrap-0.43.tar.gz) = 0c0a3a6012a003d4ae3a44e9f82f9090b4ac4650
4RMD160 (rlwrap-0.42.tar.gz) = 53cdabd0ad7edcad56ddd2c9101eb811cdde9a70 4RMD160 (rlwrap-0.43.tar.gz) = 8c122eb2acb8963132be744aae0f6d416169877e
5SHA512 (rlwrap-0.42.tar.gz) = 991885e75aabf0d43581d59f7c78f7f64c3f32072de08ff5796cba75c0716548d2186cbe2d739f3e772871e3586d036f069db73b2ee8a30b2f7985088d0f68df 5SHA512 (rlwrap-0.43.tar.gz) = 4a1440b2eef3a1664c6381eb09c19f4030de2c0ef4f1f3509f7d6e130d3c5e9c3ceb00fc6ea6052b22bbe1f6b162f72e0b47564df34ccecc5220f195c22e86a1
6Size (rlwrap-0.42.tar.gz) = 279608 bytes 6Size (rlwrap-0.43.tar.gz) = 313139 bytes