From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2DC4013933E for ; Sat, 31 Jul 2021 22:17:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5C4E8E096D; Sat, 31 Jul 2021 22:17:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4111DE096B for ; Sat, 31 Jul 2021 22:17:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4E9343437DF for ; Sat, 31 Jul 2021 22:17:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 76D73851 for ; Sat, 31 Jul 2021 22:17:25 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1627769620.54e4cb4b94f7ede4f3bbe5e159bae3b556c9275f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/bareos/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-backup/bareos/bareos-19.2.9-r1.ebuild app-backup/bareos/bareos-19.2.9.ebuild X-VCS-Directories: app-backup/bareos/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 54e4cb4b94f7ede4f3bbe5e159bae3b556c9275f X-VCS-Branch: master Date: Sat, 31 Jul 2021 22:17:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0b949ecd-2bc3-4ee2-a329-0594718cff13 X-Archives-Hash: 7fc4530f215dcc10e2796749159c9169 commit: 54e4cb4b94f7ede4f3bbe5e159bae3b556c9275f Author: Sam James gentoo org> AuthorDate: Sat Jul 31 03:13:12 2021 +0000 Commit: Sam James gentoo 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 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