Your message dated Sun, 31 Mar 2024 21:34:27 +0000
with message-id <e1rr2ot-008crn...@fasolo.debian.org>
and subject line Bug#1057910: fixed in apticron 1.2.9
has caused the Debian Bug report #1057910,
regarding apticron: use systemd.pc to place systemd system units
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 ow...@bugs.debian.org
immediately.)


-- 
1057910: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057910
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: apticron
Version: 1.2.8
Severity: normal
Tags: patch
User: helm...@debian.org
Usertags: dep17m2

Dear Maintainer,

your package installs systemd system units, currently into /lib.
These files need to be moved to /usr/lib as part of Debian's usr-merge
effort [1].

Attached you will find a patch to delegate the exact placement of
these files to systemd.pc (using pkg-config). This immediately works
in unstable, placing the files into /usr/lib.
It also works for backports to older releases, where it will continue
install into /lib.

If during the trixie cycle your package will undergo structural
changes or any other file moves, please see the wiki and upload
to experimental first when these changes are done.

Later during the trixie cycle I expect this bug class to raise in
priority.

Thank you for considering,
Chris

[1] https://wiki.debian.org/UsrMerge

>From 637ac22e5191448b93fcbb6952145bd70cdf4f18 Mon Sep 17 00:00:00 2001
From: Chris Hofstaedtler <z...@debian.org>
Date: Sun, 10 Dec 2023 16:05:37 +0100
Subject: Use systemd.pc to place systemd system units

---
 debian/apticron-systemd.install | 4 ++--
 debian/control                  | 2 +-
 debian/rules                    | 1 +
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/apticron-systemd.install b/debian/apticron-systemd.install
index 475d96a..dcd293d 100755
--- a/debian/apticron-systemd.install
+++ b/debian/apticron-systemd.install
@@ -2,5 +2,5 @@
 debian/readme_conf => etc/apticron/README
 apticron => usr/sbin/apticron
 apticron.conf => usr/lib/apticron/apticron.conf
-apticron.service => lib/systemd/system/apticron.service
-apticron.timer => lib/systemd/system/apticron.timer
+apticron.service ${env:deb_systemdsystemunitdir}/
+apticron.timer ${env:deb_systemdsystemunitdir}/
diff --git a/debian/control b/debian/control
index 3f3416b..ce5d70e 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: apticron
 Section: admin
 Priority: optional
 Maintainer: Tiago Bortoletto Vaz <ti...@debian.org>
-Build-Depends: po-debconf, debhelper-compat (= 13), dh-exec
+Build-Depends: po-debconf, debhelper-compat (= 13), dh-exec, pkgconf, systemd-dev
 Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/debian/apticron
 Vcs-Git: https://salsa.debian.org/debian/apticron.git
diff --git a/debian/rules b/debian/rules
index 2d33f6a..0f38519 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,5 @@
 #!/usr/bin/make -f
+export deb_systemdsystemunitdir = $(shell pkg-config --variable=systemdsystemunitdir systemd | sed s,^/,,)
 
 %:
 	dh $@
-- 
2.39.2


--- End Message ---
--- Begin Message ---
Source: apticron
Source-Version: 1.2.9
Done: Tiago Bortoletto Vaz <ti...@debian.org>

We believe that the bug you reported is fixed in the latest version of
apticron, 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 1057...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tiago Bortoletto Vaz <ti...@debian.org> (supplier of updated apticron 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 31 Mar 2024 16:33:29 -0400
Source: apticron
Architecture: source
Version: 1.2.9
Distribution: unstable
Urgency: medium
Maintainer: Tiago Bortoletto Vaz <ti...@debian.org>
Changed-By: Tiago Bortoletto Vaz <ti...@debian.org>
Closes: 1057910
Changes:
 apticron (1.2.9) unstable; urgency=medium
 .
   * Use systemd.pc to place systemd system units (thanks to Chris
     Hofstaedtler). Closes: #1057910
Checksums-Sha1:
 aabc53ec0041ecef9b66917fee6ca38f56019b61 1646 apticron_1.2.9.dsc
 e681ffad6b9c6a88a83cd232dc52eff1c6f913bd 20776 apticron_1.2.9.tar.xz
 e7bb29b66679a1a353923b80bd54f8492b9a68fa 6729 apticron_1.2.9_amd64.buildinfo
Checksums-Sha256:
 14aff683a99267f430d5a7bb2274a964264556976c17ae1266c89e118d96c92f 1646 
apticron_1.2.9.dsc
 bccc3f24e491dc3ec35933a67fa235aae7825bf939a4dfa9833957373c82167c 20776 
apticron_1.2.9.tar.xz
 1782c4432b8beb008bc6604115e89201b4eab39a37e1cc52dd0fdf2b5632dd56 6729 
apticron_1.2.9_amd64.buildinfo
Files:
 9b7f8ba03a69f0d4d69bb2dcc0886050 1646 admin optional apticron_1.2.9.dsc
 0ab409536bf55f56aaed89fe1118ba16 20776 admin optional apticron_1.2.9.tar.xz
 d98bb7dea5005c1331d82eb6b8a32069 6729 admin optional 
apticron_1.2.9_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEOAYLMZqeqHbTW+jfgVxjVIQAXyEFAmYJzdMRHHRpYWdvQGRl
Ymlhbi5vcmcACgkQgVxjVIQAXyEJVA//XNaXKpmLqNLLdcrYArmZ0nTczJAP7f+8
Ur5f8OgKe1HZ5xRSDx21EnuOD3zQKFwEvSC88QLu3xZi3O6D5+J815jTmmT7K1Cg
X4NQaLSYv13t+Bckj4yvVq3YUgW5siy/VhorkK8warVRxhLRBkb37iuqT7DPDlsq
w3ppGI+v2b8AFygSI91XHSADNDVk99u1T2SSU+v7qcGfKprrBJA5IFll1Tlx5MfL
YwI1IEKRxRzx2Bn5ThTVKEHCUdfvVIPJvplxnj5kQE1Wrhl9AXo7OUciVPME5XSi
dWf+Cp3lcVjLhWnZ9ge7DFU28Q+a2yDy2R5bJRyv5HfbavYEjrVTReupvLdAqRxQ
bY3lOABxcHEyeudNFilXwufkLG3qdWV9q6TTN2miLnBvhUX5rGfl7ierJLyorhN0
s7Fq+caGP4I5OudzVDT9v0HE5nBU5WY/AbhtyQTV6JIbPWebnVUdYbQUU+ep8+Jo
sj0G7HFi6pal0stwjNUcHBnpcJXxf8CqpCGgQLgc8AmhJN0EYJsxk2aJOOkFVwxM
JHOr+8Pl/gg2kcCTjj6WpBnQM8EjCYrkN3dD6xX+9FscR5D+TyR27pJq2fU69g2Z
hYAV4Zb9E4o6Wz1KMjPhsZsztcj81Kdr2Ax0ODJ4Y2c9Af14LbSPykhOy2aFseHn
hI01xW+qufc=
=16yY
-----END PGP SIGNATURE-----

Attachment: pgpwxPI2DhysF.pgp
Description: PGP signature


--- End Message ---

Reply via email to