commit: 54e4cb4b94f7ede4f3bbe5e159bae3b556c9275f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 31 03:13:12 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 31 22:13:40 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54e4cb4b
app-backup/bareos: [QA] call tmpfiles_process in pkg_postinst
This is needed to actually apply the tmpfiles configuration
we've installed in the ebuild. See tmpfiles.eclass documentation.
Revbump because the new tmpfiles inherit adds a new dependency
(virtual/tmpfiles).
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../bareos/{bareos-19.2.9.ebuild => bareos-19.2.9-r1.ebuild} | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/app-backup/bareos/bareos-19.2.9.ebuild
b/app-backup/bareos/bareos-19.2.9-r1.ebuild
similarity index 98%
rename from app-backup/bareos/bareos-19.2.9.ebuild
rename to app-backup/bareos/bareos-19.2.9-r1.ebuild
index e2d48fb2396..1c9bdced2c6 100644
--- a/app-backup/bareos/bareos-19.2.9.ebuild
+++ b/app-backup/bareos/bareos-19.2.9-r1.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{7,8,9} )
CMAKE_WARN_UNUSED_CLI=no
#CMAKE_REMOVE_MODULES=yes
-inherit python-any-r1 systemd cmake
+inherit python-any-r1 systemd cmake tmpfiles
DESCRIPTION="Featureful client/server network backup suite"
HOMEPAGE="https://www.bareos.org/"
@@ -330,14 +330,15 @@ src_install() {
diropts -m0755
keepdir /var/log/bareos
- insinto /usr/lib/tmpfiles.d
- newins "${FILESDIR}"/tmpfiles.d-bareos.conf bareos.conf
+ newtmpfiles "${FILESDIR}"/tmpfiles.d-bareos.conf bareos.conf
# make sure bareos group can execute bareos libexec scripts
fowners -R root:bareos /usr/libexec/bareos
}
pkg_postinst() {
+ tmpfiles_process bareos.conf
+
if use clientonly; then
fowners root:bareos /var/lib/bareos
else