This reverts commit 119cc91fa0.
eautoreconf is missing here for a patch which touches configure.ac. Not
only that, we can't just add it in as it breaks config.h/some custom file
derived from that and then breaks tests.
Bug: https://bugs.gentoo.org/963406
Signed-off-by: Sam James <sam@gentoo.org>
Note that the 'tests' target does run them all, but in most cases, we don't
use that because of the shell needed for the 'portage' user.
So, wire up the following:
* 'unit', added in e7429f2be8643e1100380a8a7389d85cc286c8fe upstream (2014);
* 'file-tests', added in 159e987a54d92ccd73875e7581ffc64e8927a715 upstream (2019).
It would be nice to perhaps wire up more of the interop tests w/ dropbear
and twisted (IIRC) at some point.
Signed-off-by: Sam James <sam@gentoo.org>
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>
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>
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>