Am 20.11.24 um 08:54 schrieb Chris Hofstaedtler:
Hi Chris,On Tue, Nov 19, 2024 at 11:58:15PM -0500, Chris Knadle wrote:I think I finally figured out what referencing systemd.pc is about. There's no systemd-dev package, it looks like system.pc is in the "systemd" package.As Michael pointed out, systemd.pc is in the "systemd-dev" package. Please check the packages in testing, not in stable.https://github.com/systemd/systemd/blob/main/src/core/systemd.pc.in and it looks like this file would need to be sourced in and then variable $sysusers_dir or $sysusersdir would be what to reference.Yes. But this is already done in CMake.The $sysusers_dir variable would need to be referenced within debian/mumble-server.install and I'm not sure what location is appropriate to source in /usr/share/pkgconfig/systemd.pc. I'm guessing it would be the debian/rules file, perhaps under an override_dh_install section.If CMake does its thing correctly, hopefully you do not need to touch debian/rules at all.
Correct. Given the code I quoted I would hope that the path is correctly determined via pkg-config/systemd.pc [1]
I haven't actually tested it though, only glanced at auxiliary_files/CMakeLists.txt
Michael [1] cmake should do the equivalent of`pkg-config --variable=sysusersdir systemd` which yields /usr/lib/sysusers.d assuming systemd-dev is installed
OpenPGP_signature.asc
Description: OpenPGP digital signature