readline package update
Signed-off-by: basebuilder_pel7ppc64bebuilder0 <basebuilder@powerel.org>master
parent
ecc3f3337c
commit
d6d5f6e299
|
@ -0,0 +1,115 @@
|
|||
diff -up readline-6.1/config.h.in.audit readline-6.1/config.h.in
|
||||
--- readline-6.1/config.h.in.audit 2009-03-10 15:57:45.000000000 +0100
|
||||
+++ readline-6.1/config.h.in 2011-01-18 15:14:51.199219895 +0100
|
||||
@@ -29,6 +29,9 @@
|
||||
|
||||
#undef __CHAR_UNSIGNED__
|
||||
|
||||
+/* Define if you have <linux/audit.h> and it defines AUDIT_USER_TTY */
|
||||
+#undef HAVE_DECL_AUDIT_USER_TTY
|
||||
+
|
||||
/* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */
|
||||
#undef STAT_MACROS_BROKEN
|
||||
|
||||
diff -up readline-6.1/configure.audit readline-6.1/configure
|
||||
--- readline-6.1/configure.audit 2009-12-29 23:33:49.000000000 +0100
|
||||
+++ readline-6.1/configure 2011-01-18 15:21:20.571330373 +0100
|
||||
@@ -6602,7 +6602,9 @@ _ACEOF
|
||||
|
||||
fi
|
||||
|
||||
-
|
||||
+cat >>confdefs.h <<_ACEOF
|
||||
+#define HAVE_DECL_AUDIT_USER_TTY 1
|
||||
+_ACEOF
|
||||
|
||||
{ $as_echo "$as_me:$LINENO: checking if signal handlers must be reinstalled when invoked" >&5
|
||||
$as_echo_n "checking if signal handlers must be reinstalled when invoked... " >&6; }
|
||||
diff -up readline-6.1/configure.in.audit readline-6.1/configure.in
|
||||
--- readline-6.1/configure.in.audit 2009-10-12 16:12:15.000000000 +0200
|
||||
+++ readline-6.1/configure.in 2011-01-18 15:14:51.199219895 +0100
|
||||
@@ -159,6 +159,8 @@ AC_CHECK_HEADERS(sys/ptem.h,,,
|
||||
|
||||
AC_SYS_LARGEFILE
|
||||
|
||||
+AC_CHECK_DECLS([AUDIT_USER_TTY],,, [[#include <linux/audit.h>]])
|
||||
+
|
||||
BASH_SYS_SIGNAL_VINTAGE
|
||||
BASH_SYS_REINSTALL_SIGHANDLERS
|
||||
|
||||
diff -up readline-6.1/readline.c.audit readline-6.1/readline.c
|
||||
--- readline-6.1/readline.c.audit 2009-08-31 14:45:31.000000000 +0200
|
||||
+++ readline-6.1/readline.c 2011-01-18 15:14:51.200219841 +0100
|
||||
@@ -55,6 +55,12 @@
|
||||
extern int errno;
|
||||
#endif /* !errno */
|
||||
|
||||
+#if defined (HAVE_DECL_AUDIT_USER_TTY)
|
||||
+# include <sys/socket.h>
|
||||
+# include <linux/audit.h>
|
||||
+# include <linux/netlink.h>
|
||||
+#endif
|
||||
+
|
||||
/* System-specific feature definitions and include files. */
|
||||
#include "rldefs.h"
|
||||
#include "rlmbutil.h"
|
||||
@@ -301,7 +307,47 @@ rl_set_prompt (prompt)
|
||||
rl_visible_prompt_length = rl_expand_prompt (rl_prompt);
|
||||
return 0;
|
||||
}
|
||||
-
|
||||
+
|
||||
+#if defined (HAVE_DECL_AUDIT_USER_TTY)
|
||||
+/* Report STRING to the audit system. */
|
||||
+static void
|
||||
+audit_tty (char *string)
|
||||
+{
|
||||
+ struct sockaddr_nl addr;
|
||||
+ struct msghdr msg;
|
||||
+ struct nlmsghdr nlm;
|
||||
+ struct iovec iov[2];
|
||||
+ size_t size;
|
||||
+ int fd;
|
||||
+
|
||||
+ size = strlen (string) + 1;
|
||||
+ fd = socket (AF_NETLINK, SOCK_RAW, NETLINK_AUDIT);
|
||||
+ if (fd < 0)
|
||||
+ return;
|
||||
+ nlm.nlmsg_len = NLMSG_LENGTH (size);
|
||||
+ nlm.nlmsg_type = AUDIT_USER_TTY;
|
||||
+ nlm.nlmsg_flags = NLM_F_REQUEST;
|
||||
+ nlm.nlmsg_seq = 0;
|
||||
+ nlm.nlmsg_pid = 0;
|
||||
+ iov[0].iov_base = &nlm;
|
||||
+ iov[0].iov_len = sizeof (nlm);
|
||||
+ iov[1].iov_base = string;
|
||||
+ iov[1].iov_len = size;
|
||||
+ addr.nl_family = AF_NETLINK;
|
||||
+ addr.nl_pid = 0;
|
||||
+ addr.nl_groups = 0;
|
||||
+ msg.msg_name = &addr;
|
||||
+ msg.msg_namelen = sizeof (addr);
|
||||
+ msg.msg_iov = iov;
|
||||
+ msg.msg_iovlen = 2;
|
||||
+ msg.msg_control = NULL;
|
||||
+ msg.msg_controllen = 0;
|
||||
+ msg.msg_flags = 0;
|
||||
+ (void)sendmsg (fd, &msg, 0);
|
||||
+ close (fd);
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
/* Read a line of input. Prompt with PROMPT. An empty PROMPT means
|
||||
none. A return value of NULL means that EOF was encountered. */
|
||||
char *
|
||||
@@ -352,6 +398,11 @@ readline (prompt)
|
||||
RL_SETSTATE (RL_STATE_CALLBACK);
|
||||
#endif
|
||||
|
||||
+#if defined (HAVE_DECL_AUDIT_USER_TTY)
|
||||
+ if (value != NULL)
|
||||
+ audit_tty (value);
|
||||
+#endif
|
||||
+
|
||||
return (value);
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
diff -up readline-6.2/chardefs.h.orig readline-6.2/chardefs.h
|
||||
--- readline-6.2/chardefs.h.orig 2011-08-31 09:24:01.852751855 +0200
|
||||
+++ readline-6.2/chardefs.h 2011-08-31 09:24:07.143685706 +0200
|
||||
@@ -72,7 +72,7 @@
|
||||
# define IN_CTYPE_DOMAIN(c) isascii(c)
|
||||
#endif
|
||||
|
||||
-#if !defined (isxdigit) && !defined (HAVE_ISXDIGIT)
|
||||
+#if !defined (isxdigit) && !defined (HAVE_ISXDIGIT) && !defined (__cplusplus)
|
||||
# define isxdigit(c) (isdigit((c)) || ((c) >= 'a' && (c) <= 'f') || ((c) >= 'A' && (c) <= 'F'))
|
||||
#endif
|
|
@ -0,0 +1,24 @@
|
|||
diff -up ./complete.c.old ./complete.c
|
||||
--- ./complete.c.old 2012-01-11 14:26:23.610354454 +0100
|
||||
+++ ./complete.c 2012-01-11 14:31:44.073348115 +0100
|
||||
@@ -485,7 +485,7 @@ get_y_or_n (for_pager)
|
||||
driven functions. Have to wait until next major version to add new
|
||||
state definition, since it will change value of RL_STATE_DONE. */
|
||||
#if defined (READLINE_CALLBACKS)
|
||||
- if (RL_ISSTATE (RL_STATE_CALLBACK))
|
||||
+ if (RL_ISSTATE (RL_STATE_CALLBACK) && (! RL_ISSTATE (RL_STATE_FEDORA_GDB)))
|
||||
return 1;
|
||||
#endif
|
||||
|
||||
diff -up ./readline.h.old ./readline.h
|
||||
--- ./readline.h.old 2012-01-11 14:25:55.049711510 +0100
|
||||
+++ ./readline.h 2012-01-11 14:28:22.854863691 +0100
|
||||
@@ -840,6 +840,8 @@ extern int rl_inhibit_completion;
|
||||
|
||||
#define RL_STATE_DONE 0x1000000 /* done; accepted line */
|
||||
|
||||
+#define RL_STATE_FEDORA_GDB 0x2000000 /* exception for fedora gdb */
|
||||
+
|
||||
#define RL_SETSTATE(x) (rl_readline_state |= (x))
|
||||
#define RL_UNSETSTATE(x) (rl_readline_state &= ~(x))
|
||||
#define RL_ISSTATE(x) (rl_readline_state & (x))
|
|
@ -0,0 +1,39 @@
|
|||
diff --git a/util.c b/util.c
|
||||
index 6c68ad8..713e637 100644
|
||||
--- a/util.c
|
||||
+++ b/util.c
|
||||
@@ -493,10 +493,13 @@ _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);
|
||||
}
|
||||
|
||||
@@ -509,16 +512,17 @@ _rl_tropen ()
|
||||
fclose (_rl_tracefp);
|
||||
sprintf (fnbuf, "/var/tmp/rltrace.%ld", getpid());
|
||||
unlink(fnbuf);
|
||||
- _rl_tracefp = fopen (fnbuf, "w+");
|
||||
+ _rl_tracefp = fopen (fnbuf, "w+xe");
|
||||
return _rl_tracefp != 0;
|
||||
}
|
||||
|
||||
int
|
||||
_rl_trclose ()
|
||||
{
|
||||
- int r;
|
||||
+ int r = 0;
|
||||
|
||||
- r = fclose (_rl_tracefp);
|
||||
+ if (_rl_tracefp)
|
||||
+ r = fclose (_rl_tracefp);
|
||||
_rl_tracefp = 0;
|
||||
return r;
|
||||
}
|
|
@ -0,0 +1,41 @@
|
|||
diff -up readline-6.2/shlib/Makefile.in.shlib readline-6.2/shlib/Makefile.in
|
||||
--- readline-6.2/shlib/Makefile.in.shlib 2010-12-28 21:56:21.000000000 +0100
|
||||
+++ readline-6.2/shlib/Makefile.in 2011-02-14 17:34:38.821537496 +0100
|
||||
@@ -170,7 +170,7 @@ $(SHARED_READLINE): $(SHARED_OBJ)
|
||||
|
||||
$(SHARED_HISTORY): $(SHARED_HISTOBJ) xmalloc.so xfree.so
|
||||
$(RM) $@
|
||||
- $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_HISTOBJ) xmalloc.so xfree.so $(SHLIB_LIBS)
|
||||
+ $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_HISTOBJ) xmalloc.so xfree.so
|
||||
|
||||
# Since tilde.c is shared between readline and bash, make sure we compile
|
||||
# it with the right flags when it's built as part of readline
|
||||
diff -up readline-6.2/support/shlib-install.shlib readline-6.2/support/shlib-install
|
||||
--- readline-6.2/support/shlib-install.shlib 2009-10-28 14:30:18.000000000 +0100
|
||||
+++ readline-6.2/support/shlib-install 2011-02-14 17:33:07.611768164 +0100
|
||||
@@ -72,7 +72,7 @@ fi
|
||||
case "$host_os" in
|
||||
hpux*|darwin*|macosx*|linux*)
|
||||
if [ -z "$uninstall" ]; then
|
||||
- chmod 555 ${INSTALLDIR}/${LIBNAME}
|
||||
+ chmod 755 ${INSTALLDIR}/${LIBNAME}
|
||||
fi ;;
|
||||
cygwin*|mingw*)
|
||||
IMPLIBNAME=`echo ${LIBNAME} \
|
||||
diff -up readline-6.2/support/shobj-conf.shlib readline-6.2/support/shobj-conf
|
||||
--- readline-6.2/support/shobj-conf.shlib 2009-10-28 14:20:21.000000000 +0100
|
||||
+++ readline-6.2/support/shobj-conf 2011-02-14 17:33:07.612767986 +0100
|
||||
@@ -112,10 +112,11 @@ sunos5*|solaris2*)
|
||||
linux*-*|gnu*-*|k*bsd*-gnu-*|freebsd*-gentoo)
|
||||
SHOBJ_CFLAGS=-fPIC
|
||||
SHOBJ_LD='${CC}'
|
||||
- SHOBJ_LDFLAGS='-shared -Wl,-soname,$@'
|
||||
+ SHOBJ_LDFLAGS='$(CFLAGS) -shared -Wl,-soname,$@'
|
||||
|
||||
- SHLIB_XLDFLAGS='-Wl,-rpath,$(libdir) -Wl,-soname,`basename $@ $(SHLIB_MINOR)`'
|
||||
+ SHLIB_XLDFLAGS='-Wl,-soname,`basename $@ $(SHLIB_MINOR)`'
|
||||
SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)$(SHLIB_MINOR)'
|
||||
+ SHLIB_LIBS='-ltinfo'
|
||||
;;
|
||||
|
||||
freebsd2*)
|
|
@ -0,0 +1,46 @@
|
|||
READLINE PATCH REPORT
|
||||
=====================
|
||||
|
||||
Readline-Release: 6.2
|
||||
Patch-ID: readline62-001
|
||||
|
||||
Bug-Reported-by: Clark J. Wang <dearvoid@gmail.com>
|
||||
Bug-Reference-ID: <AANLkTimGbW7aC4E5infXP6ku5WPci4t=xVc+L1SyHqrD@mail.gmail.com>
|
||||
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2011-02/msg00157.html
|
||||
|
||||
Bug-Description:
|
||||
|
||||
The readline vi-mode `cc', `dd', and `yy' commands failed to modify the
|
||||
entire line.
|
||||
|
||||
[This patch intentionally does not modify patchlevel]
|
||||
|
||||
Patch (apply with `patch -p0'):
|
||||
|
||||
*** ../readline-6.2-patched/vi_mode.c 2010-11-20 19:51:39.000000000 -0500
|
||||
--- vi_mode.c 2011-02-17 20:24:25.000000000 -0500
|
||||
***************
|
||||
*** 1115,1119 ****
|
||||
_rl_vi_last_motion = c;
|
||||
RL_UNSETSTATE (RL_STATE_VIMOTION);
|
||||
! return (0);
|
||||
}
|
||||
#if defined (READLINE_CALLBACKS)
|
||||
--- 1115,1119 ----
|
||||
_rl_vi_last_motion = c;
|
||||
RL_UNSETSTATE (RL_STATE_VIMOTION);
|
||||
! return (vidomove_dispatch (m));
|
||||
}
|
||||
#if defined (READLINE_CALLBACKS)
|
||||
*** ../readline-6.2-patched/callback.c 2010-06-06 12:18:58.000000000 -0400
|
||||
--- callback.c 2011-02-17 20:43:28.000000000 -0500
|
||||
***************
|
||||
*** 149,152 ****
|
||||
--- 149,155 ----
|
||||
/* Should handle everything, including cleanup, numeric arguments,
|
||||
and turning off RL_STATE_VIMOTION */
|
||||
+ if (RL_ISSTATE (RL_STATE_NUMERICARG) == 0)
|
||||
+ _rl_internal_char_cleanup ();
|
||||
+
|
||||
return;
|
||||
}
|
|
@ -0,0 +1,65 @@
|
|||
READLINE PATCH REPORT
|
||||
=====================
|
||||
|
||||
Readline-Release: 6.2
|
||||
Patch-ID: readline62-003
|
||||
|
||||
Bug-Reported-by: Max Horn <max@quendi.de>
|
||||
Bug-Reference-ID: <20CC5C60-07C3-4E41-9817-741E48D407C5@quendi.de>
|
||||
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-readline/2012-06/msg00005.html
|
||||
|
||||
Bug-Description:
|
||||
|
||||
A change between readline-6.1 and readline-6.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 readline-6.2 behavior.
|
||||
|
||||
Patch (apply with `patch -p0'):
|
||||
|
||||
*** ../readline-6.2-patched/input.c 2010-05-30 18:33:01.000000000 -0400
|
||||
--- input.c 2012-06-25 21:08:42.000000000 -0400
|
||||
***************
|
||||
*** 410,414 ****
|
||||
rl_read_key ()
|
||||
{
|
||||
! int c;
|
||||
|
||||
rl_key_sequence_length++;
|
||||
--- 412,416 ----
|
||||
rl_read_key ()
|
||||
{
|
||||
! int c, r;
|
||||
|
||||
rl_key_sequence_length++;
|
||||
***************
|
||||
*** 430,441 ****
|
||||
while (rl_event_hook)
|
||||
{
|
||||
! if (rl_gather_tyi () < 0) /* XXX - EIO */
|
||||
{
|
||||
rl_done = 1;
|
||||
return ('\n');
|
||||
}
|
||||
RL_CHECK_SIGNALS ();
|
||||
- if (rl_get_char (&c) != 0)
|
||||
- break;
|
||||
if (rl_done) /* XXX - experimental */
|
||||
return ('\n');
|
||||
--- 432,447 ----
|
||||
while (rl_event_hook)
|
||||
{
|
||||
! if (rl_get_char (&c) != 0)
|
||||
! break;
|
||||
!
|
||||
! if ((r = rl_gather_tyi ()) < 0) /* XXX - EIO */
|
||||
{
|
||||
rl_done = 1;
|
||||
return ('\n');
|
||||
}
|
||||
+ else if (r == 1) /* read something */
|
||||
+ continue;
|
||||
+
|
||||
RL_CHECK_SIGNALS ();
|
||||
if (rl_done) /* XXX - experimental */
|
||||
return ('\n');
|
|
@ -0,0 +1,427 @@
|
|||
Summary: A library for editing typed command lines
|
||||
Name: readline
|
||||
Version: 6.2
|
||||
Release: 10%{?dist}
|
||||
License: GPLv3+
|
||||
Group: System Environment/Libraries
|
||||
URL: http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
|
||||
Source: ftp://ftp.gnu.org/gnu/readline/readline-%{version}.tar.gz
|
||||
# upstream patches
|
||||
Patch1: ftp://ftp.cwru.edu/pub/bash/readline-6.2-patches/readline62-001
|
||||
Patch2: ftp://ftp.cwru.edu/pub/bash/readline-6.2-patches/readline62-003
|
||||
|
||||
# fix file permissions, remove RPATH, use CFLAGS
|
||||
Patch20: readline-6.2-shlib.patch
|
||||
# add TTY input audit support
|
||||
Patch21: readline-6.1-audit.patch
|
||||
# isxdigit should not be defined as macro
|
||||
Patch22: readline-6.2-cppmacro.patch
|
||||
# add workaround for problem in gdb
|
||||
# in new version of readline needs to be deleted
|
||||
Patch23: readline-6.2-gdb.patch
|
||||
Patch24: readline-6.2-rl_trace.patch
|
||||
Requires(post): /sbin/install-info
|
||||
Requires(preun): /sbin/install-info
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%description
|
||||
The Readline library provides a set of functions that allow users to
|
||||
edit command lines. Both Emacs and vi editing modes are available. The
|
||||
Readline library includes additional functions for maintaining a list
|
||||
of previously-entered command lines for recalling or editing those
|
||||
lines, and for performing csh-like history expansion on previous
|
||||
commands.
|
||||
|
||||
%package devel
|
||||
Summary: Files needed to develop programs which use the readline library
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: ncurses-devel
|
||||
Requires(post): /sbin/install-info
|
||||
Requires(preun): /sbin/install-info
|
||||
|
||||
%description devel
|
||||
The Readline library provides a set of functions that allow users to
|
||||
edit typed command lines. If you want to develop programs that will
|
||||
use the readline library, you need to have the readline-devel package
|
||||
installed. You also need to have the readline package installed.
|
||||
|
||||
%package static
|
||||
Summary: Static libraries for the readline library
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}-devel = %{version}-%{release}
|
||||
|
||||
%description static
|
||||
The readline-static package contains the static version of the readline
|
||||
library.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p0
|
||||
%patch2 -p0
|
||||
%patch20 -p1 -b .shlib
|
||||
%patch21 -p1 -b .audit
|
||||
%patch22 -p1 -b .cppmacro
|
||||
%patch23 -p1 -b .gdb
|
||||
%patch24 -p1 -b .rl
|
||||
|
||||
pushd examples
|
||||
rm -f rlfe/configure
|
||||
iconv -f iso8859-1 -t utf8 -o rl-fgets.c{_,}
|
||||
touch -r rl-fgets.c{,_}
|
||||
mv -f rl-fgets.c{_,}
|
||||
popd
|
||||
|
||||
%build
|
||||
export CPPFLAGS="-I%{_includedir}/ncurses"
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
|
||||
mkdir $RPM_BUILD_ROOT/%{_lib}
|
||||
mv $RPM_BUILD_ROOT%{_libdir}/libreadline.so.* $RPM_BUILD_ROOT/%{_lib}
|
||||
for l in $RPM_BUILD_ROOT%{_libdir}/libreadline.so; do
|
||||
ln -sf $(echo %{_libdir} | \
|
||||
sed 's,\(^/\|\)[^/][^/]*,..,g')/%{_lib}/$(readlink $l) $l
|
||||
done
|
||||
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/readline
|
||||
rm -f $RPM_BUILD_ROOT%{_infodir}/dir*
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
/sbin/install-info %{_infodir}/history.info.gz %{_infodir}/dir &> /dev/null
|
||||
/sbin/install-info %{_infodir}/rluserman.info.gz %{_infodir}/dir &> /dev/null
|
||||
:
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
if [ $1 = 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/history.info.gz %{_infodir}/dir &> /dev/null
|
||||
/sbin/install-info --delete %{_infodir}/rluserman.info.gz %{_infodir}/dir &> /dev/null
|
||||
fi
|
||||
:
|
||||
|
||||
%post devel
|
||||
/sbin/install-info %{_infodir}/readline.info.gz %{_infodir}/dir &> /dev/null
|
||||
:
|
||||
|
||||
%preun devel
|
||||
if [ $1 = 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/readline.info.gz %{_infodir}/dir &> /dev/null
|
||||
fi
|
||||
:
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGES COPYING NEWS README USAGE
|
||||
/%{_lib}/libreadline*.so.*
|
||||
%{_libdir}/libhistory*.so.*
|
||||
%{_infodir}/history.info*
|
||||
%{_infodir}/rluserman.info*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc examples/*.c examples/*.h examples/rlfe
|
||||
%{_includedir}/readline
|
||||
%{_libdir}/lib*.so
|
||||
%{_mandir}/man3/*
|
||||
%{_infodir}/readline.info*
|
||||
|
||||
%files static
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/lib*.a
|
||||
|
||||
%changelog
|
||||
* Mon Feb 13 2017 Siteshwar Vashisht <svashisht@redhat.com> - 6.2-10
|
||||
- Fix for slow behaviour while pasting text
|
||||
Resolves: #1300513
|
||||
|
||||
* Mon Mar 24 2014 Lukáš Nykrýn <lnykryn@redhat.com> - 6.2-9
|
||||
- fix for CVE-2014-2524
|
||||
|
||||
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 6.2-8
|
||||
- Mass rebuild 2014-01-24
|
||||
|
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 6.2-7
|
||||
- Mass rebuild 2013-12-27
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Wed Jan 11 2012 Lukas Nykryn <lnykryn@redhat.com> 6.2-4
|
||||
- temporary fix for problem with gdb, wait for y/n (#701131)
|
||||
|
||||
* Wed Aug 31 2011 Lukas Nykryn <lnykryn@redhat.com> 6.2-3
|
||||
- isxdigit is no longer defined as macro ic c++ (#723299)
|
||||
|
||||
* Tue Mar 01 2011 Miroslav Lichvar <mlichvar@redhat.com> 6.2-2
|
||||
- include patch 001
|
||||
|
||||
* Tue Feb 15 2011 Miroslav Lichvar <mlichvar@redhat.com> 6.2-1
|
||||
- update to 6.2
|
||||
|
||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Tue Jan 18 2011 Miroslav Lichvar <mlichvar@redhat.com> 6.1-3
|
||||
- include patches 001, 002 (#657758)
|
||||
- add TTY input audit support (#244350)
|
||||
|
||||
* Wed Feb 17 2010 Lubomir Rintel <lkundrak@v3.sk> 6.1-2
|
||||
- fix the version number in header
|
||||
|
||||
* Tue Jan 12 2010 Miroslav Lichvar <mlichvar@redhat.com> 6.1-1
|
||||
- update to 6.1
|
||||
|
||||
* Tue Aug 25 2009 Miroslav Lichvar <mlichvar@redhat.com> 6.0-3
|
||||
- include patch 004
|
||||
- suppress install-info errors (#515910)
|
||||
- remove dir* in infodir after install (#492097)
|
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Tue Jul 14 2009 Miroslav Lichvar <mlichvar@redhat.com> 6.0-1
|
||||
- update to 6.0
|
||||
- include patches 001, 002, 003
|
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Sun Mar 23 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 5.2-13
|
||||
- Fix the previous %%changelog entry authorship.
|
||||
|
||||
* Sun Mar 23 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 5.2-12
|
||||
- Fix excessive prompts on CTRL-C abort while the prompt is being printed.
|
||||
|
||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.2-11
|
||||
- Autorebuild for GCC 4.3
|
||||
|
||||
* Fri Jan 18 2008 Miroslav Lichvar <mlichvar@redhat.com> 5.2-10
|
||||
- move libreadline to /lib
|
||||
|
||||
* Thu Jan 03 2008 Miroslav Lichvar <mlichvar@redhat.com> 5.2-9
|
||||
- include upstream patches 008-011
|
||||
|
||||
* Mon Nov 05 2007 Miroslav Lichvar <mlichvar@redhat.com> 5.2-8
|
||||
- fix cursor position when prompt has one invisible character (#358231)
|
||||
- merge review fixes (#226361)
|
||||
- fix source URL
|
||||
|
||||
* Mon Aug 27 2007 Miroslav Lichvar <mlichvar@redhat.com> 5.2-7
|
||||
- include patches 005, 006, 007
|
||||
|
||||
* Wed Aug 22 2007 Miroslav Lichvar <mlichvar@redhat.com> 5.2-6
|
||||
- update license tag
|
||||
|
||||
* Tue May 29 2007 Miroslav Lichvar <mlichvar@redhat.com> 5.2-5
|
||||
- include patches 5.2-003, 5.2-004
|
||||
|
||||
* Thu Mar 22 2007 Miroslav Lichvar <mlichvar@redhat.com> 5.2-4
|
||||
- apply 5.2-002 patch
|
||||
|
||||
* Thu Mar 15 2007 Miroslav Lichvar <mlichvar@redhat.com> 5.2-3
|
||||
- link libreadline with libtinfo (#232277)
|
||||
- include upstream 5.2-001 patch
|
||||
- move static libraries to -static subpackage, spec cleanup
|
||||
|
||||
* Thu Nov 30 2006 Miroslav Lichvar <mlichvar@redhat.com> 5.2-2
|
||||
- require ncurses-devel instead of libtermcap-devel
|
||||
|
||||
* Mon Nov 13 2006 Miroslav Lichvar <mlichvar@redhat.com> 5.2-1
|
||||
- update to 5.2 (#213795)
|
||||
- use CFLAGS when linking (#199374)
|
||||
- package docs and examples (#172497)
|
||||
- spec cleanup
|
||||
|
||||
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 5.1-1.1
|
||||
- rebuild
|
||||
|
||||
* Mon Jul 10 2006 Jindrich Novy <jnovy@redhat.com> 5.1-1
|
||||
- update to readline-5.1
|
||||
- apply new proposed upstream patches for 5.1 (001-004)
|
||||
- drop "read -e" patch, applied upstream
|
||||
|
||||
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 5.0-3.2.1
|
||||
- bump again for double-long bug on ppc(64)
|
||||
|
||||
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 5.0-3.2
|
||||
- rebuilt for new gcc4.1 snapshot and glibc changes
|
||||
|
||||
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Wed Mar 2 2005 Tim Waugh <twaugh@redhat.com> 5.0-3
|
||||
- Rebuild for new GCC.
|
||||
|
||||
* Tue Jan 18 2005 Tim Waugh <twaugh@redhat.com> 5.0-2
|
||||
- Fix line-wrapping (bug #145329).
|
||||
- Apply "read -e" patch from bash package.
|
||||
|
||||
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> 5.0-1
|
||||
- 5.0 (bug #144835).
|
||||
|
||||
* Mon Nov 29 2004 Tim Waugh <twaugh@redhat.com> 4.3-14
|
||||
- Added URL tag (bug #141106).
|
||||
|
||||
* Thu Sep 2 2004 Jeremy Katz <katzj@redhat.com> - 4.3-13
|
||||
- rebuild so that static linking against readline will work on ppc64
|
||||
without dot symbols
|
||||
|
||||
* Mon Jun 28 2004 Tim Waugh <twaugh@redhat.com> 4.3-12
|
||||
- Build requires libtool (bug #126589).
|
||||
|
||||
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Fri Nov 28 2003 Thomas Woerner <twoerner@redhat.com> 4.3-9
|
||||
- removed rpath
|
||||
|
||||
* Thu Nov 6 2003 Tim Waugh <twaugh@redhat.com> 4.3-8
|
||||
- Apply upstream patches (bug #109240 among others).
|
||||
|
||||
* Wed Jun 25 2003 Tim Waugh <twaugh@redhat.com>
|
||||
- devel package requires libtermcap-devel (bug #98015).
|
||||
|
||||
* Wed Jun 25 2003 Tim Waugh <twaugh@redhat.com> 4.3-7
|
||||
- Fixed recursion loop (bug #92372).
|
||||
|
||||
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Wed Nov 20 2002 Tim Powers <timp@redhat.com>
|
||||
- rebuild in current collinst
|
||||
- BuildRequires autoconf only
|
||||
|
||||
* Wed Aug 07 2002 Phil Knirsch <pknirsch@redhat.com> 4.3-3
|
||||
- Fixed Esc-O-M stack overflow bug.
|
||||
|
||||
* Mon Jul 22 2002 Phil Knirsch <pknirsch@redhat.com> 4.3-1
|
||||
- Updated to latest readline release 4.3
|
||||
|
||||
* Thu Jul 11 2002 Phil Knirsch <pknirsch@redhat.com> 4.2a-7
|
||||
- Fixed problem with alpha build.
|
||||
|
||||
* Wed Jul 10 2002 Phil Knirsch <pknirsch@redhat.com>
|
||||
- Fixed utf8 problem (originally observed in bash).
|
||||
|
||||
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 4.2a-6
|
||||
- automated rebuild
|
||||
|
||||
* Thu May 23 2002 Tim Powers <timp@redhat.com> 4.2a-5
|
||||
- automated rebuild
|
||||
|
||||
* Wed Mar 20 2002 Trond Eivind Glomsrød <teg@redhat.com> 4.2a-4
|
||||
- Use autoconf 2.53, not 2.52
|
||||
|
||||
* Mon Mar 4 2002 Bernhard Rosenkraenzer <bero@redhat.com> 4.2a-3
|
||||
- Rebuild
|
||||
|
||||
* Mon Nov 26 2001 Matt Wilson <msw@redhat.com> 4.2a-2
|
||||
- removed the manual symlinking of .so, readline handles this by itself
|
||||
- call only %%makeinstall, not %%makeinstall install install-shared as
|
||||
this makes bogus .old files in the buildroot
|
||||
|
||||
* Tue Nov 20 2001 Bernhard Rosenkraenzer <bero@redhat.com> 4.2a-1
|
||||
- 4.2a
|
||||
|
||||
* Tue Oct 2 2001 Bernhard Rosenkraenzer <bero@redhat.com> 4.2-4
|
||||
- Work around autoconf bug
|
||||
|
||||
* Mon Oct 1 2001 Bernhard Rosenkraenzer <bero@redhat.com> 4.2-3
|
||||
- Don't use readline's internal re-implementation of strpbrk on systems
|
||||
that have strpbrk - the system implementation is faster and better maintained.
|
||||
|
||||
* Tue Aug 7 2001 Bernhard Rosenkraenzer <bero@redhat.com> 4.2-2
|
||||
- Make sure headers can be included from C++ applications (#51131)
|
||||
(Patch based on Debian's with the bugs removed ;) )
|
||||
|
||||
* Wed May 09 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
||||
- update to 4.2 and adapt patches
|
||||
|
||||
* Fri Apr 6 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||
- change the paths listed for the header files in the man page to reflect
|
||||
the location changes from previous versions (#35073)
|
||||
- note that "on" is acceptable instead of "On" in the man page (#21327)
|
||||
|
||||
* Thu Mar 8 2001 Preston Brown <pbrown@redhat.com>
|
||||
- fix reading of end key termcap value (@7 is correct, was kH) (#30884)
|
||||
|
||||
* Tue Jan 30 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||
- mark the man page as currently out-of-date (#25294)
|
||||
|
||||
* Thu Sep 7 2000 Jeff Johnson <jbj@redhat.com>
|
||||
- FHS packaging (64bit systems need to use libdir).
|
||||
|
||||
* Thu Aug 17 2000 Jeff Johnson <jbj@redhat.com>
|
||||
- summaries from specspo.
|
||||
|
||||
* Wed Aug 2 2000 Florian La Roche <Florian.LaRoche@redhat.com>
|
||||
- use "rm -f" in specfile
|
||||
|
||||
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
||||
- automatic rebuild
|
||||
|
||||
* Mon Jun 5 2000 Jeff Johnson <jbj@redhat.com>
|
||||
- FHS packaging.
|
||||
|
||||
* Tue Mar 21 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
||||
- 4.1
|
||||
|
||||
* Thu Feb 03 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||
- update to 4.0
|
||||
|
||||
* Fri Apr 09 1999 Michael K. Johnson <johnsonm@redhat.com>
|
||||
- added guard patch from Taneli Huuskonen <huuskone@cc.helsinki.fi>
|
||||
|
||||
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
||||
- auto rebuild in the new build environment (release 4)
|
||||
|
||||
* Sun Jul 26 1998 Jeff Johnson <jbj@redhat.com>
|
||||
- updated to 2.2.1
|
||||
|
||||
* Wed May 06 1998 Prospector System <bugs@redhat.com>
|
||||
- translations modified for de, fr, tr
|
||||
|
||||
* Wed May 06 1998 Cristian Gafton <gafton@redhat.com>
|
||||
- don't package /usr/info/dir
|
||||
|
||||
* Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
|
||||
- devel package moved to Development/Libraries
|
||||
|
||||
* Tue Apr 21 1998 Cristian Gafton <gafton@redhat.com>
|
||||
- updated to 2.2
|
||||
|
||||
* Tue Oct 14 1997 Donnie Barnes <djb@redhat.com>
|
||||
- spec file cleanups
|
||||
|
||||
* Fri Oct 10 1997 Erik Troan <ewt@redhat.com>
|
||||
- added proper sonames
|
||||
|
||||
* Tue Jul 08 1997 Erik Troan <ewt@redhat.com>
|
||||
- updated to readline 2.1
|
||||
|
||||
* Tue Jun 03 1997 Erik Troan <ewt@redhat.com>
|
||||
- built against glibc
|
Loading…
Reference in New Issue