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 43FEF158666 for ; Tue, 17 Aug 2021 12:45:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 79A8FE07FE; Tue, 17 Aug 2021 12:45:20 +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 3AF6AE07FE for ; Tue, 17 Aug 2021 12:45:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 A865E335DB0 for ; Tue, 17 Aug 2021 12:45:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BCCC27BD for ; Tue, 17 Aug 2021 12:45:16 +0000 (UTC) From: "Brian Evans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" Message-ID: <1629204190.c1d9f5f0539ef154f8b1961ca1bdfc7478e1a9ee.grknight@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-eselect/eselect-php/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-eselect/eselect-php/eselect-php-0.9.7-r1.ebuild app-eselect/eselect-php/eselect-php-9999.ebuild X-VCS-Directories: app-eselect/eselect-php/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: c1d9f5f0539ef154f8b1961ca1bdfc7478e1a9ee X-VCS-Branch: master Date: Tue, 17 Aug 2021 12:45:16 +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: 83ac5c22-749d-4824-af7a-b417ff737727 X-Archives-Hash: 5f448b703843f564f6ed47dabb0c3809 commit: c1d9f5f0539ef154f8b1961ca1bdfc7478e1a9ee Author: Brian Evans gentoo org> AuthorDate: Tue Aug 17 12:43:10 2021 +0000 Commit: Brian Evans gentoo org> CommitDate: Tue Aug 17 12:43:10 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1d9f5f0 app-eselect/eselect-php: Set TMPFILES_OPTIONAL As per the eclass instructions, this should be set and virtual/tmpfiles dependency tied to fpm as the pkg_postinst is also conditional on fpm Signed-off-by: Brian Evans gentoo.org> app-eselect/eselect-php/eselect-php-0.9.7-r1.ebuild | 4 +++- app-eselect/eselect-php/eselect-php-9999.ebuild | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app-eselect/eselect-php/eselect-php-0.9.7-r1.ebuild b/app-eselect/eselect-php/eselect-php-0.9.7-r1.ebuild index f08853b023c..3ff3114139a 100644 --- a/app-eselect/eselect-php/eselect-php-0.9.7-r1.ebuild +++ b/app-eselect/eselect-php/eselect-php-0.9.7-r1.ebuild @@ -3,6 +3,7 @@ EAPI=7 +TMPFILES_OPTIONAL="yes" inherit tmpfiles DESCRIPTION="PHP eselect module" @@ -16,7 +17,8 @@ IUSE="fpm apache2" # The "DirectoryIndex" line in 70_mod_php.conf requires mod_dir. RDEPEND="app-admin/eselect - apache2? ( www-servers/apache[apache2_modules_dir] )" + apache2? ( www-servers/apache[apache2_modules_dir] ) + fpm? ( virtual/tmpfiles )" src_configure() { # We expect localstatedir to be "var"ish, not "var/lib"ish, because diff --git a/app-eselect/eselect-php/eselect-php-9999.ebuild b/app-eselect/eselect-php/eselect-php-9999.ebuild index b983a7d7ba5..aaf4cb6fd25 100644 --- a/app-eselect/eselect-php/eselect-php-9999.ebuild +++ b/app-eselect/eselect-php/eselect-php-9999.ebuild @@ -3,6 +3,7 @@ EAPI=7 +TMPFILES_OPTIONAL="yes" inherit autotools git-r3 tmpfiles DESCRIPTION="PHP eselect module" @@ -16,7 +17,8 @@ IUSE="fpm apache2" # The "DirectoryIndex" line in 70_mod_php.conf requires mod_dir. RDEPEND="app-admin/eselect - apache2? ( www-servers/apache[apache2_modules_dir] )" + apache2? ( www-servers/apache[apache2_modules_dir] ) + fpm? ( virtual/tmpfiles )" src_prepare() { default