mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-eselect/eselect-php: drop 0.9.8
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST eselect-php-0.9.8.tar.xz 62048 BLAKE2B 7938053be5d3893d1b3b399decb9fb90ecc1d266edcee7192511c63ccdd21fb0e7deac2b654db3dc05f56de7c757bb34ed813a026fc711adc4ab05b373f3d275 SHA512 c947d303dc0406539017f3779a7ee1e51e670ce73a47e1a6722f8403573a5dae0825c3b6932d12123bab77187a515023b69fc771f24522480e74fa0287377c3c
|
||||
DIST eselect-php-0.9.9.tar.xz 54632 BLAKE2B bdd8cb3fafbef057e068c57b413bf3ff03be324c9d0e4938342204780cc15ee9fd415757b1293892032901fb041746cc59f912783cea9dc04b52559d3d6f2415 SHA512 9a86986f9be05fe3c0796bf10dae9de7c9c2c57944d24ea202c6537ad185e4eea915d67befee27ce1c0e3908890661bf384bd54b1b421ec2b928776485da0364
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
TMPFILES_OPTIONAL="yes"
|
||||
inherit tmpfiles
|
||||
|
||||
DESCRIPTION="PHP eselect module"
|
||||
HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-php.git/"
|
||||
SRC_URI="https://dev.gentoo.org/~grknight/distfiles/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
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] )
|
||||
fpm? ( virtual/tmpfiles )"
|
||||
|
||||
src_configure() {
|
||||
# We expect localstatedir to be "var"ish, not "var/lib"ish, because
|
||||
# that's what PHP upstream expects. See for example the FPM
|
||||
# configuration where they put logs in @localstatedir@/log.
|
||||
#
|
||||
# The libdir is passed explicitly in case the /usr/lib symlink
|
||||
# is not present (bug 624528).
|
||||
econf --libdir="${EPREFIX}/usr/$(get_libdir)" \
|
||||
--localstatedir="${EPREFIX}/var" \
|
||||
--with-piddir="${EPREFIX}/run" \
|
||||
$(use_enable apache2) \
|
||||
$(use_enable fpm)
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use fpm && tmpfiles_process php-fpm.conf
|
||||
}
|
||||
Reference in New Issue
Block a user