From 1c8f7b6412cd826682ca01e588df3fdeabce4b36 Mon Sep 17 00:00:00 2001 From: youri Date: Sat, 6 Jun 2015 17:11:43 +0000 Subject: PR/4997 from Leonardo Taccary, thanks! Update misc/rlwrap to rlwrap-0.42. Changes: 0.42 ---- * Added --mirror-arguments (-U) option * On SunOS tcgetattr(slave pty) failed with "Invalid argument" * If the completion list contained two words, one of which a prefix of the other (e.g. "sea" and "seagull") the shorter one would be skipped when displaying a list of completions * reading completion files (with the -f option, or from $RLWRAP_HOME/_completions) could fail with an incorrect ENOENT ("No such file or directory") * rlwrap -z listing wouldn't list filters * When both master and slave pty are unfit for sensing slave commands terminal settings, rlwrap now bails out with an error "cannot determine terminal mode of slave command" 0.41 ---- * Slightly late SIGCHLD could cause an I/O error on master pty * Added -W (-polling) option to poll slave pty for changes in its interrupt character and ISIG flag. * if $TERM is not found in termcap/terminfo database, use vt100 0.40 ---- * configure will now find tgetent() in libtinfo * compiling with gcc -O2 made rlwrap hang after CTRL-D on empty line * HP-UX 11 has weird tgetent() return values, confusing rlwrap * On Solaris, rlwrap would sometimes fail with "TIOCSWINSZ failed on slave pty" * Single quote ' is now word-breaking by default * multi-line edit would mangle upper ASCII and UTF-8 (and still does that to UTF16 :( ) * added --extra-char-after-completion and -multi-line-ext options * rlwrap now recognises the 'rmcup' and 'rmkx' character sequences used by programs that use an alternate screen (like editors and pagers) to return from it. * configure will now correctly determine pty type on SCO OpenServer * rlwrap --no-children would leak file descriptors to /proc//wchan * non-ASCII characters in multi-line input are no longer replaced by spaces after calling an external editor * running rlwrap within emacs would crash (division by zero). rlwrap now bails out whenever terminal width == 0 * added --enable-proc-mountpoint config option to use alternate linux-like proc filesystems (like in FreeBSD) for finding s working dir (-c option) and kernel function in which is sleeping (-N option) * added prototype for copy_without_ignore_markers, fixing a segfault on NetBSD/amd64 * commands final output before dying was lost on FreeBSD * Filters now get complete echo lines even if the echo comes back in chunks --- misc/rlwrap/Makefile | 18 ++++++------------ misc/rlwrap/distinfo | 8 ++++---- misc/rlwrap/options.mk | 3 +-- 3 files changed, 11 insertions(+), 18 deletions(-) (limited to 'misc/rlwrap') diff --git a/misc/rlwrap/Makefile b/misc/rlwrap/Makefile index 347553a61ca..e29e6ec4ea7 100644 --- a/misc/rlwrap/Makefile +++ b/misc/rlwrap/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.11 2014/05/29 23:37:00 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2015/06/06 17:11:43 youri Exp $ # -DISTNAME= rlwrap-0.37 -PKGREVISION= 3 +DISTNAME= rlwrap-0.42 CATEGORIES= misc MASTER_SITES= http://utopia.knoware.nl/~hlub/uck/rlwrap/ @@ -11,17 +10,9 @@ HOMEPAGE= http://utopia.knoware.nl/~hlub/uck/rlwrap/ COMMENT= Provides command line editing and history for other commands LICENSE= gnu-gpl-v2 -BUILDLINK_API_DEPENDS.readline+=readline>=4.2 - GNU_CONFIGURE= yes - -.include "options.mk" - -USE_LANGUAGES= c USE_TOOLS+= gmake perl:run -TEST_TARGET= check - REPLACE_PERL+= filters/censor_passwords REPLACE_PERL+= filters/count_in_prompt REPLACE_PERL+= filters/ftp_filter @@ -37,7 +28,10 @@ REPLACE_PERL+= filters/simple_macro REPLACE_PERL+= filters/template REPLACE_PERL+= filters/unbackspace +TEST_TARGET= check + +.include "options.mk" .include "../../devel/ncurses/buildlink3.mk" +BUILDLINK_API_DEPENDS.readline+=readline>=4.2 .include "../../devel/readline/buildlink3.mk" - .include "../../mk/bsd.pkg.mk" diff --git a/misc/rlwrap/distinfo b/misc/rlwrap/distinfo index c3f748811e9..f70104c7f9c 100644 --- a/misc/rlwrap/distinfo +++ b/misc/rlwrap/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.3 2012/09/30 22:10:42 dholland Exp $ +$NetBSD: distinfo,v 1.4 2015/06/06 17:11:43 youri Exp $ -SHA1 (rlwrap-0.37.tar.gz) = c8fc5e7798a7c618a22583c56fa38d344700cc2f -RMD160 (rlwrap-0.37.tar.gz) = 4e229e8fed579002605919760b313651aa427870 -Size (rlwrap-0.37.tar.gz) = 251438 bytes +SHA1 (rlwrap-0.42.tar.gz) = 8d2ad1be9b6c362439825ae5456a2ba5cdd7eb07 +RMD160 (rlwrap-0.42.tar.gz) = 53cdabd0ad7edcad56ddd2c9101eb811cdde9a70 +Size (rlwrap-0.42.tar.gz) = 279608 bytes diff --git a/misc/rlwrap/options.mk b/misc/rlwrap/options.mk index 79d4346a6ce..7f574425905 100644 --- a/misc/rlwrap/options.mk +++ b/misc/rlwrap/options.mk @@ -1,10 +1,9 @@ -# $NetBSD: options.mk,v 1.1 2008/01/09 13:40:38 heinz Exp $ +# $NetBSD: options.mk,v 1.2 2015/06/06 17:11:43 youri Exp $ # PKG_OPTIONS_VAR= PKG_OPTIONS.rlwrap PKG_SUPPORTED_OPTIONS= debug PKG_SUGGESTED_OPTIONS= # empty -.include "../../mk/bsd.prefs.mk" .include "../../mk/bsd.options.mk" ### -- cgit v1.2.3