--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: Please add support for systemd-binfmt
- From: Michael Biebl <biebl@debian.org>
- Date: Sun, 05 Jun 2022 14:55:57 +0200
- Message-id: <165443375754.601285.13307146892748248459.reportbug@pluto.milchstrasse.xx>
Package: wine-binfmt
Version: 6.0.3~repack-1
Severity: wishlist
User: pkg-systemd-maintainers@lists.alioth.debian.org
Usertags: systemd-binfmt
Hi,
your package wine-binfmt declares a dependency on binfmt-support and
ships binfmt-support configuration files in /usr/share/binfmt/.
systemd provides a builtin, cross-distro facility named systemd-binfmt to
register binary formats.
You can read more about it at
https://www.freedesktop.org/software/systemd/man/systemd-binfmt.html
https://www.freedesktop.org/software/systemd/man/binfmt.d.html
https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html
The systemd package provides a dpkg file trigger so it is sufficient to
simply install configuration files in /usr/lib/binfmt.d/, no
modifications in the maintainer scripts are necessary.
The attached patch adds support for systemd-binfmt and adjusts the
dependency on binfmt-support accordingly, which now becomes optional.
Please consider applying the attached patch so on a system running
systemd, the binfmt-support dependency can be avoided.
Regards,
Michael
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.17.0-3-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages wine-binfmt depends on:
ii binfmt-support 2.2.2-1
pn wine <none>
wine-binfmt recommends no packages.
wine-binfmt suggests no packages.
diff -Nru wine-6.0.3~repack/debian/binfmt/wine.conf wine-6.0.3~repack/debian/binfmt/wine.conf
--- wine-6.0.3~repack/debian/binfmt/wine.conf 1970-01-01 01:00:00.000000000 +0100
+++ wine-6.0.3~repack/debian/binfmt/wine.conf 2022-06-04 20:35:27.000000000 +0200
@@ -0,0 +1 @@
+:wine:M::MZ::/usr/bin/wine:
diff -Nru wine-6.0.3~repack/debian/changelog wine-6.0.3~repack/debian/changelog
--- wine-6.0.3~repack/debian/changelog 2022-03-13 05:27:41.000000000 +0100
+++ wine-6.0.3~repack/debian/changelog 2022-06-04 20:37:01.000000000 +0200
@@ -1,3 +1,9 @@
+wine (6.0.3~repack-1.1) UNRELEASED; urgency=medium
+
+ * Add support for systemd-binfmt
+
+ -- Michael Biebl <biebl@debian.org> Sat, 04 Jun 2022 20:37:01 +0200
+
wine (6.0.3~repack-1) unstable; urgency=medium
* New upstream release 6.0.3, released Feb 25, 2022.
diff -Nru wine-6.0.3~repack/debian/control wine-6.0.3~repack/debian/control
--- wine-6.0.3~repack/debian/control 2022-03-13 05:27:41.000000000 +0100
+++ wine-6.0.3~repack/debian/control 2022-06-04 20:37:01.000000000 +0200
@@ -282,7 +282,7 @@
Depends:
${misc:Depends},
wine,
- binfmt-support,
+ binfmt-support | systemd,
Description: Register Wine as the interpreter for Windows executables
Wine is a free MS-Windows API implementation.
.
diff -Nru wine-6.0.3~repack/debian/control.in wine-6.0.3~repack/debian/control.in
--- wine-6.0.3~repack/debian/control.in 2022-03-13 05:27:41.000000000 +0100
+++ wine-6.0.3~repack/debian/control.in 2022-06-04 20:36:43.000000000 +0200
@@ -282,7 +282,7 @@
Depends:
${misc:Depends},
wine,
- binfmt-support,
+ binfmt-support | systemd,
Description: Register Wine as the interpreter for Windows executables
Wine is a free MS-Windows API implementation.
.
diff -Nru wine-6.0.3~repack/debian/wine-binfmt.install wine-6.0.3~repack/debian/wine-binfmt.install
--- wine-6.0.3~repack/debian/wine-binfmt.install 2022-03-13 05:27:38.000000000 +0100
+++ wine-6.0.3~repack/debian/wine-binfmt.install 2022-06-04 20:35:11.000000000 +0200
@@ -1 +1,2 @@
debian/binfmt/wine usr/share/binfmts
+debian/binfmt/wine.conf usr/lib/binfmt.d/
--- End Message ---
--- Begin Message ---
Source: wine
Source-Version: 7.0~repack-2
Done: Michael Gilbert <mgilbert@debian.org>
We believe that the bug you reported is fixed in the latest version of
wine, 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 1012353@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Gilbert <mgilbert@debian.org> (supplier of updated wine 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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 03 Jul 2022 18:24:37 +0000
Source: wine
Architecture: source
Version: 7.0~repack-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Wine Party <debian-wine@lists.debian.org>
Changed-By: Michael Gilbert <mgilbert@debian.org>
Closes: 1011461 1012353 1013501
Changes:
wine (7.0~repack-2) unstable; urgency=medium
.
* Fix format string error on armhf.
* Denote wine32:i386 in launcher (closes: #1011461).
* Add support for systemd-binfmt (closes: #1012353).
- Thanks to Michael Biebl.
* Avoid infinite recursion in make_vulkan (closes: #1013501).
- Thanks to Adrian Heine.
Checksums-Sha1:
ff18524ba06f44aa653d323cf0c2e0fbe5df39ba 4510 wine_7.0~repack-2.dsc
a21154eabdb85b7aa78d362b6da892675323c0f9 5725120 wine_7.0~repack-2.debian.tar.xz
2c52e8a0517f77219e2596b709c3076990752608 19395 wine_7.0~repack-2_source.buildinfo
Checksums-Sha256:
f1638c26118e5c8f4f2200192e6577ca5fe43637820e807965a6c32ae67398f8 4510 wine_7.0~repack-2.dsc
5dcfe95302329a90a3ea7acf50bceed08ae5daec8e370479d1d8f3f5fbc0dd54 5725120 wine_7.0~repack-2.debian.tar.xz
9863ed5ddc7f106768d6315bbf6b8ec6cad2e3cc380b037f9b5776a957287f48 19395 wine_7.0~repack-2_source.buildinfo
Files:
341b6a3db0e2d64cfa8cb921eea23472 4510 otherosfs optional wine_7.0~repack-2.dsc
18795f74857d508212d57a410bada364 5725120 otherosfs optional wine_7.0~repack-2.debian.tar.xz
a85d89301b394ffbe560b17c4f095591 19395 otherosfs optional wine_7.0~repack-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQQzBAEBCgAdFiEEIwTlZiOEpzUxIyp4mD40ZYkUaygFAmLB5cAACgkQmD40ZYkU
ayhFbyAAlxDw87NlnGHgbgKpcpt+m1JX50L7XE7BR40a/VHMjoDzkjb4/XO5kE1c
4/p9S1ZdPD5ZS6Yki3NqPOCzoJXLc7bcf8cbZvk29qmbPGRbL1ZxGOPaBtdYjijl
L78LSltKirE05sw5r8+wmKF6RsWvz8Z9ujc7KyrRyYDx6Sep9QevBYqT7IUfYBEG
rsj5qZ4HCU3fpfgePjnW8ItfedhcqEl5ZvDIkmLMcZgNtp4VAnHYp8zd5wFIZ8Tx
0ur3wy3IX6OTYs3lyPTjTRblX5aMsPFdZ/g62khFeWELnh5mYCgtLDCY4oRjfmTY
4+qBWKTBqDFV7Mdst+6fgIoXHdXarg4a55ToSItr6gW6j8sFJZc+3vUbgAf/7Xyo
B4e9YRfZlmifbiQoa8TOQfTjrpbv1adJLoNAXf+WflG9OtYmIWtpwhDNWWGYotDS
lPBDErNXp4wwdzHOuYxvE0EKkwU6rFPfDqagO4vUjY+GPmy0X+6VXxo5m467LzzK
8/mR60xm9YJf7x0sYEaGMEfBNg5wbMaBXDIDYliKTiYmQxbcJwCDFM/6LJZ7/Y6X
pfDh9/3drN3kxOx8tbKLelxHV6OVKI+t9ILJdd35cLwzH2CuHDCIiHLSXBspFokS
c2zgccABUR2T7yr5rSMMBftHidzqiTIcUvxVnG7kbQyyv89mxHIk1KYUsijB/cJP
kjh6gG+4alOWFVzyNDVyD0Zc1gOSMlUwPsm99aiHJzjllVgZND4lVfae/I0wVcqR
D54z1dcFetlpUxbC9YbD2AHigXru/pwEiv5Tbd+imjXoT28JlPGN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