net-dns/knot-resolver: fix USE=-systemd tmpfiles

Closes: https://bugs.gentoo.org/922635
Signed-off-by: Matthew Smith <matthew@gentoo.org>
This commit is contained in:
Matthew Smith
2024-01-21 19:44:11 +00:00
parent f37171bbd6
commit a68f45ea0f
2 changed files with 14 additions and 1 deletions

View File

@@ -2,6 +2,19 @@ Always install tmpfiles config.
Bug: https://bugs.gentoo.org/921567
Bug: https://gitlab.nic.cz/knot/knot-resolver/-/issues/886
--- a/meson.build
+++ b/meson.build
@@ -237,9 +237,7 @@ subdir('etc')
# Systemd unit files
-if systemd_files != 'disabled'
- subdir('systemd')
-endif
+subdir('systemd')
# Additional files
--- a/systemd/meson.build
+++ b/systemd/meson.build
@@ -12,6 +12,18 @@ systemd_config.set('etc_dir', etc_dir)

View File

@@ -54,7 +54,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-5.5.3-nghttp-openssl.patch
# Bug #921567
"${FILESDIR}"/${PN}-5.7.0-tmpfiles.patch
"${FILESDIR}"/${PN}-5.7.0-r2-tmpfiles.patch
)
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/${PN}.gpg