From eb4b623de915cf093df8c01c82373363ce415a4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Thu, 18 Mar 2021 19:37:07 +0000 Subject: [PATCH] Autoconf 2.59. --- SHA256SUMS.sources | 1 + parts.rst | 5 +++++ rootfs.sh | 3 +++ sysa/autoconf-2.59/autoconf-2.59.sh | 23 +++++++++++++++++++++++ sysa/run.sh | 2 ++ 5 files changed, 34 insertions(+) create mode 100755 sysa/autoconf-2.59/autoconf-2.59.sh diff --git a/SHA256SUMS.sources b/SHA256SUMS.sources index b022cbe..41d0460 100644 --- a/SHA256SUMS.sources +++ b/SHA256SUMS.sources @@ -5,6 +5,7 @@ f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e autoconf-2.13. a74aea954f36c7beeb6cc47b96a408c3e04e7ad635f614e65250dbcd8ec0bd28 autoconf-2.54.tar.bz2 f757158a04889b265203eecd8ca92568e2a67c3b9062fa6bff7a0a6efd2244ac autoconf-2.55.tar.bz2 e1035aa2c21fae2a934d1ab56c774ce9d22717881dab8a1a5b16d294fb793489 autoconf-2.57.tar.bz2 +f0cde70a8f135098a6a3e85869f2e1cc3f141beea766fa3d6636e086cd8b90a7 autoconf-2.59.tar.bz2 503cdc2b0992a4309545d17f462cb15f99bb57b7161dfc4082b2e7188f2bcc0f automake-1.4-p6.tar.gz 0dbafacaf21e135cab35d357a14bdcd981d2f2d00e1387801be8091a31b7bb81 automake-1.6.3.tar.bz2 2dddc3b51506e702647ccc6757e15c05323fa67245d2d53e81ed36a832f9be42 automake-1.7.8.tar.bz2 diff --git a/parts.rst b/parts.rst index a67588a..51e4ccf 100644 --- a/parts.rst +++ b/parts.rst @@ -478,6 +478,11 @@ autoconf 2.57 Newer ``autoconf``. This time we were able to skip version 2.56. +autoconf 2.59 +============= + +Again, we managed to skip one version. + bash 3.2.57 =========== diff --git a/rootfs.sh b/rootfs.sh index 81fa07f..b1f8ee5 100755 --- a/rootfs.sh +++ b/rootfs.sh @@ -243,6 +243,9 @@ get_file https://ftp.gnu.org/gnu/automake/automake-1.7.8.tar.bz2 # autoconf 2.57 get_file https://ftp.gnu.org/gnu/autoconf/autoconf-2.57.tar.bz2 +# autoconf 2.59 +get_file https://ftp.gnu.org/gnu/autoconf/autoconf-2.59.tar.bz2 + # bash 3.2.57 get_file https://ftp.gnu.org/gnu/bash/bash-3.2.57.tar.gz diff --git a/sysa/autoconf-2.59/autoconf-2.59.sh b/sysa/autoconf-2.59/autoconf-2.59.sh new file mode 100755 index 0000000..b7a5729 --- /dev/null +++ b/sysa/autoconf-2.59/autoconf-2.59.sh @@ -0,0 +1,23 @@ +# SPDX-FileCopyrightText: 2021 Andrius Štikonas +# +# SPDX-License-Identifier: GPL-3.0-or-later + +src_prepare() { + autoreconf-2.57 -f + + # Install autoconf data files into versioned directory + for file in */*/Makefile.in */Makefile.in Makefile.in; do + sed -i '/^pkgdatadir/s:$:-@VERSION@:' $file + done +} + +src_configure() { + ./configure --prefix="${PREFIX}" --program-suffix=-2.59 +} + +src_install() { + default_src_install + + ln -sf "${PREFIX}/bin/autoconf-2.59" "${PREFIX}/bin/autoconf" + ln -sf "${PREFIX}/bin/autom4te-2.59" "${PREFIX}/bin/autom4te" +} diff --git a/sysa/run.sh b/sysa/run.sh index 2418023..eacc9d6 100755 --- a/sysa/run.sh +++ b/sysa/run.sh @@ -117,6 +117,8 @@ build automake-1.7.8 build autoconf-2.57 +build autoconf-2.59 + build bash-3.2.57 exec bash run2.sh