diff options
author | mirror@stealer.net <mirror@stealer.net> | 2025-08-03 02:00:21 +0000 |
---|---|---|
committer | mirror@stealer.net <mirror@stealer.net> | 2025-08-03 02:00:21 +0000 |
commit | 41a037b4a476b543b96a6fee680b168fe58c5203 (patch) | |
tree | d13b8e676e57c36e16d805a1e62df273d30258c7 | |
parent | cc46afa63779ef6f993c66bd9087933497e440cd (diff) |
2025-08-03 01:40:37+00:00github-rsync-mirror
-rw-r--r-- | Manifest | 30 | ||||
-rw-r--r-- | Manifest.files.gz | bin | 30441 -> 30442 bytes | |||
-rw-r--r-- | app-shells/Manifest.gz | bin | 10484 -> 10481 bytes | |||
-rw-r--r-- | app-shells/bash/Manifest | 2 | ||||
-rw-r--r-- | app-shells/bash/bash-5.4_alpha_pre20250801.ebuild | 403 | ||||
-rw-r--r-- | metadata/.checksum-test-marker | 2 | ||||
-rw-r--r-- | metadata/Manifest.gz | bin | 18132 -> 18130 bytes | |||
-rw-r--r-- | metadata/dtd/timestamp.chk | 2 | ||||
-rw-r--r-- | metadata/glsa/Manifest | 28 | ||||
-rw-r--r-- | metadata/glsa/timestamp.chk | 2 | ||||
-rw-r--r-- | metadata/md5-cache/Manifest.gz | bin | 29048 -> 29049 bytes | |||
-rw-r--r-- | metadata/md5-cache/app-shells/Manifest.gz | bin | 21008 -> 21167 bytes | |||
-rw-r--r-- | metadata/md5-cache/app-shells/bash-5.4_alpha_pre20250801 | 14 | ||||
-rw-r--r-- | metadata/news/Manifest | 28 | ||||
-rw-r--r-- | metadata/news/timestamp.chk | 2 | ||||
-rw-r--r-- | metadata/timestamp | 2 | ||||
-rw-r--r-- | metadata/timestamp.chk | 2 | ||||
-rw-r--r-- | metadata/timestamp.commit | 2 | ||||
-rw-r--r-- | metadata/timestamp.x | 2 | ||||
-rw-r--r-- | metadata/xml-schema/timestamp.chk | 2 |
20 files changed, 471 insertions, 52 deletions
diff --git a/Manifest b/Manifest index b536d19845845..346fc1f71b484 100644 --- a/Manifest +++ b/Manifest @@ -1,23 +1,23 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 -MANIFEST Manifest.files.gz 30441 BLAKE2B e5c6a342ff3910283dd9b25f703915c8e661b58db73992fda99036f7065483da7850a017cfbb3135bb4974e66f805588b2b020c378936e12803017be6fbde384 SHA512 823c62363cac418962951a6e35c6735068832dccd17a76efcda213587258bcb99163f1ab11336a4e1bef0f5cea2768ca598349797913b08183c63458331701a1 -TIMESTAMP 2025-08-03T01:10:37Z +MANIFEST Manifest.files.gz 30442 BLAKE2B 02f180269d42a64c27753bd2c298b0133514e6ad5419eacde9287bf6a35e410953e983f500be2ad5df5c59e4ee55428cf6dbc8ba50924f995a12c95c04a4ea9d SHA512 f2570220554560ce55372250758d324dfaf838007821a5875b4df9e4980bc45f36ea84243fe679cee4dbc6a383f60b849c030f337bec4658e1e894bdea39a79b +TIMESTAMP 2025-08-03T01:40:43Z -----BEGIN PGP SIGNATURE----- -iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmiOtw1fFIAAAAAALgAo +iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmiOvhtfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY -klATJRAAodu20z9J8BGY5M9YoKtguDN5Ygdv+HMavvBqRQk/3TuVG4zEKlhoFiIV -PJLb5ob3wUbKcpvFbcJkxe9/MuJpjaUCSRi2JJIdXbVbysZpJZW2/2C8WYXYov8h -jAjpAx5gLVqgpLirSRJgagQY5iC2evcPOnzYIbxJixjXXkTTMX+6PiVKacs6VVF1 -0JVElujKqfXpOWrpjhdjJ+YYwHhOJnCjORhqcFrvlF+Ctz/k3e0wUQRwjZxiuqce -6E4V2FU7ilsV5Gqmjsd6qCKc7pbUgMNAjkwWy+bWA5krWPn/R9pvR9kQ/3SvIggx -GpfiOXvv132kgZDh3ihsPPkarFQhNIFzkKnGp7bIwJD+Whe/aDHXVbT3QAub4wXQ -IQxflpSDyplclGd1w+4IzPe1/Nnma10G8sIyg+wkXWR1DmJbICPpnNATf7zsR/Ys -x8pDj1x4Dt7gi5cDYqkx1ObRZMtZMd2wt500OxT0ixSOJfmijYXSZjy7wXnnVpPC -Sl4vObheWoBYvdpWIM9P+FeDlmsBHGwfInIeu7PoK7P//YoI8Yz/U1sQPrsAKx76 -cmA5aEDg8vg+YaLjXERaXHYSDOhYVehgqjW6T/U8h66AMWjN2SmsOxSgTPJmgIet -WagHSV/TJr7gtKmAbxrw0oacw9LNh+Mc1EwPVC8d7EcF0HSCdvY= -=U2w+ +klBkhRAAtBpfSQiRQvKtNgiUAp5cubmLWZ4iyYOabqKpY68oted+o5yvxk/ckpda +xCiZGPpcHa9T4ukPvGoqkzL7lyH8Eja/9QSKjdGyxz0v1wYZWtrPBenmQAlSkdXg +KOzN2mSi8O4uvc3HvZfLfoC/cs+ujy4TJjx/mv7094uaYFS88BfcLuv+WOG3WuKG +o7/as4wIu8m/n/2HNWpPrkEKejC6WGnWEiJGcWpMo7+vx/jWuBorTorG5iRK8t5y +Vhb9Z0cT6stB5qkVphqkXVDJ+rjR+ZH9I4Ryokrk2o9Vw2ez9AyUsiiw8c+zthde +3iwXYUU8DeeMsUsVyDdu38KvomwrLROflwZ4uv8G4JzM56+v1SiGtUrl5Sy+hxPq +0nqFBkDL/bF59P1Rln6WeG4Twbln/QWylzvU/IUYYLTiM5cGeYrss1FYp7sYO7v4 +s/p+/YDOGGYcvM+0ml1AkeQGwvJZSOj1ypwxKwozOO1UsPaNy80hgKXjoCz2uN6a +cOLZ1CFsdVOPbIkPBHW0x6Q80nyY93wcg+8vX+GgzVgptw2qp4vgCVTvCRKqkaSF +wUCpIw5RNwHp1Xn+uzIWXe5YWxhYpSTcraEkym40JGobGaGYeHZG3T0auiZesepD +t5o0pcw9wIywltDeHUcMsuoAiiYsSDrD6ZaMNlfuV9GcgVm5Uus= +=fTpK -----END PGP SIGNATURE----- diff --git a/Manifest.files.gz b/Manifest.files.gz Binary files differindex d3f566f9bd72e..fe9fa3a63115e 100644 --- a/Manifest.files.gz +++ b/Manifest.files.gz diff --git a/app-shells/Manifest.gz b/app-shells/Manifest.gz Binary files differindex 7a53f016e4280..ad69c2de7b727 100644 --- a/app-shells/Manifest.gz +++ b/app-shells/Manifest.gz diff --git a/app-shells/bash/Manifest b/app-shells/bash/Manifest index f8d31ba50da16..981d6fb9f1acc 100644 --- a/app-shells/bash/Manifest +++ b/app-shells/bash/Manifest @@ -49,6 +49,7 @@ DIST bash-5.3.tar.gz 11354270 BLAKE2B 88a4f0146eb11698120890f2afaf28210295135f8f DIST bash-5.3.tar.gz.sig 95 BLAKE2B 90a6a47b5b318d03ff7e196e6504a987c281f564db878e8452f0543953832b5ac4f767f69a9bdf6b6a98938b0b439040c10674dd54e38ef03730ae6a2ec4484e SHA512 e9da98e993528d69bec9c6da272eb7a96858b4ba33487435f584c7df2d73c3ce82f373b5277cc3a7d8dc9ee04410dc06ce476d3f9ade097121bea0570abe07bc DIST bash-5.4_alpha_pre20250711-80a8f650a1defc3f72539c3b57bf6d228c33c116.tar.gz 16111994 BLAKE2B 7ab445c5580c3c8d0af10a6764d65a33705f42ed79c50297a4cbf3b345b2f0ba9f28001a80ec5cc85291f57f88e81aef41492a79779239a33292b460e4361d8f SHA512 64f5985ad9a94fd37bc5efa06a57b72c5b3ec8d43a0ed36d9cdc9f292b37137e035bcba0d9855965e0f7bc2416ae60ec44d8f19ee2201acef01d3eda43d8989b DIST bash-5.4_alpha_pre20250718-01070d43248fb97f3b2a08d780ae5a392573ce34.tar.gz 16112469 BLAKE2B 6ebcf65b4f1ae93f52d549d2c6836cd4ff7e87739efa9746ef10f00bf6010f00d957c0624e3b806c4d581539f9160338a00824302b245f4c82c72c416976a0f0 SHA512 b200d62eb6634bf9f623841b7a024dc8b3a89c43b8e127dbc89dbf06f3df793d82ad37d35e1be43558ef97c473e37e44384d8c73736c7b62794e65dcfb8f30ce +DIST bash-5.4_alpha_pre20250801-c1d9c088531eef0797e78c66b899d895862de80c.tar.gz 16116027 BLAKE2B 1be7657f61e91acc9e5e3bb9d5051f4d9e6f29e5457db544ebd26ac4ff7931925732d8b81de243bf6374ba3ce3aaa133ec6a33f03133e22317d712e696847bed SHA512 44c890bd46ec87ba11b78a0a817ed42544d32df12270c9766f78418e966d3247457facad0e4dcdbf07fd9a6a8865029f3eb3a93c485e01506d67d4ed1c156670 DIST bash205b-001 1132 BLAKE2B 0c5eef29777d54ef05957ea3d63b1556fb380bd20c238dc28993d822b37bc4e78ff4048ad069f6b8cd25da77ccdeb7aecd86c4349cb9d81e5e94c7001eeae5e6 SHA512 5ce4357468821b05e747201f3aa57225ad8f540c9e2c87051720490e039c30b478b9b662a68f14a0800fefe40184e4495e2645665200f9d75e9a115b2ac08071 DIST bash205b-002 755 BLAKE2B 6a6ed5679d451f02f8104b345c1722d11718ce3b4043b581c17786d40d8da69a34786fb56d0c363dba277b8e9dd33f12f70c9cc73a9fc39ba4a8319406f0458d SHA512 46947b0229478d5c2cfeff68b8ebc00e4ef0c8b94e336ca12f72b4490ba3622c0240c01c17c1641c3b07adc2c64ec94d6d780365e8990768ec8888f3a9526883 DIST bash205b-003 2356 BLAKE2B b7887d00d92fd298cd07a15e1c73b516dabd22ecd74c97091636dd97a0cd55024ed698e5cc924c4311d994dd326b1ad074bea35e7650cf9cf4e25c60d2713fa7 SHA512 74528ca5d165b812d299f1c69b47757bd677c0b22ce4217e155cd641708b02364a93c6709fb57b546b376b36da74429a61493921c7c199563da40ddcf1c1f399 @@ -498,5 +499,6 @@ EBUILD bash-5.3.ebuild 11774 BLAKE2B b0aa564eeb46d20016086078e531601465f9a71211b EBUILD bash-5.3_p3.ebuild 11814 BLAKE2B dad792acaf5b5fa2925b40f5fdafd18daaa89b7637e5efd9cf3c173153f04b6842e9a172a92329ccc90ecc77f4e1bd5957636ba0938f2491cb803d3c381f05ea SHA512 150b058a259ceb746a2f3ae1068c7ddcd01caf3667d27e2889c6d1ae3e6e30b4678009f4e0f1e7dbca4140af734551abd4bb7f6d43d3c5632fa5a022599399f4 EBUILD bash-5.4_alpha_pre20250711.ebuild 11774 BLAKE2B 3adc3d64bbdb3dcc237e672b198845df32f51b2ba42fffced4f703e588258341a4cf99e209273646a7695282fd68c434c424585a5d5dc3bf64e82fe37837bb0d SHA512 1f66662f7404df092efe7983dcef8d8738257336280b3a25ff3457c0fdf4d0190b70a87b802b1f48b2f1c353e4f5046eb550e456ba0f1d471ebd01f3a77085f7 EBUILD bash-5.4_alpha_pre20250718.ebuild 11774 BLAKE2B e79a9b60655a8559100899b1d5906ed845f79ddc39bbf00d9fde2d4ff21584e0377be4303ff065ea5eacd9a47cc791965dcfd7e3d698402fbf4b02fea46db987 SHA512 e3ca0211b2d56df746fb5bee1ec7b7e2e8820fbf02cec52fa2d61cc431174e219b27e3e218b815e5556c83bc013bcf15a10f84d0ca6950e9c4891abfc0953e21 +EBUILD bash-5.4_alpha_pre20250801.ebuild 11774 BLAKE2B 0c19894d7e26bb14fda67d9ac23646d35c973676e38693b4a97f4a91cd34295393d6ed103aba76cb0c134820fee5e0c67b97bab63d74abb53a7dc295f731958d SHA512 8ee517362778291c3031b2cdd99f55d9b512da1f832e0dc438e005c80ca188ee673451577dc72dbb813b798a998d05b9890b51d8120ce560d1721db010bd6cd6 EBUILD bash-9999.ebuild 11774 BLAKE2B b0aa564eeb46d20016086078e531601465f9a71211b956e441febfd646652df1ce73a3735a344312e5086fde2d7ff1164d53c5c92da88c4d761a08ea727746be SHA512 7edecbfd2776387f86fb28fbffda7a20c00e6912d5c6e5effe9aa645a8bcd03a32344b071ddba6887ce90e682451aaa327a48763994ccf9872934849dfef580b MISC metadata.xml 1009 BLAKE2B f71587b0a6d05b907f82b26be93b071290d91dc8f612f7b008a05eaa94d45be2ef8c1d992b7ac886648a9dcf964c30e8d9a7aff90d44835beb452e0d635b9533 SHA512 8aa1cb4c3206a76d10181394a91c315967fd9d3b359194f430f075fdd5a0b4b32149eec36b85412ef7e84b55e7b01955c75486b2df82b392a5acb3df8229a88d diff --git a/app-shells/bash/bash-5.4_alpha_pre20250801.ebuild b/app-shells/bash/bash-5.4_alpha_pre20250801.ebuild new file mode 100644 index 0000000000000..1300218c38d9f --- /dev/null +++ b/app-shells/bash/bash-5.4_alpha_pre20250801.ebuild @@ -0,0 +1,403 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/chetramey.asc +inherit flag-o-matic toolchain-funcs prefix verify-sig + +# Uncomment if we have a patchset. +#GENTOO_PATCH_DEV="sam" +#GENTOO_PATCH_VER="${PV}" + +MY_PV=${PV/_p*} +MY_PV=${MY_PV/_/-} +MY_P=${PN}-${MY_PV} +MY_PATCHES=() + +# Determine the patchlevel. See ftp://ftp.gnu.org/gnu/bash/bash-5.2-patches/. +case ${PV} in + 9999|*_alpha*|*_beta*|*_rc*) + # Set a negative patchlevel to indicate that it's a pre-release. + PLEVEL=-1 + ;; + *_p*) + PLEVEL=${PV##*_p} + ;; + *) + PLEVEL=0 + ;; +esac + +# The version of readline this bash normally ships with. Note that we only use +# the bundled copy of readline for pre-releases. +READLINE_VER="8.3" + +DESCRIPTION="The standard GNU Bourne again shell" +HOMEPAGE="https://tiswww.case.edu/php/chet/bash/bashtop.html https://git.savannah.gnu.org/cgit/bash.git" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://git.savannah.gnu.org/git/bash.git" + EGIT_BRANCH=devel + inherit git-r3 +elif (( PLEVEL < 0 )) && [[ ${PV} == *_p* ]] ; then + # It can be useful to have snapshots in the pre-release period once + # the first alpha is out, as various bugs get reported and fixed from + # the alpha, and the next pre-release is usually quite far away. + # + # i.e. if it's worth packaging the alpha, it's worth packaging a followup. + BASH_COMMIT="c1d9c088531eef0797e78c66b899d895862de80c" + SRC_URI="https://git.savannah.gnu.org/cgit/bash.git/snapshot/bash-${BASH_COMMIT}.tar.gz -> ${P}-${BASH_COMMIT}.tar.gz" + S=${WORKDIR}/${PN}-${BASH_COMMIT} +else + my_urls=( "mirror://gnu/bash/${MY_P}.tar.gz" ) + + # bash-5.1 -> bash51 + my_p=${PN}$(ver_cut 1-2) my_p=${my_p/.} + + for (( my_patch_idx = 1; my_patch_idx <= PLEVEL; my_patch_idx++ )); do + printf -v my_patch_ver %s-%03d "${my_p}" "${my_patch_idx}" + my_urls+=( "mirror://gnu/bash/${MY_P}-patches/${my_patch_ver}" ) + MY_PATCHES+=( "${DISTDIR}/${my_patch_ver}" ) + done + + SRC_URI="${my_urls[*]} verify-sig? ( ${my_urls[*]/%/.sig} )" + S=${WORKDIR}/${MY_P} + + unset -v my_urls my_p my_patch_idx my_patch_ver +fi + +if [[ ${GENTOO_PATCH_VER} ]]; then + SRC_URI+=" https://dev.gentoo.org/~${GENTOO_PATCH_DEV:?}/distfiles/${CATEGORY}/${PN}/${PN}-${GENTOO_PATCH_VER:?}-patches.tar.xz" +fi + +LICENSE="GPL-3+" +SLOT="0" +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 +IUSE="afs bashlogger examples mem-scramble +net nls plugins pgo +readline" + +DEPEND=" + >=sys-libs/ncurses-5.2-r2:= + nls? ( virtual/libintl ) +" +if (( PLEVEL >= 0 )); then + DEPEND+=" readline? ( >=sys-libs/readline-${READLINE_VER}:= )" +fi +RDEPEND=" + ${DEPEND} +" +# We only need bison (yacc) when the .y files get patched (bash42-005, bash51-011). +BDEPEND=" + pgo? ( dev-util/gperf ) + verify-sig? ( sec-keys/openpgp-keys-chetramey ) +" + +# EAPI 8 tries to append it but it doesn't exist here. +QA_CONFIGURE_OPTIONS="--disable-static" + +PATCHES=( + #"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}/ + + # Patches to or from Chet, posted to the bug-bash mailing list. + "${FILESDIR}/${PN}-5.0-syslog-history-extern.patch" +) + +pkg_setup() { + # bug #7332 + if is-flag -malign-double; then + eerror "Detected bad CFLAGS '-malign-double'. Do not use this" + eerror "as it breaks LFS (struct stat64) on x86." + die "remove -malign-double from your CFLAGS mr ricer" + fi + + if use bashlogger; then + ewarn "The logging patch should ONLY be used in restricted (i.e. honeypot) envs." + ewarn "This will log ALL output you enter into the shell, you have been warned." + fi +} + +src_unpack() { + local patch + + if [[ ${PV} == 9999 ]]; then + git-r3_src_unpack + elif (( PLEVEL < 0 )) && [[ ${PV} == *_p* ]] ; then + default + else + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}/${MY_P}.tar.gz"{,.sig} + + for patch in "${MY_PATCHES[@]}"; do + verify-sig_verify_detached "${patch}"{,.sig} + done + fi + + unpack "${MY_P}.tar.gz" + + if [[ ${GENTOO_PATCH_VER} ]]; then + unpack "${PN}-${GENTOO_PATCH_VER}-patches.tar.xz" + fi + fi +} + +src_prepare() { + # Include official patches. + (( PLEVEL > 0 )) && eapply -p0 "${MY_PATCHES[@]}" + + # Prefixify hardcoded path names. No-op for non-prefix. + hprefixify pathnames.h.in + + # Avoid regenerating docs after patches, bug #407985. + sed -i -E '/^(HS|RL)USER/s:=.*:=:' doc/Makefile.in \ + && touch -r . doc/* \ + || die + + # Sometimes hangs (more noticeable w/ pgo), bug #907403. + rm tests/run-jobs || die + + eapply -p0 "${PATCHES[@]}" + eapply_user +} + +src_configure() { + local -a myconf + + # Upstream only test with Bison and require GNUisms like YYEOF and + # YYERRCODE. The former at least may be in POSIX soon: + # https://www.austingroupbugs.net/view.php?id=1269. + # configure warns on use of non-Bison but doesn't abort. The result + # may misbehave at runtime. + unset -v YACC + + if tc-is-cross-compiler; then + export CFLAGS_FOR_BUILD="${BUILD_CFLAGS} -std=gnu17" + fi + + myconf=( + --disable-profiling + + # Force linking with system curses ... the bundled termcap lib + # sucks bad compared to ncurses. For the most part, ncurses + # is here because readline needs it. But bash itself calls + # ncurses in one or two small places :(. + --with-curses + + $(use_enable mem-scramble) + $(use_enable net net-redirections) + $(use_enable readline) + $(use_enable readline bang-history) + $(use_enable readline history) + $(use_with afs) + $(use_with mem-scramble bash-malloc) + ) + + # For descriptions of these, see config-top.h. + # bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426 + append-cppflags \ + -DDEFAULT_PATH_VALUE=\'\""${EPREFIX}"/usr/local/sbin:"${EPREFIX}"/usr/local/bin:"${EPREFIX}"/usr/sbin:"${EPREFIX}"/usr/bin:"${EPREFIX}"/sbin:"${EPREFIX}"/bin\"\' \ + -DSTANDARD_UTILS_PATH=\'\""${EPREFIX}"/bin:"${EPREFIX}"/usr/bin:"${EPREFIX}"/sbin:"${EPREFIX}"/usr/sbin\"\' \ + -DSYS_BASHRC=\'\""${EPREFIX}"/etc/bash/bashrc\"\' \ + -DSYS_BASH_LOGOUT=\'\""${EPREFIX}"/etc/bash/bash_logout\"\' \ + -DNON_INTERACTIVE_LOGIN_SHELLS \ + -DSSH_SOURCE_BASHRC \ + $(use bashlogger && echo -DSYSLOG_HISTORY) + + use nls || myconf+=( --disable-nls ) + + if (( PLEVEL >= 0 )); then + # Historically, we always used the builtin readline, but since + # our handling of SONAME upgrades has gotten much more stable + # in the PM (and the readline ebuild itself preserves the old + # libs during upgrades), linking against the system copy should + # be safe. + # Exact cached version here doesn't really matter as long as it + # is at least what's in the DEPEND up above. + export ac_cv_rl_version=${READLINE_VER%%_*} + + # Use system readline only with released versions. + myconf+=( --with-installed-readline=. ) + fi + + if use plugins; then + append-ldflags "-Wl,-rpath,${EPREFIX}/usr/$(get_libdir)/bash" + else + # Disable the plugins logic by hand since bash doesn't provide + # a way of doing it. + export ac_cv_func_dl{close,open,sym}=no \ + ac_cv_lib_dl_dlopen=no ac_cv_header_dlfcn_h=no + + sed -i -e '/LOCAL_LDFLAGS=/s:-rdynamic::' configure || die + fi + + # bug #444070 + tc-export AR + + econf "${myconf[@]}" +} + +src_compile() { + local -a pgo_generate_flags pgo_use_flags + local flag + + # -fprofile-partial-training because upstream notes the test suite isn't + # super comprehensive. + # https://documentation.suse.com/sbp/all/html/SBP-GCC-10/index.html#sec-gcc10-pgo + if use pgo; then + pgo_generate_flags=( + -fprofile-update=atomic + -fprofile-dir="${T}"/pgo + -fprofile-generate="${T}"/pgo + ) + pgo_use_flags=( + -fprofile-use="${T}"/pgo + -fprofile-dir="${T}"/pgo + ) + if flag=$(test-flags-CC -fprofile-partial-training); then + pgo_generate_flags+=( "${flag}" ) + pgo_use_flags+=( "${flag}" ) + fi + fi + + emake CFLAGS="${CFLAGS} ${pgo_generate_flags[*]}" + use plugins && emake -C examples/loadables CFLAGS="${CFLAGS} ${pgo_generate_flags[*]}" all others + + # Build Bash and run its tests to generate profiles. + if (( ${#pgo_generate_flags[@]} )); then + # Used in test suite. + unset -v A + + emake CFLAGS="${CFLAGS} ${pgo_generate_flags[*]}" -k check + + if tc-is-clang; then + llvm-profdata merge "${T}"/pgo --output="${T}"/pgo/default.profdata || die + fi + + # Rebuild Bash using the profiling data we just generated. + emake clean + emake CFLAGS="${CFLAGS} ${pgo_use_flags[*]}" + use plugins && emake -C examples/loadables CFLAGS="${CFLAGS} ${pgo_use_flags[*]}" all others + fi +} + +src_test() { + # Used in test suite. + unset -v A + + default +} + +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-r2.bash | newins - 10-gentoo-color.bash + newins "${FILESDIR}"/bashrc.d/10-gentoo-title-r2.bash 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-r8"; then + return + fi + + while read -r; do ewarn "${REPLY}"; done <<'EOF' +Files 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, it may contain a command to set +the terminal's window title. Those who were already choosing to customise the +PROMPT_COMMAND variable are now advised to append their commands like so: + +PROMPT_COMMAND+=('custom command goes here') + +Gentoo no longer defaults to having bash set the window title in the case +that the terminal is controlled by sshd(8), unless screen is launched on the +remote side or the terminal reliably supports saving and restoring the title +(as alacritty, foot and tmux do). Those wanting for the title to be set +regardless may adjust ~/.bashrc - or create a custom /etc/bash/bashrc.d +drop-in - to set PROMPT_COMMMAND like so: + +PROMPT_COMMAND=(genfun_set_win_title) + +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 +} diff --git a/metadata/.checksum-test-marker b/metadata/.checksum-test-marker index 0e95dc6c67c63..5c8ce58b85682 100644 --- a/metadata/.checksum-test-marker +++ b/metadata/.checksum-test-marker @@ -1,4 +1,4 @@ -1754183466 Sun Aug 3 01:11:06 AM UTC 2025 +1754185275 Sun Aug 3 01:41:15 AM UTC 2025 # Testcase for mirror network: # Watch the value over a day, if unchanging then # one or more mirrors is missing --checksum diff --git a/metadata/Manifest.gz b/metadata/Manifest.gz Binary files differindex 8e552037055d2..08fa44720512d 100644 --- a/metadata/Manifest.gz +++ b/metadata/Manifest.gz diff --git a/metadata/dtd/timestamp.chk b/metadata/dtd/timestamp.chk index 9dfbaf8a1e502..28e93a6b1d873 100644 --- a/metadata/dtd/timestamp.chk +++ b/metadata/dtd/timestamp.chk @@ -1 +1 @@ -Sun, 03 Aug 2025 01:10:33 +0000 +Sun, 03 Aug 2025 01:40:37 +0000 diff --git a/metadata/glsa/Manifest b/metadata/glsa/Manifest index 94f8d2fbbf0ff..d788a369087e2 100644 --- a/metadata/glsa/Manifest +++ b/metadata/glsa/Manifest @@ -2,22 +2,22 @@ Hash: SHA512 MANIFEST Manifest.files.gz 602536 BLAKE2B 91a162d8598eb8bf6ea25e77751a0b7fa92b549d16af2ef26513faf217c26a9295178de5a769cd60342031fa78942e16f543dd099103b200d9cab6b5696ba3fc SHA512 67f89e3170126adb03811ef405e1cbc5e716c5a2f01c9840b9da221edfee53a1560bd3c91cea35afc906b5f7d24e9aba540802027b3cf668865775486392ccb4 -TIMESTAMP 2025-08-03T01:10:36Z +TIMESTAMP 2025-08-03T01:40:43Z -----BEGIN PGP SIGNATURE----- -iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmiOtwxfFIAAAAAALgAo +iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmiOvhtfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY -klAC1w//Q1EZ2jV5Pz59EVMxp6g2b7eqzO+vV+eSQYvHra+pL/ee1q2PPRJkQuTH -OXWl4CEZqL3Tw8K1EZAKMLGxCOAsoKSq3j7ky1su3eJ3xeSY1OLLkmkeyxmVRyOs -BkNy/niuAwJevqIlu2cgQ2VAmzaxZjxTlTg1ZvTZLWaaRaX+Ex11uBx+jWuVS3qF -jAe72PIUBnRepuyODpEHZyxuc9kIqqiL7bai140b+sZG+BBPzibNgflNAK8r1RWA -NwMeB8/7IHesNWUO7yMe3gBVfZl6Oyym2JMrwe95BK3IOk4o8M1Pzp45vYE96IV2 -pMpOvAaQb/u6yA/RXardQSXnjzY18gBAUcV1bDvInpMsZuC7dU5a7H8YM1oVyIKS -nz7moZTbFs2KyamrwabDJc6bBaLLCHM7VqkBXVT+MQMDdSKy3KdbcAfqP8zwSqeE -z72yWxvsC+aej0jR39L2kPHNRvQIYSqwkti2Y1UisS8dPFbBS6tkLXsJhE+GNvRe -8zBm4Fcu0tQ+9p6h6gyap29bYPpDd6jRMkJ52Fa0pEZxXSPAF3dxsMWPDyyykBWY -UGuQR4EW9dZNOsvrDyOnGcFZOidWxUEG+++o+nlHus8MTGfXR5rKVk5OWBsY1uHN -o+bCtyFTXWz0XhYUVhCjPwAHxb+eethFAE6SlYoGNQMyNDKZIiY= -=089U +klD5LA/+NlOER6tjerdQ7egpZFIjDFqJ4oU5D2qlJnTxt6gVayyuhrxsLFTH5a7F +JAvZiw08ZDKleDrz6lUO7XzqzZpvuz7AchGJpcUJuAeAhQZdnp9yPmxjH6mSMc2d +ei3B6eVvcKxCJ3ApT+Vyi+YYHrNUMQHiJ+SV/iV1n5HMovg+fheB5xjbAQiBvJkw +FyahzGd7SwWUqcG4aFzp7GObJeKppf7nfFtQ2X/8kX2DcwEAAkkwORvI8k/ZB05D +FdOFqkBtW0FTsQ1YDSVRBfmF4wRi2UXJXIise6bWKseVQ6GdABqUYg6QPyqXBqBv +XXsR88kM+gIlRqtqM5iHomaW8fY20RLSmnJVTzNwBV/egNLVpyM5rQDPVq8zxaNC +zhTwHjsUHr80WS+/pIaHvQuRT63YeZ0crjOyyGtv0RNYdiJGHKwT2zYfOW3qWZ+e +Xb0/MKl7j+U/yF/7xjfhSpNSYvcDDbOQzw+3nizGhAyChvgbnixxVX+agZ79V5EC +vsPKeUjhPNwljXhyhr290I1ge2HTheEeVnrou3t6G9lu2tlbdSMZSJJtggLBzmNa +GJw2sgtO1/qoE+oxNfh/JXUT0t6hD6WiWAfocPn5N802ObpbIvMLWYg3hERcjx9p +r6f1WPlF52ewSDzPX2FeZ5Skvzeyoy7RVxX1dbIyEgDTk5cwUdM= +=Dlhe -----END PGP SIGNATURE----- diff --git a/metadata/glsa/timestamp.chk b/metadata/glsa/timestamp.chk index 9dfbaf8a1e502..28e93a6b1d873 100644 --- a/metadata/glsa/timestamp.chk +++ b/metadata/glsa/timestamp.chk @@ -1 +1 @@ -Sun, 03 Aug 2025 01:10:33 +0000 +Sun, 03 Aug 2025 01:40:37 +0000 diff --git a/metadata/md5-cache/Manifest.gz b/metadata/md5-cache/Manifest.gz Binary files differindex 67abf9967abbb..4e31eeb403b54 100644 --- a/metadata/md5-cache/Manifest.gz +++ b/metadata/md5-cache/Manifest.gz diff --git a/metadata/md5-cache/app-shells/Manifest.gz b/metadata/md5-cache/app-shells/Manifest.gz Binary files differindex 1eadaed7fbc2e..cd11bac0306ce 100644 --- a/metadata/md5-cache/app-shells/Manifest.gz +++ b/metadata/md5-cache/app-shells/Manifest.gz diff --git a/metadata/md5-cache/app-shells/bash-5.4_alpha_pre20250801 b/metadata/md5-cache/app-shells/bash-5.4_alpha_pre20250801 new file mode 100644 index 0000000000000..221a38681307c --- /dev/null +++ b/metadata/md5-cache/app-shells/bash-5.4_alpha_pre20250801 @@ -0,0 +1,14 @@ +BDEPEND=pgo? ( dev-util/gperf ) verify-sig? ( sec-keys/openpgp-keys-chetramey ) verify-sig? ( app-crypt/gnupg >=app-portage/gemato-20 ) +DEFINED_PHASES=compile configure install postinst preinst prepare setup test unpack +DEPEND=>=sys-libs/ncurses-5.2-r2:= nls? ( virtual/libintl ) +DESCRIPTION=The standard GNU Bourne again shell +EAPI=8 +HOMEPAGE=https://tiswww.case.edu/php/chet/bash/bashtop.html https://git.savannah.gnu.org/cgit/bash.git +INHERIT=flag-o-matic toolchain-funcs prefix verify-sig +IUSE=afs bashlogger examples mem-scramble +net nls plugins pgo +readline verify-sig +LICENSE=GPL-3+ +RDEPEND=>=sys-libs/ncurses-5.2-r2:= nls? ( virtual/libintl ) +SLOT=0 +SRC_URI=https://git.savannah.gnu.org/cgit/bash.git/snapshot/bash-c1d9c088531eef0797e78c66b899d895862de80c.tar.gz -> bash-5.4_alpha_pre20250801-c1d9c088531eef0797e78c66b899d895862de80c.tar.gz +_eclasses_=eapi9-pipestatus d2c134036ac31c3085aebc9147f572bd flag-o-matic a7afe42e95fb46ce9691605acfb24672 prefix c3c4c93ebda319c0fa7ed6f942ba1010 toolchain-funcs a0b29008c671a362b505f96fa80ce9c0 verify-sig 4e83419d7fb5d336f6a4de8193968319 +_md5_=a9ec148c87c6ff481174652815939fbb diff --git a/metadata/news/Manifest b/metadata/news/Manifest index dcb970b4e73fb..e0c3d3e67c7df 100644 --- a/metadata/news/Manifest +++ b/metadata/news/Manifest @@ -2,22 +2,22 @@ Hash: SHA512 MANIFEST Manifest.files.gz 20529 BLAKE2B ad11c6acf258eb0b9fd5cf7392916fd9cccc5e1ba43f95930abc916b632d0db3d2c6d1f1d911cd10caed9c4ec18e07e1e617308a799bab549af30d838595bb61 SHA512 1410fcdc56b5bf17fa0b9bf4d697d8ea6f4d06a823a21e2f5c4257772f932b6709c7259f0c0510b78556f9b1a4bc22db9b8dca4d420fa7a2a6eb67ee0372a2ec -TIMESTAMP 2025-08-03T01:10:36Z +TIMESTAMP 2025-08-03T01:40:43Z -----BEGIN PGP SIGNATURE----- -iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmiOtwxfFIAAAAAALgAo +iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmiOvhtfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY -klBdURAAlZ+Uhgo0i0ojbiKcy2E6zxpOVyX1Hnk4/oxl6l9YFKyVuAwsAmv8RX03 -296mSdFTpC7wVyCtGYwiPzkWd0xkvQ4OcuyysWXRn5X63azsvLoPTzzaTv6TBvZK -snCAKrQZZjdH8MeMuzubaC/z6bKI4T3ptp8BOA/EL6REPYXdaICFClSaPs1IbNzL -qph+DjbIuTDpq0gMwInUmzrlkTNbfK1ruqvjS7ugvWgKgWTp4EqqVvSPK50p3o2L -RKlY6iMl/cBT9dX5wLqwWuJ/OCkaYrOGaplpAJg9WAwE82IwMmGqvWpyK7Jd8jr9 -9Sd5hKeGVeKjORYEu5Mkt/duU4CRf7dqNhZu/M4sgeD5cGl+eS8qt287ZN4ZA2FS -bawbXluVeB7koTyKeYaXY+uAJjhvrQETq48KEonnhS/PsGyODqFZjsSdduEiVG8l -QBE5PTSRRTy1y7kx/rDuCnK66KvSrGqTpOnml2wQEzD09clQwb36Mi8Aj2gmaxxa -CcJIF77tnek6OSOZEaVlDlgaqGpKJJr2EE1Po0NXd7BBxO5OYjYNtmPkcXR5OAao -J3k9UuD3D7U947QdE91iTrMvZ219hFqTqXBPMTNpKtWeTaFuKZstIHqTwpiBxtq3 -7EuaOt6Z3IBYRJWY2yM6u/wseaokjjw9hBcpN9PgnXLBT5Cp29k= -=/TcE +klBb5Q//SpgidqRmo6VIHtBpH+gpW0/xTzUd7ZwN2I3Lnp6RFkNDYB6i4NnAatYq +yzSLghzlUQrlFMCtbmyGTrhCh0BW5CQwOT82qKkuTTJVIZ05DPjwATJ4wMgduYTm +aLkzO88x2DABAyYj64zFtMDGYvgJUn+u+zPki8mZL8IiVhfm5Zc8SUntNI/yTtzd +FuE3hdl9kY0BzfEKNAP3+jrPI22589dRJ8Zsnz8mVdjKoGBBt73RWhnJuYai2CWo +aYzOKyaVzavHJEuMuWhQGxx5ZAvNiPDoD4VUG1/97W74AT2XXez0diSqtfhAr8Ds +Wzj4bm7JQx79clqd42+awxyE8y3TLWehmWYt//toew00z5nGpbKt8pjXUgES4ji2 +OzmucsHYg3ETGFetJAw7fm4Ae42SFUpYUs2M8sDLbl+eV3PVm6sNPdFXaJhi6uet +UBQh0Ket4QPqwGTGUQ2V4mSbMKFXcmds7bVpQpJMEOdKHLH9nzGmjk5DHRtrVpnx +72/cm3FY/FwY+lGBJ2mZHTXBv1hdNIFqq7HHRQPNtT2Gue80kfkqRpF/5tccMiz+ +4jtPy3CzKgS5TVe56dXG0NXLqWsYlz3FK2W33SJSmrYY02PMWM6zMpsd+nMeVT/T +3Ecs1kPfJkwsaHD6rxKRTmUwfExmY6CIOTfbkv6/aylvV/9FFfw= +=dHeW -----END PGP SIGNATURE----- diff --git a/metadata/news/timestamp.chk b/metadata/news/timestamp.chk index 9dfbaf8a1e502..28e93a6b1d873 100644 --- a/metadata/news/timestamp.chk +++ b/metadata/news/timestamp.chk @@ -1 +1 @@ -Sun, 03 Aug 2025 01:10:33 +0000 +Sun, 03 Aug 2025 01:40:37 +0000 diff --git a/metadata/timestamp b/metadata/timestamp index e3ef683e99a8d..11dca12fb893f 100644 --- a/metadata/timestamp +++ b/metadata/timestamp @@ -1 +1 @@ -Sun Aug 3 01:10:33 AM UTC 2025 +Sun Aug 3 01:40:37 AM UTC 2025 diff --git a/metadata/timestamp.chk b/metadata/timestamp.chk index c8341c77384eb..d8208ee97dfc1 100644 --- a/metadata/timestamp.chk +++ b/metadata/timestamp.chk @@ -1 +1 @@ -Sun, 03 Aug 2025 01:15:00 +0000 +Sun, 03 Aug 2025 01:45:00 +0000 diff --git a/metadata/timestamp.commit b/metadata/timestamp.commit index 581b297ed1e49..ff499de6f81e4 100644 --- a/metadata/timestamp.commit +++ b/metadata/timestamp.commit @@ -1 +1 @@ -ea4abdb940d9bf2c63682f855ecb550d1c71fd66 1754181293 2025-08-03T00:34:53Z +2cd04f8473e140ed3d39d7431e99a55893ed5b7e 1754183229 2025-08-03T01:07:09Z diff --git a/metadata/timestamp.x b/metadata/timestamp.x index c62009410d469..4e4d9ab98bf41 100644 --- a/metadata/timestamp.x +++ b/metadata/timestamp.x @@ -1 +1 @@ -1754183400 Sun 03 Aug 2025 01:10:00 AM UTC +1754185200 Sun 03 Aug 2025 01:40:00 AM UTC diff --git a/metadata/xml-schema/timestamp.chk b/metadata/xml-schema/timestamp.chk index 9dfbaf8a1e502..28e93a6b1d873 100644 --- a/metadata/xml-schema/timestamp.chk +++ b/metadata/xml-schema/timestamp.chk @@ -1 +1 @@ -Sun, 03 Aug 2025 01:10:33 +0000 +Sun, 03 Aug 2025 01:40:37 +0000 |