From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1671484-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 3CE4A158083 for <garchives@archives.gentoo.org>; Wed, 18 Sep 2024 06:27:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32A9AE29A0; Wed, 18 Sep 2024 06:27:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 1D015E29A0 for <gentoo-commits@lists.gentoo.org>; Wed, 18 Sep 2024 06:27:09 +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 517CB342F9E for <gentoo-commits@lists.gentoo.org>; Wed, 18 Sep 2024 06:27:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8DFFC2145 for <gentoo-commits@lists.gentoo.org>; Wed, 18 Sep 2024 06:27:06 +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: <1726640615.a91df9bb006769e662721d7b87ec6bbbf0cf96ae.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_p20240905.ebuild X-VCS-Directories: sys-apps/mawk/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a91df9bb006769e662721d7b87ec6bbbf0cf96ae X-VCS-Branch: master Date: Wed, 18 Sep 2024 06:27:06 +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: 3c065411-1b43-43a7-b75c-45a93f3d9b6c X-Archives-Hash: e9e4f382b5ab9bb0cfac58d6878e4473 commit: a91df9bb006769e662721d7b87ec6bbbf0cf96ae Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Sep 18 06:23:16 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Sep 18 06:23:35 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a91df9bb sys-apps/mawk: add 1.3.4_p20240905 Closes: https://bugs.gentoo.org/925067 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-apps/mawk/Manifest | 2 ++ sys-apps/mawk/mawk-1.3.4_p20240905.ebuild | 52 +++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/sys-apps/mawk/Manifest b/sys-apps/mawk/Manifest index 1688f8fc0cc0..30d236fd37d1 100644 --- a/sys-apps/mawk/Manifest +++ b/sys-apps/mawk/Manifest @@ -8,3 +8,5 @@ DIST mawk-1.3.4-20240819.tgz 421586 BLAKE2B cc80703428d50d3eb1ba681aedadc3c0136e DIST mawk-1.3.4-20240819.tgz.asc 729 BLAKE2B 59139459eb51853d3182858bc3d5db961c1b676bf7e219aff65a45bda6b32e8855502231200d9bc63b15181bce400bf883463877cb3546a237d9622681c9f650 SHA512 0e736aea177a0c28808d47dfb459502eefcccfc6f2129a0bdd3c6571d807a5bb49ef554b8169dc2c6f60c6b544bd7d490ab27ec7534846d1b6b736d98ab8fd4f DIST mawk-1.3.4-20240827.tgz 423080 BLAKE2B 3844a0240e55b5287397763634ed16fb292919a60228fbb9e7d73e347b9ddef7a206d4207f45d1042fad87d5af62c2bb339dfa5bafc788c2aa854034fccc47f6 SHA512 29d4f4a2ef7bb75b3ac60a3bf1c9d33b09efb842b36b7106d5e76736fde2de5c5647170aa5378f4e1232e2495c064dffae6698bfbdf4546768db457b62fb2012 DIST mawk-1.3.4-20240827.tgz.asc 729 BLAKE2B d1958ba9d04d249c744f48430ccb9deb34b0bbad5e733e2f720269d128f4f2916e6acc69fdfdd7b6b66d755a1b800847da7befa18aa9f1417ea44014e7adf6e3 SHA512 5930fad06cc53de14ff8eb14548b4a3aadf47ac93f2a7122c74db49583fe2d0eb07c29bc0082870e2760c7250c26e0e336fbba918a7c54cef6f75caf0b600357 +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 diff --git a/sys-apps/mawk/mawk-1.3.4_p20240905.ebuild b/sys-apps/mawk/mawk-1.3.4_p20240905.ebuild new file mode 100644 index 000000000000..b69e235b7eef --- /dev/null +++ b/sys-apps/mawk/mawk-1.3.4_p20240905.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 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 +}