Mon Sep 19 09:04:30 2016 UTC ()
Updated readline to 7.0.

This is a terse description of the new features added to readline-7.0 since
the release of readline-6.3.

New Features in Readline

a.  The history truncation code now uses the same error recovery mechansim as
    the history writing code, and restores the old version of the history file
    on error.  The error recovery mechanism handles symlinked history files.

b.  There is a new bindable variable, `enable-bracketed-paste', which enables
    support for a terminal's bracketed paste mode.

c.  The editing mode indicators can now be strings and are user-settable
    (new `emacs-mode-string', `vi-cmd-mode-string' and `vi-ins-mode-string'
    variables).  Mode strings can contain invisible character sequences.
    Setting mode strings to null strings restores the defaults.

d.  Prompt expansion adds the mode string to the last line of a multi-line
    prompt (one with embedded newlines).

e.  There is a new bindable variable, `colored-completion-prefix', which, if
    set, causes the common prefix of a set of possible completions to be
    displayed in color.

f.  There is a new bindable command `vi-yank-pop', a vi-mode version of emacs-
    mode yank-pop.

g.  The redisplay code underwent several efficiency improvements for multibyte
    locales.

h.  The insert-char function attempts to batch-insert all pending typeahead
    that maps to self-insert, as long as it is coming from the terminal.

i.  rl_callback_sigcleanup: a new application function that can clean up and
    unset any state set by readline's callback mode.  Intended to be used
    after a signal.

j.  If an incremental search string has its last character removed with DEL, the
    resulting empty search string no longer matches the previous line.

k.  If readline reads a history file that begins with `#' (or the value of
    the history comment character) and has enabled history timestamps, the history
    entries are assumed to be delimited by timestamps.  This allows multi-line
    history entries.

l.  Readline now throws an error if it parses a key binding without a terminating
    `:' or whitespace.


(wiz)
diff -r1.62 -r1.63 pkgsrc/devel/readline/Makefile
diff -r1.26 -r1.27 pkgsrc/devel/readline/distinfo
diff -r1.1 -r1.2 pkgsrc/devel/readline/patches/patch-colors.c
diff -r1.1 -r0 pkgsrc/devel/readline/patches/patch-display.c
diff -r1.1 -r0 pkgsrc/devel/readline/patches/patch-patchlevel
diff -r1.1 -r0 pkgsrc/devel/readline/patches/patch-posixjmp.h
diff -r1.1 -r0 pkgsrc/devel/readline/patches/patch-readline.c
diff -r1.1 -r0 pkgsrc/devel/readline/patches/patch-util.c
diff -r1.2 -r1.3 pkgsrc/devel/readline/patches/patch-examples_Makefile.in

cvs diff -r1.62 -r1.63 pkgsrc/devel/readline/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/readline/Makefile 2016/02/25 12:12:49 1.62
+++ pkgsrc/devel/readline/Makefile 2016/09/19 09:04:29 1.63
@@ -1,19 +1,18 @@ @@ -1,19 +1,18 @@
1# $NetBSD: Makefile,v 1.62 2016/02/25 12:12:49 jperkin Exp $ 1# $NetBSD: Makefile,v 1.63 2016/09/19 09:04:29 wiz Exp $
2 2
3READLINE_VERSION= 6.3 3READLINE_VERSION= 7.0
4 4
5DISTNAME= readline-${READLINE_VERSION} 5DISTNAME= readline-${READLINE_VERSION}
6PKGREVISION= 3 
7CATEGORIES= devel 6CATEGORIES= devel
8MASTER_SITES= ${MASTER_SITE_GNU:=readline/} 7MASTER_SITES= ${MASTER_SITE_GNU:=readline/}
9 8
10MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html 10HOMEPAGE= http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
12COMMENT= GNU library that can recall and edit previous input 11COMMENT= GNU library that can recall and edit previous input
13LICENSE= gnu-gpl-v3 12LICENSE= gnu-gpl-v3
14 13
15USE_LIBTOOL= yes 14USE_LIBTOOL= yes
16GNU_CONFIGURE= yes 15GNU_CONFIGURE= yes
17INFO_FILES= yes 16INFO_FILES= yes
18 17
19.include "../../mk/bsd.prefs.mk" 18.include "../../mk/bsd.prefs.mk"

cvs diff -r1.26 -r1.27 pkgsrc/devel/readline/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/readline/distinfo 2015/11/03 03:29:19 1.26
+++ pkgsrc/devel/readline/distinfo 2016/09/19 09:04:29 1.27
@@ -1,16 +1,11 @@ @@ -1,16 +1,11 @@
1$NetBSD: distinfo,v 1.26 2015/11/03 03:29:19 agc Exp $ 1$NetBSD: distinfo,v 1.27 2016/09/19 09:04:29 wiz Exp $
2 2
3SHA1 (readline-6.3.tar.gz) = 017b92dc7fd4e636a2b5c9265a77ccc05798c9e1 3SHA1 (readline-7.0.tar.gz) = d9095fa14a812495052357e1d678b3f2ac635463
4RMD160 (readline-6.3.tar.gz) = 986262d811d9dbe1e38bc9d714853272967dca7e 4RMD160 (readline-7.0.tar.gz) = 745bfdddd989fe46c55eea1b41cae7848c3bf2e0
5SHA512 (readline-6.3.tar.gz) = f70efaf46d570b85c7637172b0ee2eb9a4aa73ba38a62bb45075e665929d9701b96fba0aea6c767fd9a2a0d39dfe8e70ab06da08f8524aee76a7c502f370a401 5SHA512 (readline-7.0.tar.gz) = 18243189d39bf0d4c8a76cddcce75243c1bae8824c686e9b6ba352667607e5b10c5feb79372a1093c1c388d821841670702e940df12eae94bcebdeed90047870
6Size (readline-6.3.tar.gz) = 2468560 bytes 6Size (readline-7.0.tar.gz) = 2910016 bytes
7SHA1 (patch-ae) = 98ef48c55111de4a9cc9b19fb44b7d139f6de40f 7SHA1 (patch-ae) = 98ef48c55111de4a9cc9b19fb44b7d139f6de40f
8SHA1 (patch-ag) = 3114e6959dfff3e2aae74c3df3ba4b0f692b79bb 8SHA1 (patch-ag) = 3114e6959dfff3e2aae74c3df3ba4b0f692b79bb
9SHA1 (patch-ah) = d812ea068415939beb42c72dd9bed8d210db57d1 9SHA1 (patch-ah) = d812ea068415939beb42c72dd9bed8d210db57d1
10SHA1 (patch-colors.c) = 42ffd2766a808a670a445a8ac34740cf4bdf02d5 10SHA1 (patch-colors.c) = beb4cdb33e1b361804a7d8d3b36dbd137e7502fd
11SHA1 (patch-display.c) = 8dc455e5cb3ad4208834518f55f93d1d60f52087 11SHA1 (patch-examples_Makefile.in) = f9fce95533ee578c5323d3dbf5eb95fa344dd4ef
12SHA1 (patch-examples_Makefile.in) = d8268b7de6d548f673b23eb0718394245e56ab1f 
13SHA1 (patch-patchlevel) = 04d5af0e90455d7dcbc1917c07b30656afc725a5 
14SHA1 (patch-posixjmp.h) = e2be68635c49a85d03417904338ce6376d8a9a99 
15SHA1 (patch-readline.c) = ad9aef8a3e9a199d2b9a1a32fc3f715784136c89 
16SHA1 (patch-util.c) = b7c22aa43cbd1d0225099e2ee1d4d1772d402b5f 

cvs diff -r1.1 -r1.2 pkgsrc/devel/readline/patches/Attic/patch-colors.c (expand / switch to unified diff)

--- pkgsrc/devel/readline/patches/Attic/patch-colors.c 2014/07/18 13:02:06 1.1
+++ pkgsrc/devel/readline/patches/Attic/patch-colors.c 2016/09/19 09:04:29 1.2
@@ -1,15 +1,15 @@ @@ -1,15 +1,15 @@
1$NetBSD: patch-colors.c,v 1.1 2014/07/18 13:02:06 ryoon Exp $ 1$NetBSD: patch-colors.c,v 1.2 2016/09/19 09:04:29 wiz Exp $
2 2
3--- colors.c.orig 2013-03-20 15:19:08.000000000 +0000 3--- colors.c.orig 2016-01-25 15:38:00.000000000 +0000
4+++ colors.c 4+++ colors.c
5@@ -187,8 +187,10 @@ _rl_print_color_indicator (char *f) 5@@ -215,8 +215,10 @@ _rl_print_color_indicator (const char *f
6 ? C_ORPHAN : C_LINK); 6 colored_filetype = C_LINK;
7 else if (S_ISFIFO (mode)) 7 else if (S_ISFIFO (mode))
8 colored_filetype = C_FIFO; 8 colored_filetype = C_FIFO;
9+#if defined(S_ISSOCK) 9+#if defined(S_ISSOCK)
10 else if (S_ISSOCK (mode)) 10 else if (S_ISSOCK (mode))
11 colored_filetype = C_SOCK; 11 colored_filetype = C_SOCK;
12+#endif 12+#endif
13 else if (S_ISBLK (mode)) 13 else if (S_ISBLK (mode))
14 colored_filetype = C_BLK; 14 colored_filetype = C_BLK;
15 else if (S_ISCHR (mode)) 15 else if (S_ISCHR (mode))

File Deleted: pkgsrc/devel/readline/patches/Attic/patch-display.c

File Deleted: pkgsrc/devel/readline/patches/Attic/patch-patchlevel

File Deleted: pkgsrc/devel/readline/patches/Attic/patch-posixjmp.h

File Deleted: pkgsrc/devel/readline/patches/Attic/patch-readline.c

File Deleted: pkgsrc/devel/readline/patches/Attic/patch-util.c

cvs diff -r1.2 -r1.3 pkgsrc/devel/readline/patches/patch-examples_Makefile.in (expand / switch to unified diff)

--- pkgsrc/devel/readline/patches/patch-examples_Makefile.in 2014/03/12 10:04:50 1.2
+++ pkgsrc/devel/readline/patches/patch-examples_Makefile.in 2016/09/19 09:04:29 1.3
@@ -1,66 +1,26 @@ @@ -1,66 +1,26 @@
1$NetBSD: patch-examples_Makefile.in,v 1.2 2014/03/12 10:04:50 wiz Exp $ 1$NetBSD: patch-examples_Makefile.in,v 1.3 2016/09/19 09:04:29 wiz Exp $
2 2
3Patch to link correctly against libtool built libs. 3Patch to link correctly against libtool built libs.
4 4
5--- examples/Makefile.in.orig 2013-10-03 16:57:31.000000000 +0000 5--- examples/Makefile.in.orig 2016-04-26 13:50:18.000000000 +0000
6+++ examples/Makefile.in 6+++ examples/Makefile.in
7@@ -58,8 +58,8 @@ LDFLAGS = -g -L.. @LDFLAGS@ 7@@ -46,7 +46,7 @@ OBJEXT = @OBJEXT@
 8 DESTDIR =
8  9
9 PURIFY = @PURIFY@ 10 DEFS = @DEFS@
 11-CC = @CC@
 12+CC = $(LIBTOOL) --mode=link @CC@
 13 CFLAGS = @CFLAGS@
 14 LOCAL_CFLAGS = @LOCAL_CFLAGS@ -DREADLINE_LIBRARY -DRL_LIBRARY_VERSION='"$(RL_LIBRARY_VERSION)"'
 15 CPPFLAGS = @CPPFLAGS@
 16@@ -56,8 +56,8 @@ INCLUDES = -I$(srcdir) -I$(top_srcdir) -
 17 CCFLAGS = $(DEFS) $(LOCAL_CFLAGS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
 18 LDFLAGS = -g -L.. @LDFLAGS@
10  19
11-READLINE_LIB = ../libreadline.a 20-READLINE_LIB = ../libreadline.a
12-HISTORY_LIB = ../libhistory.a 21-HISTORY_LIB = ../libhistory.a
13+READLINE_LIB = ../libreadline.la 22+READLINE_LIB = ../libreadline.la
14+HISTORY_LIB = ../libhistory.la 23+HISTORY_LIB = ../libhistory.la
15  24
16 TERMCAP_LIB = @TERMCAP_LIB@ 25 TERMCAP_LIB = @TERMCAP_LIB@
17  26
18@@ -104,37 +104,37 @@ uninstall: 
19 -rmdir $(DESTDIR)$(installdir) 
20  
21 rl$(EXEEXT): rl.o $(READLINE_LIB) 
22- $(PURIFY) $(CC) $(LDFLAGS) -o $@ rl.o $(READLINE_LIB) $(TERMCAP_LIB) 
23+ $(LIBTOOL) --mode=link $(PURIFY) $(CC) $(LDFLAGS) -o $@ rl.o $(READLINE_LIB) $(TERMCAP_LIB) 
24  
25 rlcat$(EXEEXT): rlcat.o $(READLINE_LIB) 
26- $(PURIFY) $(CC) $(LDFLAGS) -o $@ rlcat.o $(READLINE_LIB) $(TERMCAP_LIB) 
27+ $(LIBTOOL) --mode=link $(PURIFY) $(CC) $(LDFLAGS) -o $@ rlcat.o $(READLINE_LIB) $(TERMCAP_LIB) 
28  
29 rlevent$(EXEEXT): rlevent.o $(READLINE_LIB) 
30- $(PURIFY) $(CC) $(LDFLAGS) -o $@ rlevent.o $(READLINE_LIB) $(TERMCAP_LIB) 
31+ $(LIBTOOL) --mode=link $(PURIFY) $(CC) $(LDFLAGS) -o $@ rlevent.o $(READLINE_LIB) $(TERMCAP_LIB) 
32  
33 fileman$(EXEEXT): fileman.o $(READLINE_LIB) 
34- $(PURIFY) $(CC) $(LDFLAGS) -o $@ fileman.o $(READLINE_LIB) $(TERMCAP_LIB) 
35+ $(LIBTOOL) --mode=link $(PURIFY) $(CC) $(LDFLAGS) -o $@ fileman.o $(READLINE_LIB) $(TERMCAP_LIB) 
36  
37 rltest$(EXEEXT): rltest.o $(READLINE_LIB) 
38- $(PURIFY) $(CC) $(LDFLAGS) -o $@ rltest.o $(READLINE_LIB) $(TERMCAP_LIB) 
39+ $(LIBTOOL) --mode=link $(PURIFY) $(CC) $(LDFLAGS) -o $@ rltest.o $(READLINE_LIB) $(TERMCAP_LIB) 
40  
41 rl-callbacktest$(EXEEXT): rl-callbacktest.o $(READLINE_LIB) 
42- $(PURIFY) $(CC) $(LDFLAGS) -o $@ rl-callbacktest.o $(READLINE_LIB) $(TERMCAP_LIB) 
43+ $(LIBTOOL) --mode=link $(PURIFY) $(CC) $(LDFLAGS) -o $@ rl-callbacktest.o $(READLINE_LIB) $(TERMCAP_LIB) 
44  
45 rlptytest$(EXEEXT): rlptytest.o $(READLINE_LIB) 
46- $(PURIFY) $(CC) $(LDFLAGS) -o $@ rlptytest.o $(READLINE_LIB) $(TERMCAP_LIB) 
47+ $(LIBTOOL) --mode=link $(PURIFY) $(CC) $(LDFLAGS) -o $@ rlptytest.o $(READLINE_LIB) $(TERMCAP_LIB) 
48  
49 rlversion$(EXEEXT): rlversion.o $(READLINE_LIB) 
50- $(CC) $(LDFLAGS) -o $@ rlversion.o $(READLINE_LIB) $(TERMCAP_LIB) 
51+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ rlversion.o $(READLINE_LIB) $(TERMCAP_LIB) 
52  
53 histexamp$(EXEEXT): histexamp.o $(HISTORY_LIB) 
54- $(PURIFY) $(CC) $(LDFLAGS) -o $@ histexamp.o -lhistory $(TERMCAP_LIB) 
55+ $(LIBTOOL) --mode=link $(PURIFY) $(CC) $(LDFLAGS) -o $@ histexamp.o -lhistory $(TERMCAP_LIB) 
56  
57 hist_erasedups$(EXEEXT): hist_erasedups.o $(HISTORY_LIB) 
58- $(PURIFY) $(CC) $(LDFLAGS) -o $@ hist_erasedups.o -lhistory $(TERMCAP_LIB) 
59+ $(LIBTOOL) --mode=link $(PURIFY) $(CC) $(LDFLAGS) -o $@ hist_erasedups.o -lhistory $(TERMCAP_LIB) 
60  
61 hist_purgecmd$(EXEEXT): hist_purgecmd.o $(HISTORY_LIB) 
62- $(PURIFY) $(CC) $(LDFLAGS) -o $@ hist_purgecmd.o -lhistory $(TERMCAP_LIB) 
63+ $(LIBTOOL) --mode=link $(PURIFY) $(CC) $(LDFLAGS) -o $@ hist_purgecmd.o -lhistory $(TERMCAP_LIB) 
64  
65 clean mostlyclean: 
66 $(RM) $(OBJECTS) $(OTHEROBJ)