[gentoo-commits] repo/gentoo:master commit in: sys-libs/readline/, sys-libs/readline/files/
commit: 02041c52541f9634f25cedaa27f6506698cb287e Author: Sam James gentoo org> AuthorDate: Sat May 11 00:41:20 2024 + Commit: Sam James gentoo org> CommitDate: Sat May 11 00:41:20 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02041c52 sys-libs/readline: move C99 patch to devspace While at it, sync src_unpack with app-shells/bash, as we need that to avoid trying and failing to verify an unsigned patch from devspace. Signed-off-by: Sam James gentoo.org> sys-libs/readline/Manifest |1 + .../readline/files/readline-8.1-rlfe-c99.patch | 1192 sys-libs/readline/readline-8.1_p2-r1.ebuild| 26 +- sys-libs/readline/readline-8.1_p2-r2.ebuild| 26 +- sys-libs/readline/readline-8.2_p10.ebuild | 25 +- sys-libs/readline/readline-8.3_alpha.ebuild| 26 +- sys-libs/readline/readline-.ebuild | 22 +- 7 files changed, 98 insertions(+), 1220 deletions(-) diff --git a/sys-libs/readline/Manifest b/sys-libs/readline/Manifest index 0d184ee7215e..f58de6b40340 100644 --- a/sys-libs/readline/Manifest +++ b/sys-libs/readline/Manifest @@ -1,3 +1,4 @@ +DIST readline-8.1-rlfe-c99.patch.xz 5756 BLAKE2B fb2df42d2c16bef68a3716c55374da7a9d95c8f4c5645da9a60aa72624d5baa50c70da78292adcb20e5fb11f28d6320d627522bc4c8faf0f7c4c782fd75664e8 SHA512 1bad39eff82212ed2cd5ae4ff574a4cdbe20ee56ecac1bae469c90304573d10ed82fdab75bc09725e400dbb5568a34345f3241a409b7ede5645a3c02c0101018 DIST readline-8.1.tar.gz 2993288 BLAKE2B f0feca1ea3517b2b613adacac8c997cce0e86aa2f410c82a40ce1a2e128067112b4c68dbf25b808291c28c47583345abac994ce10b8d117958afcb96ee5e7c69 SHA512 27790d0461da3093a7fee6e89a51dcab5dc61928ec42e9228ab36493b17220641d5e481ea3d8fee5ee0044c70bf960f55c7d3f1a704cf6b9c42e5c269b797e00 DIST readline-8.1.tar.gz.sig 95 BLAKE2B 8a297ef2ebf815ac53f02d6395aa2ff9f24234aef6b9793bfcd5a610cd3a5024182ad8ec8beb75eadd5cf876c57cd56d4226075578a86e0e2421d2e9b1677aa5 SHA512 42a6052d5882f16e5b6f8cd16433d793a9cbb43cf1886b2d858dc65ce067a4c39c8dda7331e52f76426c43de02c358f9ffdaf5c8fd7b089479008c1e5aa19112 DIST readline-8.2.tar.gz 3043952 BLAKE2B 7974322b9c092a756a79e537df08e8532f8e0fcb598f77732e28287c33ebec9e9837ed88b43334c310892d56a871b423903f0f564def2fbe700a1004f2ae7b18 SHA512 0a451d459146bfdeecc9cdd94bda6a6416d3e93abd80885a40b334312f16eb890f8618a27ca26868cebbddf1224983e631b1cbc002c1a4d1cd0d65fba9fea49a diff --git a/sys-libs/readline/files/readline-8.1-rlfe-c99.patch b/sys-libs/readline/files/readline-8.1-rlfe-c99.patch deleted file mode 100644 index 89a247d056ee.. --- a/sys-libs/readline/files/readline-8.1-rlfe-c99.patch +++ /dev/null @@ -1,1192 +0,0 @@ -From 565e32f70307a6c1771d19a7dd4041da84358d7f Mon Sep 17 00:00:00 2001 -From: Gabi Falk -Date: Thu, 9 May 2024 08:00:00 + -Subject: [PATCH] examples/rlfe/configure.in: Port to modern C (C99) -To: bug-readl...@gnu.org -Cc: Sam James - -Due to changes in GCC 14 enabling -Werror=implicit-function-declaration -and -Werror=implicit-int by default, without this change, this configure -script fails with: -configure: error: Can't run the compiler - sorry - -AC_USE_SYSTEM_EXTENSIONS is required because pts(4)-related functions -ptsname(3), grantpt(3), and unlockpt(3) are not exposed otherwise. - -Link: https://bugs.gentoo.org/870424 -Link: https://bugs.gentoo.org/919256 -Link: https://lists.gnu.org/archive/html/bug-readline/2024-05/msg0.html -Signed-off-by: Gabi Falk a/examples/rlfe/configure -+++ b/examples/rlfe/configure -@@ -1490,115 +1490,6 @@ fi - - } # ac_fn_c_try_link - --# ac_fn_c_try_run LINENO --# -- --# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes --# that executables *can* be run. --ac_fn_c_try_run () --{ -- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -- if { { ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" --$as_echo "$ac_try_echo"; } >&5 -- (eval "$ac_link") 2>&5 -- ac_status=$? -- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -- test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' -- { { case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" --$as_echo "$ac_try_echo"; } >&5 -- (eval "$ac_try") 2>&5 -- ac_status=$? -- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -- test $ac_status = 0; }; }; then : -- ac_retval=0 --else -- $as_echo "$as_me: program exited with status $ac_status" >&5 -- $as_echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_retval=$ac_status --fi -- rm -rf conftest.dSYM conftest_ipa8_conftest.oo -- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno --
[gentoo-commits] repo/gentoo:master commit in: sys-libs/readline/, sys-libs/readline/files/
commit: 5f2879693f68d2a9a489d923ffd6e4ff96ec714b Author: Gabi Falk gmx com> AuthorDate: Thu May 9 23:15:00 2024 + Commit: Sam James gentoo org> CommitDate: Sat May 11 00:26:39 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f287969 sys-libs/readline: USE=utils: port to modern C (C99) GCC 14 enables -Werror=implicit-function-declaration and -Werror=implicit-int by default. Closes: https://bugs.gentoo.org/870424 Closes: https://bugs.gentoo.org/919256 Link: https://lists.gnu.org/archive/html/bug-readline/2024-05/msg0.html Signed-off-by: Gabi Falk gmx.com> Closes: https://github.com/gentoo/gentoo/pull/36621 Signed-off-by: Sam James gentoo.org> .../readline/files/readline-8.1-rlfe-c99.patch | 1201 sys-libs/readline/readline-8.1_p2-r1.ebuild|2 +- sys-libs/readline/readline-8.1_p2-r2.ebuild|2 +- sys-libs/readline/readline-8.2_p10.ebuild |2 +- sys-libs/readline/readline-8.3_alpha.ebuild|1 + sys-libs/readline/readline-.ebuild |1 + 6 files changed, 1206 insertions(+), 3 deletions(-) diff --git a/sys-libs/readline/files/readline-8.1-rlfe-c99.patch b/sys-libs/readline/files/readline-8.1-rlfe-c99.patch new file mode 100644 index ..028f44784207 --- /dev/null +++ b/sys-libs/readline/files/readline-8.1-rlfe-c99.patch @@ -0,0 +1,1201 @@ +From 565e32f70307a6c1771d19a7dd4041da84358d7f Mon Sep 17 00:00:00 2001 +From: Gabi Falk +Date: Thu, 9 May 2024 08:00:00 + +Subject: [PATCH] examples/rlfe/configure.in: Port to modern C (C99) +To: bug-readl...@gnu.org +Cc: Sam James + +Due to changes in GCC 14 enabling -Werror=implicit-function-declaration +and -Werror=implicit-int by default, without this change, this configure +script fails with: +configure: error: Can't run the compiler - sorry + +AC_USE_SYSTEM_EXTENSIONS is required because pts(4)-related functions +ptsname(3), grantpt(3), and unlockpt(3) are not exposed otherwise. + +Link: https://bugs.gentoo.org/870424 +Link: https://bugs.gentoo.org/919256 +Link: https://lists.gnu.org/archive/html/bug-readline/2024-05/msg0.html +Signed-off-by: Gabi Falk +--- + examples/rlfe/configure| 668 - + examples/rlfe/configure.in | 88 +++-- + 2 files changed, 422 insertions(+), 334 deletions(-) + +diff --git a/examples/rlfe/configure b/examples/rlfe/configure +index 3928331..063113d 100755 +--- a/examples/rlfe/configure b/examples/rlfe/configure +@@ -1490,115 +1490,6 @@ fi + + } # ac_fn_c_try_link + +-# ac_fn_c_try_run LINENO +-# -- +-# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes +-# that executables *can* be run. +-ac_fn_c_try_run () +-{ +- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- if { { ac_try="$ac_link" +-case "(($ac_try" in +- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; +- *) ac_try_echo=$ac_try;; +-esac +-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 +- (eval "$ac_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' +- { { case "(($ac_try" in +- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; +- *) ac_try_echo=$ac_try;; +-esac +-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 +- (eval "$ac_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; }; then : +- ac_retval=0 +-else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_retval=$ac_status +-fi +- rm -rf conftest.dSYM conftest_ipa8_conftest.oo +- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno +- as_fn_set_status $ac_retval +- +-} # ac_fn_c_try_run +- +-# ac_fn_c_check_func LINENO FUNC VAR +-# -- +-# Tests whether FUNC exists, setting the cache variable VAR accordingly +-ac_fn_c_check_func () +-{ +- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +-$as_echo_n "checking for $2... " >&6; } +-if eval \${$3+:} false; then : +- $as_echo_n "(cached) " >&6 +-else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-/* Define $2 to an innocuous variant, in case declares $2. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $2 innocuous_$2 +- +-/* System header to define __stub macros and hopefully few prototypes, +-which can conflict with char $2 (); below. +-Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef $2 +- +-/* Override any GCC
[gentoo-commits] repo/gentoo:master commit in: sys-libs/readline/, sys-libs/readline/files/
commit: be86ca1b22fb91e2ccc6e82719342b38d8ac2afe Author: Mike Frysinger gentoo org> AuthorDate: Wed Jun 9 22:06:54 2021 + Commit: Mike Frysinger gentoo org> CommitDate: Wed Jun 9 22:07:06 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be86ca1b sys-libs/readline: add upstream fix for Windows cross-compiling Signed-off-by: Mike Frysinger gentoo.org> .../files/readline-8.1-windows-signals.patch | 23 ++ sys-libs/readline/readline-8.1_p1.ebuild | 1 + 2 files changed, 24 insertions(+) diff --git a/sys-libs/readline/files/readline-8.1-windows-signals.patch b/sys-libs/readline/files/readline-8.1-windows-signals.patch new file mode 100644 index 000..2f818fc7f9c --- /dev/null +++ b/sys-libs/readline/files/readline-8.1-windows-signals.patch @@ -0,0 +1,23 @@ +fix from upstream + +commit 4be5608573b2be2e31f3d2a01446e22e1c9d7839 +Author: Chet Ramey +Date: Wed Jan 27 11:49:50 2021 -0500 + +commit bash-20210122 snapshot + +diff --git a/lib/readline/signals.c b/lib/readline/signals.c +index 0943c643b27d..ecaf699e9261 100644 +--- a/signals.c b/signals.c +@@ -266,8 +266,10 @@ _rl_handle_signal (int sig) + case SIGQUIT: + #endif + ++#if defined (HAVE_POSIX_SIGNALS) + if (block_sig) + sigprocmask (SIG_BLOCK, , ); ++#endif + + rl_echo_signal_char (sig); + rl_cleanup_after_signal (); diff --git a/sys-libs/readline/readline-8.1_p1.ebuild b/sys-libs/readline/readline-8.1_p1.ebuild index 944bdc74689..5cd7a3bdc21 100644 --- a/sys-libs/readline/readline-8.1_p1.ebuild +++ b/sys-libs/readline/readline-8.1_p1.ebuild @@ -59,6 +59,7 @@ PATCHES=( "${FILESDIR}"/${PN}-7.0-headers.patch "${FILESDIR}"/${PN}-8.0-headers.patch "${FILESDIR}"/${PN}-8.0-darwin-shlib-versioning.patch + "${FILESDIR}"/${PN}-8.1-windows-signals.patch ) # Needed because we don't want the patches being unpacked
[gentoo-commits] repo/gentoo:master commit in: sys-libs/readline/, sys-libs/readline/files/
commit: 0744aa71b97569b82f51c23fc8164cf31f3d0382 Author: Fabian Groffen gentoo org> AuthorDate: Sat Dec 26 12:55:41 2020 + Commit: Fabian Groffen gentoo org> CommitDate: Sat Dec 26 12:55:41 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0744aa71 sys-libs/readline-8.1: add Prefix changes, bug #729980 Closes: https://bugs.gentoo.org/729980 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Fabian Groffen gentoo.org> .../readline-8.0-darwin-shlib-versioning.patch | 41 ++ sys-libs/readline/readline-8.1.ebuild | 15 ++-- 2 files changed, 53 insertions(+), 3 deletions(-) diff --git a/sys-libs/readline/files/readline-8.0-darwin-shlib-versioning.patch b/sys-libs/readline/files/readline-8.0-darwin-shlib-versioning.patch new file mode 100644 index 000..88128008771 --- /dev/null +++ b/sys-libs/readline/files/readline-8.0-darwin-shlib-versioning.patch @@ -0,0 +1,41 @@ +darwin: don't do multi-arch stuff, just build a normal shared library + +--- a/support/shobj-conf b/support/shobj-conf +@@ -180,34 +180,8 @@ + SHLIB_LIBVERSION='$(SHLIB_MAJOR)$(SHLIB_MINOR).$(SHLIB_LIBSUFF)' + SHLIB_LIBSUFF='dylib' + +- # unused at this time +- SHLIB_SONAME='$(libdir)/`echo $@ | sed "s:\\..*::"`.$(SHLIB_MAJOR).$(SHLIB_LIBSUFF)' +- +- case "${host_os}" in +- # Darwin versions 1, 5, 6, 7 correspond to Mac OS X 10.0, 10.1, 10.2, +- # and 10.3, respectively. +- darwin[1-7].*) +- SHOBJ_STATUS=unsupported +- SHOBJ_LDFLAGS='-dynamic' +- SHLIB_XLDFLAGS='-arch_only `/usr/bin/arch` -install_name $(libdir)/`echo $@ | sed "s:\\..*::"`.$(SHLIB_MAJOR).$(SHLIB_LIBSUFF) -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -v' +- ;; +- # Darwin 8 == Mac OS X 10.4; Mac OS X 10.N == Darwin N+4 +- *) +- case "${host_os}" in +- darwin[89]*|darwin1[012]*) +- SHOBJ_ARCHFLAGS='-arch_only `/usr/bin/arch`' +- ;; +- *) # Mac OS X 10.9 (Mavericks) and later +- SHOBJ_ARCHFLAGS= +- # for 32 and 64bit universal library +- #SHOBJ_ARCHFLAGS='-arch i386 -arch x86_64' +- #SHOBJ_CFLAGS=${SHOBJ_CFLAGS}' -arch i386 -arch x86_64' +- ;; +- esac +- SHOBJ_LDFLAGS="-dynamiclib -dynamic -undefined dynamic_lookup ${SHOBJ_ARCHFLAGS}" +- SHLIB_XLDFLAGS="-dynamiclib ${SHOBJ_ARCHFLAGS}"' -install_name $(libdir)/`echo $@ | sed "s:\\..*::"`.$(SHLIB_MAJOR).$(SHLIB_LIBSUFF) -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -v' +- ;; +- esac ++ SHOBJ_LDFLAGS='-dynamiclib -dynamic -undefined dynamic_lookup' ++ SHLIB_XLDFLAGS='-dynamiclib -install_name $(libdir)/`basename $@ $(SHLIB_MINOR)$(SHLIB_DOT)$(SHLIB_LIBSUFF)`$(SHLIB_DOT)$(SHLIB_LIBSUFF) -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR)' + + SHLIB_LIBS='-lncurses' # see if -lcurses works on MacOS X 10.1 + ;; diff --git a/sys-libs/readline/readline-8.1.ebuild b/sys-libs/readline/readline-8.1.ebuild index 025bd0395bd..1fbdc060022 100644 --- a/sys-libs/readline/readline-8.1.ebuild +++ b/sys-libs/readline/readline-8.1.ebuild @@ -42,7 +42,7 @@ esac LICENSE="GPL-3" SLOT="0/8" # subslot matches SONAME major [[ "${PV}" == *_rc* ]] || \ -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="static-libs +unicode utils" RDEPEND=">=sys-libs/ncurses-5.9-r3:0=[static-libs?,unicode?,${MULTILIB_USEDEP}]" @@ -58,6 +58,7 @@ PATCHES=( "${FILESDIR}"/${PN}-6.2-rlfe-tgoto.patch #385091 "${FILESDIR}"/${PN}-7.0-headers.patch "${FILESDIR}"/${PN}-8.0-headers.patch + "${FILESDIR}"/${PN}-8.0-darwin-shlib-versioning.patch ) # Needed because we don't want the patches being unpacked @@ -168,9 +169,17 @@ multilib_src_install_all() { pkg_preinst() { # bug #29865 # Reappeared in #595324 with paludis so keeping this for now... - preserve_old_lib /$(get_libdir)/lib{history,readline}.so.{4,5,6,7} + preserve_old_lib \ + /$(get_libdir)/lib{history,readline}$(get_libname 4) \ + /$(get_libdir)/lib{history,readline}$(get_libname 5) \ + /$(get_libdir)/lib{history,readline}$(get_libname 6) \ + /$(get_libdir)/lib{history,readline}$(get_libname 7) } pkg_postinst() { -
[gentoo-commits] repo/gentoo:master commit in: sys-libs/readline/, sys-libs/readline/files/
commit: 2ad8bd5161e9eafeb37f46c9a9e321903a1797e0 Author: Lars Wendler gentoo org> AuthorDate: Thu Jul 30 08:51:59 2020 + Commit: Lars Wendler gentoo org> CommitDate: Thu Jul 30 08:52:33 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ad8bd51 Revert "sys-libs/readline: Security cleanup (drop <8)" This reverts commit 2280012d7e09b97fb7441ea8c2b353f30a6ed356. because it breaks app-admin/puppet-agent and dev-lisp/clisp Bug: https://bugs.gentoo.org/717924 Signed-off-by: Lars Wendler gentoo.org> sys-libs/readline/Manifest | 15 ++ .../readline-6.3-fix-long-prompt-vi-search.patch | 26 +++ .../readline/files/readline-6.3-read-eof.patch | 54 +++ sys-libs/readline/files/readline-7.0-mingw.patch | 152 ++ .../files/readline-7.0-missing-echo-proto.patch| 14 ++ sys-libs/readline/readline-6.3_p8-r3.ebuild| 163 +++ sys-libs/readline/readline-7.0_p5-r1.ebuild| 174 + 7 files changed, 598 insertions(+) diff --git a/sys-libs/readline/Manifest b/sys-libs/readline/Manifest index 8dd67c3a4d8..030cef77bba 100644 --- a/sys-libs/readline/Manifest +++ b/sys-libs/readline/Manifest @@ -1,4 +1,19 @@ +DIST readline-6.3.tar.gz 2468560 BLAKE2B 24488ec141734c050ba985a93423692396f105619bae3ce5b109bc68a4f43862bcf3a6fb8d82fec1145d665cdb408765e179379bb35f008d09c441fa2e5739df SHA512 f70efaf46d570b85c7637172b0ee2eb9a4aa73ba38a62bb45075e665929d9701b96fba0aea6c767fd9a2a0d39dfe8e70ab06da08f8524aee76a7c502f370a401 +DIST readline-7.0.tar.gz 2910016 BLAKE2B 679b8aa7ce003017b729e6d8d4cb69d0f991578441a3e69005090079e61f6aa48b7ad4d0b1f34b6041528cf33254a1bf3ddb05b60db53a06e443d7922d49d0d4 SHA512 18243189d39bf0d4c8a76cddcce75243c1bae8824c686e9b6ba352667607e5b10c5feb79372a1093c1c388d821841670702e940df12eae94bcebdeed90047870 DIST readline-8.0.tar.gz 2975937 BLAKE2B 95e08b28cc46582f036379413810ca40c97d4d3bc59a9e03e04e57d531573abfbe955f6f1cb86e39c208bf6c3f4c618cff70a87bec596d0b9120909d6c5a2f69 SHA512 41759d27bc3a258fefd7f4ff3277fa6ab9c21abb7b160e1a75aa8eba547bd90b288514e76264bd94fb0172da8a4faa54aab2c07b68a0356918ecf7f1969e866f +DIST readline63-001 1366 BLAKE2B 82af5be99597719329db3f1d6049e75a5654ccf6597cf557c71ad7ada0ac03be87381a7738931eb78716de65902ae87498f574b84150a69eae9cc308c4bfffdd SHA512 e70f89ca52a4eae7e1cddd70de6a7162252231ee029c89bb3fcb0f6c8c8b46c666be910c8b2eee72e96983ec2f1a23663694dc222f67228d82e8e4684f1504a2 +DIST readline63-002 1297 BLAKE2B 5ace4a81381910ee48dee8cdbb2ca95a1bef2d1f8acca6d39a910c078c86de10a0fc29486939b336110ecb0281b3edb16e4b985f41e7ee161904728f289fff04 SHA512 4e23bd67433577e6e361d10a6c32768ea9e13b10e77493e565b870f56069b673fbcb0b860225f79fa9931845fc91d35c9a82c1385c23f8b757ebfd59f27851f4 +DIST readline63-003 985 BLAKE2B cf2cda505b100d5f820d8bfc99eed6b50e65c92b6a495073352fc7385c6456478594e5c2dc293ce556b66853dff705050fb97982aa25fce452ae53d2cb272cf4 SHA512 6bfb84a5b980091b995e2b96bdf5680f97fe670e6cac1b8606d2d75a1ef922ff5bd4e73f029f7af98a115006b7ab7828146f2cd6986287543d8a29987c91dc12 +DIST readline63-004 1363 BLAKE2B c1aec93f1e23acd51b36068d3aac31b93ffd9c1039be2c45ff4e6479135f153888030c68cf19c5ced950f6fbbb38ee7fa644d5a737f3f8ed511e97bf342940f5 SHA512 6b683e9fe28831885135391b5a23bc580cacf0ffe720951a80f545574eda4eb064fe189801d44329b2eb2d3577db5a90f9e5ad9ed131e7e8a8ae349511632721 +DIST readline63-005 1664 BLAKE2B f98f62be8676aca81b91d919bc4eccfe40c382a8baab0e64b1659b714f0d72424e29b709cc5e226fd73daf67eef264a17e07982d2553ce80f5e5f39fad70610b SHA512 b0332d7f999376788155341319d138a899a2278c338a6faaac89ecf3ed1e2248a07413dd810a76996bf25f211de787182b55f34ab3d7d31eb7519d7a48ebed32 +DIST readline63-006 1982 BLAKE2B ad6d16ff769eb8e367cf961ffe152c04778b046a04e4a62e0ce21d08fa16b0eca3d278dbdc274b082d24fa2ec959ffb62168ea7693b4de94b59a4526b1f0c4a2 SHA512 e9fbfa38d7b03ab2aff2e9e48918b85b4b67a729862ee47d1cc8e0aeb90c3224394a79f68829951e1377cae65742aa5385eae865f75e9c0b2e2abde42889431c +DIST readline63-007 1428 BLAKE2B 60e64c2dd36457e3992cfbfbbcc261337e515be360a37d71b9de236c62c781f10f0ec37e4e196b4634e5d547edebbf915370091ca42fff873b78cd80cfe3a7f2 SHA512 abee331894846b360203a521d9a66fa02c03214120d5cafbd1cb4d680bd7bbef14321ae845dd67f7b5e8c87322801fd96fc9a5fd0ae026b41d98dc24a8949854 +DIST readline63-008 1452 BLAKE2B 4e41c45be1479fba9f74bf9cedb8d1f6237e650962d5b45ea1a61cc48a8323a0fa60d76f68c011b6e7c73a1078b5ff80f9966e983b994f814d471d0efd9efde6 SHA512 8e30bbca3aa5cea8c2ee511abe0ec8f131608d74fe5ab24d68bcf452267f0f97446ed6e7cd482360876ce6c027280e4f4450cae05eb18f56046240f4c224841c +DIST readline70-001 1777 BLAKE2B ab217bd9d27f30351397db2b745cb33ac7e0ce18bbc00112bb87570da0f62ee0e8d182395c97e4ecc21af51e7e1e580ba48076de1095c556f0744475e4019821 SHA512 4402186905af8cd42c609d640c2e13b9ad61c7778e5a3fd2c2d9da301f0deab05b04d7836f31527262f44f406517823dbb18cb07f2c73931186c806b494699ec +DIST readline70-002 2953 BLAKE2B
[gentoo-commits] repo/gentoo:master commit in: sys-libs/readline/, sys-libs/readline/files/
commit: 2280012d7e09b97fb7441ea8c2b353f30a6ed356 Author: John Helmert III posteo net> AuthorDate: Wed Jul 29 20:30:35 2020 + Commit: Lars Wendler gentoo org> CommitDate: Thu Jul 30 08:04:52 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2280012d sys-libs/readline: Security cleanup (drop <8) Bug: https://bugs.gentoo.org/717924 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: John Helmert III posteo.net> Closes: https://github.com/gentoo/gentoo/pull/16893 Signed-off-by: Lars Wendler gentoo.org> sys-libs/readline/Manifest | 15 -- .../readline-6.3-fix-long-prompt-vi-search.patch | 26 --- .../readline/files/readline-6.3-read-eof.patch | 54 --- sys-libs/readline/files/readline-7.0-mingw.patch | 152 -- .../files/readline-7.0-missing-echo-proto.patch| 14 -- sys-libs/readline/readline-6.3_p8-r3.ebuild| 163 --- sys-libs/readline/readline-7.0_p5-r1.ebuild| 174 - 7 files changed, 598 deletions(-) diff --git a/sys-libs/readline/Manifest b/sys-libs/readline/Manifest index 030cef77bba..8dd67c3a4d8 100644 --- a/sys-libs/readline/Manifest +++ b/sys-libs/readline/Manifest @@ -1,19 +1,4 @@ -DIST readline-6.3.tar.gz 2468560 BLAKE2B 24488ec141734c050ba985a93423692396f105619bae3ce5b109bc68a4f43862bcf3a6fb8d82fec1145d665cdb408765e179379bb35f008d09c441fa2e5739df SHA512 f70efaf46d570b85c7637172b0ee2eb9a4aa73ba38a62bb45075e665929d9701b96fba0aea6c767fd9a2a0d39dfe8e70ab06da08f8524aee76a7c502f370a401 -DIST readline-7.0.tar.gz 2910016 BLAKE2B 679b8aa7ce003017b729e6d8d4cb69d0f991578441a3e69005090079e61f6aa48b7ad4d0b1f34b6041528cf33254a1bf3ddb05b60db53a06e443d7922d49d0d4 SHA512 18243189d39bf0d4c8a76cddcce75243c1bae8824c686e9b6ba352667607e5b10c5feb79372a1093c1c388d821841670702e940df12eae94bcebdeed90047870 DIST readline-8.0.tar.gz 2975937 BLAKE2B 95e08b28cc46582f036379413810ca40c97d4d3bc59a9e03e04e57d531573abfbe955f6f1cb86e39c208bf6c3f4c618cff70a87bec596d0b9120909d6c5a2f69 SHA512 41759d27bc3a258fefd7f4ff3277fa6ab9c21abb7b160e1a75aa8eba547bd90b288514e76264bd94fb0172da8a4faa54aab2c07b68a0356918ecf7f1969e866f -DIST readline63-001 1366 BLAKE2B 82af5be99597719329db3f1d6049e75a5654ccf6597cf557c71ad7ada0ac03be87381a7738931eb78716de65902ae87498f574b84150a69eae9cc308c4bfffdd SHA512 e70f89ca52a4eae7e1cddd70de6a7162252231ee029c89bb3fcb0f6c8c8b46c666be910c8b2eee72e96983ec2f1a23663694dc222f67228d82e8e4684f1504a2 -DIST readline63-002 1297 BLAKE2B 5ace4a81381910ee48dee8cdbb2ca95a1bef2d1f8acca6d39a910c078c86de10a0fc29486939b336110ecb0281b3edb16e4b985f41e7ee161904728f289fff04 SHA512 4e23bd67433577e6e361d10a6c32768ea9e13b10e77493e565b870f56069b673fbcb0b860225f79fa9931845fc91d35c9a82c1385c23f8b757ebfd59f27851f4 -DIST readline63-003 985 BLAKE2B cf2cda505b100d5f820d8bfc99eed6b50e65c92b6a495073352fc7385c6456478594e5c2dc293ce556b66853dff705050fb97982aa25fce452ae53d2cb272cf4 SHA512 6bfb84a5b980091b995e2b96bdf5680f97fe670e6cac1b8606d2d75a1ef922ff5bd4e73f029f7af98a115006b7ab7828146f2cd6986287543d8a29987c91dc12 -DIST readline63-004 1363 BLAKE2B c1aec93f1e23acd51b36068d3aac31b93ffd9c1039be2c45ff4e6479135f153888030c68cf19c5ced950f6fbbb38ee7fa644d5a737f3f8ed511e97bf342940f5 SHA512 6b683e9fe28831885135391b5a23bc580cacf0ffe720951a80f545574eda4eb064fe189801d44329b2eb2d3577db5a90f9e5ad9ed131e7e8a8ae349511632721 -DIST readline63-005 1664 BLAKE2B f98f62be8676aca81b91d919bc4eccfe40c382a8baab0e64b1659b714f0d72424e29b709cc5e226fd73daf67eef264a17e07982d2553ce80f5e5f39fad70610b SHA512 b0332d7f999376788155341319d138a899a2278c338a6faaac89ecf3ed1e2248a07413dd810a76996bf25f211de787182b55f34ab3d7d31eb7519d7a48ebed32 -DIST readline63-006 1982 BLAKE2B ad6d16ff769eb8e367cf961ffe152c04778b046a04e4a62e0ce21d08fa16b0eca3d278dbdc274b082d24fa2ec959ffb62168ea7693b4de94b59a4526b1f0c4a2 SHA512 e9fbfa38d7b03ab2aff2e9e48918b85b4b67a729862ee47d1cc8e0aeb90c3224394a79f68829951e1377cae65742aa5385eae865f75e9c0b2e2abde42889431c -DIST readline63-007 1428 BLAKE2B 60e64c2dd36457e3992cfbfbbcc261337e515be360a37d71b9de236c62c781f10f0ec37e4e196b4634e5d547edebbf915370091ca42fff873b78cd80cfe3a7f2 SHA512 abee331894846b360203a521d9a66fa02c03214120d5cafbd1cb4d680bd7bbef14321ae845dd67f7b5e8c87322801fd96fc9a5fd0ae026b41d98dc24a8949854 -DIST readline63-008 1452 BLAKE2B 4e41c45be1479fba9f74bf9cedb8d1f6237e650962d5b45ea1a61cc48a8323a0fa60d76f68c011b6e7c73a1078b5ff80f9966e983b994f814d471d0efd9efde6 SHA512 8e30bbca3aa5cea8c2ee511abe0ec8f131608d74fe5ab24d68bcf452267f0f97446ed6e7cd482360876ce6c027280e4f4450cae05eb18f56046240f4c224841c -DIST readline70-001 1777 BLAKE2B ab217bd9d27f30351397db2b745cb33ac7e0ce18bbc00112bb87570da0f62ee0e8d182395c97e4ecc21af51e7e1e580ba48076de1095c556f0744475e4019821 SHA512 4402186905af8cd42c609d640c2e13b9ad61c7778e5a3fd2c2d9da301f0deab05b04d7836f31527262f44f406517823dbb18cb07f2c73931186c806b494699ec -DIST readline70-002 2953 BLAKE2B
[gentoo-commits] repo/gentoo:master commit in: sys-libs/readline/, sys-libs/readline/files/
commit: 4b0bd0d1d7636f79c4c1a65ab280c7f9009ff26e Author: Mike Frysinger gentoo org> AuthorDate: Thu Nov 10 06:01:14 2016 + Commit: Mike Frysinger gentoo org> CommitDate: Thu Nov 10 06:01:14 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b0bd0d1 sys-libs/readline: add upstream patch for excessive history memory allocs #597006 .../files/readline-7.0-history-alloclist.patch | 29 ++ ...{readline-7.0.ebuild => readline-7.0-r1.ebuild} | 1 + 2 files changed, 30 insertions(+) diff --git a/sys-libs/readline/files/readline-7.0-history-alloclist.patch b/sys-libs/readline/files/readline-7.0-history-alloclist.patch new file mode 100644 index ..73faa60 --- /dev/null +++ b/sys-libs/readline/files/readline-7.0-history-alloclist.patch @@ -0,0 +1,29 @@ +https://bugs.gentoo.org/597006 +https://lists.gnu.org/archive/html/bug-bash/2016-10/msg00010.html + +*** ../bash-4.4/lib/readline/history.c 2015-12-28 13:50:31.0 -0500 +--- lib/readline/history.c 2016-09-30 14:28:40.0 -0400 +*** +*** 58,61 +--- 58,63 + #define DEFAULT_HISTORY_INITIAL_SIZE 502 + ++ #define MAX_HISTORY_INITIAL_SIZE 8192 ++ + /* The number of slots to increase the_history by. */ + #define DEFAULT_HISTORY_GROW_SIZE 50 +*** +*** 308,312 + { + if (history_stifled && history_max_entries > 0) +! history_size = history_max_entries + 2; + else + history_size = DEFAULT_HISTORY_INITIAL_SIZE; +--- 310,316 + { + if (history_stifled && history_max_entries > 0) +! history_size = (history_max_entries > MAX_HISTORY_INITIAL_SIZE) +! ? MAX_HISTORY_INITIAL_SIZE +! : history_max_entries + 2; + else + history_size = DEFAULT_HISTORY_INITIAL_SIZE; diff --git a/sys-libs/readline/readline-7.0.ebuild b/sys-libs/readline/readline-7.0-r1.ebuild similarity index 98% rename from sys-libs/readline/readline-7.0.ebuild rename to sys-libs/readline/readline-7.0-r1.ebuild index 56fddcb..aecaa1c 100644 --- a/sys-libs/readline/readline-7.0.ebuild +++ b/sys-libs/readline/readline-7.0-r1.ebuild @@ -54,6 +54,7 @@ src_prepare() { epatch "${FILESDIR}"/${PN}-5.0-no_rpath.patch epatch "${FILESDIR}"/${PN}-6.2-rlfe-tgoto.patch #385091 epatch "${FILESDIR}"/${PN}-7.0-headers.patch + epatch "${FILESDIR}"/${PN}-7.0-history-alloclist.patch #597006 # Force ncurses linking. #71420 # Use pkg-config to get the right values. #457558