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 54CC5158CB7 for ; Wed, 18 Aug 2021 15:56:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 45B87E07F9; Wed, 18 Aug 2021 15:56:14 +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 071BAE07F9 for ; Wed, 18 Aug 2021 15:56:13 +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 A18C1335D9F for ; Wed, 18 Aug 2021 15:56:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1ED067BD for ; Wed, 18 Aug 2021 15:56:11 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1629302090.5f697fb9215abd13c336405e5768384384de0fd9.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/dbus/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/dbus/dbus-1.12.20-r2.ebuild X-VCS-Directories: sys-apps/dbus/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 5f697fb9215abd13c336405e5768384384de0fd9 X-VCS-Branch: master Date: Wed, 18 Aug 2021 15:56:11 +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: 8a39b0bd-711a-49a5-89a4-607741ed8a65 X-Archives-Hash: 76cb64be17366752b8837392cfbd40f8 commit: 5f697fb9215abd13c336405e5768384384de0fd9 Author: Mike Gilbert gentoo org> AuthorDate: Wed Aug 18 15:53:39 2021 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Wed Aug 18 15:54:50 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f697fb9 sys-apps/dbus: adjust tmpfiles logic The tmpfiles.d snippet only gets installed when systemd support is enabled. Set TMPFILES_OPTIONAL and skip tmpfiles_process when systemd is disabled. Closes: https://bugs.gentoo.org/808893 Signed-off-by: Mike Gilbert gentoo.org> sys-apps/dbus/dbus-1.12.20-r2.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sys-apps/dbus/dbus-1.12.20-r2.ebuild b/sys-apps/dbus/dbus-1.12.20-r2.ebuild index 8b4f89206a0..3672eebd8b9 100644 --- a/sys-apps/dbus/dbus-1.12.20-r2.ebuild +++ b/sys-apps/dbus/dbus-1.12.20-r2.ebuild @@ -2,8 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 - PYTHON_COMPAT=( python3_{8,9} ) +TMPFILES_OPTIONAL=1 + inherit autotools flag-o-matic linux-info python-any-r1 readme.gentoo-r1 systemd tmpfiles virtualx multilib-minimal DESCRIPTION="A message bus system, a simple way for applications to talk to each other" @@ -246,7 +247,9 @@ multilib_src_install_all() { pkg_postinst() { readme.gentoo_print_elog - tmpfiles_process dbus.conf + if use systemd; then + tmpfiles_process dbus.conf + fi # Ensure unique id is generated and put it in /etc wrt #370451 but symlink # for DBUS_MACHINE_UUID_FILE (see tools/dbus-launch.c) and reverse