diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-08-21 23:14:26 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-08-21 23:14:26 +0100 |
commit | 7c59acba5699c9c58090a7a738669669a7307023 (patch) | |
tree | d51d27d020895a6b7a3298d9d1b9846c1fcb59a0 /app-eselect/eselect-php/eselect-php-9999.ebuild | |
parent | e2db47eaae00ec33f8971db44b68645c5d3b9590 (diff) |
gentoo resync : 21.08.2021
Diffstat (limited to 'app-eselect/eselect-php/eselect-php-9999.ebuild')
-rw-r--r-- | app-eselect/eselect-php/eselect-php-9999.ebuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/app-eselect/eselect-php/eselect-php-9999.ebuild b/app-eselect/eselect-php/eselect-php-9999.ebuild index 34d741711590..aaf4cb6fd250 100644 --- a/app-eselect/eselect-php/eselect-php-9999.ebuild +++ b/app-eselect/eselect-php/eselect-php-9999.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit git-r3 autotools +TMPFILES_OPTIONAL="yes" +inherit autotools git-r3 tmpfiles DESCRIPTION="PHP eselect module" HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-php.git/" @@ -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 @@ -36,3 +38,7 @@ src_configure() { $(use_enable apache2) \ $(use_enable fpm) } + +pkg_postinst() { + use fpm && tmpfiles_process php-fpm.conf +} |