commit f37a9dc085e19dfac1892f2a2d268801e40b24d5e021f6b2fba5b42d6915da1c Author: Dr. Werner Fink Date: Fri Mar 16 10:45:52 2018 +0000 Switch back to old package name scheme OBS-URL: https://build.opensuse.org/package/show/Base:System/readline?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..f8b2b08 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,8 @@ +libreadline7 + obsoletes "readline- <= " + provides "readline- = " +readline-devel + requires -readline- + requires "libreadline7- = " + conflicts "readline5-devel-" + conflicts "readline6-devel-" diff --git a/readline-5.2-conf.patch b/readline-5.2-conf.patch new file mode 100644 index 0000000..5524996 --- /dev/null +++ b/readline-5.2-conf.patch @@ -0,0 +1,129 @@ +--- + lib/readline/bind.c | 55 ++++++++++++++++++++++++++++++++++--------- + lib/readline/doc/rluser.texi | 3 +- + lib/readline/rlconf.h | 2 - + 3 files changed, 47 insertions(+), 13 deletions(-) + +--- lib/readline/bind.c ++++ lib/readline/bind.c 2017-04-26 13:07:22.115249970 +0000 +@@ -826,6 +826,9 @@ rl_function_of_keyseq (keyseq, map, type + /* The last key bindings file read. */ + static char *last_readline_init_file = (char *)NULL; + ++/* Flag to read system init file */ ++static int read_system_init_file = 0; ++ + /* The file we're currently reading key bindings from. */ + static const char *current_readline_init_file; + static int current_readline_init_include_level; +@@ -891,11 +894,14 @@ rl_re_read_init_file (count, ignore) + return r; + } + ++/* Forward declarations */ ++static int sv_bell_style PARAMS((const char *)); ++ + /* Do key bindings from a file. If FILENAME is NULL it defaults + to the first non-null filename from this list: + 1. the filename used for the previous call + 2. the value of the shell variable `INPUTRC' +- 3. ~/.inputrc ++ 3. /etc/inputrc and ~/.inputrc + 4. /etc/inputrc + If the file existed and could be opened and read, 0 is returned, + otherwise errno is returned. */ +@@ -905,18 +911,39 @@ rl_read_init_file (filename) + { + /* Default the filename. */ + if (filename == 0) +- filename = last_readline_init_file; +- if (filename == 0) +- filename = sh_get_env_value ("INPUTRC"); +- if (filename == 0 || *filename == 0) ++ { ++ filename = last_readline_init_file; ++ if (filename == 0) ++ { ++ filename = sh_get_env_value ("INPUTRC"); ++ read_system_init_file = 0; ++ } ++ if (filename == 0) ++ { ++ filename = DEFAULT_INPUTRC; ++ read_system_init_file = 1; ++ } ++ } ++ ++ if (*filename == 0) + { + filename = DEFAULT_INPUTRC; +- /* Try to read DEFAULT_INPUTRC; fall back to SYS_INPUTRC on failure */ +- if (_rl_read_init_file (filename, 0) == 0) +- return 0; +- filename = SYS_INPUTRC; ++ read_system_init_file = 1; + } + ++ sv_bell_style(sh_get_env_value("DEFAULT_BELL_STYLE")); ++ ++ if (read_system_init_file) ++ if (filename == last_readline_init_file) ++ { ++ filename = savestring (filename); ++ _rl_read_init_file (SYS_INPUTRC, 0); ++ free (last_readline_init_file); ++ last_readline_init_file = filename; ++ } ++ else ++ _rl_read_init_file (SYS_INPUTRC, 0); ++ + #if defined (__MSDOS__) + if (_rl_read_init_file (filename, 0) == 0) + return 0; +@@ -1467,7 +1494,14 @@ remove_trailing: + rl_macro_bind (seq, &funname[1], _rl_keymap); + } + else +- rl_bind_keyseq (seq, rl_named_function (funname)); ++ { ++#if defined (PREFIX_META_HACK) ++ if (_rl_stricmp (funname, "prefix-meta") == 0) ++ rl_generic_bind (ISKMAP, seq, (char *)emacs_meta_keymap, _rl_keymap); ++ else ++#endif ++ rl_bind_keyseq (seq, rl_named_function (funname)); ++ } + + xfree (seq); + return 0; +@@ -1632,7 +1666,6 @@ typedef int _rl_sv_func_t PARAMS((const + #define V_INT 2 + + /* Forward declarations */ +-static int sv_bell_style PARAMS((const char *)); + static int sv_combegin PARAMS((const char *)); + static int sv_dispprefix PARAMS((const char *)); + static int sv_compquery PARAMS((const char *)); +--- lib/readline/doc/rluser.texi ++++ lib/readline/doc/rluser.texi 2017-04-26 12:57:24.590906421 +0000 +@@ -349,7 +349,8 @@ file is taken from the value of the envi + @end ifclear + that variable is unset, the default is @file{~/.inputrc}. If that + file does not exist or cannot be read, the ultimate default is +-@file{/etc/inputrc}. ++@file{/etc/inputrc}. If both @file{~/.inputrc} and @file{/etc/inputrc} ++exist Readline will read first @file{/etc/inputrc} and then @file{~/.inputrc}. + + When a program which uses the Readline library starts up, the + init file is read, and the key bindings are set. +--- lib/readline/rlconf.h ++++ lib/readline/rlconf.h 2017-04-26 12:57:24.586906499 +0000 +@@ -37,7 +37,7 @@ + #define HANDLE_SIGNALS + + /* Ugly but working hack for binding prefix meta. */ +-#define PREFIX_META_HACK ++#undef PREFIX_META_HACK + + /* The next-to-last-ditch effort file name for a user-specific init file. */ + #define DEFAULT_INPUTRC "~/.inputrc" diff --git a/readline-6.2-endpw.dif b/readline-6.2-endpw.dif new file mode 100644 index 0000000..8edff20 --- /dev/null +++ b/readline-6.2-endpw.dif @@ -0,0 +1,24 @@ +--- + lib/readline/complete.c | 4 ++++ + 1 file changed, 4 insertions(+) + +--- lib/readline/complete.c ++++ lib/readline/complete.c 2011-11-21 12:51:35.695646715 +0000 +@@ -89,6 +89,7 @@ typedef int QSFUNC (); + defined. */ + #if defined (HAVE_GETPWENT) && (!defined (HAVE_GETPW_DECLS) || defined (_POSIX_SOURCE)) + extern struct passwd *getpwent PARAMS((void)); ++extern void endpwent (); + #endif /* HAVE_GETPWENT && (!HAVE_GETPW_DECLS || _POSIX_SOURCE) */ + + /* If non-zero, then this is the address of a function to call when +@@ -2316,6 +2317,9 @@ rl_username_completion_function (text, s + if (first_char == '~') + rl_filename_completion_desired = 1; + ++#if defined (HAVE_GETPWENT) ++ /* endpwent (); */ ++#endif + return (value); + } + #endif /* !__WIN32__ && !__OPENNT */ diff --git a/readline-6.2-metamode.patch b/readline-6.2-metamode.patch new file mode 100644 index 0000000..be6b9ce --- /dev/null +++ b/readline-6.2-metamode.patch @@ -0,0 +1,14 @@ +--- + lib/readline/bind.c | 1 + + 1 file changed, 1 insertion(+) + +--- lib/readline/bind.c ++++ lib/readline/bind.c 2011-03-04 15:00:17.332426313 +0000 +@@ -1613,6 +1613,7 @@ static const struct { + #if defined (VISIBLE_STATS) + { "visible-stats", &rl_visible_stats, 0 }, + #endif /* VISIBLE_STATS */ ++ { "meta-mode", &_rl_enable_meta, 0 }, + { (char *)NULL, (int *)NULL, 0 } + }; + diff --git a/readline-6.2-xmalloc.dif b/readline-6.2-xmalloc.dif new file mode 100644 index 0000000..35a05d5 --- /dev/null +++ b/readline-6.2-xmalloc.dif @@ -0,0 +1,43 @@ +--- + xfree.c | 3 +++ + xmalloc.c | 5 +++++ + xmalloc.h | 8 ++++++++ + 3 files changed, 16 insertions(+) + +--- xfree.c ++++ xfree.c 2012-10-17 12:48:37.862344784 +0000 +@@ -48,3 +48,6 @@ xfree (string) + if (string) + free (string); + } ++ ++#undef xfree ++extern void xfree PARAMS((void *)) __attribute__ ((weak, alias ("_rl_xfree"))); +--- xmalloc.c ++++ xmalloc.c 2012-10-17 12:48:28.430844890 +0000 +@@ -77,3 +77,8 @@ xrealloc (pointer, bytes) + memory_error_and_abort ("xrealloc"); + return (temp); + } ++ ++#undef xmalloc ++#undef xrealloc ++extern PTR_T xmalloc PARAMS((size_t)) __attribute__ ((weak, alias ("_rl_xmalloc"))); ++extern PTR_T xrealloc PARAMS((void *, size_t)) __attribute__ ((weak, alias ("_rl_xrealloc"))); +--- xmalloc.h ++++ xmalloc.h 2012-10-17 12:27:20.325156790 +0000 +@@ -38,6 +38,14 @@ + + #endif /* !PTR_T */ + ++#undef xmalloc ++#undef xrealloc ++#undef xfree ++ ++#define xmalloc _rl_xmalloc ++#define xrealloc _rl_xrealloc ++#define xfree _rl_xfree ++ + extern PTR_T xmalloc PARAMS((size_t)); + extern PTR_T xrealloc PARAMS((void *, size_t)); + extern void xfree PARAMS((void *)); diff --git a/readline-6.3-destdir.patch b/readline-6.3-destdir.patch new file mode 100644 index 0000000..0d921dc --- /dev/null +++ b/readline-6.3-destdir.patch @@ -0,0 +1,200 @@ +--- + shlib/Makefile.in | 9 +++++---- + support/shlib-install | 47 +++++++++++++++++++++++++++-------------------- + 2 files changed, 32 insertions(+), 24 deletions(-) + +--- shlib/Makefile.in ++++ shlib/Makefile.in 2014-04-17 10:51:05.898235056 +0000 +@@ -59,6 +59,7 @@ bindir = @bindir@ + libdir = @libdir@ + datadir = @datadir@ + localedir = @localedir@ ++linkagedir = $(libdir) + + # Support an alternate destination root directory for package building + DESTDIR = +@@ -192,8 +193,8 @@ installdirs: $(topdir)/support/mkdirs + -$(SHELL) $(topdir)/support/mkdirs $(DESTDIR)$(bindir) + + install-supported: installdirs $(SHLIB_STATUS) +- $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -V $(host_vendor) -d $(DESTDIR)$(libdir) -b $(DESTDIR)$(bindir) -i "$(INSTALL_DATA)" $(SHARED_HISTORY) +- $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -V $(host_vendor) -d $(DESTDIR)$(libdir) -b $(DESTDIR)$(bindir) -i "$(INSTALL_DATA)" $(SHARED_READLINE) ++ $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -V $(host_vendor) -dd $(DESTDIR) -d $(libdir) -l $(linkagedir) -b $(bindir) -i "$(INSTALL_DATA)" $(SHARED_HISTORY) ++ $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -V $(host_vendor) -dd $(DESTDIR) -d $(libdir) -l $(linkagedir) -b $(bindir) -i "$(INSTALL_DATA)" $(SHARED_READLINE) + @echo install: you may need to run ldconfig + + install-unsupported: +@@ -202,8 +203,8 @@ install-unsupported: + install: install-$(SHLIB_STATUS) + + uninstall-supported: +- $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -V $(host_vendor) -d $(DESTDIR)$(libdir) -b $(DESTDIR)$(bindir) -U $(SHARED_HISTORY) +- $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -V $(host_vendor) -d $(DESTDIR)$(libdir) -b $(DESTDIR)$(bindir) -U $(SHARED_READLINE) ++ $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -V $(host_vendor) -dd $(DESTDIR) -d $(libdir) -l $(linkagedir) -b $(bindir) -U $(SHARED_HISTORY) ++ $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -V $(host_vendor) -dd $(DESTDIR) -d $(libdir) -l $(linkagedir) -b $(bindir) -U $(SHARED_READLINE) + @echo uninstall: you may need to run ldconfig + + uninstall-unsupported: +--- support/shlib-install ++++ support/shlib-install 2014-04-17 10:54:11.938235782 +0000 +@@ -3,7 +3,7 @@ + # shlib-install - install a shared library and do any necessary host-specific + # post-installation configuration (like ldconfig) + # +-# usage: shlib-install [-D] -O host_os [-V host_vendor] -d installation-dir [-b bin-dir] -i install-prog [-U] library ++# usage: shlib-install [-D] -O host_os [-V host_vendor] -d installation-dir [-l linkage-dir] [-b bin-dir] -i install-prog [-U] library + # + # Chet Ramey + # chet@po.cwru.edu +@@ -12,10 +12,12 @@ + # defaults + # + INSTALLDIR=/usr/local/lib ++LINKAGEDIR= + LDCONFIG=ldconfig ++DESTDIR= + + PROGNAME=`basename $0` +-USAGE="$PROGNAME [-D] -O host_os [-V host_vendor] -d installation-dir [-b bin-dir] -i install-prog [-U] library" ++USAGE="$PROGNAME [-D] -O host_os [-V host_vendor] [-l linkage-dir] -d installation-dir [-b bin-dir] -i install-prog [-U] library" + + # process options + +@@ -24,14 +26,19 @@ while [ $# -gt 0 ]; do + -O) shift; host_os="$1"; shift ;; + -V) shift; host_vendor="$1"; shift ;; + -d) shift; INSTALLDIR="$1"; shift ;; ++ -dd) shift; DESTDIR=$1; shift ;; + -b) shift; BINDIR="$1" ; shift ;; + -i) shift; INSTALLPROG="$1" ; shift ;; ++ -l) shift; LINKAGEDIR="$1" ; shift ;; + -D) echo=echo ; shift ;; + -U) uninstall=true ; shift ;; + -*) echo "$USAGE" >&2 ; exit 2;; + *) break ;; + esac + done ++if [ -z "$LINKAGEDIR" ]; then ++ LINKAGEDIR="$INSTALLDIR" ++fi + + # set install target name + LIBNAME="$1" +@@ -49,18 +56,18 @@ LN="ln -s" + # pre-install + + if [ -z "$uninstall" ]; then +- ${echo} $RM ${INSTALLDIR}/${LIBNAME}.${OLDSUFF} +- if [ -f "$INSTALLDIR/$LIBNAME" ]; then +- ${echo} $MV $INSTALLDIR/$LIBNAME ${INSTALLDIR}/${LIBNAME}.${OLDSUFF} ++ ${echo} $RM ${DESTDIR}${INSTALLDIR}/${LIBNAME}.${OLDSUFF} ++ if [ -f "${DESTDIR}$INSTALLDIR/$LIBNAME" ]; then ++ ${echo} $MV ${DESTDIR}$INSTALLDIR/$LIBNAME ${DESTDIR}${INSTALLDIR}/${LIBNAME}.${OLDSUFF} + fi + fi + + # install/uninstall + + if [ -z "$uninstall" ] ; then +- ${echo} eval ${INSTALLPROG} $LIBNAME ${INSTALLDIR}/${LIBNAME} ++ ${echo} eval ${INSTALLPROG} $LIBNAME ${DESTDIR}${INSTALLDIR}/${LIBNAME} + else +- ${echo} ${RM} ${INSTALLDIR}/${LIBNAME} ++ ${echo} ${RM} ${DESTDIR}${INSTALLDIR}/${LIBNAME} + fi + + # post-install/uninstall +@@ -73,7 +80,7 @@ fi + case "$host_os" in + hpux*|darwin*|macosx*|linux*|solaris2*) + if [ -z "$uninstall" ]; then +- chmod 555 ${INSTALLDIR}/${LIBNAME} ++ chmod 555 ${DESTDIR}${INSTALLDIR}/${LIBNAME} + fi ;; + cygwin*|mingw*) + IMPLIBNAME=`echo ${LIBNAME} \ +@@ -111,8 +118,8 @@ case "$LIBNAME" in + LINK1=`echo $LIBNAME | sed 's:\(.*\)\.[0-9]\.[0-9]:\1:'` # libname.dylib + esac + +-INSTALL_LINK1='${echo} cd $INSTALLDIR && ${echo} ${LN} $LIBNAME $LINK1' +-INSTALL_LINK2='${echo} cd $INSTALLDIR && ${echo} ${LN} $LIBNAME $LINK2' ++INSTALL_LINK1='${echo} cd ${DESTDIR}$INSTALLDIR && ${echo} ${LN} $LIBNAME $LINK1' ++INSTALL_LINK2='${echo} cd ${DESTDIR}$INSTALLDIR && ${echo} ${LN} $LIBNAME $LINK2' + + # + # Create symlinks to the installed library. This section is incomplete. +@@ -120,27 +127,27 @@ INSTALL_LINK2='${echo} cd $INSTALLDIR && + case "$host_os-$host_vendor" in + *linux*|freebsd*-gentoo) + # libname.so.M -> libname.so.M.N +- ${echo} ${RM} ${INSTALLDIR}/$LINK2 ++ ${echo} ${RM} ${DESTDIR}${INSTALLDIR}/$LINK2 + if [ -z "$uninstall" ]; then + eval $INSTALL_LINK2 + fi + + # libname.so -> libname.so.M +- ${echo} ${RM} ${INSTALLDIR}/$LINK1 ++ ${echo} ${RM} ${DESTDIR}${INSTALLDIR}/$LINK1 + if [ -z "$uninstall" ]; then +- ${echo} cd $INSTALLDIR && ${echo} ${LN} $LINK2 $LINK1 ++ ${echo} cd ${DESTDIR}$INSTALLDIR && ${echo} ${LN} $LINK2 $LINK1 + fi + ;; + + bsdi4*|*gnu*|darwin*|macosx*|netbsd*|mirbsd*) + # libname.so.M -> libname.so.M.N +- ${echo} ${RM} ${INSTALLDIR}/$LINK2 ++ ${echo} ${RM} ${DESTDIR}${INSTALLDIR}/$LINK2 + if [ -z "$uninstall" ]; then + eval $INSTALL_LINK2 + fi + + # libname.so -> libname.so.M.N +- ${echo} ${RM} ${INSTALLDIR}/$LINK1 ++ ${echo} ${RM} ${DESTDIR}${INSTALLDIR}/$LINK1 + if [ -z "$uninstall" ]; then + eval $INSTALL_LINK1 + fi +@@ -148,7 +155,7 @@ bsdi4*|*gnu*|darwin*|macosx*|netbsd*|mir + + solaris2*|aix4.[2-9]*|aix[5-9]*|osf*|irix[56]*|sysv[45]*|dgux*|interix*) + # libname.so -> libname.so.M +- ${echo} ${RM} ${INSTALLDIR}/$LINK1 ++ ${echo} ${RM} ${DESTDIR}${INSTALLDIR}/$LINK1 + if [ -z "$uninstall" ]; then + eval $INSTALL_LINK1 + fi +@@ -159,19 +166,19 @@ solaris2*|aix4.[2-9]*|aix[5-9]*|osf*|iri + freebsd3*|freebsdaout*) + if [ -x /usr/bin/objformat ] && [ "`/usr/bin/objformat`" = "elf" ]; then + # libname.so -> libname.so.M +- ${echo} ${RM} ${INSTALLDIR}/$LINK1 ++ ${echo} ${RM} ${DESTDIR}${INSTALLDIR}/$LINK1 + if [ -z "$uninstall" ]; then + eval $INSTALL_LINK1 + fi + else + # libname.so.M -> libname.so.M.N +- ${echo} ${RM} ${INSTALLDIR}/$LINK2 ++ ${echo} ${RM} ${DESTDIR}${INSTALLDIR}/$LINK2 + if [ -z "$uninstall" ]; then + eval $INSTALL_LINK2 + fi + + # libname.so -> libname.so.M.N +- ${echo} ${RM} ${INSTALLDIR}/$LINK1 ++ ${echo} ${RM} ${DESTDIR}${INSTALLDIR}/$LINK1 + if [ -z "$uninstall" ]; then + eval $INSTALL_LINK1 + fi +@@ -188,7 +195,7 @@ freebsd[4-9]*|freebsd1[0-9]*|freebsdelf* + + hpux1*) + # libname.sl -> libname.M +- ${echo} ${RM} ${INSTALLDIR}/$LINK1.sl ++ ${echo} ${RM} ${DESTDIR}${INSTALLDIR}/$LINK1.sl + if [ -z "$uninstall" ]; then + eval $INSTALL_LINK1 + fi diff --git a/readline-6.3-input.dif b/readline-6.3-input.dif new file mode 100644 index 0000000..be20236 --- /dev/null +++ b/readline-6.3-input.dif @@ -0,0 +1,51 @@ +--- + lib/readline/input.c | 7 ++++++- + lib/readline/readline.c | 7 +++++++ + 2 files changed, 13 insertions(+), 1 deletion(-) + +--- lib/readline/input.c ++++ lib/readline/input.c 2003-03-17 19:03:51.000000000 +0000 +@@ -489,6 +489,8 @@ rl_read_key () + return (c); + } + ++extern int _rl_read_zero_char_from_tty; ++ + int + rl_getc (stream) + FILE *stream; +@@ -526,7 +528,10 @@ rl_getc (stream) + /* If zero characters are returned, then the file that we are + reading from is empty! Return EOF in that case. */ + if (result == 0) +- return (EOF); ++ { ++ _rl_read_zero_char_from_tty = 1; ++ return (EOF); ++ } + + #if defined (__BEOS__) + if (errno == EINTR) +--- lib/readline/readline.c ++++ lib/readline/readline.c 2014-04-17 10:24:16.302236347 +0000 +@@ -522,6 +522,9 @@ _rl_internal_char_cleanup () + _rl_erase_entire_line (); + } + ++/* Catch EOF from tty, do not return command line */ ++int _rl_read_zero_char_from_tty = 0; ++ + STATIC_CALLBACK int + #if defined (READLINE_CALLBACKS) + readline_internal_char () +@@ -570,6 +573,10 @@ readline_internal_charloop () + c = rl_read_key (); + RL_UNSETSTATE(RL_STATE_READCMD); + ++ /* Return here if terminal is closed */ ++ if (c == EOF && _rl_read_zero_char_from_tty) ++ return (rl_done = 1); ++ + /* look at input.c:rl_getc() for the circumstances under which this will + be returned; punt immediately on read error without converting it to + a newline; assume that rl_read_key has already called the signal diff --git a/readline-6.3-rltrace.patch b/readline-6.3-rltrace.patch new file mode 100644 index 0000000..4467867 --- /dev/null +++ b/readline-6.3-rltrace.patch @@ -0,0 +1,43 @@ +Even if used only by developers to debug readline library do not open +temporary files from public location without O_EXCL (bcn#868822). + +--- + lib/readline/util.c | 10 ++++++---- + 1 file changed, 6 insertions(+), 4 deletions(-) + +--- lib/readline/util.c ++++ lib/readline/util.c 2014-04-17 10:29:43.157274616 +0000 +@@ -504,10 +504,12 @@ _rl_trace (va_alist) + + if (_rl_tracefp == 0) + _rl_tropen (); ++ if (!_rl_tracefp) ++ goto out; + vfprintf (_rl_tracefp, format, args); + fprintf (_rl_tracefp, "\n"); + fflush (_rl_tracefp); +- ++out: + va_end (args); + } + +@@ -527,7 +529,7 @@ _rl_tropen () + #endif + sprintf (fnbuf, "%s/rltrace.%ld", x, (long)getpid()); + unlink(fnbuf); +- _rl_tracefp = fopen (fnbuf, "w+"); ++ _rl_tracefp = fopen (fnbuf, "w+xe"); + return _rl_tracefp != 0; + } + +@@ -535,8 +537,8 @@ int + _rl_trclose () + { + int r; +- +- r = fclose (_rl_tracefp); ++ if (_rl_tracefp) ++ r = fclose (_rl_tracefp); + _rl_tracefp = 0; + return r; + } diff --git a/readline-7.0-patches.tar.bz2 b/readline-7.0-patches.tar.bz2 new file mode 100644 index 0000000..61bad22 --- /dev/null +++ b/readline-7.0-patches.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:124afcc31358e26635dcbc070a397276ca9754366610219a720ac7372e4504ef +size 2455 diff --git a/readline-7.0.dif b/readline-7.0.dif new file mode 100644 index 0000000..12a2fc3 --- /dev/null +++ b/readline-7.0.dif @@ -0,0 +1,161 @@ +--- + Makefile.in | 4 +--- + complete.c | 6 +++--- + doc/Makefile.in | 2 +- + doc/readline.3 | 11 +++++++++++ + history.h | 1 + + readline.c | 7 +++++-- + readline.h | 3 ++- + support/shobj-conf | 5 +++-- + 8 files changed, 27 insertions(+), 12 deletions(-) + +--- Makefile.in ++++ Makefile.in 2016-09-14 08:59:09.830092311 +0000 +@@ -233,10 +233,8 @@ uninstall-headers: + maybe-uninstall-headers: uninstall-headers + + install-static: installdirs $(STATIC_LIBS) install-headers install-doc install-examples +- -$(MV) $(DESTDIR)$(libdir)/libreadline.a $(DESTDIR)$(libdir)/libreadline.old + $(INSTALL_DATA) libreadline.a $(DESTDIR)$(libdir)/libreadline.a + -test -n "$(RANLIB)" && $(RANLIB) $(DESTDIR)$(libdir)/libreadline.a +- -$(MV) $(DESTDIR)$(libdir)/libhistory.a $(DESTDIR)$(libdir)/libhistory.old + $(INSTALL_DATA) libhistory.a $(DESTDIR)$(libdir)/libhistory.a + -test -n "$(RANLIB)" && $(RANLIB) $(DESTDIR)$(libdir)/libhistory.a + +@@ -266,7 +264,7 @@ install-doc: installdirs + $(INSTALL_DATA) $(OTHER_DOCS) $(DESTDIR)$(docdir) + -( if test -d doc ; then \ + cd doc && \ +- ${MAKE} ${MFLAGS} infodir=$(infodir) DESTDIR=${DESTDIR} install; \ ++ ${MAKE} infodir=$(infodir) DESTDIR=${DESTDIR} install; \ + fi ) + + uninstall-doc: +--- complete.c ++++ complete.c 2016-09-14 08:59:09.830092311 +0000 +@@ -1152,7 +1152,7 @@ _rl_find_completion_word (fp, dp) + /* We didn't find an unclosed quoted substring upon which to do + completion, so use the word break characters to find the + substring on which to complete. */ +- while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY)) ++ while ((rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))) + { + scan = rl_line_buffer[rl_point]; + +@@ -2229,7 +2229,7 @@ rl_completion_matches (text, entry_funct + match_list = (char **)xmalloc ((match_list_size + 1) * sizeof (char *)); + match_list[1] = (char *)NULL; + +- while (string = (*entry_function) (text, matches)) ++ while ((string = (*entry_function) (text, matches))) + { + if (RL_SIG_RECEIVED ()) + { +@@ -2303,7 +2303,7 @@ rl_username_completion_function (text, s + } + + #if defined (HAVE_GETPWENT) +- while (entry = getpwent ()) ++ while ((entry = getpwent ())) + { + /* Null usernames should result in all users as possible completions. */ + if (namelen == 0 || (STREQN (username, entry->pw_name, namelen))) +--- doc/Makefile.in ++++ doc/Makefile.in 2016-09-14 08:59:09.830092311 +0000 +@@ -107,7 +107,7 @@ DIST_DOCS = $(DVIOBJ) $(PSOBJ) $(HTMLOBJ + # $(RM) $@ + # -${TEXI2PDF} $< + +-all: info dvi html ps text pdf ++all: info html + nodvi: info html text + + xdist: $(DIST_DOCS) +--- doc/readline.3 ++++ doc/readline.3 2016-09-14 08:59:09.830092311 +0000 +@@ -119,6 +119,14 @@ environment variable. If that variable + .IR ~/.inputrc . + If that file does not exist or cannot be read, the ultimate default is + .IR /etc/inputrc . ++If both files ++.I ~/.inputrc ++and ++.I /etc/inputrc ++exist readline will read first ++.I /etc/inputrc ++and then ++.IR ~/.inputrc . + When a program which uses the readline library starts up, the + init file is read, and the key bindings and variables are set. + There are only a few basic constructs allowed in the +@@ -1457,6 +1465,9 @@ VI Command Mode functions + .TP + .FN ~/.inputrc + Individual \fBreadline\fP initialization file ++.TP ++.FN /etc/inputrc ++System \fBreadline\fP initialization file + .PD + .SH AUTHORS + Brian Fox, Free Software Foundation +--- history.h ++++ history.h 2016-09-14 08:59:09.830092311 +0000 +@@ -32,6 +32,7 @@ extern "C" { + # include "rlstdc.h" + # include "rltypedefs.h" + #else ++# include + # include + # include + #endif +--- readline.c ++++ readline.c 2016-09-14 08:59:09.830092311 +0000 +@@ -851,8 +851,11 @@ _rl_dispatch_subseq (key, map, got_subse + { + /* Special case rl_do_lowercase_version (). */ + if (func == rl_do_lowercase_version) +- /* Should we do anything special if key == ANYOTHERKEY? */ +- return (_rl_dispatch (_rl_to_lower ((unsigned char)key), map)); ++ { ++ if (key == ANYOTHERKEY) ++ return -1; ++ return (_rl_dispatch (_rl_to_lower ((unsigned char)key), map)); ++ } + + rl_executing_keymap = map; + rl_executing_key = key; +--- readline.h ++++ readline.h 2016-09-14 08:59:09.830092311 +0000 +@@ -32,6 +32,7 @@ extern "C" { + # include "keymaps.h" + # include "tilde.h" + #else ++# include + # include + # include + # include +@@ -467,7 +468,7 @@ extern char *rl_filename_completion_func + + extern int rl_completion_mode PARAMS((rl_command_func_t *)); + +-#if 0 ++#ifdef OLD_READLINE + /* Backwards compatibility (compat.c). These will go away sometime. */ + extern void free_undo_list PARAMS((void)); + extern int maybe_save_line PARAMS((void)); +--- support/shobj-conf ++++ support/shobj-conf 2016-09-14 08:59:09.830092311 +0000 +@@ -126,10 +126,11 @@ sunos5*|solaris2*) + linux*-*|gnu*-*|k*bsd*-gnu-*|freebsd*-gentoo) + SHOBJ_CFLAGS=-fPIC + SHOBJ_LD='${CC}' +- SHOBJ_LDFLAGS='-shared -Wl,-soname,$@' ++ SHOBJ_LDFLAGS='-shared' + +- SHLIB_XLDFLAGS='-Wl,-rpath,$(libdir) -Wl,-soname,`basename $@ $(SHLIB_MINOR)`' ++ SHLIB_XLDFLAGS='-Wl,-rpath-link,$(libdir) -Wl,-soname,`basename $@ $(SHLIB_MINOR)`' + SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)$(SHLIB_MINOR)' ++ echo 'int main () { return 0; }' | gcc -ltinfo -o /dev/null -xc - > /dev/null 2>&1 && SHLIB_LIBS=-ltinfo || SHLIB_LIBS=-lncurses + ;; + + freebsd2*) diff --git a/readline-7.0.tar.gz b/readline-7.0.tar.gz new file mode 100644 index 0000000..e57ce92 --- /dev/null +++ b/readline-7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:750d437185286f40a369e1e4f4764eda932b9459b5ec9a731628393dd3d32334 +size 2910016 diff --git a/readline.changes b/readline.changes new file mode 100644 index 0000000..3a16b29 --- /dev/null +++ b/readline.changes @@ -0,0 +1,2706 @@ +------------------------------------------------------------------- +Fri Mar 16 10:36:35 UTC 2018 - werner@suse.de + +- Rename basic package to readline to have the latest readline + version always within package readline again. + +------------------------------------------------------------------- +Fri Mar 16 06:22:31 UTC 2018 - werner@suse.de + +- Correct documentation path + +------------------------------------------------------------------- +Wed Mar 14 09:42:31 UTC 2018 - werner@suse.de + +- The obsoletes must be <=, as version stayed at 7.0 + +------------------------------------------------------------------- +Mon Mar 12 12:51:48 UTC 2018 - schwab@suse.de + +- Create separate readline7 package + +------------------------------------------------------------------- +Tue Feb 27 14:26:53 UTC 2018 - werner@suse.de + +- Create readline-devel-static package to re-enable static libraries + again (boo#1082913) + +------------------------------------------------------------------- +Thu Feb 22 15:10:29 UTC 2018 - fvogt@suse.com + +- Use %license (boo#1082318) + +------------------------------------------------------------------- +Tue Feb 6 23:25:18 UTC 2018 - avindra@opensuse.org + +- Add patch 19 to bash-4.4-patches.tar.bz2 + * With certain values for PS1, especially those that wrap onto + three or more lines, readline will miscalculate the number of + invisible characters, leading to crashes and core dumps. + +------------------------------------------------------------------- +Tue Jan 30 01:42:43 UTC 2018 - avindra@opensuse.org + +- Add patches 13-18 to bash-4.4-patches.tar.bz2 + * 13: If a here-document contains a command substitution, the + command substitution can get access to the file descriptor used + to write the here-document. + * 14: Under some circumstances, functions that return via the + `return' builtin do not clean up memory they allocated to keep + track of FIFOs. + * 15: Process substitution can leak internal quoting to the + parser in the invoked subshell. + * 16: Bash can perform trap processing while reading command + substitution output instead of waiting until the command + completes. + * 17: There is a memory leak when `read -e' is used to read a + line using readline. + * 18: Under certain circumstances (e.g., reading from /dev/zero), + read(2) will not return -1 even when interrupted by a signal. + The read builtin needs to check for signals in this case. +- partial cleanup with spec-cleaner + +------------------------------------------------------------------- +Wed Jan 24 12:40:17 UTC 2018 - werner@suse.de + +- Modify patch bash-4.3-pathtemp.patch to avoid crash at full + file system (boo#1076909) + +------------------------------------------------------------------- +Fri Dec 8 06:12:43 UTC 2017 - werner@suse.de + +- Enable multibyte characters by default + +------------------------------------------------------------------- +Mon Sep 25 09:13:32 UTC 2017 - werner@suse.de + +- Modify patch bash-4.4.dif to let bashline.h install as well as + this header file is included by general.h due to the same patch + (boo#1060069) + +------------------------------------------------------------------- +Thu May 25 17:33:36 UTC 2017 - bwiedemann@suse.com + +- Make build reproducible in spite of profile based optimizations (boo#1040589) + +------------------------------------------------------------------- +Wed May 24 12:42:20 UTC 2017 - bwiedemann@suse.com + +- Allow to disable do_profiling in builds (related to boo#1040589) + +------------------------------------------------------------------- +Wed Apr 26 16:04:15 UTC 2017 - werner@suse.de + +- Simplify patch readline-5.2-conf.patch + +------------------------------------------------------------------- +Tue Apr 25 09:18:16 UTC 2017 - werner@suse.de + +- Do not throw info and manual pages away + +------------------------------------------------------------------- +Fri Feb 17 14:08:47 UTC 2017 - werner@suse.de + +- Remove bash-4.0-async-bnc523667.dif as this one is fixed (and + was disabled and nobody had reported trouble) + +------------------------------------------------------------------- +Mon Jan 30 16:11:13 UTC 2017 - werner@suse.de + +- Add upstream patch readline70-002 which replace old one + There is a race condition in add_history() that can be triggered by a fatal + signal arriving between the time the history length is updated and the time + the history list update is completed. A later attempt to reference an + invalid history entry can cause a crash. +- Add upstream patch readline70-003 + Readline-7.0 uses pselect(2) to allow readline to handle signals that do not + interrupt read(2), such as SIGALRM, before reading another character. The + signal mask used in the pselect call did not take into account signals the + calling application blocked before calling readline(). + +------------------------------------------------------------------- +Fri Jan 27 17:31:59 UTC 2017 - werner@suse.de + +- Add upstream patch bash44-006 + Out-of-range negative offsets to popd can cause the shell to crash + attempting to free an invalid memory block. +- Remove patch popd-offset-overflow.patch to use bash44-006 +- Add upstream patch bash44-007 + When performing filename completion, bash dequotes the directory + name being completed, which can result in match failures and + potential unwanted expansion. +- Duplicate bash44-007 as readline70-002 as it seems to be missed +- Add upstream patch bash44-008 + Under certain circumstances, bash will evaluate arithmetic + expressions as part of reading an expression token even when + evaluation is suppressed. This happens while evaluating a + conditional expression and skipping over the failed branch of the + expression. +- Add upstream patch bash44-009 + There is a race condition in add_history() that can be triggered + by a fatal signal arriving between the time the history length + is updated and the time the history list update is completed. + A later attempt to reference an invalid history entry can cause + a crash. +- Add upstream patch bash44-010 + Depending on compiler optimizations and behavior, the `read' + builtin may not save partial input when a timeout occurs. +- Add upstream patch bash44-011 + Subshells begun to run command and process substitutions may + attempt to set the terminal's process group to an incorrect + value if they receive a fatal signal. This depends on the + behavior of the process that starts the shell. +- Add upstream patch bash44-012 + When -N is used, the input is not supposed to be split using + $IFS, but leading and trailing IFS whitespace was still removed. + +------------------------------------------------------------------- +Thu Jan 19 12:20:06 UTC 2017 - werner@suse.de + +- Remove -L option on screen call dues API change, now we depend + on environment variables only. + +------------------------------------------------------------------- +Fri Dec 9 12:09:46 UTC 2016 - mliska@suse.cz + +- Enable -fprofile-correction to cover misleading profile created due + to terminating_signal which does not return. + +------------------------------------------------------------------- +Mon Nov 28 11:41:49 UTC 2016 - werner@suse.de + +- Add upstream patch popd-offset-overflow.patch to fix boo#1010845 + CVE-2016-9401: bash: popd controlled free (Segmentation fault) + Remark: this is a simple Segmentation fault, no security risk + +------------------------------------------------------------------- +Thu Nov 17 09:27:21 UTC 2016 - werner@suse.de + +- Add upstream patch bash44-001 + Bash-4.4 changed the way the history list is initially allocated to reduce + the number of reallocations and copies. Users who set HISTSIZE to a very + large number to essentially unlimit the size of the history list will get + memory allocation errors +- Add upstream patch bash44-002 + Bash-4.4 warns when discarding NUL bytes in command substitution output + instead of silently dropping them. This patch changes the warnings from + one per NUL byte encountered to one warning per command substitution. +- Drop no-null-warning.patch as bash44-002 is official replacement +- Add upstream patch bash44-003 + Specially-crafted input, in this case an incomplete pathname expansion + bracket expression containing an invalid collating symbol, can cause the + shell to crash. +- Add upstream patch bash44-004 + There is a race condition that can result in bash referencing freed memory + when freeing data associated with the last process substitution. +- Add upstream patch bash44-005 + Under certain circumstances, a simple command is optimized to eliminate a + fork, resulting in an EXIT trap not being executed. (boo#1008459) +- Add upstream patch readline70-001 + Readline-7.0 changed the way the history list is initially allocated to reduce + the number of reallocations and copies. Users who set the readline + history-size variable to a very large number to essentially unlimit the size + of the history list will get memory allocation errors + +------------------------------------------------------------------- +Mon Oct 24 13:51:10 UTC 2016 - schwab@suse.de + +- no-null-warning.patch: Don't warn about null bytes in command + substitution + +------------------------------------------------------------------- +Tue Oct 4 12:59:48 UTC 2016 - werner@suse.de + +- Avoid confusing library path + +------------------------------------------------------------------- +Fri Sep 16 10:41:30 UTC 2016 - werner@suse.de + +- Update bash 4.4 final + * Latest bug fixes since 4.4 rc2 +- Update readline 7.0 final + * Latest bug fixes since 7.0 rc2 + * New application-callable function: rl_pending_signal(): returns the signal + number of any signal readline has caught but not yet handled. + * New application-settable variable: rl_persistent_signal_handlers: if set + to a non-zero value, readline will enable the readline-6.2 signal handler + behavior in callback mode: handlers are installed when + rl_callback_handler_install is called and removed removed when a complete + line has been read. +- Drop patch bash-4.3-async-bnc971410.dif as this one is part of 4.4 +- Drop patch bash-3.2-longjmp.dif as now long time be fixed +- Drop patch bash-4.3-headers.dif as loadables now simply work +- Drop readline-6.1-wrap.patch as this seems to be fixed +- Disable patch bash-4.0-async-bnc523667.dif for now as it seems to be fixed + in an other way + +------------------------------------------------------------------- +Wed Sep 14 09:00:14 UTC 2016 - werner@suse.de + +- Update bash 4.4 rc2 -- Bugfixes +- Update readline 7.0 rc2 -- Bugfixes + +------------------------------------------------------------------- +Mon Aug 1 13:47:05 UTC 2016 - werner@suse.de + +- Make clear that the files /etc/profile as well as /etc/bash.bashrc + may source other files as well even if the bash does not. + Therefore modify patch bash-4.1-bash.bashrc.dif (bsc#959755) + +------------------------------------------------------------------- +Thu Jul 14 12:43:08 UTC 2016 - werner@suse.de + +- Update bash 4.4 beta 2 + * Value conversions (arithmetic expansions, case modification, etc.) now + happen when assigning elements of an array using compound assignment. + * There is a new option settable in config-top.h that makes multiple + directory arguments to `cd' a fatal error. + * Bash now uses mktemp() when creating internal temporary files; it produces + a warning at build time on many Linux systems. +- Update to readline library 7.0 beta 2 (not enabled as not standalone) + * The default binding for ^W in vi mode now uses word boundaries specified + by Posix (vi-unix-word-rubout is bindable command name). + * rl_clear_visible_line: new application-callable function; clears all + screen lines occupied by the current visible readline line. + * rl_tty_set_echoing: application-callable function that controls whether + or not readline thinks it is echoing terminal output. + * Handle >| and strings of digits preceding and following redirection + specifications as single tokens when tokenizing the line for history + expansion. + * Fixed a bug with displaying completions when the prefix display length + is greater than the length of the completions to be displayed. + * The :p history modifier now applies to the entire line, so any expansion + specifying :p causes the line to be printed instead of expanded. + +------------------------------------------------------------------- +Tue Mar 8 14:49:41 UTC 2016 - werner@suse.de + +- Update bash 4.4 release candidate 1 + * There is now a settable configuration #define that will cause the shell + to exit if the shell is running setuid without the -p option and setuid + to the real uid fails. + * Command and process substitutions now turn off the `-v' option when + executing, as other shells seem to do. + * The default value for the `checkhash' shell option may now be set at + compile time with a #define. + * The `mapfile' builtin now has a -d option to use an arbitrary character + as the record delimiter, and a -t option to strip the delimiter as + supplied with -d. + * The maximum number of nested recursive calls to `eval' is now settable in + config-top.h; the default is no limit. + * The `-p' option to declare and similar builtins will display attributes for + named variables even when those variables have not been assigned values + (which are technically unset). + * The maximum number of nested recursive calls to `source' is now settable + in config-top.h; the default is no limit. + * All builtin commands recognize the `--help' option and print a usage + summary. + * Bash does not allow function names containing `/' and `=' to be exported. + * The `ulimit' builtin has new -k (kqueues) and -P (pseudoterminals) options. + * The shell now allows `time ; othercommand' to time null commands. + * There is a new `--enable-function-import' configuration option to allow + importing shell functions from the environment; import is enabled by + default. + * `printf -v var ""' will now set `var' to the empty string, as if `var=""' + had been executed. + * GLOBIGNORE, the pattern substitution word expansion, and programmable + completion match filtering now honor the value of the `nocasematch' option. + * There is a new ${parameter@spec} family of operators to transform the + value of `parameter'. + * Bash no longer attempts to perform compound assignment if a variable on the + rhs of an assignment statement argument to `declare' has the form of a + compound assignment (e.g., w='(word)' ; declare foo=$w); compound + assignments are accepted if the variable was already declared as an array, + but with a warning. + * The declare builtin no longer displays array variables using the compound + assignment syntax with quotes; that will generate warnings when re-used as + input, and isn't necessary. + * Executing the rhs of && and || will no longer cause the shell to fork if + it's not necessary. + * The `local' builtin takes a new argument: `-', which will cause it to save + and the single-letter shell options and restore their previous values at + function return. + * `complete' and `compgen' have a new `-o nosort' option, which forces + readline to not sort the completion matches. + * Bash now allows waiting for the most recent process substitution, since it + appears as $!. + * The `unset' builtin now unsets a scalar variable if it is subscripted with + a `0', analogous to the ${var[0]} expansion. + * `set -i' is no longer valid, as in other shells. + * BASH_SUBSHELL is now updated for process substitution and group commands + in pipelines, and is available with the same value when running any exit + trap. + * Bash now checks $INSIDE_EMACS as well as $EMACS when deciding whether or + not bash is being run in a GNU Emacs shell window. + * Bash now treats SIGINT received when running a non-builtin command in a + loop the way it has traditionally treated running a builtin command: + running any trap handler and breaking out of the loop. + * New variable: EXECIGNORE; a colon-separate list of patterns that will + cause matching filenames to be ignored when searching for commands. + * Aliases whose value ends in a shell metacharacter now expand in a way to + allow them to be `pasted' to the next token, which can potentially change + the meaning of a command (e.g., turning `&' into `&&'). + * `make install' now installs the example loadable builtins and a set of + bash headers to use when developing new loadable builtins. + * `enable -f' now attempts to call functions named BUILTIN_builtin_load when + loading BUILTIN, and BUILTIN_builtin_unload when deleting it. This allows + loadable builtins to run initialization and cleanup code. + * There is a new BASH_LOADABLES_PATH variable containing a list of directories + where the `enable -f' command looks for shared objects containing loadable + builtins. + * The `complete_fullquote' option to `shopt' changes filename completion to + quote all shell metacharacters in filenames and directory names. + * The `kill' builtin now has a `-L' option, equivalent to `-l', for + compatibility with Linux standalone versions of kill. + * BASH_COMPAT and FUNCNEST can be inherited and set from the shell's initial + environment. + * inherit_errexit: a new `shopt' option that, when set, causes command + substitutions to inherit the -e option. By default, those subshells disable + -e. It's enabled as part of turning on posix mode. + * New prompt string: PS0. Expanded and displayed by interactive shells after + reading a complete command but before executing it. + * Interactive shells now behave as if SIGTSTP/SIGTTIN/SIGTTOU are set to SIG_DFL + when the shell is started, so they are set to SIG_DFL in child processes. + * Posix-mode shells now allow double quotes to quote the history expansion + character. + * OLDPWD can be inherited from the environment if it names a directory. + * Shells running as root no longer inherit PS4 from the environment, closing a + security hole involving PS4 expansion performing command substitution. + * If executing an implicit `cd' when the `autocd' option is set, bash will now + invoke a function named `cd' if one exists before executing the `cd' builtin. +- Update to readline library 7.0 release candidate 1 + * 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. + * There is a new bindable variable, `enable-bracketed-paste', which enables + support for a terminal's bracketed paste mode. + * 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. + * Prompt expansion adds the mode string to the last line of a multi-line + prompt (one with embedded newlines). + * 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. + * There is a new bindable command `vi-yank-pop', a vi-mode version of emacs- + mode yank-pop. + * The redisplay code underwent several efficiency improvements for multibyte + locales. + * 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. + * 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. + * If an incremental search string has its last character removed with DEL, the + resulting empty search string no longer matches the previous line. + * 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. + * Readline now throws an error if it parses a key binding without a terminating + `:' or whitespace. +- Remove patches which are upstream solved + bash-3.2-longjmp.dif + bash-4.3-headers.dif + readline-6.1-wrap.patch +- Rename patches + bash-4.3.dif become bash-4.4.dif + readline-6.3.dif become readline-7.0.dif +- Refresh other patches as well + +------------------------------------------------------------------- +Mon Oct 19 13:38:58 UTC 2015 - werner@suse.de + +- Define the USE_MKTEMP and USE_MKSTEMP cpp macros as the + implementation is already there. +- Add patch bash-4.3-pathtemp.patch to allow root to clear the + file systems. Otherwise the completion does not work if /tmp + if full (ENOSPC for here documents) + +------------------------------------------------------------------- +Fri Oct 16 13:02:27 UTC 2015 - werner@suse.de + +- Remove --hash-size options as there is no any change in the final + binary nor library anymore + +------------------------------------------------------------------- +Mon Aug 31 11:23:11 UTC 2015 - werner@suse.de + +- Add upstream patch bash43-039 + Using the output of `declare -p' when run in a function can result in variables + that are invisible to `declare -p'. This problem occurs when an assignment + builtin such as `declare' receives a quoted compound array assignment as one of + its arguments. +- Add upstream patch bash43-040 + There is a memory leak that occurs when bash expands an array reference on + the rhs of an assignment statement. +- Add upstream patch bash43-041 + There are several out-of-bounds read errors that occur when completing command + lines where assignment statements appear before the command name. The first + two appear only when programmable completion is enabled; the last one only + happens when listing possible completions. +- Add upstream patch bash43-042 + There is a problem when parsing command substitutions containing `case' + commands within pipelines that causes the parser to not correctly identify + the end of the command substitution. + +------------------------------------------------------------------- +Wed Jul 1 08:31:09 UTC 2015 - coolo@suse.com + +- add bash-4.3-perl522.patch to fix texi2html for perl 5.22 + (defined(@array) has been deprecated since at least 2012) + +------------------------------------------------------------------- +Thu May 28 08:50:30 UTC 2015 - werner@suse.de + +- Add upstream patch bash43-034 + If neither the -f nor -v options is supplied to unset, and a name argument is + found to be a function and unset, subsequent name arguments are not treated as + variables before attempting to unset a function by that name. +- Add upstream patch bash43-035 + A locale with a long name can trigger a buffer overflow and core dump. This + applies on systems that do not have locale_charset in libc, are not using + GNU libiconv, and are not using the libintl that ships with bash in lib/intl. +- Add upstream patch bash43-036 + When evaluating and setting integer variables, and the assignment fails to + create a variable (for example, when performing an operation on an array + variable with an invalid subscript), bash attempts to dereference a null + pointer, causing a segmentation violation. +- Add upstream patch bash43-037 + If an associative array uses `@' or `*' as a subscript, `declare -p' produces + output that cannot be reused as input. +- Add upstream patch bash43-038 + There are a number of instances where `time' is not recognized as a reserved + word when the shell grammar says it should be. + +------------------------------------------------------------------- +Mon May 18 06:10:49 UTC 2015 - meissner@suse.com + +- move info deletion to %preun sections + +------------------------------------------------------------------- +Wed Mar 4 22:52:17 CET 2015 - jdelvare@suse.de + +- bash-4.3-loadables.dif: One more warning fixed, in + examples/loadables/logname.c. +- bash-4.3-loadables.dif: Reverted one warning fix, which was + introducing another warning and possibly a bug. + +------------------------------------------------------------------- +Wed Mar 4 11:30:12 CET 2015 - jdelvare@suse.de + +- bash-4.3-loadables.dif: Split changes to shell.h to a separate + patch "bash-4.3-include-unistd.dif", as the loadables build just + fine without these changes. +- bash-4.3-loadables.dif: Drop all header file inclusion fixups, + upstream fixed the problem differently 5 years ago. + +------------------------------------------------------------------- +Wed Feb 18 15:14:47 UTC 2015 - werner@suse.de + +- Do not restart all signal handlers for bash 4.3 as this breaks + trap handler in subshells waotiug for a process + +------------------------------------------------------------------- +Fri Jan 16 16:53:44 UTC 2015 - werner@suse.de + +- Remove -DMUST_UNBLOCK_CHLD(=1) as this breaks waitchild(2) on linux + +------------------------------------------------------------------- +Fri Jan 9 13:11:03 UTC 2015 - werner@suse.de + +- Add upstream patch bash43-031 + The new nameref assignment functionality introduced in bash-4.3 did not perform + enough validation on the variable value and would create variables with + invalid names. +- Add upstream patch bash43-032 + When bash is running in Posix mode, it allows signals -- including SIGCHLD -- + to interrupt the `wait' builtin, as Posix requires. However, the interrupt + causes bash to not run a SIGCHLD trap for all exited children. This patch + fixes the issue and restores the documented behavior in Posix mode. +- Add upstream patch bash43-033 + Bash does not clean up the terminal state in all cases where bash or + readline modifies it and bash is subsequently terminated by a fatal signal. + This happens when the `read' builtin modifies the terminal settings, both + when readline is active and when it is not. It occurs most often when a script + installs a trap that exits on a signal without re-sending the signal to itself. + +------------------------------------------------------------------- +Wed Dec 3 15:05:14 CET 2014 - jdelvare@suse.de + +- Fix the sed command that fixes up the patch headers. It was + printing a duplicate header line, which suprisingly did not + confuse patch, but could in the future. +- Fix all patches that had the duplicate header line issue. + +------------------------------------------------------------------- +Tue Nov 4 12:27:30 UTC 2014 - werner@suse.de + +- Use tail command to follow run-tests instead of a simpe cat command + +------------------------------------------------------------------- +Fri Oct 24 12:53:04 UTC 2014 - werner@suse.de + +- Really remove obsolete patches + +------------------------------------------------------------------- +Fri Oct 24 04:16:32 UTC 2014 - brian@aljex.com + +- Skip autoconf on OS 10.2 or older + +------------------------------------------------------------------- +Wed Oct 22 13:44:23 UTC 2014 - werner@suse.de + +- Avoid fdupes on SLES-10 + +------------------------------------------------------------------- +Wed Oct 22 12:53:11 UTC 2014 - werner@suse.de + +- Bump bash version to 4.3 + +------------------------------------------------------------------- +Tue Oct 21 21:18:20 UTC 2014 - brian@aljex.com + +- Allow building on targets from SL 10.1 to current since it's free + +------------------------------------------------------------------- +Mon Oct 6 08:38:54 UTC 2014 - werner@suse.de + +- Add upstream patches + bash43-030 which fixes CVE-2014-6278 + bash43-029 which fixes CVE-2014-6277 + bash43-028 which fixes CVE-2014-7186/CVE-2014-7187 + +------------------------------------------------------------------- +Tue Sep 30 11:45:52 UTC 2014 - werner@suse.de + +- Add patch bash-4.2-extra-import-func.patch which is based on the + BSD patch of Christos. As further enhancements the option + import-functions is mentioned in the manual page and a shopt + switch is added to enable and disable import-functions on the fly +- Rename bash-4.2-extra-import-func.patch to bash-4.3-extra-import-func.patch + +------------------------------------------------------------------- +Mon Sep 29 12:19:29 UTC 2014 - werner@suse.de + +- Add upstream patches + bash43-027 which fixed bsc#898604 + bash43-026 which fixes CVE-2014-7169 and bsc#898346 + bash43-025 which replaces bash-4.3-CVE-2014-6271.patch and + fixes bnc#896776 +- Remove patch bash-4.3-CVE-2014-6271.patch due patch bash43-027 +- Add patch bash-4.2-CVE-2014-7187.patch for bsc#898603, CVE-2014-7186, + CVE-2014-7187: bad handling of HERE documents and for loop issue + +------------------------------------------------------------------- +Fri Sep 26 08:07:16 UTC 2014 - werner@suse.de + +- Use a version linker script for libreadline 6.3 as there are new + symbols in this 6.3 version like the rl_executing_keyseq and those + are used by the new bash 4.3 + +------------------------------------------------------------------- +Thu Sep 18 12:10:17 UTC 2014 - werner@suse.de + +- Add bash-4.3-CVE-2014-6271.patch + to fix CVE-2014-6271, the unexpected code execution with + environment variables (bnc#896776) + +------------------------------------------------------------------- +Tue Aug 19 13:49:46 UTC 2014 - werner@suse.de + +- Update to bash 4.3 with patch level 24 + * The -t timeout option to `read' does not work when the -e option is used + * When PS2 contains a command substitution, here-documents entered in an + interactive shell can sometimes cause a segmentation fault. + * When the readline `revert-all-at-newline' option is set, pressing newline + when the current line is one retrieved from history results in a double free + and a segmentation fault. + * Using nested pipelines within loops with the `lastpipe' option set can result + in a segmentation fault. + * Bash does not correctly parse process substitution constructs that contain + unbalanced parentheses as part of the contained command. + * Indirect variable references do not work correctly if the reference + variable expands to an array reference using a subscript other than 0 + +------------------------------------------------------------------- +Sun Jun 29 13:24:47 UTC 2014 - schwab@linux-m68k.org + +- Don't use outdated C standard + +------------------------------------------------------------------- +Tue May 20 16:35:55 UTC 2014 - werner@suse.de + +- Update to bash 4.3 with patch level 18 + *When a SIGCHLD trap runs a command containing a shell builtin while + a script is running `wait' to wait for all running children to complete, + the SIGCHLD trap will not be run once for each child that terminates. + * Using reverse-i-search when horizontal scrolling is enabled doe + not redisplay the entire line containing the successful search results. + * Under certain circumstances, $@ is expanded incorrectly in contexts where + word splitting is not performed. + * When completing directory names, the directory name is dequoted twice. + This causes problems for directories with single and double quotes in + their names. + * An extended glob pattern containing a slash (`/') causes the globbing code + to misinterpret it as a directory separator. + * The code that creates local variables should not clear the `invisible' + attribute when returning an existing local variable. Let the code that + actually assigns a value clear it. + * When assigning an array variable using the compound assignment syntax, + but using `declare' with the rhs of the compound assignment quoted, the + shell did not mark the variable as visible after successfully performing + the assignment. +- Update to readline library 6.3 with patch level 6 + * Using reverse-i-search when horizontal scrolling is enabled does + not redisplay the entire line containing the successful search results. +- Remove readline-horizontal-redisplay.patch as now upstream +- Rename readline-6.2.dif to readline-6.3.dif and bash-4.2.dif to bash-4.3.dif + +------------------------------------------------------------------- +Wed Apr 30 11:51:24 UTC 2014 - werner@suse.de + +- Add readline-horizontal-redisplay.patch from upstream as a temporary + fix for failing incremental search in horizontal-scroll-mode + +------------------------------------------------------------------- +Thu Apr 17 12:56:56 UTC 2014 - werner@suse.de + +- Make patch command work on older products + +------------------------------------------------------------------- +Thu Apr 17 11:09:35 UTC 2014 - werner@suse.de + +- Update to bash 4.3 with patch level 11 + * The `helptopic' completion action now maps to all the help topics, not just + the shell builtins. + * The `help' builtin no longer does prefix substring matching first, so + `help read' does not match `readonly', but will do it if exact string + matching fails. + * The shell can be compiled to not display a message about processes that + terminate due to SIGTERM. + * Non-interactive shells now react to the setting of checkwinsize and set + LINES and COLUMNS after a foreground job exits. + * There is a new shell option, `globasciiranges', which, when set to on, + forces globbing range comparisons to use character ordering as if they + were run in the C locale. + * There is a new shell option, `direxpand', which makes filename completion + expand variables in directory names in the way bash-4.1 did. + * In Posix mode, the `command' builtin does not change whether or not a + builtin it shadows is treated as an assignment builtin. + * The `return' and `exit' builtins accept negative exit status arguments. + * The word completion code checks whether or not a filename containing a + shell variable expands to a directory name and appends `/' to the word + as appropriate. The same code expands shell variables in command names + when performing command completion. + * In Posix mode, it is now an error to attempt to define a shell function + with the same name as a Posix special builtin. + * When compiled for strict Posix conformance, history expansion is disabled + by default. + * The history expansion character (!) does not cause history expansion when + followed by the closing quote in a double-quoted string. + * `complete' and its siblings compgen/compopt now takes a new `-o noquote' + option to inhibit quoting of the completions. + * Setting HISTSIZE to a value less than zero causes the history list to be + unlimited (setting it 0 zero disables the history list). + * Setting HISTFILESIZE to a value less than zero causes the history file size + to be unlimited (setting it to 0 causes the history file to be truncated + to zero size). + * The `read' builtin now skips NUL bytes in the input. + * There is a new `bind -X' option to print all key sequences bound to Unix + commands. + * When in Posix mode, `read' is interruptible by a trapped signal. After + running the trap handler, read returns 128+signal and throws away any + partially-read input. + * The command completion code skips whitespace and assignment statements + before looking for the command name word to be completed. + * The build process has a new mechanism for constructing separate help files + that better reflects the current set of compilation options. + * The -nt and -ot options to test now work with files with nanosecond + timestamp resolution. + * The shell saves the command history in any shell for which history is + enabled and HISTFILE is set, not just interactive shells. + * The shell has `nameref' variables and new -n(/+n) options to declare and + unset to use them, and a `test -R' option to test for them. + * The shell now allows assigning, referencing, and unsetting elements of + indexed arrays using negative subscripts (a[-1]=2, echo ${a[-1]}) which + count back from the last element of the array. + * The {x}) + +------------------------------------------------------------------- +Mon Jul 8 11:27:51 UTC 2013 - werner@suse.de + +- Add bash-4.2-strcpy.patch from upstream mailing list to patch + collection tar ball to avoid when using \w in the prompt and + changing the directory outside of HOME the a strcpy work on + overlapping memory areas. + +------------------------------------------------------------------- +Tue Jun 4 18:36:43 UTC 2013 - coolo@suse.com + +- add a conflict between readline5 and readline6-32bit + +------------------------------------------------------------------- +Tue May 28 15:17:36 UTC 2013 - werner@suse.de + +- Do not restart the sighandler after a trap is reset (bnc#820149) + +------------------------------------------------------------------- +Thu Mar 21 11:51:54 UTC 2013 - werner@suse.de + +- Add patch from upstream mailing list to speed up array handling +- Add patch from upstream mailing list to avoid fdleaks +- Use lsdiff to determine the depth of the leading slashes in a + patch file + +------------------------------------------------------------------- +Fri Mar 15 15:35:51 UTC 2013 - werner@suse.de + +- Disable workaround for bnc#382214 due bnc#806628, let's see when + the old bug will be up again. +- Update bash 4.2 to patch level 45 + * When SIGCHLD is trapped, and a SIGCHLD trap handler runs when + a pending `read -t' invocation times out and generates SIGALRM, + bash can crash with a segmentation fault. + * When converting a multibyte string to a wide character string + as part of pattern matching, bash does not handle the end of + the string correctly, causing the search for the NUL to go + beyond the end of the string and reference random memory. + Depending on the contents of that memory, bash can produce + errors or crash. + * The <&n- and >&n- redirections, which move one file descriptor + to another, leave the file descriptor closed when applied to + builtins or compound commands. +- Use screen to provide a controlling terminal for running the + test suite + +------------------------------------------------------------------- +Tue Feb 12 07:58:08 UTC 2013 - schwab@suse.de + +- config-guess-sub-update.patch: + Update config.guess/sub for aarch64 +- Fix check for negated warning switch + +------------------------------------------------------------------- +Wed Jan 9 08:55:09 UTC 2013 - werner@suse.de + +- Avoid autoconf on older products +- Apply audit patch variant to readline as well as we use a shared + libreadline +- Avoid bash-devel on older products as older GNU make do not have + a realpath builtin + +------------------------------------------------------------------- +Tue Jan 8 17:43:01 UTC 2013 - werner@suse.de + +- Do not trigger the export of COLUMNS or LINES due enforced + checkwinsize (bnc#793536) + +------------------------------------------------------------------- +Tue Jan 8 14:57:17 UTC 2013 - werner@suse.de + +- Update bash 4.2 to patch level 42 + * Missing I/O errors if output redirection applied to builtin + commands when the file descriptor was closed + * Process substitution incorrectly inherited a flag that + inhibited using the temporary environment for variable lookups + if it was providing the filename to a redirection. + * Compilation failed after specifying the `minimal config' option + +------------------------------------------------------------------- +Mon Nov 5 12:41:57 UTC 2012 - werner@suse.de + +- Update bash 4.2 to patch level 39 + * Official fix for the last crash fix + * Avoid variable expansion in arithmetic expressions when + evaluation is being suppressed + +------------------------------------------------------------------- +Wed Oct 17 13:10:22 UTC 2012 - werner@suse.de + +- Do not mix xmalloc/xfree of libreadline and bash by making the + libreadline version weak symbols instead of private symbols + +------------------------------------------------------------------- +Fri Aug 24 14:31:35 UTC 2012 - werner@suse.de + +- Add patch from upstream mailing list to avoids crash + +------------------------------------------------------------------- +Fri Jul 20 10:16:20 UTC 2012 - werner@suse.de + +- Update bash 4.2 to patch level 37 + * Attempting to redo (using `.') the vi editing mode `cc', `dd', + or `yy' commands leads to an infinite loop. + +------------------------------------------------------------------- +Thu Jul 19 12:04:50 UTC 2012 - werner@suse.de + +- Do not mask internal _rl symbols as internal as there are many + tools out there which uses them (gdb as an example) + +------------------------------------------------------------------- +Wed Jul 18 11:17:00 UTC 2012 - werner@suse.de + +- libreadlib: try to avoid to bind references of the symbols + rl_instream and rl_outstream +- libreadlib: make private symbols really private + +------------------------------------------------------------------- +Wed Jul 18 09:20:55 UTC 2012 - werner@suse.de + +- Increase buffer for libreadline messsages if required +- Include stdio.h in libreadline header files to get the declaration + of FILES correct. + +------------------------------------------------------------------- +Mon Jul 9 10:54:51 UTC 2012 - werner@suse.de + +- Update bash 4.2 to patch level 36 + * Patch 25: When used in a shell function, + `declare -g -a array=(compound assignment)' creates a local + variable instead of a global one. + * Patch 26: The `lastpipe' option does not behave correctly on + machines where the open file limit is less than 256. + * Patch 27: When the `extglob' shell option is enabled, pattern + substitution does not work correctly in the presence of + multibyte characters. + * Patch 28: When using a word expansion for which the right hand + side is evaluated, certain expansions of quoted null strings + include spurious ^? characters. + * Patch 29: Bash-4.2 tries to leave completed directory names as + the user typed them, without expanding them to a full pathname. + One effect of this is that shell variables used in pathnames + being completed (e.g., $HOME) are left unchanged, but the `$' + is quoted by readline because it is a special character to the shell. + * Patch 30: When attempting to glob strings in a multibyte locale, + and those strings contain invalid multibyte characters that cause + mbsnrtowcs to return 0, the globbing code loops infinitely. + * Patch 31: A change between bash-4.1 and bash-4.2 to prevent the + readline input hook from being called too frequently had the side + effect of causing delays when reading pasted input on systems such + as Mac OS X. This patch fixes those delays while retaining the + bash-4.2 behavior. + * Patch 32: Bash-4.2 has problems with DEL characters in the + expanded value of variables used in the same quoted string as + variables that expand to nothing. + * Patch 33: Bash uses a static buffer when expanding the /dev/fd + prefix for the test and conditional commands, among other uses, + when it should use a dynamic buffer to avoid buffer overflow. + * Patch 34: In bash-4.2, the history code would inappropriately add + a semicolon to multi-line compound array assignments when adding + them to the history. + * Patch 35: When given a number of lines to read, `mapfile -n lines' + reads one too many. + * Patch 36: Bash-4.2 produces incorrect word splitting results when + expanding double-quoted $@ in the same string as and adjacent to + other variable expansions. The $@ should be split, the other + expansions should not. +- Add patch to avoid double free or corruption due expanding number + sequence with huge numbers. Patch will go upstream (bnc#763591) + +------------------------------------------------------------------- +Tue Jun 26 12:49:53 UTC 2012 - cfarrell@suse.com + +- license update: GPL-3.0+ + Upstream declares the bash license to be GPL-3.0+ - not GPL-2.0+ + +------------------------------------------------------------------- +Mon Jun 11 11:51:12 UTC 2012 - werner@suse.de + +- Enable auditing patch by simply applying it + +------------------------------------------------------------------- +Wed May 23 23:37:53 UTC 2012 - meissner@suse.com + +- added auditing patch from + http://git.savannah.gnu.org/cgit/bash.git/plain/CWRU/audit-patch + +------------------------------------------------------------------- +Thu Apr 5 11:48:02 UTC 2012 - werner@suse.de + +- Remove not required patch (was a fix for bnc#141394) which now + cause a wrong behaviour if applied (bnc#755453) + +------------------------------------------------------------------- +Tue Mar 13 09:34:58 UTC 2012 - werner@suse.de + +- Update bash 4.2 to patch level 24 + +------------------------------------------------------------------- +Fri Mar 9 17:44:52 UTC 2012 - werner@suse.de + +- Avoid endless loop in user completion caused by endpw patches + +------------------------------------------------------------------- +Tue Mar 6 12:15:18 UTC 2012 - werner@suse.de + +- Add small patch for be able to use nanoseconds in comparision + of time stamps of files (bnc#750640) + +------------------------------------------------------------------- +Tue Mar 6 09:33:30 UTC 2012 - werner@suse.de + +- Reenable patch for bnc#725657 with latest change from latest + git repository of the patch. + +------------------------------------------------------------------- +Tue Dec 20 20:01:48 UTC 2011 - coolo@suse.com + +- add autoconf as buildrequire to avoid implicit dependency + +------------------------------------------------------------------- +Mon Dec 19 14:34:41 UTC 2011 - coolo@suse.de + +- remove suse_update_config calls - obsolete + +------------------------------------------------------------------- +Fri Nov 25 17:08:30 UTC 2011 - werner@suse.de + +- Make build check quiet + +------------------------------------------------------------------- +Fri Nov 25 16:32:14 UTC 2011 - werner@suse.de + +- Update bash 4.2 to patch level 20 +- Update readline 6.2 to patch level 2 + +------------------------------------------------------------------- +Mon Nov 21 15:35:05 UTC 2011 - werner@suse.de + +- Disable endpwent() in rl_username_completion_function() as this + cause a deadlock in a futex of the glibc (bnc#731556) + +------------------------------------------------------------------- +Fri Nov 18 12:03:56 UTC 2011 - werner@suse.de + +- Enforce bind references to global function symbols to the + definition within libreadline + +------------------------------------------------------------------- +Wed Nov 16 11:11:21 UTC 2011 - werner@suse.de + +- Use libtinfo if available otherwise libncurses, this avoids + linkage against libncursesw of libreadline (required due + bnc #729226) + +------------------------------------------------------------------- +Fri Nov 11 15:27:12 UTC 2011 - werner@suse.de + +- Avoid memory mapped /var/run/nscd/passwd at shutdown by simply + unmapping this only used area if parent is systemd or SysVinit + +------------------------------------------------------------------- +Fri Nov 11 13:45:40 UTC 2011 - werner@suse.de + +- Always close get(pw|gr)func with endpw() respectivly with endgr() + to avoid memory mapped passwd/groups of cache files from nscd + +------------------------------------------------------------------- +Wed Nov 2 08:23:24 UTC 2011 - werner@suse.de + +- Disable last patch as it seems a bit broken (bnc#725657) + +------------------------------------------------------------------- +Tue Oct 25 17:11:23 UTC 2011 - werner@suse.de + +- Add direxpand patch from upstream (bnc#725657) + +------------------------------------------------------------------- +Fri Oct 7 15:01:42 UTC 2011 - werner@suse.de + +- Add patch from upstream mailing list to avoid memory leak by + reassigning associative array variable + +------------------------------------------------------------------- +Mon Sep 19 14:59:39 UTC 2011 - coolo@suse.com + +- remove autoreqprov and author lists + +------------------------------------------------------------------- +Tue Jun 21 18:58:56 CEST 2011 - werner@suse.de + +- Add fix from upstream mailing list to avoid crash + +------------------------------------------------------------------- +Fri Jun 17 11:43:00 UTC 2011 - coolo@novell.com + +- use original source URLs + +------------------------------------------------------------------- +Thu Jun 16 15:03:04 CEST 2011 - werner@suse.de + +- Fix the fix for bug bnc#681286 to be able to avoid both a not + expanding glob as well as the infinit loop in multi byte locale + +------------------------------------------------------------------- +Thu May 12 12:04:28 CEST 2011 - werner@suse.de + +- Update bash 4.2 to patch level 10 +- Add patch from upstream to avoid loosing quoted-nulls +- Add modified patch to avod endless loop in UTF-8 locale + +------------------------------------------------------------------- +Tue Mar 22 13:16:43 CET 2011 - werner@suse.de + +- Remove patch to avod endless loop in UTF-8 locale as it breaks + glob expanding (bnc#681286) + +------------------------------------------------------------------- +Tue Mar 15 18:28:58 CET 2011 - werner@suse.de + +- Update bash 4.2 to patch level 8 +- Add Ctr-C patch from upstream +- Add fix for endless loop in UTF-8 locale + +------------------------------------------------------------------- +Wed Mar 9 12:00:48 CET 2011 - werner@suse.de + +- Avoid siglongjmp, compare with + http://lists.gnu.org/archive/html/bug-bash/2011-03/msg00070.html + use temprary solution from Chet + +------------------------------------------------------------------- +Tue Mar 8 18:47:59 CET 2011 - werner@suse.de + +- Much better solution for saving history for system with sigsetjmp + +------------------------------------------------------------------- +Tue Mar 8 12:51:29 CET 2011 - werner@suse.de + +- Reintroduce history saving at SIGHUP + +------------------------------------------------------------------- +Tue Mar 7 15:25:33 CET 2011 - werner@suse.de + +- Update bash 4.2 to patch level 7 + +------------------------------------------------------------------- +Thu Feb 17 10:08:53 UTC 2011 - coolo@novell.com + +- having a bash man page is recommended (bnc#672528) + +------------------------------------------------------------------- +Mon Feb 14 16:50:00 CET 2011 - werner@suse.de + +- Update to bash 4.2 -- changelog see entry for bash 4.2 rc1 + +------------------------------------------------------------------- +Mon Jan 17 16:19:59 CET 2011 - werner@suse.de + +- Update to bash 4.2 rc1 + * `exec -a foo' now sets $0 to `foo' in an executable shell script + without a leading #!. + * Subshells begun to execute command substitutions or run shell functions or + builtins in subshells do not reset trap strings until a new trap is + specified. This allows $(trap) to display the caller's traps and the + trap strings to persist until a new trap is set. + * `trap -p' will now show signals ignored at shell startup, though their + disposition still cannot be modified. + * $'...', echo, and printf understand \uXXXX and \UXXXXXXXX escape sequences. + * declare/typeset has a new `-g' option, which creates variables in the + global scope even when run in a shell function. + * test/[/[[ have a new -v variable unary operator, which returns success if + `variable' has been set. + * Posix parsing changes to allow `! time command' and multiple consecutive + instances of `!' (which toggle) and `time' (which have no cumulative + effect). + * Posix change to allow `time' as a command by itself to print the elapsed + user, system, and real times for the shell and its children. + * $((...)) is always parsed as an arithmetic expansion first, instead of as + a potential nested command substitution, as Posix requires. + * A new FUNCNEST variable to allow the user to control the maximum shell + function nesting (recursive execution) level. + * The mapfile builtin now supplies a third argument to the callback command: + the line about to be assigned to the supplied array index. + * The printf builtin has a new %(fmt)T specifier, which allows time values + to use strftime-like formatting. + * There is a new `compat41' shell option. + * The cd builtin has a new Posix-mandated `-e' option. + * Negative subscripts to indexed arrays, previously errors, now are treated + as offsets from the maximum assigned index + 1. + * Negative length specifications in the ${var:offset:length} expansion, + previously errors, are now treated as offsets from the end of the variable. + * Parsing change to allow `time -p --'. + * Posix-mode parsing change to not recognize `time' as a keyword if the + following token begins with a `-'. This means no more Posix-mode + `time -p'. Posix interpretation 267. + * There is a new `lastpipe' shell option that runs the last command of a + pipeline in the current shell context. The lastpipe option has no + effect if job control is enabled. + * History expansion no longer expands the `$!' variable expansion. + * Posix mode shells no longer exit if a variable assignment error occurs + with an assignment preceding a command that is not a special builtin. + * History expansion no longer expands the `$!' variable expansion. + * Posix mode shells no longer exit if a variable assignment error occurs + with an assignment preceding a command that is not a special builtin. + * Non-interactive mode shells exit if -u is enabled and an attempt is made + to use an unset variable with the % or # expansions, the `//', `^', or + `,' expansions, or the parameter length expansion. + * Posix-mode shells use the argument passed to `.' as-is if a $PATH search + fails, effectively searching the current directory. Posix-2008 change. +- Update to readline 6.2 rc1 + * The history library does not try to write the history filename in the + current directory if $HOME is unset. This closes a potential security + problem if the application does not specify a history filename. + * New bindable variable `completion-display-width' to set the number of + columns used when displaying completions. + * New bindable variable `completion-case-map' to cause case-insensitive + completion to treat `-' and `_' as identical. + * There are new bindable vi-mode command names to avoid readline's case- + insensitive matching not allowing them to be bound separately. + * New bindable variable `menu-complete-display-prefix' causes the menu + completion code to display the common prefix of the possible completions + before cycling through the list, instead of after. + +------------------------------------------------------------------- +Mon Oct 18 11:09:31 CEST 2010 - jslaby@suse.de + +- fix czech message + +------------------------------------------------------------------- +Thu Oct 14 14:34:15 CEST 2010 - werner@suse.de + +- Update bash 4.1 to patch level 9 + * When declaring an associative array and implicitly assigning a + value to element "0", bash does not correctly allocate memory, + leading to a segmentation violation when that element or the + array itself is unset. + * An arriving SIGCHLD will interrupt `slow' system calls such as + write(2) to or read(2) from a terminal. This results in an + error message and truncated input or output. + +------------------------------------------------------------------- +Fri Sep 3 20:55:30 UTC 2010 - cristian.rodriguez@opensuse.org + +- builtin "man2html"generates html manual with a timestamp + that causes the package to be published over and over again. + +------------------------------------------------------------------- +Mon Aug 16 15:50:43 CEST 2010 - werner@suse.de + +- A modified version of the pipe patch which should handle + the PIPESTATUS array + +------------------------------------------------------------------- +Fri Aug 13 14:19:02 CEST 2010 - werner@suse.de + +- Disable the pipe patch from Thu Jun 24 10:40:09 CEST 2010 + as this resets the PIPESTATUS array to the status of the + forground process only + +------------------------------------------------------------------- +Thu Jul 29 17:06:51 CEST 2010 - werner@suse.de + +- Add fix from mailing list to avoid crash + +------------------------------------------------------------------- +Mon Jul 19 09:54:50 CEST 2010 - werner@suse.de + +- Comment out recommendation of bash-completion, as I'd like + no to see the bugs of bash-completion in my bugzilla + +------------------------------------------------------------------- +Sat Jul 17 01:27:17 UTC 2010 - cristian.rodriguez@opensuse.org + +- Do not package static libraries +- Fix Recommends/Suggests + +------------------------------------------------------------------- +Thu Jun 24 11:34:48 CEST 2010 - werner@suse.de + +- Add fix from upstream: restore the parser state over changing + readline editing mode otherwise e.g. set alias before the + change are lost. + +------------------------------------------------------------------- +Thu Jun 24 10:40:09 CEST 2010 - werner@suse.de + +- Avoid running the last member of a pipe command sequence to run + in its own subshell, this makes know lines like the simple + echo 1 2 | read a b; echo $a $b + work as expected by the users + +------------------------------------------------------------------- +Tue May 25 12:35:03 CEST 2010 - werner@suse.de + +- Update bash 4.1 to patch level 7 + * Bash did not correctly print/reproduce here documents attached + to commands inside compound commands such as for and while. + * A typo caused bash to not honor a precision specification in a + printf format. + +------------------------------------------------------------------- +Mon Apr 12 11:36:30 CEST 2010 - werner@suse.de + +- Add fix for memory double free in array handling + +------------------------------------------------------------------- +Tue Apr 6 15:27:24 CEST 2010 - werner@suse.de + +- Update bash 4.1 to patch level 5 (related to bnc#522351) + * If command completion is attempted on a word with a quoted globbing + character (e.g., `*' or `?'), bash can reference a NULL pointer and + dump core. + * When running in Posix mode and executing a shell function without local + variables, bash will not propagate a variable in a special builtin's temporary + environment to have global scope. + * When the `read' builtin times out after the timeout specified with -t is + exceeded, it does not reset the flags that tell signal handlers to process + signals immediately instead of deferring their handling. This can result + in unsafe functions being called from signal handlers, which can cause bash + to hang or dump core. + +------------------------------------------------------------------- +Tue Mar 9 15:34:05 CET 2010 - werner@suse.de + +- Add patch from bash-bug list to avoid crahs on some strange + TAB completions + +------------------------------------------------------------------- +Tue Mar 2 00:45:53 CET 2010 - ro@suse.de + +- fix warning no return statement in function returning non-void + to fix build (in bashline.c) + +------------------------------------------------------------------- +Wed Feb 24 09:55:03 CET 2010 - werner@suse.de + +- Avoid hang due malloc()/free() within signal handler (bnc#522351) + +------------------------------------------------------------------- +Thu Feb 18 11:05:13 CET 2010 - werner@suse.de + +- Add patch to reflect the usage of /etc/bash.bashrc (bnc#577221) + +------------------------------------------------------------------- +Mon Feb 15 17:24:46 CET 2010 - werner@suse.de + +- Update bash 4.1 to patch level 2 + * Here-documents within $(...) command substitutions may once more be + delimited by the closing right paren, instead of requiring a newline. + * Bash's file status checks (executable, readable, etc.) now take file + system ACLs into account on file systems that support them. + * Bash now passes environment variables with names that are not valid + shell variable names through into the environment passed to child + processes. + * The `execute-unix-command' readline function now attempts to clear and + reuse the current line rather than move to a new one after the command + executes. + * `printf -v' can now assign values to array indices. + * New `complete -E' and `compopt -E' options that work on the "empty" + completion: completion attempted on an empty command line. + * New complete/compgen/compopt -D option to define a `default' completion: + a completion to be invoked on command for which no completion has been + defined. If this function returns 124, programmable completion is + attempted again, allowing a user to dynamically build a set of completions + as completion is attempted by having the default completion function + install individual completion functions each time it is invoked. + * When displaying associative arrays, subscripts are now quoted. + * Changes to dabbrev-expand to make it more `emacs-like': no space appended + after matches, completions are not sorted, and most recent history entries + are presented first. + * The [[ and (( commands are now subject to the setting of `set -e' and the + ERR trap. + * The source/. builtin now removes NUL bytes from the file before attempting + to parse commands. + * There is a new configuration option (in config-top.h) that forces bash to + forward all history entries to syslog. + * A new variable $BASHOPTS to export shell options settable using `shopt' to + child processes. + * There is a new confgure option that forces the extglob option to be + enabled by default. + * New variable $BASH_XTRACEFD; when set to an integer bash will write xtrace + output to that file descriptor. + * If the optional left-hand-side of a redirection is of the form {var}, the + shell assigns the file descriptor used to $var or uses $var as the file + descriptor to move or close, depending on the redirection operator. + * The < and > operators to the [[ conditional command now do string + comparison according to the current locale if the compatibility level + is greater than 40. + * Programmable completion now uses the completion for `b' instead of `a' + when completion is attempted on a line like: a $(b c. + * Force extglob on temporarily when parsing the pattern argument to + the == and != operators to the [[ command, for compatibility. + * Changed the behavior of interrupting the wait builtin when a SIGCHLD is + received and a trap on SIGCHLD is set to be Posix-mode only. + * The read builtin has a new `-N nchars' option, which reads exactly NCHARS + characters, ignoring delimiters like newline. + * The mapfile/readarray builtin no longer stores the commands it invokes via + callbacks in the history list. + * There is a new `compat40' shopt option. +- Update readline 6.1 to patch level 1 + * New bindable function: menu-complete-backward. + * In the vi insertion keymap, C-n is now bound to menu-complete by default, + and C-p to menu-complete-backward. + * When in vi command mode, repeatedly hitting ESC now does nothing, even + when ESC introduces a bound key sequence. This is closer to how + historical vi behaves. + * New bindable function: skip-csi-sequence. Can be used as a default to + consume key sequences generated by keys like Home and End without having + to bind all keys. + * New application-settable function: rl_filename_rewrite_hook. Can be used + to rewite or modify filenames read from the file system before they are + compared to the word to be completed. + * New bindable variable: skip-completed-text, active when completing in the + middle of a word. If enabled, it means that characters in the completion + that match characters in the remainder of the word are "skipped" rather + than inserted into the line. + * The pre-readline-6.0 version of menu completion is available as + "old-menu-complete" for users who do not like the readline-6.0 version. + * New bindable variable: echo-control-characters. If enabled, and the + tty ECHOCTL bit is set, controls the echoing of characters corresponding + to keyboard-generated signals. + * New bindable variable: enable-meta-key. Controls whether or not readline + sends the smm/rmm sequences if the terminal indicates it has a meta key + that enables eight-bit characters. + +------------------------------------------------------------------- +Wed Dec 16 10:48:09 CET 2009 - jengelh@medozas.de + +- package documentation as noarch + +------------------------------------------------------------------- +Sat Dec 12 18:12:02 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Fri Dec 4 10:40:02 CET 2009 - werner@suse.de + +- Fix bug in bash-4.0-security.patch (bnc#559877) + +------------------------------------------------------------------- +Thu Oct 29 15:23:20 CET 2009 - werner@suse.de + +- Update to newest patch level 35 + * bash incorrectly interprets wildcarded path components between + a **/ and the last / + * bash incorrectly treated single and double quotes as + delimiters rather than introducing quoted strings when + splitting the line into words for programmable completion + functions + +------------------------------------------------------------------- +Wed Sep 30 13:24:57 CEST 2009 - werner@suse.de + +- Make _rl_enable_meta configurable by the users (bnc#541379) + +------------------------------------------------------------------- +Wed Sep 9 17:41:15 CEST 2009 - werner@suse.de + +- Do not change tty owner group twice by child and parent (bnc#523667) + +------------------------------------------------------------------- +Wed Sep 9 17:32:20 CEST 2009 - werner@suse.de + +- Update to newest patch level 33 + * Includes one of our own patches + +------------------------------------------------------------------- +Wed Aug 26 13:01:19 CEST 2009 - coolo@novell.com + +- rediff patches to avoid fuzz + +------------------------------------------------------------------- +Tue Jul 28 13:19:20 CEST 2009 - werner@suse.de + +- Update to newest patch level 28 + +------------------------------------------------------------------- +Thu Jul 2 14:45:19 CEST 2009 - werner@suse.de + +- Add fix from bash maintainer for closing memory leak in read + builtin (bnc#510288) + +------------------------------------------------------------------- +Tue Jun 9 18:16:25 CEST 2009 - werner@suse.de + +- Branch off some sub packages: + * bash-lang to include localization + * bash-loadables for installing the loadable runtime builtins + * bash-devel to install headers for developing loadable builtins + +------------------------------------------------------------------- +Wed Jun 3 12:16:43 CEST 2009 - werner@suse.de + +- Enforce the usage of euidaccess(3) instead of stat(2) for testing + permissions for a file (bnc#509105) + +------------------------------------------------------------------- +Mon May 25 14:09:03 CEST 2009 - werner@suse.de + +- Update to newest patch level 24: + * include last few patches +- Add patches from mailing list for globstar expansion + +------------------------------------------------------------------- +Mon May 11 10:18:06 CEST 2009 - werne@suse.de + +- Increase size of hash table for runtime linker a lot + +------------------------------------------------------------------- +Mon Apr 27 12:18:44 CEST 2009 - werne@suse.de + +- Add patches from mailing list: + * fix problem with invisible characters in prompt + * make dir*/** work + +------------------------------------------------------------------- +Tue Apr 21 12:53:39 CEST 2009 - werne@suse.de + +- Do not crash on forbidden subdirectories with globstar extension + +------------------------------------------------------------------- +Wed Apr 15 11:27:56 CEST 2009 - werne@suse.de + +- Add fix to be able to clear to eol in readline library + +------------------------------------------------------------------- +Tue Apr 14 12:10:31 CEST 2009 - werne@suse.de + +- Add fix for timing issue in readline SIGWINCH handling + +------------------------------------------------------------------- +Wed Apr 8 14:14:10 CEST 2009 - werne@suse.de + +- Add patches from bug-bash@gnu.org to avoid eg. segmentation fault + +------------------------------------------------------------------- +Mon Mar 16 11:38:14 CET 2009 - werner@suse.de + +- Add patches from bug-bash@gnu.org to avoid eg. segmentation fault + +------------------------------------------------------------------- +Thu Mar 12 15:05:55 CET 2009 - werner@suse.de + +- Add patch from bug-bash@gnu.org to enable |& not only for + builtins and shell functions but for all commands. + +------------------------------------------------------------------- +Tue Mar 10 14:50:55 CET 2009 - werner@suse.de + +- Switch to official patches, now we are on patch level 10 + +------------------------------------------------------------------- +Wed Mar 4 17:36:35 CET 2009 - werner@suse.de + +- Use patches from bug-bash@gnu.org to make it work + +------------------------------------------------------------------- +Wed Mar 4 15:05:40 CET 2009 - werner@suse.de + +- Patch for bnc#481817 does not work in any case + +------------------------------------------------------------------- +Wed Mar 4 13:10:02 CET 2009 - werner@suse.de + +- My last patch for bnc#470548 send to bug-bash@gnu.org was not + fully applied and this had caused a memory corruption on tab + completion. +- Enable the parser to find closing parenthesis at the end of + an argument of a command even if backslash is used (bnc#481817) +- Correct link of shared libraries of devel readline package + +------------------------------------------------------------------- +Fri Feb 27 17:39:08 CET 2009 - werner@suse.de + +- Update bash 4.0 to patch level 0 +- Update readline 6.0 to patch level 0 + +------------------------------------------------------------------- +Wed Feb 18 16:42:47 CET 2009 - werner@suse.de + +- Add readline patch 13 + +------------------------------------------------------------------- +Fri Jan 30 17:03:36 CET 2009 - werner@suse.de + +- Restore state if shell function for completion is interrupted (bnc#470548) + +------------------------------------------------------------------- +Tue Jan 13 12:34:56 CET 2009 - olh@suse.de + +- obsolete old -XXbit packages (bnc#437293) + +------------------------------------------------------------------- +Fri Dec 19 15:59:27 CET 2008 - werner@suse.de + +- Enable large file support (bnc#460560) + +------------------------------------------------------------------- +Tue Dec 9 19:13:46 CET 2008 - schwab@suse.de + +- Add bash patches 40-48. + +------------------------------------------------------------------- +Tue Nov 25 14:41:50 CET 2008 - werner@suse.de + +- Parse the return value of setlocale(LC_ALL) (bnc#447846) + +------------------------------------------------------------------- +Thu Oct 16 12:07:20 CEST 2008 - werner@suse.de + +- Let's avoid not needed library dependencies (bnc#439051) + +------------------------------------------------------------------- +Mon Sep 1 11:59:26 CEST 2008 - prusnak@suse.cz + +- bash should suggest command-not-found, not scout + +------------------------------------------------------------------- +Thu Jul 24 16:41:41 CEST 2008 - werner@suse.de + +- Add command-not-found.patch for scout support (fate#303730) + +------------------------------------------------------------------- +Tue Jun 17 11:05:07 CEST 2008 - werner@suse.de + +- Avoid underline the full paragraph in the man page (bnc#400767) + +------------------------------------------------------------------- +Sat May 17 19:24:50 CEST 2008 - coolo@suse.de + +- fix rename of xxbit packages + +------------------------------------------------------------------- +Tue May 6 18:29:10 CEST 2008 - schwab@suse.de + +- Add bash patches 34-39. + +------------------------------------------------------------------- +Mon Apr 28 03:42:11 CEST 2008 - matz@suse.de + +- Fix last patch. + +------------------------------------------------------------------- +Thu Apr 24 15:59:20 CEST 2008 - werner@suse.de + +- Add workaround for bnc#382214 + +------------------------------------------------------------------- +Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de + +- added baselibs.conf file to build xxbit packages + for multilib support + +------------------------------------------------------------------- +Wed Apr 2 11:49:20 CEST 2008 - werner@suse.de + +- Allow to (re)send signals within trap handlers (bnc#345441) +- Clear exit status if not sourcing system profile (bnc#372061) + +------------------------------------------------------------------- +Thu Feb 28 11:49:28 CET 2008 - dmueller@suse.de + +- remove invalid filerequires, the libreadline5 dependency is enough + +------------------------------------------------------------------- +Mon Jan 28 16:12:25 CET 2008 - schwab@suse.de + +- Add bash patches 26-33. + +------------------------------------------------------------------- +Tue Jan 8 19:23:12 CET 2008 - werner@suse.de + +- Restart the signal handler for SIGCHLD if not already done + within the signal handler its self (may help for bug #345441) + +------------------------------------------------------------------- +Mon Jan 7 20:43:39 CET 2008 - schwab@suse.de + +- Fix memory leak in read builtin. + +------------------------------------------------------------------- +Fri Dec 7 10:16:43 CET 2007 - werner@suse.de + +- Add skel files .bashrc, bash_history, and .profile from aaa_skel + +------------------------------------------------------------------- +Tue Dec 4 16:44:05 CET 2007 - werner@suse.de + +- Extend fix for off-by-one error in libreadline (bug #274120) +- Enable ssh detection in the bash (bug #345570) + +------------------------------------------------------------------- +Thu Sep 20 15:10:06 CEST 2007 - werner@suse.de + +- Remove error triggering path requirement (bug #326751) + +------------------------------------------------------------------- +Mon Aug 27 01:30:00 CEST 2007 - schwab@suse.de + +- Add bash patches 18-25. + +------------------------------------------------------------------- +Sat Aug 11 14:25:14 CEST 2007 - schwab@suse.de + +- Add bash patches 10-17. + +------------------------------------------------------------------- +Sat Aug 4 01:48:42 CEST 2007 - dmueller@suse.de + +- fix devel requires + +------------------------------------------------------------------- +Fri Aug 3 18:15:46 CEST 2007 - schwab@suse.de + +- Fix dependencies. + +------------------------------------------------------------------- +Tue Jul 31 17:32:55 CEST 2007 - werner@suse.de + +- Branch off bash-doc and readline-doc (bug #260209) +- Rename readline to libreadline5 (bug #260209) + +------------------------------------------------------------------- +Thu Apr 19 13:33:30 CEST 2007 - schwab@suse.de + +- Fix bug in readline redisplay. + +------------------------------------------------------------------- +Thu Mar 29 13:25:57 CEST 2007 - dmueller@suse.de + +- add ncurses-devel requires to readline-devel + +------------------------------------------------------------------- +Mon Mar 26 15:43:53 CEST 2007 - rguenther@suse.de + +- Add bison and ncurses-devel BuildRequires. + +------------------------------------------------------------------- +Tue Mar 6 23:27:48 CET 2007 - rguenther@suse.de + +- Fix order of changelog entries. Remove duplicate entry. + +------------------------------------------------------------------- +Wed Feb 28 13:25:29 CET 2007 - werner@suse.de + +- Don't access buffer but resulting pointer for array element names + to avoid the not initialized area of the buffer. This also fixes + an inherent wrong calculation of the string length of the array + element names (bug #248717) + +------------------------------------------------------------------- +Thu Dec 14 13:10:30 CET 2006 - werner@suse.de + +- Update to bash 3.2 patch level 9 + +------------------------------------------------------------------- +Wed Dec 6 21:10:45 CET 2006 - schwab@suse.de + +- Remove obsolete patches. + +------------------------------------------------------------------- +Fri Nov 17 15:05:12 CET 2006 - werner@suse.de + +- Remove /usr/bin/bash (#206000) + +------------------------------------------------------------------- +Tue Nov 14 11:50:32 CET 2006 - werner@suse.de + +- Update to bash 3.2 patch level 5 + +------------------------------------------------------------------- +Wed Sep 27 18:08:11 CEST 2006 - werner@suse.de + +- Use PIE to make a shared bash binary +- Make the bash modules build for testing + +------------------------------------------------------------------- +Fri Sep 22 17:25:15 CEST 2006 - werner@suse.de + +- Remove rpath option for libraries use linker defaults instead + +------------------------------------------------------------------- +Fri Sep 22 15:01:46 CEST 2006 - werner@suse.de + +- Add symbolic link for POSIX bourne shell to /usr/bin/ (#206000) + +------------------------------------------------------------------- +Thu Sep 14 18:14:50 CEST 2006 - werner@suse.de + +- Add environment variable DEFAULT_BELL_STYLE to control the + bell style of the readline library without using intputrc. + +------------------------------------------------------------------- +Mon Aug 7 12:45:55 CEST 2006 - werner@suse.de + +- Let readline-devel requires libncurses.so (bug #188673) + +------------------------------------------------------------------- +Thu Jul 27 17:13:16 CEST 2006 - werner@suse.de + +- Let printf builtin handle stdout errors correctly (bug #190349) + +------------------------------------------------------------------- +Wed May 31 19:11:15 CEST 2006 - werner@suse.de + +- Fix crash in IFS multi byte handling (bug #180317) + +------------------------------------------------------------------- +Tue May 23 14:16:14 CEST 2006 - werner@suse.de + +- Make the test suite run even on ppc emulated on ppc64 + +------------------------------------------------------------------- +Mon May 15 17:16:37 CEST 2006 - werner@suse.de + +- Update bash 3.1 to patch level 17 + * Allow array subscripts to be sourounded by double quotes +- Run test suite with nearly all scripts + +------------------------------------------------------------------- +Mon Apr 3 12:40:23 CEST 2006 - werner@suse.de + +- Update bash 3.1 to patch level 16 + * Bash will dump core when attempting to perform globbing in + directories with very large numbers of files + * Solve problem with the extended globbing code prevented dots + from matching filenames when used in some matching patterns + +------------------------------------------------------------------- +Mon Mar 27 15:08:18 CEST 2006 - werner@suse.de + +- Use access(2) with temporary switched euid/ruid and egid/rgid + instead of stat(2) to determine the access permissions of a + file, this works even on RO mounted NFS file systems (#160513) + +------------------------------------------------------------------- +Wed Mar 22 16:09:24 CET 2006 - werner@suse.de + +- Be sure that ~/.inputrc is read even if INPUTRC is set to + system wide /etc/inputrc (bug #160003) +- Make prefix-meta work even with new readline syntax but + disable it by default (since bug #suse21096) + +------------------------------------------------------------------- +Mon Mar 20 15:43:02 CET 2006 - werner@suse.de + +- Update to bash 3.1 to patch level 14 and readline 5.1 to level 4 + * Do not terminate words prematurely if parentheses are involved + * Readline sometimes reference freed memory + * Fix double displayed prompt when using non-incremental searches + +------------------------------------------------------------------- +Sun Mar 12 17:16:32 CET 2006 - schwab@suse.de + +- Update bash31-010 patch, better fix for #151000. + +------------------------------------------------------------------- +Thu Mar 2 11:25:10 CET 2006 - werner@suse.de + +- Update bash 3.1 to patch level 11 and readline 5.1 to level 2 + * Includes fix for line-wrapping errors + * Replacement for bug fix of bug #146075 with better + reallocation and compaction of the job array list. + * Do not let SIGINT from terminal reach background processes + * Do not let asynchronous background jobs set the terminal + process group incorrectly. + * Replacement for bug fix of bug #151000 + * Do not strip quoting inside double-quoted command substitutions + +------------------------------------------------------------------- +Wed Mar 1 17:02:20 CET 2006 - werner@suse.de + +- Re-enable escaping newline within quotes in commands (#151000) + +------------------------------------------------------------------- +Mon Jan 30 13:28:36 CET 2006 - werner@suse.de + +- Do initialize the fresh members of the job array (bug #146075) + +------------------------------------------------------------------- +Mon Jan 30 12:00:27 CET 2006 - schwab@suse.de + +- Barf if /proc is missing. + +------------------------------------------------------------------- +Wed Jan 25 21:29:58 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Tue Jan 10 12:05:33 CET 2006 - werner@suse.de + +- Update to newest patch level 5: + + corrects several omissions in the bash documentation + + local array variable declared at function scope shadowing + a global variable should create a separate instance + + When tilde expansion fails, do not skip rest of an expansion +- Expand dollar quotes even for the single quote case (bug #141394) + +------------------------------------------------------------------- +Thu Dec 22 18:01:11 CET 2005 - werner@suse.de + +- Switch to first patchlevel for the bash and the readline library. + This should fix problems happen with local/eval/let builtins. + +------------------------------------------------------------------- +Mon Dec 19 13:36:46 CET 2005 - werner@suse.de + +- Remove dangling sym links + +------------------------------------------------------------------- +Tue Dec 13 15:19:43 CET 2005 - schwab@suse.de + +- Fix segfault in readline callback interface. + +------------------------------------------------------------------- +Mon Dec 12 16:03:34 CET 2005 - schwab@suse.de + +- Fix return of random data. +- Set CFLAGS_FOR_BUILD. + +------------------------------------------------------------------- +Fri Dec 9 18:15:44 CET 2005 - werner@suse.de + +- Update to bash version 3.1 and readline library version 5.1 + +------------------------------------------------------------------- +Thu Sep 29 17:41:12 CEST 2005 - werner@suse.de + +- More cookie for the compiler + +------------------------------------------------------------------- +Mon Sep 19 15:16:12 CEST 2005 - werner@suse.de + +- Give the compiler its cookie + +------------------------------------------------------------------- +Tue Apr 19 17:22:17 CEST 2005 - postadal@suse.cz + +- fixed crashing on read -e command and line wrapping (in readline code) + (bug #76709) + +------------------------------------------------------------------- +Fri Jan 28 13:34:10 CET 2005 - werner@suse.de + +- Add workaround for NFS bug which does not check permissions + on open of a file but close (bug #20244) + +------------------------------------------------------------------- +Thu Nov 25 15:29:10 CET 2004 - werner@suse.de + +- Remove local array patch because not needed anymore +- Fix a crash on internal arrays if unset during execution of + functions and files (bug #48511) + +------------------------------------------------------------------- +Sun Nov 21 03:37:08 CET 2004 - schwab@suse.de + +- Add patches from and + . + +------------------------------------------------------------------- +Fri Nov 19 16:31:21 CET 2004 - werner@suse.de + +- Fix the evalexp fix (bug #48253) + +------------------------------------------------------------------- +Mon Oct 25 17:31:46 CEST 2004 - werner@suse.de + +- Be sure that the FN macro nroff macro is available in all + sub manual pages (bug #47560) + +------------------------------------------------------------------- +Tue Oct 12 15:33:11 CEST 2004 - werner@suse.de + +- Re-activate first part of prompt fix because it does not harm + (bug #36919) + +------------------------------------------------------------------- +Tue Oct 12 12:35:47 CEST 2004 - ro@suse.de + +- no macros in Version lines + +------------------------------------------------------------------- +Mon Oct 11 15:56:32 CEST 2004 - werner@suse.de + +- Disable prompt patch for now because not needed and other + problmes caused by this fix (bug #36919) +- Clear out last_made_pid on success (bug #42232) + +------------------------------------------------------------------- +Thu Sep 30 14:33:55 CEST 2004 - werner@suse.de + +- Clear out prompt line of isearch for invisible chars (bug #36919) + +------------------------------------------------------------------- +Wed Sep 29 18:23:21 CEST 2004 - werner@suse.de + +- Fix prompt problem with invisible characters (bug #36919) + +------------------------------------------------------------------- +Fri Sep 17 16:10:23 CEST 2004 - werner@suse.de + +- Fix line wraping for newlines in prompt (bug #45519) + +------------------------------------------------------------------- +Thu Sep 16 00:05:25 CEST 2004 - schwab@suse.de + +- Fix missing return value. + +------------------------------------------------------------------- +Sat Sep 11 16:30:03 CEST 2004 - kukuk@suse.de + +- Disable use of WCONTINUED as long as bash does not check if + it is supported. + +------------------------------------------------------------------- +Mon Sep 6 18:07:54 CEST 2004 - werner@suse.de + +- Fix prefix strip for last added patch + +------------------------------------------------------------------- +Fri Sep 3 13:03:21 CEST 2004 - werner@suse.de + +- Add warning about broken glibc locale before we get the SIGSEGV + (bug #44658) + +------------------------------------------------------------------- +Sun Aug 1 11:18:30 CEST 2004 - schwab@suse.de + +- Fix rl_maybe_save_line. +- Track LC_TIME. + +------------------------------------------------------------------- +Fri Jul 30 17:52:53 CEST 2004 - werner@suse.de + +- Put version to bash 3.0 and readline 5.0 + +------------------------------------------------------------------- +Mon Jun 7 13:00:15 CEST 2004 - werner@suse.de + +- Add missed declaration of oldval for previous bugfix + +------------------------------------------------------------------- +Fri Jun 4 19:53:47 CEST 2004 - werner@suse.de + +- Fix local array variable handling (bug #41649) + +------------------------------------------------------------------- +Wed Jun 2 14:54:21 CEST 2004 - werner@suse.de + +- Fix evaluation none local return stack curruption (bug #41488) + +------------------------------------------------------------------- +Wed Apr 7 17:55:59 CEST 2004 - werner@suse.de + +- In case of quotes position counter has to be advanced (#38599) + +------------------------------------------------------------------- +Thu Apr 1 12:06:33 CEST 2004 - werner@suse.de + +- Add directoy check to distinguish none unique and unique + executables (bug #37329) + +------------------------------------------------------------------- +Mon Mar 29 14:22:25 CEST 2004 - werner@suse.de + +- Make the directory patch working as it should (bug #37329) + +------------------------------------------------------------------- +Thu Mar 25 17:48:09 CET 2004 - werner@suse.de + +- Move forward to official bug fixes to catch UTF-8 bug #31451 + and bug #36919 + +------------------------------------------------------------------- +Thu Feb 12 11:29:19 CET 2004 - werner@suse.de + +- Fix cut&paste error of fix for bug #34427 + +------------------------------------------------------------------- +Wed Feb 11 18:08:24 CET 2004 - werner@suse.de + +- Fix SIGSEGV in using UTF-8 and pattern matching (bug #34427) +- Fix LC_NUMERIC handling of builtin printf (bug #34428) + +------------------------------------------------------------------- +Mon Feb 2 12:42:14 CET 2004 - werner@suse.de + +- Fix the fix and also bug #34242 + +------------------------------------------------------------------- +Thu Jan 29 16:21:23 CET 2004 - werner@suse.de + +- Fix performance problem for pattern matching in UTF-8 locale + (port back patch from Mitsuru Chinen ) + +------------------------------------------------------------------- +Tue Jan 13 08:41:39 CET 2004 - kukuk@suse.de + +- Fix last changes + +------------------------------------------------------------------- +Sat Jan 10 17:23:23 CET 2004 - adrian@suse.de + +- add %run_ldconfig + +------------------------------------------------------------------- +Mon Jul 28 18:24:44 CEST 2003 - werner@suse.de + +- Add /etc/bash_completion.d directory + +------------------------------------------------------------------- +Thu Jun 26 09:54:53 CEST 2003 - kukuk@suse.de + +- Fix specfile for lib64 + +------------------------------------------------------------------- +Wed Jun 4 18:17:51 CEST 2003 - jh@suse.de + +- Enable profile feedback + +------------------------------------------------------------------- +Fri May 23 13:43:27 CEST 2003 - ro@suse.de + +- remove unpackaged files + +------------------------------------------------------------------- +Thu May 22 17:51:07 CEST 2003 - mfabian@suse.de + +- improvement for bash-2.05b-locale.patch and + bash-2.05b-readline-init.patch: this fixes the problem that + the line editor in bash is not correctly initialized in the first + bash after login via ssh or on the linux console. This is + especially obvious in UTF-8 locales when editing non-ASCII + characters on the command line. See also: + https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=74701 + https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=74925 + The following bug remains fixed: + http://bugzilla.suse.de/show_bug.cgi?id=16999 +- bash-2.05b-complete.patch: (by Miloslav Trmac ) + achieve correct alignment of file names containing non-ASCII + characters when typing "ls " and pressing Tab twice to show + the completions. See also: + https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=90201 + +------------------------------------------------------------------- +Mon Mar 17 19:20:44 CET 2003 - werner@suse.de + +- Do not execute command line if tty is closed (bug #25445) + +------------------------------------------------------------------- +Thu Feb 13 11:38:41 CET 2003 - schwab@suse.de + +- Fix prompt decoding with -noediting. + +------------------------------------------------------------------- +Tue Feb 11 13:34:12 CET 2003 - kukuk@suse.de + +- To avoid loop in PreRequires, don't install info pages. The info + package contains a dir file which contains the bash entries + already. + +------------------------------------------------------------------- +Fri Feb 7 14:20:18 CET 2003 - ro@suse.de + +- fixed specfile + +------------------------------------------------------------------- +Fri Feb 7 01:14:57 CET 2003 - ro@suse.de + +- added install_info macros + +------------------------------------------------------------------- +Mon Jan 27 21:38:30 CET 2003 - schwab@suse.de + +- Fix bugs #21096 and #21392 properly: don't recurse on + do-lowercase-version for fallback entry. + +------------------------------------------------------------------- +Tue Jan 21 17:04:24 CET 2003 - werner@suse.de + +- Allow rbash as login shell (`-' problem, bug #22917) + +------------------------------------------------------------------- +Wed Dec 18 11:13:20 CET 2002 - schwab@suse.de + +- Use BuildRoot. + +------------------------------------------------------------------- +Thu Dec 12 15:16:51 CET 2002 - mfabian@suse.de + +- add bash-2.05b-display-mbspeed.patch received from + Jiro SEKIBA to improve display speed in + multibyte locales. + +------------------------------------------------------------------- +Sat Nov 9 16:22:15 CET 2002 - ro@suse.de + +- add bison to neededforbuild for now + (till we're sure about bison again) + +------------------------------------------------------------------- +Thu Oct 31 12:05:34 CET 2002 - werner@suse.de + +- For bug #21096 and #21392: implement an oom protection. + +------------------------------------------------------------------- +Mon Oct 21 14:58:42 CEST 2002 - werner@suse.de + +- More for bug#21096: Make prefix-meta work even if mapped onto + longer escape sequences. + +------------------------------------------------------------------- +Fri Oct 18 19:55:54 CEST 2002 - werner@suse.de + +- Fix bug#21096: sequences like `ESC ... CHARACTER' with CHARACTER + mapped on functions will not cause an endless recursion anymore. + +------------------------------------------------------------------- +Wed Sep 25 18:31:19 CEST 2002 - ro@suse.de + +- removed more bogus provides + +------------------------------------------------------------------- +Wed Sep 11 12:16:44 CEST 2002 - werner@suse.de + +- Correct Provides (package should not provides its self) + +------------------------------------------------------------------- +Fri Aug 30 16:15:57 CEST 2002 - werner@suse.de + +- Add version dependend require on readline (bug #18652) + +------------------------------------------------------------------- +Fri Aug 30 15:02:29 CEST 2002 - werner@suse.de + +- Fix annoying display bug in wide character support (bug #18449) + +------------------------------------------------------------------- +Wed Aug 28 15:06:48 CEST 2002 - werner@suse.de + +- Add comment about multi byte handling and echo builtin (#18449) + +------------------------------------------------------------------- +Wed Aug 21 12:49:45 MEST 2002 - mls@suse.de + +- fix $RANDOM randomness in subshells + +------------------------------------------------------------------- +Fri Aug 9 10:36:33 CEST 2002 - kukuk@suse.de + +- readline-devel should require readline + +------------------------------------------------------------------- +Mon Jul 29 15:39:39 CEST 2002 - werner@suse.de + +- Expansion of `~user/' is like `/' + +------------------------------------------------------------------- +Sat Jul 27 22:19:33 CEST 2002 - kukuk@suse.de + +- Remove not used tetex from neededforbuild +- Fix building of man2html (bash.html still broken) + +------------------------------------------------------------------- +Fri Jul 19 17:03:47 CEST 2002 - werner@suse.de + +- Check value of LANG before LC_ALL will be unset for getting the + _current_ default value of LC_ALL with setlocale(3) (bug #16999) + +------------------------------------------------------------------- +Fri Jul 19 16:09:12 CEST 2002 - werner@suse.de + +- Fix NULL pointer handled by memset (readline:mbutil.c) + +------------------------------------------------------------------- +Thu Jul 18 17:04:27 CEST 2002 - werner@suse.de + +- Update to new version bash 2.05b/readline 4.3 + +------------------------------------------------------------------- +Wed May 22 09:16:14 CEST 2002 - schwab@suse.de + +- Fix vi-change-char. +- Fix missing declaration. + +------------------------------------------------------------------- +Wed Apr 17 16:33:01 CEST 2002 - schwab@suse.de + +- Fix last change. + +------------------------------------------------------------------- +Thu Apr 11 11:55:02 CEST 2002 - sf@suse.de + +- using %{_libdir} to put the shlibs into the correct directories + (lib / lib64) + +------------------------------------------------------------------- +Tue Mar 26 15:27:45 CET 2002 - werner@suse.de + +- Fix possible endless loop if terminal will be disconneted during + complete answer (bug report from bastian@kde.org, for more see + http://bugs.kde.org/db/37/37999.html) + +------------------------------------------------------------------- +Wed Mar 20 00:47:48 CET 2002 - ro@suse.de + +- removed tetex from neededforbuild, it's not used here + +------------------------------------------------------------------- +Wed Mar 6 13:36:58 CET 2002 - werner@suse.de + +- Use improved bug fix for line wrapping problem, now line wrapping + work for char and wide char environments +- Fix readline version number + +------------------------------------------------------------------- +Wed Feb 27 14:30:37 CET 2002 - mfabian@suse.de + +- add readline-4.2-i18n-0.3-display.patch from + Jiro SEKIBA to fix a line wrapping + problem. + +------------------------------------------------------------------- +Mon Jan 21 13:49:50 CET 2002 - werner@suse.de + +- Fix bug #12834: Update to bash-2.05-i18n-0.5.patch.gz and + bash-2.05-readline-i18n-0.3.patch.gz + +------------------------------------------------------------------- +Thu Oct 18 14:49:18 CEST 2001 - werner@suse.de + +- Allways include /etc/inputrc if INPUTRC isn't system file + +------------------------------------------------------------------- +Mon Oct 8 14:26:26 CEST 2001 - werner@suse.de + +- Fix readline i18n patch: enable configure of multi byte handling, + fix warnings and bug in histexpand.c + +------------------------------------------------------------------- +Fri Oct 5 13:15:29 CEST 2001 - werner@suse.de + +- Add two patches for I18N support of bash and readline library + +------------------------------------------------------------------- +Tue Sep 4 11:36:33 CEST 2001 - werner@suse.de + +- Add patch to avoid trouble with C++ header definitions + +------------------------------------------------------------------- +Fri Aug 3 14:34:19 CEST 2001 - werner@suse.de + +- Fix fc crash (bug #9620) + +------------------------------------------------------------------- +Mon Jul 2 12:12:26 CEST 2001 - olh@suse.de + +- dont apply bash-2.05-s390x-unwind.patch on ppc and sparc + +------------------------------------------------------------------- +Thu Jun 14 01:30:56 CEST 2001 - bk@suse.de + +- fix 64-bit bigendian bug for s390x + +------------------------------------------------------------------- +Wed Jun 6 13:36:46 CEST 2001 - werner@suse.de + +- Re-order configure.in to avoid trouble with new autoconf + +------------------------------------------------------------------- +Tue May 8 20:03:27 CEST 2001 - mfabian@suse.de + +- bzip2 sources + +------------------------------------------------------------------- +Sat May 5 20:09:56 CEST 2001 - schwab@suse.de + +- Fix process substitution when stdin is closed. + +------------------------------------------------------------------- +Wed May 2 19:28:19 CEST 2001 - werner@suse.de + +- Make patch for 2.4.4 work within spec + +------------------------------------------------------------------- +Wed May 2 18:23:12 CEST 2001 - werner@suse.de + +- Remove buggy patch in job control, add a workaround + +------------------------------------------------------------------- +Mon Apr 30 13:03:32 CEST 2001 - werner@suse.de + +- Add patch to get job control into right order on a pipe + +------------------------------------------------------------------- +Thu Apr 12 13:09:25 CEST 2001 - werner@suse.de + +- Provide cpp macro OLD_READLINE for backwards compatibility + at compile time with old readline interface + +------------------------------------------------------------------- +Thu Apr 12 00:45:22 CEST 2001 - ro@suse.de + +- added split-alias as provides (again) + +------------------------------------------------------------------- +Wed Apr 11 20:05:33 CEST 2001 - werner@suse.de + +- Update to bash 2.05 and readline 4.2 +- Port of our patches + +------------------------------------------------------------------- +Thu Feb 22 16:47:10 CET 2001 - werner@suse.de + +- Split package into bash/readline/readline-devel +- Depend libreadline on libncurses + +------------------------------------------------------------------- +Thu Sep 14 19:36:33 CEST 2000 - werner@suse.de + +- Add some bug fixes +- Add missed ssh fix for none interactive shell + +------------------------------------------------------------------- +Wed Jun 7 16:14:10 CEST 2000 - werner@suse.de + +- Fix some patches +- Add export patch for bash 2.04 +- Fix `soname' of readline and history libraries +- Fix linkage of major readline and history libraries + +------------------------------------------------------------------- +Mon Jun 5 17:21:42 CEST 2000 - schwab@suse.de + +- Fix unwind_protect_pointer on 64-bit systems. + +------------------------------------------------------------------- +Wed May 31 20:27:10 CEST 2000 - schwab@suse.de + +- Comment out declaration of savestring in that conflicts + with other people's declaration (eg. gdb). + +------------------------------------------------------------------- +Mon May 29 16:36:08 CEST 2000 - aj@suse.de + +- Upgrade to bash 2.04 and readline 4.1. + +------------------------------------------------------------------- +Sun May 21 13:27:08 CEST 2000 - kukuk@suse.de + +- Use docdir + +------------------------------------------------------------------- +Sat Apr 1 20:47:46 GMT 2000 - bk@suse.de + +- remove obviosly unneeded link /usr/lib/libreadline.so on s390 + +------------------------------------------------------------------- +Tue Mar 14 15:38:40 CET 2000 - werner@suse.de + +- Add locale patch to enable LC_NUMERIC handling + +------------------------------------------------------------------- +Thu Feb 24 15:59:44 CET 2000 - werner@suse.de + +- Use $VENDOR for several linux architectures +- Set check_window_size (shopt checkwinsize) to true, this will + correct screen size even if it changes during a job. + +------------------------------------------------------------------- +Tue Feb 15 14:02:34 CET 2000 - schwab@suse.de + +- Update config.{guess,sub} to latest version. +- Fix spec file to create doc directory before installing into it. + +------------------------------------------------------------------- +Fri Jan 28 23:43:17 CET 2000 - werner@suse.de + +- Add mailstat patch (handles mail directories) +- Fix configuration (system is %arch-suse-linux) +- Fix segfault (job handling) +- Fix manual (add rbash manual, add some missed options) +- Install rbash (symlink to bash) +- Fix readline (End, Del) +- Fix temporary file handling (do not write without check) +- Use system random interface not builtin +- Remove some compiler warnings +- Set --enable-disabled-builtins (useful) +- Install shared readline and history in /lib (bash needs that) +- Enable shared readline (version 4.0) and history library +- Try to use shared readline and history for bash (TEST) + +------------------------------------------------------------------- +Fri Dec 3 17:29:40 CET 1999 - kasal@suse.de + +- added command to make and install doc/bashref.html + +------------------------------------------------------------------- +Fri Nov 26 20:52:19 MET 1999 - kukuk@suse.de + +- Fix spec file + +------------------------------------------------------------------- +Thu Nov 25 16:28:05 MET 1999 - kukuk@suse.de + +- Merge Makefile.Linux with spec file, use RPM_OPT_FLAGS +- Remove --disable-dparen-arithmetic + +------------------------------------------------------------------- +Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de + +- ran old prepare_spec on spec file to switch to new prepare_spec. + +------------------------------------------------------------------- +Tue Aug 24 12:34:43 MEST 1999 - uli@suse.de + +- fixed for PPC + +------------------------------------------------------------------- +Mon Jul 19 09:27:00 MEST 1999 - florian@suse.de + +- update to bash 2.03, readline 4.0 + +------------------------------------------------------------------- +Wed Jan 13 15:42:09 MET 1999 - @suse.de + +- disabled `Broken pipe' messages + +------------------------------------------------------------------- +Sun Dec 13 22:34:55 MET 1998 - bs@suse.de + +- removed notify message - bash 2.0 is standard for a long time now. + +------------------------------------------------------------------- +Mon Dec 7 15:51:52 MET 1998 - florian@suse.de + +- remove SSH_CLIENT-kludge as this cannot detect all correct cases + where .bashrc should be loaded +- delete email-changes in bashbug script +- update readline to version 2.2.1 + +------------------------------------------------------------------- +Thu Nov 12 13:50:00 MET 1998 - bs@suse.de + +- minor fix for new rpm + +------------------------------------------------------------------- +Thu Oct 1 10:30:05 MEST 1998 - ro@suse.de + +- update to 2.02.1 / reintegrated werner's tmp-fix for bashbug + +------------------------------------------------------------------- +Thu Jul 23 14:03:44 MET DST 1998 - werner@suse.de + +- use mktemp + +------------------------------------------------------------------- +Thu Jul 16 20:39:05 MEST 1998 - werner@suse.de + +- fix bashbug temp file handling + +------------------------------------------------------------------- +Wed Jun 17 17:21:39 MEST 1998 - ro@suse.de + +- changed general.h: !defined (gid_t) + +------------------------------------------------------------------- +Mon Oct 27 12:55:07 MET 1997 - florian@suse.de + +- do not include old compatible-only safestring() in libreadline.a + + +------------------------------------------------------------------- +Thu Oct 9 19:08:47 MEST 1997 - florian@suse.de + + +- update to version 2.01.1 + +- add several bugfixes + +- fix missing things in spec-file + + +------------------------------------------------------------------- +Thu Aug 14 15:53:29 MEST 1997 - florian@suse.de + + +- add several bug-fixes from gnu.bash.bug and fix memory management + of LC_ALL + + +------------------------------------------------------------------- +Sat Jul 5 10:08:27 MEST 1997 - florian@suse.de + + +- add another bugfix from gnu.utils.bugs + + +------------------------------------------------------------------- +Mon Jun 23 23:04:57 MEST 1997 - florian@suse.de + + +- create the history file with 0600 perms + +- add minor bugfix to check for new email + + +------------------------------------------------------------------- +Thu Jun 5 11:08:05 MEST 1997 - florian@suse.de + + +- bash: check for NULL-pointer before calling "savestring()" + +- add bashref.info and newer FAQ + + + +------------------------------------------------------------------- +Tue Apr 22 15:16:57 CEST 1997 - bs@suse.de + +- added FAQ and bashref.html to /usr/doc/packages/bash + + +------------------------------------------------------------------- +Sun Apr 13 23:04:29 MEST 1997 - florian@suse.de + + +- update to bash 2.0 with lots of patches from gnu.utils.bugs + + +Mon Sep 2 02:48:35 MET DST 1996 + +new version with security patches + + +------------------------------------------------------------------- +Fri Aug 23 16:13:49 MET DST 1996 - florian@suse.de + +security fix included (0xff was command separator) +This document details the changes between this version, bash-4.1-rc, +and the previous version, bash-4.1-beta. + diff --git a/readline.spec b/readline.spec new file mode 100644 index 0000000..c425cbb --- /dev/null +++ b/readline.spec @@ -0,0 +1,270 @@ +# +# spec file for package readline +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: readline +BuildRequires: autoconf +BuildRequires: fdupes +%if %suse_version > 1220 +BuildRequires: makeinfo +%endif +BuildRequires: ncurses-devel +BuildRequires: patchutils +BuildRequires: pkg-config +BuildRequires: sed +%define rextend %nil +Version: 7.0 +Release: 0 +Summary: The readline library +License: GPL-3.0-or-later +Group: System/Libraries +Url: http://www.gnu.org/software/readline/ +# Git: http://git.savannah.gnu.org/cgit/bash.git +Source0: ftp://ftp.gnu.org/gnu/readline/readline-%{version}%{rextend}.tar.gz +Source1: readline-%{version}-patches.tar.bz2 +Source2: baselibs.conf +Patch0: readline-%{version}.dif +Patch1: readline-6.3-input.dif +Patch2: readline-5.2-conf.patch +Patch3: readline-6.2-metamode.patch +Patch4: readline-6.2-endpw.dif +Patch5: readline-6.2-xmalloc.dif +Patch6: readline-6.3-destdir.patch +Patch7: readline-6.3-rltrace.patch +%{expand: %%global rl_major %(echo %{version} | sed -r 's/.[0-9]+//g')} + +%description +The readline library is used by the Bourne Again Shell (bash, the +standard command interpreter) for easy editing of command lines. This +includes history and search functionality. + +%package -n libreadline7 +Summary: The Readline Library +Group: System/Libraries +Provides: bash:/%{_lib}/libreadline.so.%{rl_major} +Recommends: readline-doc = %{version} +Provides: readline = %{version} +Obsoletes: readline <= 6.3 + +%description -n libreadline7 +The readline library is used by the Bourne Again Shell (bash, the +standard command interpreter) for easy editing of command lines. This +includes history and search functionality. + +%package devel +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/C and C++ +Requires: libreadline7 = %{version} +Requires: ncurses-devel +Provides: readline-devel = %{version} +Obsoletes: readline-devel <= %{version} +Recommends: readline-doc = %{version} + +%description devel +This package contains all necessary include files and libraries needed +to develop applications that require these. + +%package devel-static +Summary: Static library for Development +Group: Development/Libraries/C and C++ +Requires: ncurses-devel +Requires: readline-devel = %{version} +Recommends: readline-doc = %{version} +Provides: readline-devel-static = %{version} +Obsoletes: readline-devel-static <= %{version} +# + +%description devel-static +This package contains the static library needed +to develop applications that require these. + +%package doc +Summary: Documentation how to Use and Program with the Readline Library +Group: System/Libraries +Provides: readline-doc = %{version} +Provides: readline:%{_infodir}/readline.info.gz +Obsoletes: readline-doc <= %{version} +PreReq: %install_info_prereq +BuildArch: noarch + +%description doc +This package contains the documentation for using the readline library +as well as programming with the interface of the readline library. + +%prep +%setup -q -n readline-%{version}%{rextend} +for patch in readline-%{version}-patches/*; do + test -e $patch || break + let level=0 || true + file=$(lsdiff --files=1 $patch) + if test ! -e $file ; then + file=${file#*/} + let level++ || true + fi + sed -ri '/^\*\*\* \.\./{ s@\.\./readline-%{version}[^/]*/@@ }' $patch + echo Patch $patch + patch -s -p$level < $patch +done +%patch1 -p2 -b .zerotty +%patch2 -p2 -b .conf +%patch3 -p2 -b .metamode +#%patch4 -p2 -b .endpw +%patch5 -p0 -b .xm +%patch6 -p0 -b .destdir +%patch7 -p2 -b .tmp +%patch0 -p0 -b .0 + +%build +LANG=POSIX +LC_ALL=$LANG +unset LC_CTYPE +autoconf +cflags () +{ + local flag=$1; shift + local var=$1; shift + test -n "${flag}" -a -n "${var}" || return + case "${!var}" in + *${flag}*) return + esac + set -o noclobber + case "$flag" in + -Wl,*) + if echo 'int main () { return 0; }' | \ + ${CC:-gcc} -Werror $flag -o /dev/null -xc - > /dev/null 2>&1 ; then + eval $var=\${$var:+\$$var\ }$flag + fi + ;; + *) + if ${CC:-gcc} -Werror ${flag/#-Wno-/-W} -S -o /dev/null -xc /dev/null > /dev/null 2>&1 ; then + eval $var=\${$var:+\$$var\ }$flag + fi + if ${CXX:-g++} -Werror ${flag/#-Wno-/-W} -S -o /dev/null -xc++ /dev/null > /dev/null 2>&1 ; then + eval $var=\${$var:+\$$var\ }$flag + fi + esac + set +o noclobber +} +LARGEFILE="$(getconf LFS_CFLAGS)" +(cat > dyn.map)<<-'EOF' + { + *; + !rl_*stream; + }; + EOF +(cat > rl.map)<<-'EOF' + READLINE_6.3 { + rl_change_environment; + rl_clear_history; + rl_executing_key; + rl_executing_keyseq; + rl_filename_stat_hook; + rl_history_substr_search_backward; + rl_history_substr_search_forward; + rl_input_available_hook; + rl_print_last_kbd_macro; + rl_signal_event_hook; + }; + EOF +CFLAGS="$RPM_OPT_FLAGS $LARGEFILE -D_GNU_SOURCE -Wall -g" +LDFLAGS="" +cflags -Wuninitialized CFLAGS +cflags -Wextra CFLAGS +cflags -Wno-unprototyped-calls CFLAGS +cflags -Wno-switch-enum CFLAGS +cflags -Wno-unused-variable CFLAGS +cflags -Wno-unused-parameter CFLAGS +cflags -Wno-parentheses CFLAGS +cflags -ftree-loop-linear CFLAGS +cflags -pipe CFLAGS +cflags -Wl,--as-needed LDFLAGS +cflags -Wl,-O2 LDFLAGS +cflags -Wl,--version-script=${PWD}/rl.map LDFLAGS +cflags -Wl,--dynamic-list=${PWD}/dyn.map LDFLAGS +CC=gcc +CC_FOR_BUILD="$CC" +CFLAGS_FOR_BUILD="$CFLAGS" +LDFLAGS_FOR_BUILD="$LDFLAGS" +export CC_FOR_BUILD CFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD CFLAGS LDFLAGS CC +./configure --build=%{_target_cpu}-suse-linux \ + --enable-static \ + --enable-shared \ + --enable-multibyte \ + --prefix=%{_prefix} \ + --with-curses \ + --mandir=%{_mandir} \ + --infodir=%{_infodir} \ + --docdir=%{_docdir}/%{name} \ + --libdir=%{_libdir} +make +make documentation + +%install +%make_install htmldir=%{_docdir}/%{name} installdir=%{_docdir}/%{name}/examples \ + libdir=/%{_lib} linkagedir=%{_libdir} +chmod 0755 %{buildroot}/%{_lib}/libhistory.so.%{version} +chmod 0755 %{buildroot}/%{_lib}/libreadline.so.%{version} +rm -vf %{buildroot}/%{_lib}/libhistory.so.%{version}*old +rm -vf %{buildroot}/%{_lib}/libreadline.so.%{version}*old +rm -vf %{buildroot}/%{_lib}/libhistory.so +rm -vf %{buildroot}/%{_lib}/libreadline.so +mkdir -p %{buildroot}/%{_libdir} +ln -sf /%{_lib}/libhistory.so.%{version} %{buildroot}/%{_libdir}/libhistory.so +ln -sf /%{_lib}/libreadline.so.%{version} %{buildroot}/%{_libdir}/libreadline.so +mv -vf %{buildroot}/%{_lib}/libhistory.a %{buildroot}/%{_libdir}/libhistory.a +mv -vf %{buildroot}/%{_lib}/libreadline.a %{buildroot}/%{_libdir}/libreadline.a +rm -vrf %{buildroot}%{_datadir}/readline/ + +%post -n libreadline7 -p /sbin/ldconfig + +%postun -n libreadline7 -p /sbin/ldconfig + +%post doc +%install_info --info-dir=%{_infodir} %{_infodir}/history.info.gz +%install_info --info-dir=%{_infodir} %{_infodir}/readline.info.gz +%install_info --info-dir=%{_infodir} %{_infodir}/rluserman.info.gz + +%preun doc +%install_info_delete --info-dir=%{_infodir} %{_infodir}/history.info.gz +%install_info_delete --info-dir=%{_infodir} %{_infodir}/readline.info.gz +%install_info_delete --info-dir=%{_infodir} %{_infodir}/rluserman.info.gz + +%files -n libreadline7 +%license COPYING +/%{_lib}/libhistory.so.%{rl_major} +/%{_lib}/libhistory.so.%{version} +/%{_lib}/libreadline.so.%{rl_major} +/%{_lib}/libreadline.so.%{version} + +%files devel +%{_includedir}/readline/ +%{_libdir}/libhistory.so +%{_libdir}/libreadline.so + +%files devel-static +%{_libdir}/libhistory.a +%{_libdir}/libreadline.a + +%files doc +%doc %{_infodir}/history.info* +%doc %{_infodir}/readline.info* +%doc %{_infodir}/rluserman.info* +%doc %{_mandir}/man3/history.3* +%doc %{_mandir}/man3/readline.3* +%doc %{_docdir}/%{name}/ + +%changelog