Control: tags -1 + patch
Hi Martin On Wed, 15 Jan 2025 01:48:36 +0100 Michael Biebl <bi...@debian.org> wrote:
Package: sms4you Version: 0.0.7-4 Severity: minor Hi, your packages ship the following polkit pkla configuration file: /var/lib/polkit-1/localauthority/10-vendor.d/sms4you.pkla Support for the legacy pkla format has been removed in trixie, only the JS based rules files are supported nowadays. It is thus recommended to remove the above file from your package.
Please find a patch attached implementing this change.While at it, I also included a fix for the dbus-policy-in-etc lintian warning. See
https://udd.debian.org/lintian-tag/dbus-policy-in-etc Regards Michael
From 42861b5d53e2f4d515bea6471eb926bf20cf03ec Mon Sep 17 00:00:00 2001 From: Michael Biebl <bi...@debian.org> Date: Wed, 7 May 2025 10:39:25 +0200 Subject: [PATCH 1/2] Stop installing the obsolete polkit pkla configuration file Closes: #1093074 --- debian/sms4you.install | 1 - 1 file changed, 1 deletion(-) diff --git a/debian/sms4you.install b/debian/sms4you.install index 1e2cb11..a8f2762 100644 --- a/debian/sms4you.install +++ b/debian/sms4you.install @@ -3,5 +3,4 @@ tmp/sms4you /usr/bin/ sms4you/sms4you/core/ /usr/lib/sms4you/sms4you/ sms4you/sms4you/__init__.py /usr/lib/sms4you/sms4you/ sms4you.conf /etc/dbus-1/system.d/ -sms4you.pkla /var/lib/polkit-1/localauthority/10-vendor.d/ debian/sms4you.rules /usr/share/polkit-1/rules.d/ -- 2.49.0
From ea9cb7ebde746267c992f9682b3620cc11b6af79 Mon Sep 17 00:00:00 2001 From: Michael Biebl <bi...@debian.org> Date: Wed, 7 May 2025 10:43:15 +0200 Subject: [PATCH 2/2] Install D-Bus policy file in /usr/share/dbus-1/system.d Fixes lintian warning "dbus-policy-in-etc" https://udd.debian.org/lintian-tag/dbus-policy-in-etc Remove the existing conffile on upgrades using a maintscript file. --- debian/sms4you.install | 2 +- debian/sms4you.maintscript | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 debian/sms4you.maintscript diff --git a/debian/sms4you.install b/debian/sms4you.install index a8f2762..dfe52c7 100644 --- a/debian/sms4you.install +++ b/debian/sms4you.install @@ -2,5 +2,5 @@ sms4you.ini /etc/sms4you/ tmp/sms4you /usr/bin/ sms4you/sms4you/core/ /usr/lib/sms4you/sms4you/ sms4you/sms4you/__init__.py /usr/lib/sms4you/sms4you/ -sms4you.conf /etc/dbus-1/system.d/ +sms4you.conf /usr/share/dbus-1/system.d/ debian/sms4you.rules /usr/share/polkit-1/rules.d/ diff --git a/debian/sms4you.maintscript b/debian/sms4you.maintscript new file mode 100644 index 0000000..d5de774 --- /dev/null +++ b/debian/sms4you.maintscript @@ -0,0 +1 @@ +rm_conffile /etc/dbus-1/system.d/sms4you.conf 0.0.7-5~ -- 2.49.0
OpenPGP_signature.asc
Description: OpenPGP digital signature