public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/gnuconfig/
Date: Tue, 28 May 2024 20:45:58 +0000 (UTC)	[thread overview]
Message-ID: <1716929136.d92bde19a85109d2596a2f53decd3644f608fa51.sam@gentoo> (raw)

commit:     d92bde19a85109d2596a2f53decd3644f608fa51
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 28 20:45:20 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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
+}


             reply	other threads:[~2024-05-28 20:46 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-28 20:45 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-14  7:02 [gentoo-commits] repo/gentoo:master commit in: sys-devel/gnuconfig/ Sam James
2024-10-05 12:02 Arthur Zamarin
2024-08-24 16:36 Sam James
2024-07-17  4:36 Sam James
2023-12-28  4:04 Sam James
2023-09-07 20:16 Sam James
2023-08-01 12:18 Sam James
2023-06-17  5:57 Sam James
2023-04-26 21:42 Sam James
2022-12-26  8:35 Sam James
2022-11-25  5:02 Sam James
2022-10-29 21:39 Sam James
2022-10-07 10:30 Sam James
2022-10-07 10:30 Sam James
2022-09-23  2:14 Sam James
2022-06-13  7:07 Agostino Sarubbo
2022-05-11  4:12 Sam James
2022-05-11  3:33 Sam James
2022-01-01 20:08 David Seifert
2021-05-13 20:25 David Seifert
2021-05-13 16:18 Sam James
2021-01-14 15:23 Lars Wendler
2021-01-14 14:44 Lars Wendler
2021-01-14 13:34 Lars Wendler
2021-01-06 15:32 Fabian Groffen
2020-12-27 18:18 Fabian Groffen
2020-08-29 17:30 Ulrich Müller
2020-08-17  6:47 Sam James
2020-08-17  1:58 Sam James
2019-12-01 15:39 Thomas Deutschmann
2019-12-01 15:38 Thomas Deutschmann
2019-12-01 14:21 Agostino Sarubbo
2019-12-01 14:01 Sergei Trofimovich
2019-12-01 13:56 Sergei Trofimovich
2019-11-30 21:59 Sergei Trofimovich
2019-11-30  0:14 Aaron Bauman
2019-11-29 20:10 Thomas Deutschmann
2019-09-12  3:39 Mike Frysinger
2019-09-12  3:33 Mike Frysinger
2019-09-12  3:25 Mike Frysinger
2019-09-12  3:23 Mike Frysinger
2019-05-04 12:02 Mikle Kolyada
2018-05-18 16:01 Mike Gilbert
2018-01-24  7:22 Michael Haubenwallner
2018-01-10  8:19 Mike Frysinger
2018-01-10  8:19 Mike Frysinger
2018-01-10  8:19 Mike Frysinger
2017-02-20 14:11 Michael Haubenwallner
2017-01-29 20:14 Fabian Groffen
2017-01-01  9:55 Mike Frysinger
2017-01-01  9:55 Mike Frysinger
2017-01-01  9:55 Mike Frysinger
2016-11-12  7:13 Mike Frysinger
2016-11-12  7:13 Mike Frysinger
2016-11-12  7:13 Mike Frysinger
2016-04-20  2:46 Mike Frysinger
2016-04-20  2:46 Mike Frysinger
2016-04-20  2:46 Mike Frysinger
2015-12-18 15:46 Mike Frysinger
2015-12-18 15:46 Mike Frysinger
2015-12-18 15:46 Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1716929136.d92bde19a85109d2596a2f53decd3644f608fa51.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox