From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1716375-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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A0D351582EF for <garchives@archives.gentoo.org>; Sun, 09 Feb 2025 05:18:52 +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 89AFE3430AA for <garchives@archives.gentoo.org>; Sun, 09 Feb 2025 05:18:52 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 595471103CB; Sun, 09 Feb 2025 05:18:51 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 4B72E1103CB for <gentoo-commits@lists.gentoo.org>; Sun, 09 Feb 2025 05:18:51 +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 F20E634309B for <gentoo-commits@lists.gentoo.org>; Sun, 09 Feb 2025 05:18:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5E0281D29 for <gentoo-commits@lists.gentoo.org>; Sun, 09 Feb 2025 05:18:49 +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: <1739077992.4e643ab385932258decaea28e1b6df3006779dbd.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/nawk/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/nawk/Manifest sys-apps/nawk/nawk-20250116.ebuild X-VCS-Directories: sys-apps/nawk/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 4e643ab385932258decaea28e1b6df3006779dbd X-VCS-Branch: master Date: Sun, 09 Feb 2025 05:18:49 +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: 2e3309a3-6fee-4d96-8c95-ebf462c3c194 X-Archives-Hash: b4b7555d7104c0a88fb19c9f3ce90491 commit: 4e643ab385932258decaea28e1b6df3006779dbd Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Feb 9 05:13:12 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Feb 9 05:13:12 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e643ab3 sys-apps/nawk: add 20250116 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-apps/nawk/Manifest | 1 + sys-apps/nawk/nawk-20250116.ebuild | 43 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/sys-apps/nawk/Manifest b/sys-apps/nawk/Manifest index 12b6b9c980e2..e1d09e7a5b2f 100644 --- a/sys-apps/nawk/Manifest +++ b/sys-apps/nawk/Manifest @@ -1 +1,2 @@ DIST nawk-20230909.tar.gz 1833391 BLAKE2B 1a8dc9805d144953d6ad5d0539847b1d83661a8e2c0e029e13201ee44f5f6a29cf487c4368c8578d01577b99349968415503fb0c2f7f8f37f4a55fb57cec2b07 SHA512 28687dfbd797fb1f758bd356824110602045b7249a41f47e2cda15ac3d256d57260f1fc74119dc30fbb0e909295bd676a52ec24d3b3cc35e417d46a1749f856f +DIST nawk-20250116.tar.gz 1845685 BLAKE2B c1c2d230953d169d7115ae7822154944a9930e0ae8c35bc019cd35835a20e73ea180df7576432d5aa031f60eb164ca2985c321f6cd44a98b5b5b234f5784e9a0 SHA512 3be63637bc1689e56d2eac9fa646e8bd89b8c4ccd4ad028a61c7c5d5e9f3490d3c49657488d39a62451b23f0935b81c5ecd812c92cef9e160f7377f4bd4fc711 diff --git a/sys-apps/nawk/nawk-20250116.ebuild b/sys-apps/nawk/nawk-20250116.ebuild new file mode 100644 index 000000000000..46cfa3c820a5 --- /dev/null +++ b/sys-apps/nawk/nawk-20250116.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Brian Kernighan's pattern scanning and processing language" +HOMEPAGE="https://www.cs.princeton.edu/~bwk/btl.mirror/" +SRC_URI="https://github.com/onetrueawk/awk/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/awk-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux" + +BDEPEND=" + app-alternatives/yacc +" + +DOCS=( README.md FIXES ) + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + HOSTCC="$(tc-getBUILD_CC)" \ + CFLAGS="${CFLAGS}" \ + CPPFLAGS="${CPPFLAGS} -DHAS_ISBLANK" \ + ALLOC="${LDFLAGS}" \ + YACC=$(type -p yacc) \ + YFLAGS="-d -b awkgram" +} + +src_install() { + newbin a.out "${PN}" + sed \ + -e 's/awk/nawk/g' \ + -e 's/AWK/NAWK/g' \ + -e 's/Awk/Nawk/g' \ + awk.1 > "${PN}".1 || die "manpage patch failed" + doman "${PN}.1" + einstalldocs +}