From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1544568-garchives=archives.gentoo.org@lists.gentoo.org>
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 C91F315800A
	for <garchives@archives.gentoo.org>; Thu, 10 Aug 2023 04:45:26 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E50DD2BC021;
	Thu, 10 Aug 2023 04:45:25 +0000 (UTC)
Received: from smtp.gentoo.org (mail.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 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id A13A02BC021
	for <gentoo-commits@lists.gentoo.org>; Thu, 10 Aug 2023 04:45:25 +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 B07C5335D36
	for <gentoo-commits@lists.gentoo.org>; Thu, 10 Aug 2023 04:45:24 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id F29BDF4B
	for <gentoo-commits@lists.gentoo.org>; Thu, 10 Aug 2023 04:45:22 +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: <1691642706.e1f0825e03411843db2ef0c2a6d0b0572269c9c3.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_p20230730.ebuild
X-VCS-Directories: sys-apps/mawk/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: e1f0825e03411843db2ef0c2a6d0b0572269c9c3
X-VCS-Branch: master
Date: Thu, 10 Aug 2023 04:45:22 +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: ea8aaeb0-1d5b-45a7-975a-f1b22933a07e
X-Archives-Hash: 5f74ca3f99d6ddef2f9dce0985c4b43f

commit:     e1f0825e03411843db2ef0c2a6d0b0572269c9c3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 10 04:45:06 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 10 04:45:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1f0825e

sys-apps/mawk: add 1.3.4_p20230730

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

 sys-apps/mawk/Manifest                    |  2 ++
 sys-apps/mawk/mawk-1.3.4_p20230730.ebuild | 51 +++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/sys-apps/mawk/Manifest b/sys-apps/mawk/Manifest
index 74afb47c02ee..a90e189e2556 100644
--- a/sys-apps/mawk/Manifest
+++ b/sys-apps/mawk/Manifest
@@ -4,3 +4,5 @@ DIST mawk-1.3.4-20230404.tgz 403027 BLAKE2B cc10336c902fd72dbcbafd5638699cbc18d9
 DIST mawk-1.3.4-20230404.tgz.asc 729 BLAKE2B 10a9bf264c75d24139a0715031ae732237602589b5d7ed8227e88bd1121c61f9770270ec7b03bd456c2eeab6fd9970fb07d0154d97dfe745ffa4cbf733839457 SHA512 7e6cc764598046834e95cf5451376024f9f0f05efc1b3acfdbff38c182910b42561fb77eea06d42b791fdb0fc552b7e9e60cdabc313b03d2c35401b2a6193664
 DIST mawk-1.3.4-20230525.tgz 403222 BLAKE2B 9ecb6e469b4318dd78fc70f15864f9cb622e62d0599857880c514882180320596b244d79bb5a0a384f2622d7424e49039110cf0c626723c7491effa964b657f2 SHA512 704c1a94569e8e953af7b00ea81efa20df03483f57e4183935e73df62309874644f2250a307b136af34ce3df62d90170d8afe7b3a86eeacb31cf5845056126cb
 DIST mawk-1.3.4-20230525.tgz.asc 729 BLAKE2B b1c8d4cc9660a6e35564f955cb51b48ef7656a8e5cced230e9cdea195565133ac74eeade06d2b37bd60e3ee29d44f53bd1ed80cc9c6143d346583aa73f317e34 SHA512 d3826291598db6d7ffc60571f125a1efeab8abc7ce1397c07a2b1bb8d0439091a95f7d0ad19bd55b629dba2eabf9719eeece6fa7c50d246e4d73ab8564742ca1
+DIST mawk-1.3.4-20230730.tgz 410248 BLAKE2B 8f686e728084c576ed98a59e0083a79c259011e278f97cb39237f6789a9caa03cf2dfa8ec6bea5e35d467b14548a6a13155a5232f46506da2c3927eead43c8a2 SHA512 a38dad468db614e36149916656c22b0dcd3e66ce4be73dada355f9c96c3b4c864d81cbd65608cbed315050a36e2a3bd049e28ce41818cd5da260141b4548bf46
+DIST mawk-1.3.4-20230730.tgz.asc 729 BLAKE2B 073751f74bb3c94b9bccbb549f900936c09e878921a46a81c757c6849df583fc496251663392456fe6d58b4efb2e0c46b0c0f26589ae35142c1ea187166504cc SHA512 28b0d46248beb0244a9d584690b70338cb29f6b08c29350522e91d56ce2ab625f9696a637fa23b4b43448883f79c6a007d731367274285ec7fa45547f22b910d

diff --git a/sys-apps/mawk/mawk-1.3.4_p20230730.ebuild b/sys-apps/mawk/mawk-1.3.4_p20230730.ebuild
new file mode 100644
index 000000000000..169892e2ceef
--- /dev/null
+++ b/sys-apps/mawk/mawk-1.3.4_p20230730.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/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 ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-thomasdickey-20230810 )"
+
+DOCS=( ACKNOWLEDGMENT CHANGES README )
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+	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
+}