diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-27 12:00:02 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-27 12:00:02 +0100 |
commit | 345c02ca33341652116ddec6705530223af2de85 (patch) | |
tree | bcb9923530ba0703557f280b0a2bd1343bae857c /sys-apps/mawk | |
parent | f300354de9fe5d997850456a9e1f400193e6544f (diff) |
gentoo auto-resync : 27:08:2024 - 12:00:02
Diffstat (limited to 'sys-apps/mawk')
-rw-r--r-- | sys-apps/mawk/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/mawk/files/mawk-1.3.4_p20240819-tests.patch | 12 | ||||
-rw-r--r-- | sys-apps/mawk/mawk-1.3.4_p20240819.ebuild | 55 |
3 files changed, 71 insertions, 0 deletions
diff --git a/sys-apps/mawk/Manifest b/sys-apps/mawk/Manifest index 459099c8dbd3..0707fa63d3f9 100644 --- a/sys-apps/mawk/Manifest +++ b/sys-apps/mawk/Manifest @@ -1,10 +1,14 @@ +AUX mawk-1.3.4_p20240819-tests.patch 396 BLAKE2B aa24a1f960103857a746d8e932b9a18f779df9beacf1caf6fb131ff0c87426409125b7fff10a64e4f26991e340f5c754c690e5c6229fd2eb6c12edeb2708673c SHA512 e9f084af868b06a7b7b82d1e412acf3666dea3547e1a1a476c14ab7f46b10c6f8b87d387d5a531e11d67dccbf1994ac1e1913ad79bd6a3f7f2e046f63dbb3914 DIST mawk-1.3.4-20231126.tgz 413452 BLAKE2B e3907cf88ea3daaaf8a1d12eb9fe3cb726be8b8e8d3c8d9ea5b25b8127c5d054d8a0c600da90f7dabcc0fcee2c987628ade15b7225698e417fee63e49689a8a4 SHA512 faacd473df97fc51cf3ece652e0826b13c26e8de5fa87746dfcc097811a9464a71e5630a8f3b4d243e0c1dc0199751b64d9a1bf34fe5080b646c0e5fff231e0d DIST mawk-1.3.4-20231126.tgz.asc 729 BLAKE2B 72d8e626aac6354f2e568eb118f2d19b3d770ab8b23449163e84941cdbd8539b0e39edb0446176fc64ecfe2deac81e98f1107df1bdbd815569bf5d6b08d72cc3 SHA512 19a9725f84651f87ecb38350984a60fce52046df45be7c494e615db91f6b76229d3dba20211bca41b90a7370fbba97fcb7bb2fe475ffb880fac7f1116f14333f DIST mawk-1.3.4-20240123.tgz 413943 BLAKE2B 29a9c89995e969a62bd0b30e494c67e53aea0466c9286e2005422a54a44bef661ef6223522c4b51bc49b83c56512ae47e784c237dd39dfef77b7aa13ec33973a SHA512 f6d5da44280afeac4a9bb6d3788ed71ee816daaa5816f49b9d40add5292f3ae06e5af007a6c993d14405238cbb70ba4997fdd2fcd5901c9a1a4b61357045c4a6 DIST mawk-1.3.4-20240123.tgz.asc 729 BLAKE2B e4ba4ddd1f3227a9dc922a1325b00fac2d9c95a848fdc03f57eaa5f354bf45da218cbf6e931b5c1464b799c05d10ff7fe95d1eb81221b4afba468bedc7805815 SHA512 3b4b8b8b7b74aff7061158a7c284d1949c09d52d78003b678c9dcc1da036a4d84b873103d76362866daf914d5a7d717c71baf13d30d7e882b03c5f87c8e4c452 DIST mawk-1.3.4-20240622.tgz 414190 BLAKE2B 3238e633546ea04b0e3822271fcd37d1ac6ae3924c9e7655ff14c9fa35d691ba27bb779e7c1b7f95a46c0aa90b75a71ab2681763c89812f55773e97489e03ff8 SHA512 29fed436502531e226af5e04bc54c2f4f9430c80d863f27e520401577c1f03a10d8a0d9def94c71ca43de40a7b1f450340802de37a7276bfe91d029779b1460e DIST mawk-1.3.4-20240622.tgz.asc 729 BLAKE2B b57d41b6062a51d18525abce1c1d463debe032fe05dea9f9ac82f49cae12b7190cdcdb59ef69757b1372d777353ab3cae7a38177e99f684550bf31f85fd3eb56 SHA512 a97297424dea27207b49b51fd1461c9a158dd9a4e5289e91194beebe67a35b3b9fbb414cf8367eae296688038264f1e7b6d69a00903f9c88d0b90d32fc154ae3 +DIST mawk-1.3.4-20240819.tgz 421586 BLAKE2B cc80703428d50d3eb1ba681aedadc3c0136ecbf73505a2982b5be5a34d3dd49e52b70c05af0a30819ede8f5a6edb01d48df58f1b2554c9c17f116258ad45ffad SHA512 db547df08b6d511805e5c7995d42f63fe95014ac8f1837397e8ed4aeeaadd11dc9b0cb1f54ea3210e70b0378278b24fe31c7c7c912f1da3ce96deb61ce4dfc0f +DIST mawk-1.3.4-20240819.tgz.asc 729 BLAKE2B 59139459eb51853d3182858bc3d5db961c1b676bf7e219aff65a45bda6b32e8855502231200d9bc63b15181bce400bf883463877cb3546a237d9622681c9f650 SHA512 0e736aea177a0c28808d47dfb459502eefcccfc6f2129a0bdd3c6571d807a5bb49ef554b8169dc2c6f60c6b544bd7d490ab27ec7534846d1b6b736d98ab8fd4f EBUILD mawk-1.3.4_p20231126.ebuild 1298 BLAKE2B 7799aa876bf05b81a98c9d63116862da55b44e37c56bdbde188e19ebb1dc88d0431130a6db31f6e4eaf242c5c55a8e077702b0190aa22e773ce91e585d1561f5 SHA512 7726ebd7e05af3f8bde3c93ad928085335cfed0d0d9d68124eef4a33bab60eb77cb5ce83b361bc584dc3b6fdcb51a4f015cfc1d9ec3c3f5ae05b76098d66dc99 EBUILD mawk-1.3.4_p20240123.ebuild 1298 BLAKE2B 295253a5cfb6b861214a4072acc84af892d557e2aef52b7066e97043012fae3550a78c070f521df68e8befe6419488391c5bf3313a5eb0b83603aaa7c5575e2c SHA512 1b44dc09bfe3254ba8b89b5d4a38c335e1d328ad95a9f59bdf4beeaf22ad50ed43241be65c20d1b72225de757053caa85952f853df67f87303fb327630c38469 EBUILD mawk-1.3.4_p20240622.ebuild 1306 BLAKE2B ffa7e2c78073c9ad6e76ad957a230670d4aa0b6475b5cb7fec93afc06fdca09b9eb08c5fcb78b2909448e83f740c2a276751716c0d62d12b887bfe33612f8fcd SHA512 d79cbe028cc16886947f4a5d15abae9820ee73674af5a6b0c5aa2fd76a5e1169c3e91a2f6dad92cf290aaa7105e24316eb05c52cc2ea2315aa0acfdd62815300 +EBUILD mawk-1.3.4_p20240819.ebuild 1368 BLAKE2B 07f6397081f3f13ba1116b255bd64307cd5f1aab06671020bb084041c5569dd063f68b9a2ed74dc6bd683c1df0ebcdf245d156cbf964341b74fa06dce47e8c77 SHA512 0c0fe41520d094445c6eda4d6e30b86fe4e2dbbfa2e8f3b364c54ee8820cd31be057371d9556a939c2e211a38d6a1f925be2f3002631bfe32a671fab408dd5f9 MISC metadata.xml 422 BLAKE2B 8bd344848b5247eb1858b7cd31d91a796671c321610b826e602d9350e59769a4e6612438d9bf89ee2d6d63c327729d88a9ccb538b162beb816fde2910d0a4d9a SHA512 9adcc3c3b54ee935d3363e874e76f9e9b1efee00faac94184a84d10a6600dad4f11da51d4567acabf63707ca55f9b3d5ac3df107c6de8b38cad1da9891e82086 diff --git a/sys-apps/mawk/files/mawk-1.3.4_p20240819-tests.patch b/sys-apps/mawk/files/mawk-1.3.4_p20240819-tests.patch new file mode 100644 index 000000000000..ac75eed869d0 --- /dev/null +++ b/sys-apps/mawk/files/mawk-1.3.4_p20240819-tests.patch @@ -0,0 +1,12 @@ +Sent upstream via email by sam on 2024-08-27. +--- a/test/mawktest ++++ b/test/mawktest +@@ -269,7 +269,7 @@ Finish "character-classes demo" + Begin "long-lines test" + if [ -f /proc/meminfo ] + then +- AWK=$PROG longline.sh | cmp -s - longline.out || Fail "longline.awk" ++ AWK=$PROG ./longline.sh | cmp -s - longline.out || Fail "longline.awk" + else + echo "SKIPPED because of memory requirements" + fi diff --git a/sys-apps/mawk/mawk-1.3.4_p20240819.ebuild b/sys-apps/mawk/mawk-1.3.4_p20240819.ebuild new file mode 100644 index 000000000000..b3ff452624b9 --- /dev/null +++ b/sys-apps/mawk/mawk-1.3.4_p20240819.ebuild @@ -0,0 +1,55 @@ +# 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 ~ia64 ~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_push # doesn't exist on Linux +) + +PATCHES=( + "${FILESDIR}"/${PN}-1.3.4_p20240819-tests.patch +) + +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 +} |