Your message dated Sat, 24 Feb 2024 13:19:24 +0000
with message-id <[email protected]>
and subject line Bug#1031403: fixed in debian-policy 4.6.2.1
has caused the Debian Bug report #1031403,
regarding debian-policy: missing quotes in sh script example in file
policy/ap-pkg-diversions
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.)
--
1031403: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031403
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debian-policy
Version: 4.6.2.0
Severity: minor
Tags: patch
X-Debbugs-Cc: [email protected]
Dear Maintainer,
consulting the debian policy manual whether it contains suggestions how
to best implement diversions (see `man dpkg-divert`), i noticed syntax
errors in the provided shell script example snippets.
a patch fixing these typos is attached.
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64, i386
Kernel: Linux 6.1.0-3-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
debian-policy depends on no packages.
Versions of packages debian-policy recommends:
ii libjs-sphinxdoc 5.3.0-3
Versions of packages debian-policy suggests:
pn doc-base <none>
>From d9769130d9da00933a19237d5b614dda5331e3e9 Mon Sep 17 00:00:00 2001
From: Max-Julian Pogner <[email protected]>
Date: Thu, 16 Feb 2023 16:44:23 +0100
Subject: [PATCH] FIX: missing quotes in sh script example in file
policy/ap-pkg-diversions
---
policy/ap-pkg-diversions.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/policy/ap-pkg-diversions.rst b/policy/ap-pkg-diversions.rst
index fe360d1..4b8c647 100644
--- a/policy/ap-pkg-diversions.rst
+++ b/policy/ap-pkg-diversions.rst
@@ -37,7 +37,7 @@ upgraded:
::
- if [ upgrade != "$1 ] || dpkg --compare-versions "$2" lt 1.0-2; then
+ if [ upgrade != "$1" ] || dpkg --compare-versions "$2" lt 1.0-2; then
dpkg-divert --package smailwrapper --add --rename \
--divert /usr/sbin/smail.real /usr/sbin/smail
fi
@@ -50,7 +50,7 @@ The postrm has to do the reverse:
::
- if [ remove = "$1" -o abort-install = "$1" -o disappear = "$1 ]; then
+ if [ remove = "$1" -o abort-install = "$1" -o disappear = "$1" ]; then
dpkg-divert --package smailwrapper --remove --rename \
--divert /usr/sbin/smail.real /usr/sbin/smail
fi
@@ -62,7 +62,7 @@ supported):
::
- if [ abort-upgrade = "$1 ] && dpkg --compare-versions "$2" lt 1.0-2; then
+ if [ abort-upgrade = "$1" ] && dpkg --compare-versions "$2" lt 1.0-2; then
dpkg-divert --package smailwrapper --remove --rename \
--divert /usr/sbin/smail.real /usr/sbin/smail
fi
--
2.39.1
--- End Message ---
--- Begin Message ---
Source: debian-policy
Source-Version: 4.6.2.1
Done: Sean Whitton <[email protected]>
We believe that the bug you reported is fixed in the latest version of
debian-policy, 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.
Sean Whitton <[email protected]> (supplier of updated debian-policy
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: Sat, 24 Feb 2024 20:39:43 +0800
Source: debian-policy
Architecture: source
Version: 4.6.2.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Policy Editors <[email protected]>
Changed-By: Sean Whitton <[email protected]>
Closes: 793499 915583 1020248 1031403
Changes:
debian-policy (4.6.2.1) unstable; urgency=medium
.
[ Guillem Jover ]
* Standardize terminology with dpkg. (Closes: #1020248)
- Use 'stanza' for each section of a multi-section control file, such as
the source package template control file (debian/control).
- Use standardized naming for binary package control files, source
package control files (.dsc), source package template control files
(debian/control), and upload changes control files (.changes).
- Refer to members of the control member of the .deb archive as
'package metadata'.
* Update Installed-Size algorithm used by dpkg (Closes: #793499).
.
[ Stéphane Blondon ]
* New Debian-specific Sphinx style (Closes: #915583).
.
[ Max-Julian Pogner ]
* Fix missing quotes in dpkg-divert examples. (Closes: #1031403)
Checksums-Sha1:
1ca66544071b0942fdbd0f2fc155ff98e0794349 2136 debian-policy_4.6.2.1.dsc
0194a75ba91649127927fc24df894f4c2e8740c6 554296 debian-policy_4.6.2.1.tar.xz
Checksums-Sha256:
fc4f8728464f039ab2ff9063d28a9538e92cb68605d980ac608689306bfc80b6 2136
debian-policy_4.6.2.1.dsc
0a69d1e25d821e6eb1e1773f4a8626ecdf2abf23ce50d0ba4e90208fd67052a3 554296
debian-policy_4.6.2.1.tar.xz
Files:
9907e689604584693d5494d3133e71e0 2136 doc optional debian-policy_4.6.2.1.dsc
d40f37ab7ab1b736b65844669a5baf01 554296 doc optional
debian-policy_4.6.2.1.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmXZ48MACgkQaVt65L8G
YkCORQ/8D0vQa4AKBnKAmJd8QFrjbKMqSTphLlcq2kCaXnNEtTz0mtZ4YMQd+4lh
ce8J6/qOYarhkBSCvz//cb1WMDUXt4M9l0NoOMcw6rZHxzkUf315O8NLjktM0D52
/+HhdgMmE9IhzOqohNvmB/DiCogqfLQvKRswKdbr0FNIbeqv8CJAYZdatgoBIZVJ
zkpub9K3EM1tY3V5aRWi6rPj5QQIE0yMF1v+MP5aQc8cyTeE3YwPH1iAOJwgSUgE
CSBQqzYU1MgLVYipvVCp6at44Mpj32spUAOjXBxUGVfstR0lYzk6Q6y7nQwEb+rl
eFWkmSuY5ynkNAV1H4xvS4PVPFSHQU336cuUecc3c0TSynQ9fAi8tRfPgEW1UT87
mUmj8yjy8aSslv/Yhsb6/yULIJS0np01RXI4pBaTpu6CU2oVbtHJVW+Hcc4VKC7P
l5iN4CAV0wn8UqEXJPTd3TibtBlN0CbnfUIA6/ZxQq3CwI5OHp00PLPTHSoOEQe7
ZiurbnAAyI9Dlrn+lkUFMPF3ukeq6EaVelze/QMEB6BWP0ZAni7qWZKACaasuUkm
f/t+pWpVyZQx7CegSi2DGRnjsLD+wi2ylYu3GDvogrNR92I+kMgYOtX/PvSgJ904
FF3zt3K0ZNcsEkso456N/3Zcbp9/iwtxC6Pwtt2aLO5CdKj4QKU=
=9HMh
-----END PGP SIGNATURE-----
pgpJugwsR8gVv.pgp
Description: PGP signature
--- End Message ---