pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/readline readline: update to 8.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fe4bcc0e88bc
branches:  trunk
changeset: 329736:fe4bcc0e88bc
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Feb 13 22:49:02 2019 +0000

description:
readline: update to 8.0.

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

New Features in Readline

a. Non-incremental vi-mode search (`N', `n') can search for a shell pattern, as
   Posix specifies (uses fnmatch(3) if available).

b. There are new `next-screen-line' and `previous-screen-line' bindable
   commands, which move the cursor to the same column in the next, or previous,
   physical line, respectively.

c. There are default key bindings for control-arrow-key key combinations.

d. A negative argument (-N) to `quoted-insert' means to insert the next N
   characters using quoted-insert.

e. New public function: rl_check_signals(), which allows applications to
   respond to signals that readline catches while waiting for input using
   a custom read function.

f. There is new support for conditionally testing the readline version in an
   inputrc file, with a full set of arithmetic comparison operators available.

g. There is a simple variable comparison facility available for use within an
   inputrc file. Allowable operators are equality and inequality; string
   variables may be compared to a value; boolean variables must be compared to
   either `on' or `off'; variable names are separated from the operator by
   whitespace.

h. The history expansion library now understands command and process
   substitution and extended globbing and allows them to appear anywhere in a
   word.

i. The history library has a new variable that allows applications to set the
   initial quoting state, so quoting state can be inherited from a previous
   line.

j. Readline now allows application-defined keymap names; there is a new public
   function, rl_set_keymap_name(), to do that.

k. The "Insert" keypad key, if available, now puts readline into overwrite
   mode.

diffstat:

 devel/readline/Makefile                           |   4 ++--
 devel/readline/distinfo                           |  15 +++++++--------
 devel/readline/patches/patch-ae                   |  20 ++++++++++----------
 devel/readline/patches/patch-colors.c             |  15 ---------------
 devel/readline/patches/patch-examples_Makefile.in |  10 +++++-----
 5 files changed, 24 insertions(+), 40 deletions(-)

diffs (159 lines):

diff -r 6b2d49c181ee -r fe4bcc0e88bc devel/readline/Makefile
--- a/devel/readline/Makefile   Wed Feb 13 22:26:58 2019 +0000
+++ b/devel/readline/Makefile   Wed Feb 13 22:49:02 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.67 2017/12/24 10:15:21 wiz Exp $
+# $NetBSD: Makefile,v 1.68 2019/02/13 22:49:02 wiz Exp $
 
-READLINE_VERSION=      7.0
+READLINE_VERSION=      8.0
 
 DISTNAME=       readline-${READLINE_VERSION}
 CATEGORIES=    devel
diff -r 6b2d49c181ee -r fe4bcc0e88bc devel/readline/distinfo
--- a/devel/readline/distinfo   Wed Feb 13 22:26:58 2019 +0000
+++ b/devel/readline/distinfo   Wed Feb 13 22:49:02 2019 +0000
@@ -1,11 +1,10 @@
-$NetBSD: distinfo,v 1.28 2016/11/20 01:14:21 dholland Exp $
+$NetBSD: distinfo,v 1.29 2019/02/13 22:49:02 wiz Exp $
 
-SHA1 (readline-7.0.tar.gz) = d9095fa14a812495052357e1d678b3f2ac635463
-RMD160 (readline-7.0.tar.gz) = 745bfdddd989fe46c55eea1b41cae7848c3bf2e0
-SHA512 (readline-7.0.tar.gz) = 18243189d39bf0d4c8a76cddcce75243c1bae8824c686e9b6ba352667607e5b10c5feb79372a1093c1c388d821841670702e940df12eae94bcebdeed90047870
-Size (readline-7.0.tar.gz) = 2910016 bytes
-SHA1 (patch-ae) = d76f0887b2cbb2bb08c5a123397d05e0fbbe2acf
+SHA1 (readline-8.0.tar.gz) = d58041c2143595dc001d2777ae9a200be30198b0
+RMD160 (readline-8.0.tar.gz) = 25b23261140f5a37225470faecf22663f070cde4
+SHA512 (readline-8.0.tar.gz) = 41759d27bc3a258fefd7f4ff3277fa6ab9c21abb7b160e1a75aa8eba547bd90b288514e76264bd94fb0172da8a4faa54aab2c07b68a0356918ecf7f1969e866f
+Size (readline-8.0.tar.gz) = 2975937 bytes
+SHA1 (patch-ae) = 52aa20fd5ba62fa59442da221edb585ccbac4285
 SHA1 (patch-ag) = 3114e6959dfff3e2aae74c3df3ba4b0f692b79bb
 SHA1 (patch-ah) = d812ea068415939beb42c72dd9bed8d210db57d1
-SHA1 (patch-colors.c) = beb4cdb33e1b361804a7d8d3b36dbd137e7502fd
-SHA1 (patch-examples_Makefile.in) = 406e208ca140cab4bd34a1aabe63e2c05dacc924
+SHA1 (patch-examples_Makefile.in) = c785adb3b59b7eabc2785c4951a3acdea3d8cff0
diff -r 6b2d49c181ee -r fe4bcc0e88bc devel/readline/patches/patch-ae
--- a/devel/readline/patches/patch-ae   Wed Feb 13 22:26:58 2019 +0000
+++ b/devel/readline/patches/patch-ae   Wed Feb 13 22:49:02 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ae,v 1.18 2016/11/20 01:14:21 dholland Exp $
+$NetBSD: patch-ae,v 1.19 2019/02/13 22:49:02 wiz Exp $
 
 Libtoolify.
 Pass -no-undefined to libtool for building shared library.
@@ -6,7 +6,7 @@
 Don't ignore failures building the examples.
 Fix race condition so the examples are built *after* the library.
 
---- Makefile.in.orig   2015-08-26 14:15:59.000000000 +0000
+--- Makefile.in.orig   2018-05-24 19:37:27.000000000 +0000
 +++ Makefile.in
 @@ -18,6 +18,9 @@
  RL_LIBRARY_VERSION = @LIBVERSION@
@@ -18,7 +18,7 @@
  PACKAGE = @PACKAGE_NAME@
  VERSION = @PACKAGE_VERSION@
  
-@@ -76,6 +79,7 @@ CTAGS = ctags -tw
+@@ -77,6 +80,7 @@ CTAGS = ctags -tw
  CFLAGS = @CFLAGS@
  LOCAL_CFLAGS = @LOCAL_CFLAGS@ -DRL_LIBRARY_VERSION='"$(RL_LIBRARY_VERSION)"'
  CPPFLAGS = @CPPFLAGS@
@@ -26,7 +26,7 @@
  
  DEFS = @DEFS@ @CROSS_COMPILE@
  LOCAL_DEFS = @LOCAL_DEFS@
-@@ -98,9 +102,15 @@ GCC_LINT_CFLAGS = $(XCCFLAGS) $(GCC_LINT
+@@ -104,9 +108,15 @@ install_examples = @EXAMPLES_INSTALL_TAR
        ${RM} $@
        $(CC) -c $(CCFLAGS) $<
  
@@ -42,7 +42,7 @@
  
  # The C code source files for this library.
  CSOURCES = $(srcdir)/readline.c $(srcdir)/funmap.c $(srcdir)/keymaps.c \
-@@ -157,8 +167,10 @@ TARGETS = @STATIC_TARGET@ @SHARED_TARGET
+@@ -163,8 +173,10 @@ TARGETS = @STATIC_TARGET@ @SHARED_TARGET
  INSTALL_TARGETS = @STATIC_INSTALL_TARGET@ @SHARED_INSTALL_TARGET@
  
  all: $(TARGETS)
@@ -52,9 +52,9 @@
 +everything: all .WAIT examples
 +everything-libtool: all-libtool .WAIT examples
  
- static: $(STATIC_LIBS)
- 
-@@ -167,17 +179,33 @@ libreadline.a: $(OBJECTS)
+ asan:
+       ${MAKE} ${MFLAGS} ASAN_CFLAGS='${ASAN_XCFLAGS}' ASAN_LDFLAGS='${ASAN_XLDFLAGS}' everything
+@@ -176,17 +188,33 @@ libreadline.a: $(OBJECTS)
        $(AR) $(ARFLAGS) $@ $(OBJECTS)
        -test -n "$(RANLIB)" && $(RANLIB) $@
  
@@ -88,7 +88,7 @@
  readline: $(OBJECTS) readline.h rldefs.h chardefs.h ./libreadline.a
        $(CC) $(CCFLAGS) -DREADLINE_LIBRARY -o $@ $(top_srcdir)/examples/rl.c ./libreadline.a ${TERMCAP_LIB}
  
-@@ -214,8 +242,7 @@ documentation: force
+@@ -223,8 +251,7 @@ documentation: force
        -( cd doc && $(MAKE) $(MFLAGS) )
  
  examples: force
@@ -98,7 +98,7 @@
  
  force:
  
-@@ -262,6 +289,12 @@ install-examples: installdirs install-he
+@@ -281,6 +308,12 @@ install-examples: installdirs install-he
  uninstall-examples: maybe-uninstall-headers
        -( cd examples; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} uninstall )
  
diff -r 6b2d49c181ee -r fe4bcc0e88bc devel/readline/patches/patch-colors.c
--- a/devel/readline/patches/patch-colors.c     Wed Feb 13 22:26:58 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-colors.c,v 1.2 2016/09/19 09:04:29 wiz Exp $
-
---- colors.c.orig      2016-01-25 15:38:00.000000000 +0000
-+++ colors.c
-@@ -215,8 +215,10 @@ _rl_print_color_indicator (const char *f
-         colored_filetype = C_LINK;
-       else if (S_ISFIFO (mode))
-         colored_filetype = C_FIFO;
-+#if defined(S_ISSOCK)
-       else if (S_ISSOCK (mode))
-         colored_filetype = C_SOCK;
-+#endif
-       else if (S_ISBLK (mode))
-         colored_filetype = C_BLK;
-       else if (S_ISCHR (mode))
diff -r 6b2d49c181ee -r fe4bcc0e88bc devel/readline/patches/patch-examples_Makefile.in
--- a/devel/readline/patches/patch-examples_Makefile.in Wed Feb 13 22:26:58 2019 +0000
+++ b/devel/readline/patches/patch-examples_Makefile.in Wed Feb 13 22:49:02 2019 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-examples_Makefile.in,v 1.4 2016/11/20 01:14:21 dholland Exp $
+$NetBSD: patch-examples_Makefile.in,v 1.5 2019/02/13 22:49:02 wiz Exp $
 
 Patch to link correctly against libtool built libs.
 
 Note: to make the patch smaller this uses "CC" to link and "REALCC"
 to compile. There's only one compile line and many link lines.
 
---- examples/Makefile.in.orig  2016-04-26 13:50:18.000000000 +0000
+--- examples/Makefile.in.orig  2018-09-18 16:11:14.000000000 +0000
 +++ examples/Makefile.in
 @@ -46,7 +46,8 @@ OBJEXT = @OBJEXT@
  DESTDIR =
@@ -17,9 +17,9 @@
  CFLAGS = @CFLAGS@
  LOCAL_CFLAGS = @LOCAL_CFLAGS@ -DREADLINE_LIBRARY -DRL_LIBRARY_VERSION='"$(RL_LIBRARY_VERSION)"'
  CPPFLAGS = @CPPFLAGS@
-@@ -56,14 +57,14 @@ INCLUDES = -I$(srcdir) -I$(top_srcdir) -
- CCFLAGS  = $(DEFS) $(LOCAL_CFLAGS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
- LDFLAGS = -g -L.. @LDFLAGS@
+@@ -60,14 +61,14 @@ LDFLAGS = -g -L.. @LDFLAGS@ $(ASAN_LDFLA
+ ASAN_XCFLAGS = -fsanitize=address -fno-omit-frame-pointer
+ ASAN_XLDFLAGS = -fsanitize=address
  
 -READLINE_LIB = ../libreadline.a
 -HISTORY_LIB = ../libhistory.a



Home | Main Index | Thread Index | Old Index