commit: ce77c561db549adb7dfdb4a4662b8d599064656f
parent 65a2e3e33d23e2051597e15c70871fc3df43f3ae
Author: Andrius Štikonas <andrius@stikonas.eu>
Date: Fri, 19 Mar 2021 15:40:07 +0000
help2man-1.36.4
Diffstat:
5 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/SHA256SUMS.sources b/SHA256SUMS.sources
@@ -11,6 +11,7 @@ f0cde70a8f135098a6a3e85869f2e1cc3f141beea766fa3d6636e086cd8b90a7 autoconf-2.59.
2dddc3b51506e702647ccc6757e15c05323fa67245d2d53e81ed36a832f9be42 automake-1.7.8.tar.bz2
6633ee1202375e3c8798a92e1b7f46894f78d541aeea7f49654503fdc0b28835 automake-1.7.tar.bz2
84c93aaa3c3651a9e7474b721b0e6788318592509e7de604bafe4ea8049dc410 automake-1.8.5.tar.bz2
+8eccaa98e1863d10e4a5f861d8e2ec349a23e88cb12ad10f6b6f79022ad2bb8d automake-1.9.6.tar.bz2
ba03d412998cc54bd0b0f2d6c32100967d3137098affdc2d32e6e7c11b163fe4 bash-2.05b.tar.gz
3fa9daf85ebf35068f090ce51283ddeeb3c75eb5bc70b1a4a7cb05868bfe06a4 bash-3.2.57.tar.gz
e20bdd49a0fb317959b410c1fe81269a620ec21207045d8a37cadea621be4b59 binutils-2.14.tar.bz2
@@ -25,6 +26,7 @@ e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995 flex-2.6.4.tar
a32032bab36208509466654df12f507600dfe0313feebbcd218c32a70bf72a16 grep-2.4.tar.gz
4d2ce9f314f39c9575f913503b0178d6fb2c92920db8e7b7b176b7bab7980fe6 gzip-1.2.4.tar
9f233d8b78e4351fe9dd2d50d83958a0e5af36f54e9818521458a08e058691ba heirloom-devtools-070527.tar.bz2
+a4adadf76b496a6bc50795702253ecfcb6f0d159b68038f31a5362009340bca2 help2man-1.36.4.tar.gz
8e8ce6175d435e7df8c9bbb0e5fd5357691cdc28c1a2d00fdd9b47b7643bec3a libtool-1.4.tar.gz
093c993767f563a11e41c1cf887f4e9065247129679d4c1e213d0544d16d8303 m4-1.4.7.tar.gz
64b30b41fde2ebf669e6af489883fb1df6a06ac30555a96cfa3c39ecce7267dd make-3.80.tar.gz
diff --git a/parts.rst b/parts.rst
@@ -489,6 +489,14 @@ automake 1.8.5
We need newer ``automake`` to proceed to newer ``autoconf`` versions. This is the latest
automake version from 1.8 release series.
+help2man 1.36.4
+===============
+
+``help2man`` automatically generates manpages from programs ``--help`` and ``--version``
+outputs. This is not strictly required for bootstrapping but will help us to avoid patching
+build process to skip generation of manpages. This is the newest version of ``help2man`` that
+does not require Perl 5.8.
+
bash 3.2.57
===========
diff --git a/rootfs.sh b/rootfs.sh
@@ -249,6 +249,9 @@ get_file https://ftp.gnu.org/gnu/autoconf/autoconf-2.59.tar.bz2
# automake 1.8.5
get_file https://ftp.gnu.org/gnu/automake/automake-1.8.5.tar.bz2
+# help2man 1.36.4
+get_file https://ftp.gnu.org/gnu/help2man/help2man-1.36.4.tar.gz
+
# bash 3.2.57
get_file https://ftp.gnu.org/gnu/bash/bash-3.2.57.tar.gz
diff --git a/sysa/help2man-1.36.4/help2man-1.36.4.sh b/sysa/help2man-1.36.4/help2man-1.36.4.sh
@@ -0,0 +1,21 @@
+# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+src_prepare() {
+ autoreconf-2.59 -f
+}
+
+src_configure() {
+ CC=tcc ./configure --prefix="${PREFIX}" --disable-nls
+}
+
+src_compile() {
+ make
+
+ # fix a broken shebang
+ tail -n +6 help2man > help2man.tmp
+ echo "#!/${PREFIX}/bin/perl" > help2man
+ cat help2man.tmp >> help2man
+ rm help2man.tmp
+}
diff --git a/sysa/run.sh b/sysa/run.sh
@@ -121,6 +121,8 @@ build autoconf-2.59
build automake-1.8.5
+build help2man-1.36.4
+
build bash-3.2.57
exec bash run2.sh