lrzsz: fix random build failures by really disabling autofoo
authorPetr Štetiar <ynezz@true.cz>
Thu, 12 Dec 2024 20:19:04 +0000 (20:19 +0000)
committerRosen Penev <rosenp@gmail.com>
Fri, 13 Dec 2024 19:24:12 +0000 (11:24 -0800)
commit3e612586041d40ebfafadb65eaa6fc34b2061ee8
tree32ed400c8c45c7c70d18b18c5c66f02cd8284f62
parentedad451a84a39bbc25fb8213243e2d9eccdbd5c3
lrzsz: fix random build failures by really disabling autofoo

Currently we're seeing random build failures, caused by autofoo being
called on very ancient bundled autofoo:

  cd . && aclocal
  aclocal.real: warning: autoconf input should be named 'configure.ac', not 'configure.in'
  acinclude.m4:2: warning: underquoted definition of AC_REPLACE_GNU_GETOPT
  acinclude.m4:2:   run info Automake 'Extending aclocal'
  acinclude.m4:2:   or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
  configure.in:106: error: automatic de-ANSI-fication support has been removed

For some reason that `touch` based neutralization introduced in commit
6d6c4b21b5e2 ("lrzsz: update to v0.12.21rc and fix a CVE") doesn't
always work.

So lets fix it by removing the autofoo bits from the bundled Makefile.in
and while at it remove processing of man and testsuite subdirs to save
some computing cycles.

Fixes: #25543
Fixes: 6d6c4b21b5e2 ("lrzsz: update to v0.12.21rc and fix a CVE")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
utils/lrzsz/Makefile
utils/lrzsz/patches/300-neutralize-autofoo.patch [new file with mode: 0644]