From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1714937-garchives=archives.gentoo.org@lists.gentoo.org>
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 4D478158B20
	for <garchives@archives.gentoo.org>; Tue, 04 Feb 2025 22:47:33 +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 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 2EF0A342F9D
	for <garchives@archives.gentoo.org>; Tue, 04 Feb 2025 22:47:33 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id 3427B110471;
	Tue, 04 Feb 2025 22:47:29 +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))
	(No client certificate requested)
	by bobolink.gentoo.org (Postfix) with ESMTPS id 2AE9E110471
	for <gentoo-commits@lists.gentoo.org>; Tue, 04 Feb 2025 22:47:29 +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 A9FF4341939
	for <gentoo-commits@lists.gentoo.org>; Tue, 04 Feb 2025 22:47:28 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 0CD802629
	for <gentoo-commits@lists.gentoo.org>; Tue, 04 Feb 2025 22:47:27 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
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" <sam@gentoo.org>
Message-ID: <1738709230.bd8026fe099be083e424b731953e702bfedaae2d.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/mawk/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-apps/mawk/Manifest sys-apps/mawk/mawk-1.3.4_p20250131.ebuild
X-VCS-Directories: sys-apps/mawk/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: bd8026fe099be083e424b731953e702bfedaae2d
X-VCS-Branch: master
Date: Tue, 04 Feb 2025 22:47:27 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: fb1109d0-2c5b-43e2-b227-7a0afe8ef9fd
X-Archives-Hash: 4daa1636b38a183a2dc59632d919139c

commit:     bd8026fe099be083e424b731953e702bfedaae2d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Feb  4 22:46:59 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Feb  4 22:47:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd8026fe

sys-apps/mawk: add 1.3.4_p20250131

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/mawk/Manifest                    |  2 ++
 sys-apps/mawk/mawk-1.3.4_p20250131.ebuild | 52 +++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/sys-apps/mawk/Manifest b/sys-apps/mawk/Manifest
index 275fea3d5bdb..000c3d4ebdf9 100644
--- a/sys-apps/mawk/Manifest
+++ b/sys-apps/mawk/Manifest
@@ -1,2 +1,4 @@
 DIST mawk-1.3.4-20240905.tgz 423935 BLAKE2B 7c15dddeb4f7afa5a94eb6c3a1f3d84be0e6ccbb56e6ba337f44432a272fd1cf6b162ccfb520f6aeb2393b174a89ba945bb6a325c584721a2ea5b89c073851de SHA512 769ce73112cb912ea82ed18f9a106209c4284a32ede41a4d8af64e862857323a9515551a4e7420d0c0fb6ea5773340771c7d68b17794fb9a810d39783fbdc1d2
 DIST mawk-1.3.4-20240905.tgz.asc 729 BLAKE2B d4db8a008cac7e0a274de689ebef9fe5d7e820937cf61f9bfcac5bfeeff6e70ab920d759e750c3f7248c63876cfa4230e51b0a50b213c91e85c7e59da3e03b24 SHA512 f30f560aeb58dfcb878c2a2d756a88d68c3ed62c3232e7ad9f20469a3bd1fae667276a20a0866dd481f08830551dee6368194421e9e0370d9daa33c520230c16
+DIST mawk-1.3.4-20250131.tgz 433213 BLAKE2B 7a23051cfdb23f2451c23b357e895e49532c2211bac8d092d1fff9f7ea08dc43661d1d78eca2cff2b45998854eb0f64265c400e8f9cb7df83769cb98f96ba716 SHA512 100b1f5ee190d2841d5dee449c53601a6d32453e47b232de919f3489f6f7040d0c6d21f6c7d30df616b04abde2db9799c5eb16570c1f88dbc10fcd75c5838042
+DIST mawk-1.3.4-20250131.tgz.asc 729 BLAKE2B 7432d1c06f0a5d9a4deec34bfb795f0b7b8e04d43e259b8baab5f033349bf331f94c3d541334ba886545855e682e7c7ec372e8f66585731b09ef3be44b426032 SHA512 0d8ac93bdafcd8915b0d2d2b675f8d5cf2aeba655cd04af4b4037336b74b320e02db360b7d18b796aedc09fbabc8a42e471766ea24219bad7a1cbff4f7679552

diff --git a/sys-apps/mawk/mawk-1.3.4_p20250131.ebuild b/sys-apps/mawk/mawk-1.3.4_p20250131.ebuild
new file mode 100644
index 000000000000..a42756dde618
--- /dev/null
+++ b/sys-apps/mawk/mawk-1.3.4_p20250131.ebuild
@@ -0,0 +1,52 @@
+# 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/thomasdickey.asc
+inherit toolchain-funcs verify-sig
+
+MY_P="${P/_p/-}"
+DESCRIPTION="An (often faster than gawk) awk-interpreter"
+HOMEPAGE="https://invisible-island.net/mawk/mawk.html"
+SRC_URI="https://invisible-mirror.net/archives/${PN}/${MY_P}.tgz"
+SRC_URI+=" verify-sig? ( https://invisible-island.net/archives/${PN}/${MY_P}.tgz.asc )"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-thomasdickey-20240114 )"
+
+DOCS=( ACKNOWLEDGMENT CHANGES README )
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+	arc4random # missing on musl but it handles it fine
+	arc4random_push # doesn't exist on Linux
+)
+
+src_configure() {
+	tc-export BUILD_CC
+	econf
+}
+
+src_install() {
+	default
+
+	exeinto /usr/share/doc/${PF}/examples
+	doexe examples/*
+	docompress -x /usr/share/doc/${PF}/examples
+}
+
+pkg_postinst() {
+	if has_version app-admin/eselect && has_version app-eselect/eselect-awk; then
+		eselect awk update ifunset
+	fi
+}
+
+pkg_postrm() {
+	if has_version app-admin/eselect && has_version app-eselect/eselect-awk; then
+		eselect awk update ifunset
+	fi
+}