577 Commits

Author SHA1 Message Date
Pepper Gray
90d1bd0d2b app-shells/bash: fix clang cross-compile
cross compiling with clang fails with:
`make[1]: gcc: No such file or directory`

export CC_FOR_BUILD when cross compiling

Closes: https://bugs.gentoo.org/977885
Signed-off-by: Pepper Gray <hello@peppergray.xyz>
Part-of: https://github.com/gentoo/gentoo/pull/46507
Closes: https://github.com/gentoo/gentoo/pull/46507
Signed-off-by: Sam James <sam@gentoo.org>
2026-07-03 23:26:24 +01:00
Eli Schwartz
25e824cfca app-shells/bash: Stabilize 5.3_p9-r2 x86, #978426
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-07-02 17:22:54 -04:00
Eli Schwartz
2072c8394d app-shells/bash: Stabilize 5.3_p9-r2 amd64, #978426
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-07-02 17:22:53 -04:00
Eli Schwartz
d168d0428c app-shells/bash: Stabilize 5.3_p9-r2 ppc64, #978426
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-07-02 17:22:53 -04:00
Eli Schwartz
aefa3babb8 app-shells/bash: Stabilize 5.3_p9-r2 ppc, #978426
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-07-02 17:22:53 -04:00
Eli Schwartz
7bd90bce5b app-shells/bash: Stabilize 5.3_p9-r2 arm64, #978426
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-07-02 14:21:56 -04:00
Eli Schwartz
7a4d4ad333 app-shells/bash: Stabilize 5.3_p9-r2 arm, #978426
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-07-02 14:21:54 -04:00
Sam James
a877b44e2e app-shells/bash: add 5.3_p15
Signed-off-by: Sam James <sam@gentoo.org>
2026-06-10 15:35:08 +01:00
Sam James
4cbbb730a4 app-shells/bash: add 5.3_p12
Signed-off-by: Sam James <sam@gentoo.org>
2026-06-04 23:41:17 +01:00
Sam James
ba92b72b77 app-shells/bash: fix PID reuse
Use backport from Kerin. A workaround in Portage is likely to still be
needed to be safe, though.

Bug: https://bugs.gentoo.org/970713
Closes: https://bugs.gentoo.org/970838
Signed-off-by: Sam James <sam@gentoo.org>
2026-05-09 13:21:56 +01:00
Sam James
3dd59dc97d app-shells/bash: stabilize 5.3_p9-r1
Signed-off-by: Sam James <sam@gentoo.org>
2026-04-07 04:13:30 +01:00
Sam James
227632ec41 app-shells/bash: add link to upstream bug
Signed-off-by: Sam James <sam@gentoo.org>
2026-03-30 20:15:44 +01:00
Sam James
babccc48c0 app-shells/bash: fix aliasing issue
This fixes bash being miscompiled by GCC 16 with -O2 -flto and USE=-plugins
(for -rdynamic to be dropped).

Closes: https://bugs.gentoo.org/971782
Reported-by: Kostadin Shishmanov <kostadinshishmanov@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
2026-03-30 20:07:27 +01:00
Sam James
c66b5a70ac app-shells/bash: fix PIPESIZE when cross-compiled to Hurd
We have to hack PIPESIZE because psize.sh doesn't behave correctly
for cross-compilation. It picks a too-small value and so config.status
generation at end of configure will hang natively.

I compiled psize.c manually and ran it on 32-bit Hurd (i686-gnu) to
verify the correct value.

Also, add a comment for another cross workaround we already had.

Bug: https://lists.debian.org/debian-cross/2023/11/msg00000.html
Bug: https://lists.gnu.org/archive/html/bug-bash/2024-11/msg00202.html
Bug: https://lists.nongnu.org/archive/html/bug-bash/2005-04/msg00074.html
Signed-off-by: Sam James <sam@gentoo.org>
2026-03-20 01:30:21 +00:00
Michael Mair-Keimberger
68531e0634 app-shells/bash: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mm1ke@gentoo.org>
2026-02-10 16:43:00 +01:00
Sam James
a0d86ba87b app-shells/bash: drop 5.3_p3-r3, 5.3_p8
Signed-off-by: Sam James <sam@gentoo.org>
2026-02-04 01:24:13 +00:00
Sam James
c615639319 app-shells/bash: drop old 5.4 snapshots
Signed-off-by: Sam James <sam@gentoo.org>
2026-02-04 01:23:57 +00:00
Eli Schwartz
92bc097449 app-shells/bash: Stabilize 5.3_p9 ppc64, #968332
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-01-04 07:52:15 -05:00
Eli Schwartz
afbc83cb0b app-shells/bash: Stabilize 5.3_p9 x86, #968332
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-01-04 07:38:07 -05:00
Eli Schwartz
2dbd3fa355 app-shells/bash: Stabilize 5.3_p9 ppc, #968332
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-01-04 06:50:45 -05:00
Sam James
a77c42561d app-shells/bash: Stabilize 5.3_p9 arm, #968332
Signed-off-by: Sam James <sam@gentoo.org>
2026-01-04 07:00:35 +00:00
Sam James
8e49a0a7a4 app-shells/bash: Stabilize 5.3_p9 amd64, #968332
Signed-off-by: Sam James <sam@gentoo.org>
2026-01-04 06:57:23 +00:00
Sam James
3f2d08e87a app-shells/bash: Stabilize 5.3_p9 arm64, #968332
Signed-off-by: Sam James <sam@gentoo.org>
2026-01-04 06:57:21 +00:00
Sam James
42cf514b86 app-shells/bash: fix typo in elog
Signed-off-by: Sam James <sam@gentoo.org>
2026-01-03 00:00:06 +00:00
Fabian Groffen
2d25fad95c */*: drop *-linux keywords
Bug: https://bugs.gentoo.org/473598
Bug: https://bugs.gentoo.org/720224
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2025-12-19 10:51:55 +01:00
Fabian Groffen
0a7ffce789 *: remove ppc-macos keyword
The arch and OS that matches it are obsolete.

Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2025-12-17 16:10:39 +01:00
Sam James
5e2fce803a app-shells/bash: add 5.3_p9
Signed-off-by: Sam James <sam@gentoo.org>
2025-12-10 17:05:07 +00:00
Sam James
1696f20291 app-shells/bash: add 5.4_alpha_pre20251202
Signed-off-by: Sam James <sam@gentoo.org>
2025-12-04 07:30:44 +00:00
Sam James
7001305796 app-shells/bash: add 5.3_p8
Signed-off-by: Sam James <sam@gentoo.org>
2025-11-26 21:08:59 +00:00
Sam James
d6d3391eaa app-shells/bash: add 5.4_alpha_pre20251124
Signed-off-by: Sam James <sam@gentoo.org>
2025-11-24 18:51:13 +00:00
Sam James
e476c3da77 app-shells/bash: add 5.4_alpha_pre20251119
Signed-off-by: Sam James <sam@gentoo.org>
2025-11-24 01:50:27 +00:00
Sam James
9834eb1070 app-shells/bash: drop 5.4_alpha_pre20251017, 5.4_alpha_pre20251023
Signed-off-by: Sam James <sam@gentoo.org>
2025-11-08 00:42:02 +00:00
Kerin Millar
de98e69a71 app-shells/bash: drop 5.2_p37-r4 and 5.3_p3-r2
Signed-off-by: Kerin Millar <kfm@plushkava.net>
Signed-off-by: Sam James <sam@gentoo.org>
2025-11-08 00:42:01 +00:00
Sam James
83cb58f7e3 app-shells/bash: add 5.4_alpha_pre20251027
Signed-off-by: Sam James <sam@gentoo.org>
2025-11-02 09:00:04 +00:00
Sam James
8956c11d04 app-shells/bash: add 5.4_alpha_pre20251023
Signed-off-by: Sam James <sam@gentoo.org>
2025-10-25 02:11:30 +01:00
Sam James
5739319829 app-shells/bash: drop old 5.4 snapshots
Signed-off-by: Sam James <sam@gentoo.org>
2025-10-21 17:55:52 +01:00
Sam James
e7ec1e5888 app-shells/bash: stabilize 5.3_p3-r3
Signed-off-by: Sam James <sam@gentoo.org>
2025-10-21 17:55:19 +01:00
Sam James
f6a2115f15 app-shells/bash: stabilize 5.2_p37-r5
Signed-off-by: Sam James <sam@gentoo.org>
2025-10-21 17:54:58 +01:00
Sam James
eedddf8a85 app-shells/bash: add 5.4_alpha_pre20251017
Signed-off-by: Sam James <sam@gentoo.org>
2025-10-19 23:43:00 +01:00
Sam James
f15daadb9a app-shells/bash: add 5.4_alpha_pre20251016
As of 5.4_alpha_pre20251016, bash tests finally exit non-0 on failure. The
differences look harmless but need investigation and fixing.

See https://lists.gnu.org/archive/html/bug-bash/2025-10/msg00054.html.

Signed-off-by: Sam James <sam@gentoo.org>
2025-10-16 17:58:51 +01:00
Sam James
0aecf5653c Revert "app-shells/bash: add 5.4_alpha_pre20251016"
This reverts commit 7ef5fa53b3.

Noise in commit msg.

Signed-off-by: Sam James <sam@gentoo.org>
2025-10-16 17:58:43 +01:00
Sam James
7ef5fa53b3 app-shells/bash: add 5.4_alpha_pre20251016
As of 5.4_alpha_pre20251016, bash tests finally exit non-0 on failure. The
differences look harmless but need investigation and fixing.

See https://lists.gnu.org/archive/html/bug-bash/2025-10/msg00054.html.

Signed-off-by: Sam James <sam@gentoo.org>

# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# On branch master
# Your branch is ahead of 'origin/master' by 1 commit.
#   (use "git push" to publish your local commits)
#
# Changes to be committed:
#	modified:   Manifest
#	copied:     bash-9999.ebuild -> bash-5.4_alpha_pre20251016.ebuild
#	modified:   bash-9999.ebuild
#
# Changes not staged for commit:
#	modified:   ../../media-libs/coin/Manifest
#	modified:   ../../media-sound/rosegarden/Manifest
#	modified:   ../../sci-libs/djbfft/djbfft-0.76-r3.ebuild
#
# Untracked files:
#	../../media-libs/coin/coin-4.0.6.ebuild
#	../../media-sound/rosegarden/files/rosegarden-25.06-includes.patch
#	../../media-sound/rosegarden/rosegarden-25.06.ebuild
#
2025-10-16 17:57:58 +01:00
Sam James
94c042b123 app-shells/bash: add 5.4_alpha_pre20251014
Signed-off-by: Sam James <sam@gentoo.org>
2025-10-15 06:23:41 +01:00
Sam James
c12141357a app-shells/bash: add 5.4_alpha_pre20251007
Signed-off-by: Sam James <sam@gentoo.org>
2025-10-08 05:41:25 +01:00
Sam James
bbfbf18b40 app-shells/bash: add 5.4_alpha_pre20251001
Signed-off-by: Sam James <sam@gentoo.org>
2025-10-01 21:00:27 +01:00
Kerin Millar
10ace6aa4d app-shells/bash: drop an unused 5.3 patch
Nothing references "bash-5.3-empty-PROMPT_COMMAND.patch" anymore.

Signed-off-by: Kerin Millar <kfm@plushkava.net>
Signed-off-by: Sam James <sam@gentoo.org>
2025-09-30 21:14:06 +01:00
Kerin Millar
53803e0ff8 app-shells/bash: drop 5.3_p3-r1
Signed-off-by: Kerin Millar <kfm@plushkava.net>
Signed-off-by: Sam James <sam@gentoo.org>
2025-09-30 21:14:05 +01:00
Kerin Millar
cd1c442155 app-shells/bash: revbump 5.2, 5.3 and 5.4 for improved title setting
This commit introduces the following versions.

- 5.2_p37-r5
- 5.3_p3-r3
- bash-5.4_alpha_pre20250918-r2 (replacing -r1)

They improve the window title setting behaviour by using the ${param@P}
form of expansion to expand "\u@\h \W" as a prompt string. A notable
consequence of this is that, upon switching to the home directory, the
current working directory will be shown as the <tilde> character again.

The value of PROMPT_DIRTRIM is now respected. If this variable is unset,
the use of the \W prompt string escape will prevail, with the current
working directory typically being shown as its basename. If set to 0 or
greater, \w will be used instead, which may be trimmed. This means that
the title can be made to show the full path by setting PROMPT_DIRTRIM=0.

Also, whitelist xterm-ghostty for XTWINOPS support.

Signed-off-by: Kerin Millar <kfm@plushkava.net>
Signed-off-by: Sam James <sam@gentoo.org>
2025-09-30 21:14:05 +01:00
Kerin Millar
82ef038c82 app-shells/bash: overhaul SLOT 0 ebuilds; minimise their differences
The bash ebuilds in SLOT 0 continue to diverge from one another in small
but irksome ways, which makes working on them a chore. As such, the main
purpose of this commit is to minimise the differences between them.
Beyond that, several other changes have been made. All of the changes
are described herewith.

As regards the matter of difference minimisation:

- order the patterns of the first case statement in a consistent way
- declare BASH_COMMIT within the scope of the first case statement
- always declare BASH_COMMIT (even if as a null string or dead code)
- remove a redundant ;; operator from the first case statement
- always acknowledge that BASH_COMMIT might be set
- declare S within the scope of the second case statement
- consistently mention that Chet advises against the use of byacc

In pkg_postinst(), incorporate a warning to the effect of the
"15-gentoo-bashrc-check.bash" file being safe to delete.

Restructure the pkg_postinst() code so as to make it easier to
incorporate additional, version-dependent, upgrade notices.

In pkg_postinst(), if the terminal is found to be more than 80 columns
wide, invoke the fmt(1) utility so as to reflow the upgrade notice(s).

Signed-off-by: Kerin Millar <kfm@plushkava.net>
Signed-off-by: Sam James <sam@gentoo.org>
2025-09-30 21:14:04 +01:00
Kerin Millar
3fe09cee79 app-shells/bash: drop files/bashrc.d/15-gentoo-bashrc-check.bash
Drop the "15-gentoo-bashrc-check.bash" drop-in, whose retirement was
overdue. Do so by:

- dropping 5.2_p37-r3
- dropping the 5.4 snapshots, except for the latest
- revision-bumping the latest 5.4 snapshot

Signed-off-by: Kerin Millar <kfm@plushkava.net>
Signed-off-by: Sam James <sam@gentoo.org>
2025-09-30 21:14:03 +01:00