From ffbdd8bc18542467085567389bea2f0aae1b7119 Mon Sep 17 00:00:00 2001 From: fosslinux Date: Sat, 27 Jan 2024 15:37:15 +1100 Subject: [PATCH] Add gawk 5.3.0 --- parts.rst | 7 +++++++ steps/SHA256SUMS.pkgs | 1 + steps/gawk-5.3.0/pass1.sh | 17 +++++++++++++++++ steps/gawk-5.3.0/sources | 1 + steps/manifest | 1 + 5 files changed, 27 insertions(+) create mode 100644 steps/gawk-5.3.0/pass1.sh create mode 100644 steps/gawk-5.3.0/sources diff --git a/parts.rst b/parts.rst index 9b0146b..0e6e7de 100644 --- a/parts.rst +++ b/parts.rst @@ -1267,3 +1267,10 @@ diffutils 3.10 We already have a perfectly functional diffutils, but some core modern software does require newer diffutils (understandably, given our diffutils is from 1994). This also gives the additional diffutils commands ``diff3`` and ``sdiff``. + +gawk 5.3.0 +========== + +Similarly to diffutils, our gawk is currently very ancient (1999). That doesn't +cut it for modern software such as glibc. We update gawk to a much more modern +version. diff --git a/steps/SHA256SUMS.pkgs b/steps/SHA256SUMS.pkgs index f62c8b9..f036a57 100644 --- a/steps/SHA256SUMS.pkgs +++ b/steps/SHA256SUMS.pkgs @@ -49,6 +49,7 @@ eec07e0d710ed3dd8d0ba6a1ec6ca9f1fa3a611bbb225195435679175317bf90 findutils-4.2. b3a8d59229289ca5a1de6a24c9c828d2847144f6662e0d5b7f41e7ff6e57abaa flex-2.5.33_0.tar.bz2 57f72a4d1cb89dc1e59af0228fddc0ea97a3588984114f702f142c82aeeef493 flex-2.6.4_0.tar.bz2 f0f1471e4a5ff95749bd655c145311cc03eec80525f2bb0b9b3ac3ff8be29e0b gawk-3.0.4_0.tar.bz2 +62e90abe883f6ccd679adf42d00c2c18a9809bbab599411c81b6c4ac4d446452 gawk-5.3.0_0.tar.bz2 6de1c1380026ef9948387e665610185b6014f47a80453177a6c81898c95cbbd3 gc-8.0.4_0.tar.bz2 c99d080cf17ac3f75cbae67095cb76220a92d96d877c92c896a7f05c9c94e92d gcc-10.4.0_0.tar.bz2 e0c9e7f4f0cd0d5027f2a38eb262f883133c31ac9ec93ee6afa5abc028096bc0 gcc-13.1.0_0.tar.bz2 diff --git a/steps/gawk-5.3.0/pass1.sh b/steps/gawk-5.3.0/pass1.sh new file mode 100644 index 0000000..bcd135c --- /dev/null +++ b/steps/gawk-5.3.0/pass1.sh @@ -0,0 +1,17 @@ +# SPDX-FileCopyrightText: 2024 fosslinux +# +# SPDX-License-Identifier: GPL-3.0-or-later + +src_prepare() { + default + + # texinfo + rm doc/*.info + + # bison + rm awkgram.c command.c +} + +src_configure() { + ./configure --prefix="${PREFIX}" +} diff --git a/steps/gawk-5.3.0/sources b/steps/gawk-5.3.0/sources new file mode 100644 index 0000000..e4fddaa --- /dev/null +++ b/steps/gawk-5.3.0/sources @@ -0,0 +1 @@ +https://mirrors.kernel.org/gnu/gawk/gawk-5.3.0.tar.xz ca9c16d3d11d0ff8c69d79dc0b47267e1329a69b39b799895604ed447d3ca90b diff --git a/steps/manifest b/steps/manifest index 0765079..489f079 100644 --- a/steps/manifest +++ b/steps/manifest @@ -202,6 +202,7 @@ build: shadow-4.14.3 build: opendoas-6.8.2 build: gzip-1.13 build: diffutils-3.10 +build: gawk-5.3.0 improve: cleanup_filesystem improve: null_time ( FORCE_TIMESTAMPS == True ) improve: update_checksums ( UPDATE_CHECKSUMS == True )