diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-09 06:41:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-09 06:41:15 +0000 |
commit | d94fef9a5708b8e64f363f4a71f0b56caef5efe4 (patch) | |
tree | b8041134209c7d8f47560e719b584508ea78180f /app-shells/bash | |
parent | 9991465b0b90d77b2a8a2ae833b6ecd99e6b5101 (diff) |
gentoo auto-resync : 09:01:2025 - 06:41:15
Diffstat (limited to 'app-shells/bash')
-rw-r--r-- | app-shells/bash/Manifest | 4 | ||||
-rw-r--r-- | app-shells/bash/bash-5.0_p18-r3.ebuild (renamed from app-shells/bash/bash-5.0_p18-r2.ebuild) | 87 | ||||
-rw-r--r-- | app-shells/bash/bash-5.1_p16-r14.ebuild (renamed from app-shells/bash/bash-5.1_p16-r13.ebuild) | 120 |
3 files changed, 23 insertions, 188 deletions
diff --git a/app-shells/bash/Manifest b/app-shells/bash/Manifest index 926cbc4d8422..b7394a6b466e 100644 --- a/app-shells/bash/Manifest +++ b/app-shells/bash/Manifest @@ -475,8 +475,8 @@ EBUILD bash-4.1_p17.ebuild 4731 BLAKE2B 7be493ca2db1a7f9224090463aa13864e2b1eec4 EBUILD bash-4.2_p53.ebuild 5284 BLAKE2B be81e596f4c2d3b705cba02fa2a4739f9dd57de5f04b70bd0a3a300361bf238445b0bb3a48028483e8a0f6746b8f4641c988e75974cbc2d28fdb757f1b34046d SHA512 5abae3545c25e3ccf63f36e48e63ceb835e7bce6498abdd0490ed2cc08ed4cb02ebf77d8797a7abd45a2b675f7c45a7bcc73933de91b93d6dcef2ceb732ab4be EBUILD bash-4.3_p48-r2.ebuild 6485 BLAKE2B b4d6713527bc4b18aec27d001543b967030e4de416e9258637690a19f135aeecb017cebbffe9016d49255cc26f1f417e4fda8b34da9d3c2ac61c45daace56fd5 SHA512 8c4eca867cc4a0934b203eab9f34ca43cd9a1b5e0f392a7848737d5cc95152cd8cf08749d4629225dda48f3558e7a5801d457cc526bcff49ee5328d63459cfe3 EBUILD bash-4.4_p23-r2.ebuild 6483 BLAKE2B 20f9cc2edee161f4d43cbcb556ff363187ffcef3f2460717228ab040c53c778d275133e9db2139facedce13e8f539bdfe3128e55123a20e5a3dea852e982f949 SHA512 ab969f429bfbd4f410e65e081367f3f110053c28dc1f8690960f6966d59b6d34f04bb78a2291c9daffb034670478b7d827728753a5dc106146840558168f8a1d -EBUILD bash-5.0_p18-r2.ebuild 7807 BLAKE2B 1db98c0168fcf5eb0315b934f5f04d3ef61f908afb4481541ab9c803c41fae7d4db69b8dac13e75bc371d3cf1658837a57d695fda46cbb04555c88a4eeda5089 SHA512 912679e15afa98689ba62c16b8ce1f1b29a10cf549a956f3e7e9dd89d8296be050d3e2c93d205efc34d1ce2d0094af1dab9cd3ef383720d4ba371e7f002ea64a -EBUILD bash-5.1_p16-r13.ebuild 10425 BLAKE2B 5d1139d0b9988ece989e126d48b0522c4835805541d8e2a201d02a36dbc06e0cfcfc603c3f064e9ef1c08579dc8740be73e66bcbc2ab3f4db40c30a9d4a0dacb SHA512 9d2541cbc9b8bbdc172b9b0fa624ff2e3fbe0d8291b82e2e7f0054293cba9ede3d2c3c752c96f1363fe7febda0162180ecd40ea432e228670066e196e8b62604 +EBUILD bash-5.0_p18-r3.ebuild 6559 BLAKE2B c264bd72d3e69d1fda3bb9fb15ea331269dcd2c0fb0bf6c7c70abe636441183604323259dc4ec1cc7905c411d4d6d26d7cb6ecea76b1ffb8b8bd5b9f1dfd1d3f SHA512 374d9bca14a7e4bd69543810421dcb9be53ec6fbdc7cae5d8814e55ec1a954811a2a281ec5e47f51773a799be73d7ef96e226bbf75ed865a32393d9946e17e40 +EBUILD bash-5.1_p16-r14.ebuild 7505 BLAKE2B f294e53426c8b2bc69f7e53ae0d68aafcfcc965474c971c03235b6a80f45f65f0166b970952a0dddd974e1667a9a6feb54f89c520d745f9e1377a6a7e14d0a81 SHA512 2822edee1a804a6035c650e3ef678471a8de58ad2180193dc4ed5f55bd993c6a24efe9ba1629a25d89f391bbc5cd96675367bf562ddcd4812faca3e4d5a2f7fa EBUILD bash-5.2_p37.ebuild 11864 BLAKE2B fbc51a614a3cd31d434e578600c4b4183520e008ccd005fd5edecbe6272d01264e0612a45f6537d994f057572e78bbf68fcd2dc3832f6b9d7650236a4eb856c2 SHA512 148edbf2b3479f3b70238fa182075db8a65dc364e7627498e11ad52b9fc073b36e8a570b0321106835b690902a6ceecbd8b2064ef6f82dae5c3cdf4c2b6bbcd0 EBUILD bash-5.3_beta.ebuild 12151 BLAKE2B 5cf02450b8bce041d6f302c2c16b5c722595eafc6db3a2ca1e71828fc13024ec5a43c66112edf885668c64dc4ad4b5806586105d202d6da81374077c1ee54934 SHA512 601a3ed600d8ee0c5be161e8f092083e922c2c85f9e9bedc92ffb15e71aeaae699db6657fa88db3471d781820951bf1b618e2ed511fb832d713975eff1a20913 EBUILD bash-5.3_beta_p20241230.ebuild 12151 BLAKE2B c38fae9308404e7e8f3412c0e1369920b77e444c1bbefa08fdcddab4a6a915894631d47eb39e333c7a83ef5a00ba58fc215c2e2e84796d07f927d69b3c0f0fe1 SHA512 eb89477c73e1d20c06e9dd6e4c8e94e0aa38c57502592c3f54b886a6e9a51eb4353135e4df399314baf7652504cd3c0b679f4557b68f367356799745e7f315a6 diff --git a/app-shells/bash/bash-5.0_p18-r2.ebuild b/app-shells/bash/bash-5.0_p18-r3.ebuild index 8b51f3570ada..2fa356b7fac0 100644 --- a/app-shells/bash/bash-5.0_p18-r2.ebuild +++ b/app-shells/bash/bash-5.0_p18-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -53,7 +53,7 @@ if [[ -n ${GENTOO_PATCH_VER} ]] ; then fi LICENSE="GPL-3" -SLOT="0" +SLOT="${MY_PV}" KEYWORDS="~alpha amd64 arm arm64 hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="afs bashlogger examples mem-scramble +net nls plugins +readline" @@ -130,7 +130,7 @@ src_configure() { # bash 5.3 drops unprototyped functions, earlier versions are # incompatible with C23. - append-cflags $(test-flags-CC -std=gnu17) + append-cflags $(test-flags-CC -std=gnu89) local myconf=( --disable-profiling @@ -209,80 +209,15 @@ src_compile() { } src_install() { - local d f + into / + newbin bash bash-${SLOT} - default + newman doc/bash.1 bash-${SLOT}.1 + newman doc/builtins.1 builtins-${SLOT}.1 - dodir /bin - mv "${ED}"/usr/bin/bash "${ED}"/bin/ || die - dosym bash /bin/rbash + insinto /usr/share/info + newins doc/bashref.info bash-${SLOT}.info + dosym bash-${SLOT}.info /usr/share/info/bashref-${SLOT}.info - insinto /etc/bash - doins "${FILESDIR}"/bash_logout - doins "$(prefixify_ro "${FILESDIR}"/bashrc)" - - keepdir /etc/bash/bashrc.d - - insinto /etc/skel - for f in bash{_logout,_profile,rc} ; do - newins "${FILESDIR}"/dot-${f} .${f} - done - - local sed_args=( - -e 's:#GNU#@::' - -e '/#@/d' - ) - - if ! use readline ; then - # bug #432338 - sed_args+=( - -e '/^shopt -s histappend/s:^:#:' - -e 's:use_color=true:use_color=false:' - ) - fi - - sed -i \ - "${sed_args[@]}" \ - "${ED}"/etc/skel/.bashrc \ - "${ED}"/etc/bash/bashrc || die - - if use plugins ; then - exeinto /usr/$(get_libdir)/bash - doexe $(echo examples/loadables/*.o | sed 's:\.o::g') - - insinto /usr/include/bash-plugins - doins *.h builtins/*.h include/*.h lib/{glob/glob.h,tilde/tilde.h} - fi - - if use examples ; then - for d in examples/{functions,misc,scripts,startup-files} ; do - exeinto /usr/share/doc/${PF}/${d} - docinto ${d} - for f in ${d}/* ; do - if [[ ${f##*/} != PERMISSION ]] && [[ ${f##*/} != *README ]] ; then - doexe ${f} - else - dodoc ${f} - fi - done - done - fi - - doman doc/*.1 - newdoc CWRU/changelog ChangeLog - dosym bash.info /usr/share/info/bashref.info -} - -pkg_preinst() { - if [[ -e ${EROOT}/etc/bashrc ]] && [[ ! -d ${EROOT}/etc/bash ]] ; then - mkdir -p "${EROOT}"/etc/bash - mv -f "${EROOT}"/etc/bashrc "${EROOT}"/etc/bash/ - fi -} - -pkg_postinst() { - # If /bin/sh does not exist, provide it - if [[ ! -e ${EROOT}/bin/sh ]] ; then - ln -sf bash "${EROOT}"/bin/sh - fi + dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO } diff --git a/app-shells/bash/bash-5.1_p16-r13.ebuild b/app-shells/bash/bash-5.1_p16-r14.ebuild index c760b90a57da..0a1dbe4b63a9 100644 --- a/app-shells/bash/bash-5.1_p16-r13.ebuild +++ b/app-shells/bash/bash-5.1_p16-r14.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -63,7 +63,7 @@ fi S=${WORKDIR}/${MY_P} LICENSE="GPL-3+" -SLOT="0" +SLOT="${MY_PV}" if (( PLEVEL >= 0 )); then KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" fi @@ -248,115 +248,15 @@ src_compile() { } src_install() { - local d f - - default - - my_prefixify() { - while read -r; do - if [[ $REPLY == *$1* ]]; then - REPLY=${REPLY/"/etc/"/"${EPREFIX}/etc/"} - fi - printf '%s\n' "${REPLY}" || ! break - done < "$2" || die - } - - dodir /bin - mv -- "${ED}"/usr/bin/bash "${ED}"/bin/ || die - dosym bash /bin/rbash - - insinto /etc/bash - doins "${FILESDIR}"/bash_logout - my_prefixify bashrc.d "${FILESDIR}"/bashrc-r1 | newins - bashrc - - insinto /etc/bash/bashrc.d - my_prefixify DIR_COLORS "${FILESDIR}"/bashrc.d/10-gentoo-color.bash | newins - 10-gentoo-color.bash - doins "${FILESDIR}"/bashrc.d/10-gentoo-title.bash - if [[ ! ${EPREFIX} ]]; then - doins "${FILESDIR}"/bashrc.d/15-gentoo-bashrc-check.bash - fi - - insinto /etc/skel - for f in bash{_logout,_profile,rc}; do - newins "${FILESDIR}/dot-${f}" ".${f}" - done - - if use plugins; then - exeinto "/usr/$(get_libdir)/bash" - set -- examples/loadables/*.o - doexe "${@%.o}" - - insinto /usr/include/bash-plugins - doins *.h builtins/*.h include/*.h lib/{glob/glob.h,tilde/tilde.h} - fi - - if use examples; then - for d in examples/{functions,misc,scripts,startup-files}; do - exeinto "/usr/share/doc/${PF}/${d}" - docinto "${d}" - for f in "${d}"/*; do - if [[ ${f##*/} != @(PERMISSION|*README) ]]; then - doexe "${f}" - else - dodoc "${f}" - fi - done - done - fi - - # Install bash_builtins.1 and rbash.1. - emake -C doc DESTDIR="${D}" install_builtins - sed 's:bash\.1:man1/&:' doc/rbash.1 > "${T}"/rbash.1 || die - doman "${T}"/rbash.1 - - newdoc CWRU/changelog ChangeLog - dosym bash.info /usr/share/info/bashref.info -} - -pkg_preinst() { - if [[ -e ${EROOT}/etc/bashrc ]] && [[ ! -d ${EROOT}/etc/bash ]]; then - mkdir -p -- "${EROOT}"/etc/bash \ - && mv -f -- "${EROOT}"/etc/bashrc "${EROOT}"/etc/bash/ \ - || die - fi -} - -pkg_postinst() { - local old_ver - - # If /bin/sh does not exist, provide it. - if [[ ! -e ${EROOT}/bin/sh ]]; then - ln -sf -- bash "${EROOT}"/bin/sh || die - fi - - read -r old_ver <<<"${REPLACING_VERSIONS}" - if [[ ! $old_ver ]]; then - : - elif ver_test "$old_ver" -ge "5.2" && ver_test "$old_ver" -ge "5.2_p26-r6"; then - return - elif ver_test "$old_ver" -lt "5.2" && ver_test "$old_ver" -ge "5.1_p16-r13"; then - return - fi - - while read -r; do ewarn "${REPLY}"; done <<'EOF' -Files situated under /etc/bash/bashrc.d must now have a suffix of .sh or .bash. - -Gentoo now defaults to defining PROMPT_COMMAND as an array. Depending on the -characteristics of the operating environment, this array may contain a command -to set the terminal's window title. Those already choosing to customise the -PROMPT_COMMAND variable are now advised to append their commands like so: - -PROMPT_COMMAND+=('custom command goes here') + into / + newbin bash bash-${SLOT} -Gentoo no longer defaults to having bash manipulate the window title in the case -that the terminal is controlled by sshd(8), unless screen or tmux are in use. -Those wanting to set the title unconditionally may adjust ~/.bashrc - or create -a custom /etc/bash/bashrc.d drop-in - to set PROMPT_COMMMAND like so: + newman doc/bash.1 bash-${SLOT}.1 + newman doc/builtins.1 builtins-${SLOT}.1 -PROMPT_COMMAND=(genfun_set_win_title) + insinto /usr/share/info + newins doc/bashref.info bash-${SLOT}.info + dosym bash-${SLOT}.info /usr/share/info/bashref-${SLOT}.info -Those who would prefer for bash never to interfere with the window title may -now opt out of the default title setting behaviour, either with the "unset -v -PROMPT_COMMAND" command or by re-defining PROMPT_COMMAND as desired. -EOF + dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO } |