Your message dated Mon, 20 Feb 2023 00:49:11 +0000
with message-id <[email protected]>
and subject line Bug#1024715: fixed in xemacs21 21.4.24-11
has caused the Debian Bug report #1024715,
regarding xemacs21: should use sed instead of perl in prerm scripts
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(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 [email protected]
immediately.)
--
1024715: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024715
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:xemacs21
Version: 21.4.24-10
Tags: patch
Dear xemacs maintainer,
`prerm-base` uses Perl to check if various xemacs21 subpackages are
installed. Using `perl` in maintscripts is problematic because Perl may
no longer be installed in the future by the time the user removes or
purges the various xemacs21 subpackages (see
<https://wiki.debian.org/Proposals/EssentialOnDiet>.)
The specific use of `perl` in `prerm-base` can be easily replaced with
an equivalent `sed` invocation, see the attached patch.
Regards,
diff --git a/debian/prerm-base b/debian/prerm-base
index 73fd7e9..f1beb10 100644
--- a/debian/prerm-base
+++ b/debian/prerm-base
@@ -9,7 +9,7 @@ fi
# installed.
ALREADY=0
for i in mule nomule mule-canna-wnn gnome-mule gnome-nomule
gnome-mule-canna-wnn ; do
- STAT=`dpkg -s xemacs@MAJVERSION@-$i 2>/dev/null | perl -ne 'next if
$_ !~ m/^Status/; $_ =~ s/^Status:\s*(.*)/$1/; print;'`
+ STAT=$(dpkg -s xemacs@MAJVERSION@-$i 2>/dev/null | sed -ne
'/^Status:\s*/ s///p')
if [ "REPLACE_ME" != "$i" -a "$STAT" = "install ok installed" ] ; then
ALREADY=1
fi
--
Gioele Barabucci
--- End Message ---
--- Begin Message ---
Source: xemacs21
Source-Version: 21.4.24-11
Done: Mark Brown <[email protected]>
We believe that the bug you reported is fixed in the latest version of
xemacs21, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mark Brown <[email protected]> (supplier of updated xemacs21 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 19 Feb 2023 23:51:28 +0000
Source: xemacs21
Architecture: source
Version: 21.4.24-11
Distribution: unstable
Urgency: low
Maintainer: Mark Brown <[email protected]>
Changed-By: Mark Brown <[email protected]>
Closes: 1024715
Changes:
xemacs21 (21.4.24-11) unstable; urgency=low
.
* Use sed instead of perl in prerm (closes: #1024715).
* Include port of Emacs CVE-2022-45939 fix provided by Étienne
Mollier <[email protected]>.
Checksums-Sha1:
af72efb9137bd935a0565a4af5c40e68e4308158 2147 xemacs21_21.4.24-11.dsc
5890306c97229c44ab6ef581a226060d44bf84bc 35676
xemacs21_21.4.24-11.debian.tar.xz
Checksums-Sha256:
03d261f10e7d5292d2b44f8e5760be75c179eb29158fd300b16d9b78efe9d41c 2147
xemacs21_21.4.24-11.dsc
f4edb7c456a502d73239cb5a57de4abe157bfe08e98ac3f910806572ec38f081 35676
xemacs21_21.4.24-11.debian.tar.xz
Files:
bccd34a69d4612e4e8071a15049c5b65 2147 editors optional xemacs21_21.4.24-11.dsc
2e464e5c8bde88e33c992a0b394a92ff 35676 editors optional
xemacs21_21.4.24-11.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQFHBAEBCgAxFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmPyusUTHGJyb29uaWVA
ZGViaWFuLm9yZwAKCRAk1otyXVSH0I+WB/47OKJXkRHrkBFxDZQwPlXv5EeMTAUV
JNoxWQi3Zz/orhU5Q47GVbKOij0DTcmsTiLAb7s+RSHc336dZEmQ+IaSF6vFueHl
2TLsZXxtUnzGWSKiEA1gPzfmChK9eUVRHfJym8M7f4JlNzWxOp0P3fEtAvGU99+a
F4lKjS7SQM5DwNojYdrkVeL3rDijDKQSYtCTIkjSXTL/Iw5dmJ+ya0gkGVzS2i2Z
SaegIjWvOzKw1CInV7vC3c0Mu64kZ3H6j0N14d4Zj1WZW0E7wNI/LKhsmuSqacOe
J5whUnfccg4bcMlLaPhsADKgIBUSNSN7vW8/DJaJI+VpHyivF30NrmXv
=ligc
-----END PGP SIGNATURE-----
--- End Message ---