Hi all,
Il giorno mar 11 apr 2023 alle 09:37:27 +02:00:00, bi...@debian.org ha
scritto:
It seems that your package cloudflare-ddns is shipping files
(.service, .socket or
.timer) in /usr/lib/systemd/system.
This is not supported by the version of dh_installsystemd/debhelper
currently
in unstable and bookworm (See: #1031695). That means that currently
your
service might not be enabled at boot and/or started as expected.
Thanks for the info! Having to install stuff outside of /usr kinda
sucks, but I guess we don't have alternatives :/
Il giorno mar 11 apr 2023 alle 16:31:32 +02:00:00, Andreas Henriksson
<andr...@fatal.se> ha scritto:
The culprit seems to be hard-coded paths in the upstream build system
at:
https://sources.debian.org/src/cloudflare-ddns/2.0.0-3/exe/meson.build/#L70
Since I wasn't sure about how configure_file directive in meson works
and the documentation at
https://mesonbuild.com/Reference-manual_functions.html#configure_file
says install_dir takes a subdirectory I had to try it out.
The attached debdiff should solve the problem.
Thanks you very much for the patch! Using systemd.pc certainly is the
most appropriate thing to do, but the way you've approached this makes
systemd a required dependency on Linux, which I'd prefer to avoid. I'll
simply make th dependency `required: false`, so that files get
installed only if systemd.pc is found on the system; this has the
advantage of not making systemd required, and could also potentially
work on non-Linux systems with systemd-compatible software (yeah,
InitWare[1] is, or was, a thing).
I'll fix this upstream and in the Debian package as soon as possible,
thanks again :)
[1]: https://github.com/InitWare/InitWare
--
OpenPGP key: 66DE F152 8299 0C21 99EF A801 A8A1 28A8 AB1C EE49