From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A39191581D3 for ; Tue, 28 May 2024 20:46:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7C33E2A44; Tue, 28 May 2024 20:46:01 +0000 (UTC) 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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 813A1E2A44 for ; Tue, 28 May 2024 20:46:01 +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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 736EF33BF28 for ; Tue, 28 May 2024 20:46:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A6E2A1BD9 for ; Tue, 28 May 2024 20:45:58 +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: <1716929136.d92bde19a85109d2596a2f53decd3644f608fa51.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/gnuconfig/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/gnuconfig/Manifest sys-devel/gnuconfig/gnuconfig-20240101.ebuild X-VCS-Directories: sys-devel/gnuconfig/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d92bde19a85109d2596a2f53decd3644f608fa51 X-VCS-Branch: master Date: Tue, 28 May 2024 20:45:58 +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: 41a399b6-154f-44f0-af7c-0fad32dab79e X-Archives-Hash: 14a50cf06b224f14d8cbf433bbde5ff8 commit: d92bde19a85109d2596a2f53decd3644f608fa51 Author: Sam James gentoo org> AuthorDate: Tue May 28 20:45:20 2024 +0000 Commit: Sam James gentoo org> CommitDate: Tue May 28 20:45:36 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d92bde19 sys-devel/gnuconfig: add 20240101 Includes llvm-libc recognition too (https://github.com/gentoo/gentoo/pull/32500). Signed-off-by: Sam James gentoo.org> sys-devel/gnuconfig/Manifest | 1 + sys-devel/gnuconfig/gnuconfig-20240101.ebuild | 49 +++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/sys-devel/gnuconfig/Manifest b/sys-devel/gnuconfig/Manifest index 0a977480cafd..d31fddd593ea 100644 --- a/sys-devel/gnuconfig/Manifest +++ b/sys-devel/gnuconfig/Manifest @@ -1 +1,2 @@ DIST gnuconfig-20230731.tar.xz 73112 BLAKE2B c6502d6b339e56440dbfc9abb0ba49e3eec5a573c5e44779dd326e6f11b55b7fc3a6d99fec73abbcc271e8f6f125699ce87f512cb3a825144307cf820df0067a SHA512 d8e24a30f86f1983c69a37a901e2357a0aefbe15fcd3f8a331d1c6f8eabc81b7436930055756a764ae874e406090d8029403f1c0faa3737acb94bd937cd577ef +DIST gnuconfig-20240101.tar.xz 76992 BLAKE2B a42e35c9858ac1eca409b29ecd71c787adad94bd977a35a8f74c870b3632b1031cd7c00e022c7837a8705a50316d3f618bfaedf569b63b4f75a33fc638330706 SHA512 2e6f1f83454335e2c111866bed2660d86919061c2e047c79d5e191ecb9411a28c0f269e8fddd8a212d38a2d0c4114e2a432e69bcbf8c7aee671db1ce15b34ae8 diff --git a/sys-devel/gnuconfig/gnuconfig-20240101.ebuild b/sys-devel/gnuconfig/gnuconfig-20240101.ebuild new file mode 100644 index 000000000000..04e57c23b5b3 --- /dev/null +++ b/sys-devel/gnuconfig/gnuconfig-20240101.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} == 99999999 ]] ; then + EGIT_REPO_URI="https://git.savannah.gnu.org/r/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 ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + S="${WORKDIR}" +fi + +DESCRIPTION="Updated config.sub and config.guess file from GNU" +HOMEPAGE="https://savannah.gnu.org/projects/config" + +LICENSE="GPL-3+-with-autoconf-exception" +SLOT="0" + +maint_pkg_create() { + cd "${S}" || die + + emake ChangeLog + local ver=$(gawk '{ gsub(/-/, "", $1); print $1; exit }' ChangeLog) + [[ ${#ver} != 8 ]] && die "invalid version '${ver}'" + + local tar="${T}/gnuconfig-${ver}.tar.xz" + tar -Jcf "${tar}" ./* || die "creating tar failed" + einfo "Packaged tar now available:" + einfo "$(du -b "${tar}")" +} + +src_unpack() { + if [[ ${PV} == 99999999 ]] ; then + git-r3_src_unpack + maint_pkg_create + else + unpack ${A} + fi +} + +src_install() { + insinto /usr/share/${PN} + doins config.{sub,guess} + fperms +x /usr/share/${PN}/config.{sub,guess} + dodoc ChangeLog +}