From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C3AFA158088 for ; Thu, 23 Oct 2025 17:48:05 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 8CDB9340E1F for ; Thu, 23 Oct 2025 17:48:05 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 5229B1104B5; Thu, 23 Oct 2025 17:48:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 478241104B5 for ; Thu, 23 Oct 2025 17:48:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 01813340E1F for ; Thu, 23 Oct 2025 17:48:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9B530265F for ; Thu, 23 Oct 2025 17:48:02 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1761241619.5117e4ac5a2a50ab05501c8b123b116ebf81ae9a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/binutils-config/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/binutils-config/Manifest sys-devel/binutils-config/binutils-config-5.6.ebuild X-VCS-Directories: sys-devel/binutils-config/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 5117e4ac5a2a50ab05501c8b123b116ebf81ae9a X-VCS-Branch: master Date: Thu, 23 Oct 2025 17:48:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d4b8dc94-69b5-4eb8-9d72-024339f02650 X-Archives-Hash: 16228ad243d3cd4fb43b1121700c983a commit: 5117e4ac5a2a50ab05501c8b123b116ebf81ae9a Author: Sam James gentoo org> AuthorDate: Thu Oct 23 17:46:59 2025 +0000 Commit: Sam James gentoo org> CommitDate: Thu Oct 23 17:46:59 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5117e4ac sys-devel/binutils-config: add 5.6 Sam James (1): Error out on bad symlinks Bug: https://bugs.gentoo.org/936644 Signed-off-by: Sam James gentoo.org> sys-devel/binutils-config/Manifest | 1 + .../binutils-config/binutils-config-5.6.ebuild | 39 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/sys-devel/binutils-config/Manifest b/sys-devel/binutils-config/Manifest index 1c60596afa54..fcacec7394f6 100644 --- a/sys-devel/binutils-config/Manifest +++ b/sys-devel/binutils-config/Manifest @@ -1,2 +1,3 @@ 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 +DIST binutils-config-5.6.tar.xz 7552 BLAKE2B fdfd4ae4d964fc3cf5c9c6a0accd7c7db36a0e81483a4e39eb27533ff2e0d32f9bacfb541e6ca28fd70bcb204b23175b1fc1be4b67475fa628cf6bd37efba6e4 SHA512 11f36e83bdbb1ee98b866215ba3c480079dba7d00cbadf3d618e446b87bc3bfa2381cb30099463575a8cd2bf3352a5032610691f7e115b961240b48dec9b1cfa diff --git a/sys-devel/binutils-config/binutils-config-5.6.ebuild b/sys-devel/binutils-config/binutils-config-5.6.ebuild new file mode 100644 index 000000000000..a6c0d3c1643e --- /dev/null +++ b/sys-devel/binutils-config/binutils-config-5.6.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 +}