Your message dated Fri, 22 Jul 2022 01:05:36 +0200
with message-id <2feefc2b-ef5c-d69e-3230-b5dfa3fcc...@unex.es>
has caused the report #992651,
regarding sharutils: stores wrong path to bash if built on merged-/usr system
to be marked as having been forwarded to the upstream software
author(s) bug-gnu-ut...@gnu.org
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
992651: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992651
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Hello.
I received the attached patch from the Debian bug system. It was taken
from sharutils git repository and it allows to pass a value for
POSIX_SHELL in the ./configure call. We need this for the usrmerge
transition.
I plan to apply the patch mostly "as is" to the Debian source package,
but as a result, I have to regenerate autoconf files during the package
build. Some people do that as a normal thing, but I prefer to do that
only when it's really necessary, so it would be more simple if there was
a new sharutils release from upstream. Are there any plans for that?
After all, the last release was made in 2015, and there are even some
CVE which are still not part of the last stable release.
Thanks.
From: Simon McVittie <s...@debian.org>
Date: Sat, 21 Aug 2021 19:19:03 +0100
Subject: libopts.m4: accept POSIX_SHELL from the environment during
the configure step
This lets us set it to the canonical path /bin/bash, even on systems
where both /bin/bash and /usr/bin/bash are available, and therefore
which(1) might return /usr/bin/bash (depending on PATH order).
Both copies of libopts.m4 are marked as generated files, but the files
from which they were generated do not seem to be present in the sharutils
package. This change is equivalent to part of a 2016 autogen commit
<https://git.savannah.gnu.org/cgit/autogen.git/commit/?id=db064b9a>.
Origin: https://git.savannah.gnu.org/cgit/autogen.git/commit/?id=db064b9a
---
libopts/m4/libopts.m4 | 1 +
m4/libopts.m4 | 1 +
2 files changed, 2 insertions(+)
--- a/libopts/m4/libopts.m4
+++ b/libopts/m4/libopts.m4
@@ -114,6 +114,7 @@
AC_PROG_SED
[while :
do
+ test -x "$POSIX_SHELL" && break
POSIX_SHELL=`which bash`
test -x "$POSIX_SHELL" && break
POSIX_SHELL=`which dash`
--- a/m4/libopts.m4
+++ b/m4/libopts.m4
@@ -114,6 +114,7 @@
AC_PROG_SED
[while :
do
+ test -x "$POSIX_SHELL" && break
POSIX_SHELL=`which bash`
test -x "$POSIX_SHELL" && break
POSIX_SHELL=`which dash`
--- End Message ---