Source: nss-tls Version: 1.1-1.1 Severity: normal Tags: ftbfs patch We want to change the value of systemdsystemunitdir in systemd.pc to point below /usr. nss-tls' upstream build system consumes this variable while the packaging hard codes its current value. Consequently, nss-tls FTBFS when it changes. Consider applying the attached patch to avoid that failure.
Helmut
diff -Nru nss-tls-1.1/debian/changelog nss-tls-1.1/debian/changelog --- nss-tls-1.1/debian/changelog 2022-12-03 10:18:04.000000000 +0100 +++ nss-tls-1.1/debian/changelog 2023-09-25 22:41:51.000000000 +0200 @@ -1,3 +1,10 @@ +nss-tls (1.1-1.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS when systemd.pc changes systemdsystemunitdir. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 25 Sep 2023 22:41:51 +0200 + nss-tls (1.1-1.1) unstable; urgency=medium * Non-maintainer upload. diff -Nru nss-tls-1.1/debian/control nss-tls-1.1/debian/control --- nss-tls-1.1/debian/control 2022-08-08 20:32:05.000000000 +0200 +++ nss-tls-1.1/debian/control 2023-09-25 22:40:09.000000000 +0200 @@ -4,7 +4,7 @@ Build-Depends: debhelper-compat (= 12), dh-sequence-installnss, libglib2.0-dev (>= 2.44), - libsoup2.4-dev, systemd, ninja-build, python3-pip, meson + libsoup2.4-dev, systemd, systemd-dev, ninja-build, pkg-config, python3-pip, meson Standards-Version: 4.5.1 Section: net Rules-Requires-Root: no diff -Nru nss-tls-1.1/debian/nss-tlsd.install nss-tls-1.1/debian/nss-tlsd.install --- nss-tls-1.1/debian/nss-tlsd.install 2022-07-27 14:58:31.000000000 +0200 +++ nss-tls-1.1/debian/nss-tlsd.install 2023-09-25 22:41:41.000000000 +0200 @@ -1,5 +1,4 @@ etc/nss-tls.conf -lib/systemd/system/nss-tlsd.service usr/lib/systemd/user/nss-tlsd.service usr/sbin/nss-tlsd usr/share/man/man8/nss-tlsd.8 diff -Nru nss-tls-1.1/debian/rules nss-tls-1.1/debian/rules --- nss-tls-1.1/debian/rules 2022-07-27 14:58:31.000000000 +0200 +++ nss-tls-1.1/debian/rules 2023-09-25 22:41:31.000000000 +0200 @@ -20,3 +20,6 @@ override_dh_auto_configure: dh_auto_configure -- -Dresolvers=$(DEFAULT_RESOLVERS) + +execute_after_dh_install: + dh_install -pnss-tlsd "$$(pkg-config --variable=systemdsystemunitdir systemd | sed s,^/,,)/nss-tlsd.service"