commit: 6531ee0fac333904616d495ee539cf2d296cbfe4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 23 17:42:14 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 23 17:42:14 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6531ee0f
sys-devel/binutils-config: add 5.5.3
Allen-Kristjan Päll (1):
src/binutils-config: add missing help options
Sv. Lockal (1):
Fix eselect bash autocompletion
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-devel/binutils-config/Manifest | 1 +
.../binutils-config/binutils-config-5.5.3.ebuild | 39 ++++++++++++++++++++++
2 files changed, 40 insertions(+)
diff --git a/sys-devel/binutils-config/Manifest
b/sys-devel/binutils-config/Manifest
index 5f9445018f15..1c60596afa54 100644
--- a/sys-devel/binutils-config/Manifest
+++ b/sys-devel/binutils-config/Manifest
@@ -1 +1,2 @@
DIST binutils-config-5.5.2.tar.xz 7548 BLAKE2B
a4fe6f2039c4963ba09fb63b52bf3707b91eed36b514132c0c23da2474b9af6d2fd5b8eaef2dd8f44827f5d38095c936685765d3c4cc7404d06c4ac069cf1102
SHA512
c53118c1ce4b87c0446b1b9993fadabe2bd7447dafc9a2bf795a5e3b802348b4fa8aede06284a0c86f80f23b221b037a0404d5424f2f5aa796e8a3ea6945328c
+DIST binutils-config-5.5.3.tar.xz 7588 BLAKE2B
dba41de46b379188fe11ec9cf82c71ec372d16294c14011cc19458bcea06c71f27ead2ebd0021eb1edfb3f2bf3a604ab58cea25667579f538043a7ad4e98b4ad
SHA512
b12c3b708946d120c351a6e5d4f315f8cfceb7eaf59ea27b06acbb11216e92ee680089760d1df672401ac977a3bed7758e3a0463c59909b7e4df1107f416fdfb
diff --git a/sys-devel/binutils-config/binutils-config-5.5.3.ebuild
b/sys-devel/binutils-config/binutils-config-5.5.3.ebuild
new file mode 100644
index 000000000000..a6c0d3c1643e
--- /dev/null
+++ b/sys-devel/binutils-config/binutils-config-5.5.3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} == 9999 ]]; then
+ EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/binutils-config.git"
+ inherit git-r3
+else
+
SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc
~ppc64 ~riscv ~s390 ~sparc ~x86"
+fi
+
+DESCRIPTION="Utility to change the binutils version being used"
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Toolchain"
+
+LICENSE="GPL-2 GPL-2+"
+SLOT="0"
+IUSE="+native-symlinks"
+
+# We also RDEPEND on sys-apps/findutils which is in base @system
+RDEPEND="sys-apps/gentoo-functions"
+
+src_compile() {
+ emake PV="${PV}" USE_NATIVE_LINKS="$(usex native-symlinks)"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PV="${PV}" install
+}
+
+pkg_postinst() {
+ # Re-register all targets. USE flags or new versions can change
+ # installed symlinks.
+ local x
+ for x in $(binutils-config -C -l 2>/dev/null | awk '$NF == "*" { print
$2 }') ; do
+ binutils-config ${x}
+ done
+}