commit: d3451edb5e73ecb010b3acf38a2eb469a4f8ce1d Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Apr 7 02:28:03 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Apr 7 02:28:03 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3451edb
sys-apps/mawk: add 1.3.4_p20230404 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-apps/mawk/Manifest | 2 ++ sys-apps/mawk/mawk-1.3.4_p20230404.ebuild | 51 +++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/sys-apps/mawk/Manifest b/sys-apps/mawk/Manifest index f59869d56033..4275b2c8b030 100644 --- a/sys-apps/mawk/Manifest +++ b/sys-apps/mawk/Manifest @@ -3,3 +3,5 @@ DIST mawk-1.3.4-20230203.tgz 401433 BLAKE2B c8756a09078becd942f53bc70c4da79cb970 DIST mawk-1.3.4-20230203.tgz.asc 729 BLAKE2B 8c5e06c87b6f3dd5262f438edf3932526efc20efc34821620a59094f828a478ff2a60b533456e609e161cb23bea3f77bdbc2975b3055b1206708ccdda9529c05 SHA512 6a077721e6c1d3929805676a02e2d4c5ac68cdc50c5124552d11b305216e419ca8ae6637f79f0b8fbab34a82543ed10d8f8f7f93f9e339cba4dfd3c37488f18a DIST mawk-1.3.4-20230322.tgz 401674 BLAKE2B c79e6736c1889fc43b0071dc8f88764b5fc3978e8ae6368c2395fc0947b867d414466533369a52f9e6a260dd29a4e273ec975eaa5607bbbd0fc9fbead5133620 SHA512 475f64acfbde686caf65ae3f227b75e1c2578011333467612d44c0e4658a49fa6c9c75ad3338c7ffd33e24d68b3d8156a0f1ad1189b60833597016060e6695c4 DIST mawk-1.3.4-20230322.tgz.asc 729 BLAKE2B c6b44d265e724008dd5eb4b2dda02153c5434be00136184065d7e2be19b357df17ff5ac8360238795b3bae206001031859241abb1947f043e0a3aef7d6037155 SHA512 bc9a2e78950e5cd42a3b6338f9ccf17d2f470f19b81c61e10e89fcd33fdbfa45a5b39c53aa0384195ff96c1d593a0cbaed0943b2b63f6f13d0bd4853b31a1015 +DIST mawk-1.3.4-20230404.tgz 403027 BLAKE2B cc10336c902fd72dbcbafd5638699cbc18d9c650451c56d4058a2c716b378060404b1c3e072ef114a73c2a1e0b43886711c6697e408ee10164049af84cb79063 SHA512 cc72b2f163f7809b9d2f6ecd4130663b1184be2025ff8727fc8659cf7fb4b3f9fbdc41c8a0443ccbe5e455b45fcc42e8722caec13b63546b9b03d010093fa484 +DIST mawk-1.3.4-20230404.tgz.asc 729 BLAKE2B 10a9bf264c75d24139a0715031ae732237602589b5d7ed8227e88bd1121c61f9770270ec7b03bd456c2eeab6fd9970fb07d0154d97dfe745ffa4cbf733839457 SHA512 7e6cc764598046834e95cf5451376024f9f0f05efc1b3acfdbff38c182910b42561fb77eea06d42b791fdb0fc552b7e9e60cdabc313b03d2c35401b2a6193664 diff --git a/sys-apps/mawk/mawk-1.3.4_p20230404.ebuild b/sys-apps/mawk/mawk-1.3.4_p20230404.ebuild new file mode 100644 index 000000000000..23e30e355999 --- /dev/null +++ b/sys-apps/mawk/mawk-1.3.4_p20230404.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 )" + +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 +}