Source: certmonger Version: 0.79.17-2 Severity: normal Tags: ftbfs patch User: helm...@debian.org Usertags: dep17m2
We want to change the value of systemdsystemunitdir in systemd.pc to point below /usr. certmonger's upstream build system consumes this value, but the Debian packaging hard codes its current value. When it changes, certmonger FTBFS. Consider applying the attached patch to avoid that from happening. Helmut
diff -Nru certmonger-0.79.17/debian/certmonger.install certmonger-0.79.17/debian/certmonger.install --- certmonger-0.79.17/debian/certmonger.install 2023-03-18 09:37:33.000000000 +0100 +++ certmonger-0.79.17/debian/certmonger.install 2023-09-25 13:48:41.000000000 +0200 @@ -1,6 +1,6 @@ etc/certmonger/certmonger.conf etc/dbus-1/system.d/* -lib/systemd/system/ +${env:systemdsystemunitdir} usr/bin/* usr/sbin/* usr/share/dbus-1/* diff -Nru certmonger-0.79.17/debian/changelog certmonger-0.79.17/debian/changelog --- certmonger-0.79.17/debian/changelog 2023-03-18 13:33:47.000000000 +0100 +++ certmonger-0.79.17/debian/changelog 2023-09-25 13:49:08.000000000 +0200 @@ -1,3 +1,10 @@ +certmonger (0.79.17-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Do not FTBFS when systemd.pc changes systemdsystemunitdir. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 25 Sep 2023 13:49:08 +0200 + certmonger (0.79.17-2) unstable; urgency=medium * control: Respect nocheck, thanks Chris Lamb! (Closes: #1032058) diff -Nru certmonger-0.79.17/debian/rules certmonger-0.79.17/debian/rules --- certmonger-0.79.17/debian/rules 2023-03-18 09:37:14.000000000 +0100 +++ certmonger-0.79.17/debian/rules 2023-09-25 13:49:06.000000000 +0200 @@ -9,6 +9,8 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +export systemdsystemunitdir = $(shell pkg-config --variable=systemdsystemunitdir systemd | sed s,^/,,) + override_dh_auto_configure: dh_auto_configure -- \ --libexecdir=/usr/lib \