pkgsrc-Bugs archive

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

pkg/49947: Update misc/rlwrap to 0.42



>Number:         49947
>Category:       pkg
>Synopsis:       Update misc/rlwrap to 0.42
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 06 15:10:01 +0000 2015
>Originator:     Leonardo Taccari
>Release:        NetBSD 7.99.18
>Organization:
Università Politecnica delle Marche
>Environment:
	
	
System: NetBSD boh 7.99.18 NetBSD 7.99.18 (GENERIC) #25: Sat May 23 07:53:06 CEST 2015 leot@boh:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
	misc/rlwrap in pkgsrc (0.37) is not the latest stable version (0.42).
>How-To-Repeat:
	$ cd pkgsrc/misc/rlwrap
	$ make show-var VARNAME=PKGNAME_NOREV
>Fix:
	Please apply the attached trivial patches. A commit message is also
	attached. While there I have also tryed to simplify the package and do a
	logical (and minor) reorder of various Makefile sections (following the
	pkgsrc/doc/Makefile-example and «The pkgsrc Guide» practices).

	Please note that rlwrap is now available also on a git repository
	( https://github.com/hanslub42/rlwrap ). I avoided to GITHUB-ify the
	package because the release available on github page does *not* contain
	the configure script. In order to avoid auto* in USE_TOOLS we can just
	use the tarball present in MASTER_SITES (that like previous release
	available on pkgsrc contains a configure script).

	Please also note that according to the NEWS file the 0.3[8-9] releases
	have not existed.


--------------------8<----------------8<----------------8<--------------------
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/<command>_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/<command_pid>/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 <command>s working dir (-c option)
   and kernel function in which <command> 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
--------------------8<----------------8<----------------8<--------------------


--------------------8<----------------8<----------------8<--------------------
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/misc/rlwrap/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	29 May 2014 23:37:00 -0000	1.11
+++ Makefile	6 Jun 2015 13:10:07 -0000
@@ -1,8 +1,7 @@
 # $NetBSD: Makefile,v 1.11 2014/05/29 23:37:00 wiz 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 @@
 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/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"
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/misc/rlwrap/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	30 Sep 2012 22:10:42 -0000	1.3
+++ distinfo	6 Jun 2015 13:10:07 -0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2012/09/30 22:10:42 dholland Exp $
+$NetBSD$
 
-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
Index: options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/misc/rlwrap/options.mk,v
retrieving revision 1.1
diff -u -r1.1 options.mk
--- options.mk	9 Jan 2008 13:40:38 -0000	1.1
+++ options.mk	6 Jun 2015 13:10:07 -0000
@@ -4,7 +4,6 @@
 PKG_SUPPORTED_OPTIONS=	debug
 PKG_SUGGESTED_OPTIONS=	# empty
 
-.include "../../mk/bsd.prefs.mk"
 .include "../../mk/bsd.options.mk"
 
 ###

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index