summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2015-03-31 16:53:51 +0000
committerUlrich Müller <ulm@gentoo.org>2015-03-31 16:53:51 +0000
commite7062671a863ee35c1c125191ffa9f2e3c4c8a01 (patch)
treeda87a7da63a91704435b682af0588189819598b8 /app-eselect/eselect-php
parentMove package from app-admin to app-eselect category. (diff)
downloadgentoo-2-e7062671a863ee35c1c125191ffa9f2e3c4c8a01.tar.gz
gentoo-2-e7062671a863ee35c1c125191ffa9f2e3c4c8a01.tar.bz2
gentoo-2-e7062671a863ee35c1c125191ffa9f2e3c4c8a01.zip
Move package from app-admin to app-eselect category.
(Portage version: 2.2.18/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 9433907D693FB5B8!)
Diffstat (limited to 'app-eselect/eselect-php')
-rw-r--r--app-eselect/eselect-php/ChangeLog242
-rw-r--r--app-eselect/eselect-php/eselect-php-0.6.2.ebuild24
-rw-r--r--app-eselect/eselect-php/eselect-php-0.7.1-r1.ebuild49
-rw-r--r--app-eselect/eselect-php/eselect-php-0.7.1-r2.ebuild49
-rw-r--r--app-eselect/eselect-php/eselect-php-0.7.1-r3.ebuild48
-rw-r--r--app-eselect/eselect-php/eselect-php-0.7.1.ebuild45
-rw-r--r--app-eselect/eselect-php/files/70_mod_php5.conf-apache214
-rw-r--r--app-eselect/eselect-php/files/php-fpm-launcher7
-rwxr-xr-xapp-eselect/eselect-php/files/php-fpm-r1.init50
-rw-r--r--app-eselect/eselect-php/files/php-fpm.conf1
-rwxr-xr-xapp-eselect/eselect-php/files/php-fpm.init47
-rw-r--r--app-eselect/eselect-php/files/php-fpm_at.service14
-rw-r--r--app-eselect/eselect-php/metadata.xml11
13 files changed, 601 insertions, 0 deletions
diff --git a/app-eselect/eselect-php/ChangeLog b/app-eselect/eselect-php/ChangeLog
new file mode 100644
index 000000000000..de4ab8fcbcf5
--- /dev/null
+++ b/app-eselect/eselect-php/ChangeLog
@@ -0,0 +1,242 @@
+# ChangeLog for app-eselect/eselect-php
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-eselect/eselect-php/ChangeLog,v 1.1 2015/03/31 16:53:51 ulm Exp $
+
+*eselect-php-0.7.1-r1 (31 Mar 2015)
+
+ 31 Mar 2015; Ulrich Müller <ulm@gentoo.org> +eselect-php-0.6.2.ebuild,
+ +eselect-php-0.7.1.ebuild, +eselect-php-0.7.1-r1.ebuild,
+ +eselect-php-0.7.1-r2.ebuild, +eselect-php-0.7.1-r3.ebuild,
+ +files/70_mod_php5.conf-apache2, +files/php-fpm.conf, +files/php-fpm.init,
+ +files/php-fpm-launcher, +files/php-fpm-r1.init, +files/php-fpm_at.service,
+ +metadata.xml:
+ Move package from app-admin to app-eselect category.
+
+ 02 Mar 2015; Yixun Lan <dlan@gentoo.org> eselect-php-0.7.1-r3.ebuild:
+ add arm64 support, tested on A53 board
+
+ 22 Feb 2014; Agostino Sarubbo <ago@gentoo.org> eselect-php-0.7.1-r3.ebuild:
+ Stable for sparc, wrt bug #501312
+
+ 20 Feb 2014; Agostino Sarubbo <ago@gentoo.org> eselect-php-0.7.1-r3.ebuild:
+ Stable for ppc, wrt bug #501312
+
+ 20 Feb 2014; Agostino Sarubbo <ago@gentoo.org> eselect-php-0.7.1-r3.ebuild:
+ Stable for ppc64, wrt bug #501312
+
+ 17 Feb 2014; Agostino Sarubbo <ago@gentoo.org> eselect-php-0.7.1-r3.ebuild:
+ Stable for arm, wrt bug #501312
+
+ 16 Feb 2014; Jeroen Roovers <jer@gentoo.org> eselect-php-0.7.1-r3.ebuild:
+ Stable for HPPA (bug #501312).
+
+ 16 Feb 2014; Agostino Sarubbo <ago@gentoo.org> eselect-php-0.7.1-r3.ebuild:
+ Stable for ia64, wrt bug #501312
+
+ 16 Feb 2014; Agostino Sarubbo <ago@gentoo.org> eselect-php-0.7.1-r3.ebuild:
+ Stable for alpha, wrt bug #501312
+
+ 15 Feb 2014; Agostino Sarubbo <ago@gentoo.org> eselect-php-0.7.1-r3.ebuild:
+ Stable for x86, wrt bug #501312
+
+ 15 Feb 2014; Agostino Sarubbo <ago@gentoo.org> eselect-php-0.7.1-r3.ebuild:
+ Stable for amd64, wrt bug #501312
+
+*eselect-php-0.7.1-r3 (02 Feb 2014)
+
+ 02 Feb 2014; Pacho Ramos <pacho@gentoo.org> +eselect-php-0.7.1-r3.ebuild:
+ Rework systemd support (#439918)
+
+ 06 Aug 2013; Agostino Sarubbo <ago@gentoo.org> eselect-php-0.7.1.ebuild:
+ Stable for s390, wrt bug #472558
+
+*eselect-php-0.7.1-r2 (30 Jul 2013)
+
+ 30 Jul 2013; Ole Markus With <olemarkus@gentoo.org>
+ +eselect-php-0.7.1-r2.ebuild, +files/php-fpm-r1.init:
+ Fix fpm restart issue
+
+ 28 Jul 2013; Ole Markus With <olemarkus@gentoo.org> eselect-php-0.6.2.ebuild,
+ files/php-fpm.conf:
+ Fixed the php-fpm.conf file
+
+*eselect-php-0.6.2 (28 Jul 2013)
+
+ 28 Jul 2013; Ole Markus With <olemarkus@gentoo.org> +eselect-php-0.6.2.ebuild:
+ Revert a really bad cleanup
+
+ 22 Jul 2013; Agostino Sarubbo <ago@gentoo.org> eselect-php-0.7.1.ebuild:
+ Stable for sparc, wrt bug #472558
+
+ 21 Jul 2013; Agostino Sarubbo <ago@gentoo.org> eselect-php-0.7.1.ebuild:
+ Stable for sh, wrt bug #472558
+
+ 14 Jul 2013; Agostino Sarubbo <ago@gentoo.org> eselect-php-0.7.1.ebuild:
+ Stable for arm, wrt bug #472558
+
+ 14 Jul 2013; Agostino Sarubbo <ago@gentoo.org> eselect-php-0.7.1.ebuild:
+ Stable for alpha, wrt bug #472558
+
+ 13 Jul 2013; Agostino Sarubbo <ago@gentoo.org> eselect-php-0.7.1.ebuild:
+ Stable for ppc64, wrt bug #472558
+
+ 13 Jul 2013; Agostino Sarubbo <ago@gentoo.org> eselect-php-0.7.1.ebuild:
+ Stable for ppc, wrt bug #472558
+
+ 07 Jul 2013; Agostino Sarubbo <ago@gentoo.org> eselect-php-0.7.1.ebuild:
+ Stable for ia64, wrt bug #472558
+
+ 07 Jul 2013; Agostino Sarubbo <ago@gentoo.org> eselect-php-0.7.1.ebuild:
+ Stable for x86, wrt bug #472558
+
+ 07 Jul 2013; Agostino Sarubbo <ago@gentoo.org> eselect-php-0.7.1.ebuild:
+ Stable for amd64, wrt bug #472558
+
+ 06 Jul 2013; Jeroen Roovers <jer@gentoo.org> eselect-php-0.7.1.ebuild:
+ Stable for HPPA (bug #472558).
+
+*eselect-php-0.7.1 (10 Apr 2013)
+
+ 10 Apr 2013; Ole Markus With <olemarkus@gentoo.org> +eselect-php-0.7.1.ebuild,
+ -eselect-php-0.7.0.ebuild:
+ Fix use of function before function definition
+
+ 25 Mar 2013; Ole Markus With <olemarkus@gentoo.org> -eselect-php-0.6.4.ebuild,
+ -eselect-php-0.6.6.ebuild, -eselect-php-0.6.7.ebuild:
+ Removing older versions
+
+ 25 Mar 2013; Ole Markus With <olemarkus@gentoo.org> eselect-php-0.7.0.ebuild:
+ Remove hard blocker
+
+*eselect-php-0.7.0 (23 Mar 2013)
+
+ 23 Mar 2013; Ole Markus With <olemarkus@gentoo.org> +eselect-php-0.7.0.ebuild,
+ +files/70_mod_php5.conf-apache2, +files/php-fpm, +files/php-fpm.init,
+ metadata.xml:
+ Version bump. Resolving bug 323783, 389805 and 412913
+
+ 12 Sep 2012; Christoph Junghans <ottxor@gentoo.org> eselect-php-0.6.7.ebuild:
+ added prefix keywords
+
+ 11 Jul 2012; Anthony G. Basile <blueness@gentoo.org>
+ eselect-php-0.6.7.ebuild:
+ Keyword ~mips, works on true multilib systems, bugs #425486
+
+ 10 Jul 2012; Ole Markus With <olemarkus@gentoo.org> eselect-php-0.6.7.ebuild:
+ Moved eselect-php file to devspace
+
+ 10 Jul 2012; Patrick Lauer <patrick@gentoo.org> eselect-php-0.6.7.ebuild:
+ Fixing path for #425542
+
+*eselect-php-0.6.7 (09 Jul 2012)
+
+ 09 Jul 2012; Ole Markus With <olemarkus@gentoo.org> +eselect-php-0.6.7.ebuild:
+ Version bump
+
+ 29 May 2012; Alexis Ballier <aballier@gentoo.org> eselect-php-0.6.6.ebuild:
+ keyword ~amd64-fbsd
+
+ 30 Nov 2011; Fabian Groffen <grobian@gentoo.org> eselect-php-0.6.6.ebuild:
+ Marked ~x86-macos and ~x64-macos, bug #388163
+
+ 08 Nov 2011; Naohiro Aota <naota@gentoo.org> eselect-php-0.6.6.ebuild:
+ Add ~x86-fbsd
+
+*eselect-php-0.6.6 (02 Sep 2011)
+
+ 02 Sep 2011; Ole Markus With <olemarkus@gentoo.org>
+ -eselect-php-0.6.5.ebuild, +eselect-php-0.6.6.ebuild:
+ Bumped eselect.php. Fixes bug 363473. Thanks to Fabian Groffen
+
+*eselect-php-0.6.5 (30 Aug 2011)
+
+ 30 Aug 2011; Ole Markus With <olemarkus@gentoo.org>
+ +eselect-php-0.6.5.ebuild:
+ Version bump. Fixes bug 374417
+
+ 28 Feb 2011; Ole Markus With <olemarkus@gentoo.org>
+ -eselect-php-0.6.1.ebuild, +eselect-php-0.6.4.ebuild:
+ Fixed prefix support and support for multilib. Bug #356467 and #350092
+
+*eselect-php-0.6.4 (28 Feb 2011)
+
+ 30 Jan 2011; Raúl Porcel <armin76@gentoo.org> eselect-php-0.6.2.ebuild:
+ alpha/ia64/s390/sh/sparc stable
+
+ 11 Jan 2011; Jeroen Roovers <jer@gentoo.org> eselect-php-0.6.2.ebuild:
+ Stable for HPPA (bug #350908).
+
+ 10 Jan 2011; Kacper Kowalik <xarthisius.kk@gmail.com>
+ eselect-php-0.6.2.ebuild:
+ ppc64 stable wrt #350908
+
+ 08 Jan 2011; Markus Meier <maekke@gentoo.org> eselect-php-0.6.2.ebuild:
+ arm stable, bug #350908
+
+ 08 Jan 2011; Brent Baude <ranger@gentoo.org> eselect-php-0.6.2.ebuild:
+ marking eselect-php-0.6.2 ppc stable for sec bug 350908
+
+ 07 Jan 2011; Christian Faulhammer <fauli@gentoo.org>
+ eselect-php-0.6.2.ebuild:
+ stable x86, security bug 350908
+
+ 07 Jan 2011; Markos Chandras <hwoarang@gentoo.org> eselect-php-0.6.2.ebuild:
+ Stable on amd64 wrt bug #350908
+
+*eselect-php-0.6.2 (03 Jan 2011)
+
+ 03 Jan 2011; Ole Markus With <olemarkus@gentoo.org>
+ +eselect-php-0.6.2.ebuild:
+ Version bump. Fixes bug 349173
+
+ 02 Jan 2011; Tobias Klausmann <klausman@gentoo.org> eselect-php-0.6.1.ebuild:
+ Stable on alpha, bug #340807
+
+ 28 Dec 2010; Brent Baude <ranger@gentoo.org> eselect-php-0.6.1.ebuild:
+ Marking eselect-php-0.6.1 ppc64 for bug 340807
+
+ 22 Dec 2010; Jeroen Roovers <jer@gentoo.org> eselect-php-0.6.1.ebuild:
+ Stable for HPPA (bug #340807).
+
+ 20 Dec 2010; Brent Baude <ranger@gentoo.org> eselect-php-0.6.1.ebuild:
+ Marking eselect-php-0.6.1 ~ppc64 for bug 343597
+
+ 20 Dec 2010; Markos Chandras <hwoarang@gentoo.org> eselect-php-0.6.1.ebuild:
+ Stable on amd64 wrt bug #340807
+
+ 19 Dec 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+ eselect-php-0.6.1.ebuild:
+ x86 stable wrt security bug #340807
+
+ 27 Nov 2010; Michael Weber <xmw@gentoo.org> eselect-php-0.6.1.ebuild:
+ Add ~sparc (bug 343597).
+
+ 09 Nov 2010; Jeroen Roovers <jer@gentoo.org> eselect-php-0.6.1.ebuild:
+ Marked ~hppa (bug #343597).
+
+ 05 Nov 2010; Markus Meier <maekke@gentoo.org> eselect-php-0.6.1.ebuild:
+ add ~arm, bug #343597
+
+*eselect-php-0.6.1 (01 Nov 2010)
+
+ 01 Nov 2010; <olemarkus@gentoo.org> -eselect-php-0.6.ebuild,
+ +eselect-php-0.6.1.ebuild:
+ Version bump. Fixes #343651
+
+*eselect-php-0.6 (30 Oct 2010)
+
+ 30 Oct 2010; <olemarkus@gentoo.org> -eselect-php-0.5.2.ebuild,
+ +eselect-php-0.6.ebuild:
+ Version bump
+
+*eselect-php-0.5.2 (10 Oct 2010)
+
+ 10 Oct 2010; <olemarkus@gentoo.org> -eselect-php-0.5.ebuild,
+ +eselect-php-0.5.2.ebuild:
+ Version bump of app-admin/eselect-php
+
+*eselect-php-0.5 (06 Oct 2010)
+
+ 06 Oct 2010; <olemarkus@gentoo.org> +eselect-php-0.5.ebuild,
+ +metadata.xml:
+ Added eselect module for PHP
diff --git a/app-eselect/eselect-php/eselect-php-0.6.2.ebuild b/app-eselect/eselect-php/eselect-php-0.6.2.ebuild
new file mode 100644
index 000000000000..8bfe3e880bb3
--- /dev/null
+++ b/app-eselect/eselect-php/eselect-php-0.6.2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-eselect/eselect-php/eselect-php-0.6.2.ebuild,v 1.1 2015/03/31 16:53:51 ulm Exp $
+
+EAPI=3
+
+DESCRIPTION="PHP eselect module"
+HOMEPAGE="http://www.gentoo.org"
+SRC_URI="http://olemarkus.org/~olemarkus/gentoo/eselect-php-${PV}.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86"
+IUSE=""
+
+DEPEND=">=app-admin/eselect-1.2.4
+ !app-admin/php-toolkit"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ mv eselect-php-${PV} php.eselect
+ insinto /usr/share/eselect/modules/
+ doins php.eselect
+}
diff --git a/app-eselect/eselect-php/eselect-php-0.7.1-r1.ebuild b/app-eselect/eselect-php/eselect-php-0.7.1-r1.ebuild
new file mode 100644
index 000000000000..61ed2aaf20e1
--- /dev/null
+++ b/app-eselect/eselect-php/eselect-php-0.7.1-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-eselect/eselect-php/eselect-php-0.7.1-r1.ebuild,v 1.1 2015/03/31 16:53:51 ulm Exp $
+
+EAPI=5
+
+inherit depend.apache systemd
+
+DESCRIPTION="PHP eselect module"
+HOMEPAGE="http://www.gentoo.org"
+SRC_URI="http://dev.gentoo.org/~olemarkus/eselect-php/eselect-php-${PV}.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="fpm apache2"
+
+DEPEND=">=app-admin/eselect-1.2.4
+ !<dev-lang/php-5.3.23-r1:5.3
+ !<dev-lang/php-5.4.13-r1:5.4
+ !<dev-lang/php-5.5.0_beta1-r2:5.5
+ "
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+want_apache
+
+src_install() {
+ mv eselect-php-${PV} php.eselect
+ insinto /usr/share/eselect/modules/
+ doins php.eselect
+
+ if use apache2 ; then
+ insinto "${APACHE_MODULES_CONFDIR#${EPREFIX}}"
+ newins "${FILESDIR}/70_mod_php5.conf-apache2" \
+ "70_mod_php5.conf"
+ fi
+
+ if use fpm ; then
+ dodir "/etc/init.d"
+ insinto "/etc/init.d"
+ newinitd "${FILESDIR}/php-fpm.init" "php-fpm"
+ systemd_newunit "${FILESDIR}/php-fpm_at.service" "php-fpm@.service"
+ systemd_dotmpfilesd "${FILESDIR}/php-fpm.conf"
+ exeinto /usr/libexec
+ doexe "${FILESDIR}/php-fpm-launcher"
+ fi
+}
diff --git a/app-eselect/eselect-php/eselect-php-0.7.1-r2.ebuild b/app-eselect/eselect-php/eselect-php-0.7.1-r2.ebuild
new file mode 100644
index 000000000000..c15feb010ed0
--- /dev/null
+++ b/app-eselect/eselect-php/eselect-php-0.7.1-r2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-eselect/eselect-php/eselect-php-0.7.1-r2.ebuild,v 1.1 2015/03/31 16:53:51 ulm Exp $
+
+EAPI=5
+
+inherit depend.apache systemd
+
+DESCRIPTION="PHP eselect module"
+HOMEPAGE="http://www.gentoo.org"
+SRC_URI="http://dev.gentoo.org/~olemarkus/eselect-php/eselect-php-${PV}.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="fpm apache2"
+
+DEPEND=">=app-admin/eselect-1.2.4
+ !<dev-lang/php-5.3.23-r1:5.3
+ !<dev-lang/php-5.4.13-r1:5.4
+ !<dev-lang/php-5.5.0_beta1-r2:5.5
+ "
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+want_apache
+
+src_install() {
+ mv eselect-php-${PV} php.eselect
+ insinto /usr/share/eselect/modules/
+ doins php.eselect
+
+ if use apache2 ; then
+ insinto "${APACHE_MODULES_CONFDIR#${EPREFIX}}"
+ newins "${FILESDIR}/70_mod_php5.conf-apache2" \
+ "70_mod_php5.conf"
+ fi
+
+ if use fpm ; then
+ dodir "/etc/init.d"
+ insinto "/etc/init.d"
+ newinitd "${FILESDIR}/php-fpm-r1.init" "php-fpm"
+ systemd_newunit "${FILESDIR}/php-fpm_at.service" "php-fpm@.service"
+ systemd_dotmpfilesd "${FILESDIR}/php-fpm.conf"
+ exeinto /usr/libexec
+ doexe "${FILESDIR}/php-fpm-launcher"
+ fi
+}
diff --git a/app-eselect/eselect-php/eselect-php-0.7.1-r3.ebuild b/app-eselect/eselect-php/eselect-php-0.7.1-r3.ebuild
new file mode 100644
index 000000000000..faead4d0cfa7
--- /dev/null
+++ b/app-eselect/eselect-php/eselect-php-0.7.1-r3.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-eselect/eselect-php/eselect-php-0.7.1-r3.ebuild,v 1.1 2015/03/31 16:53:51 ulm Exp $
+
+EAPI=5
+
+inherit depend.apache systemd
+
+DESCRIPTION="PHP eselect module"
+HOMEPAGE="http://www.gentoo.org"
+SRC_URI="http://dev.gentoo.org/~olemarkus/eselect-php/eselect-php-${PV}.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="fpm apache2"
+
+DEPEND=">=app-admin/eselect-1.2.4
+ !<dev-lang/php-5.3.23-r1:5.3
+ !<dev-lang/php-5.4.13-r1:5.4
+ !<dev-lang/php-5.5.0_beta1-r2:5.5
+ "
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+want_apache
+
+src_install() {
+ mv eselect-php-${PV} php.eselect
+ insinto /usr/share/eselect/modules/
+ doins php.eselect
+
+ if use apache2 ; then
+ insinto "${APACHE_MODULES_CONFDIR#${EPREFIX}}"
+ newins "${FILESDIR}/70_mod_php5.conf-apache2" \
+ "70_mod_php5.conf"
+ fi
+
+ if use fpm ; then
+ dodir "/etc/init.d"
+ insinto "/etc/init.d"
+ newinitd "${FILESDIR}/php-fpm-r1.init" "php-fpm"
+ systemd_dotmpfilesd "${FILESDIR}/php-fpm.conf"
+ exeinto /usr/libexec
+ doexe "${FILESDIR}/php-fpm-launcher"
+ fi
+}
diff --git a/app-eselect/eselect-php/eselect-php-0.7.1.ebuild b/app-eselect/eselect-php/eselect-php-0.7.1.ebuild
new file mode 100644
index 000000000000..6672fe6ccfd1
--- /dev/null
+++ b/app-eselect/eselect-php/eselect-php-0.7.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-eselect/eselect-php/eselect-php-0.7.1.ebuild,v 1.1 2015/03/31 16:53:51 ulm Exp $
+
+EAPI=5
+
+inherit depend.apache
+
+DESCRIPTION="PHP eselect module"
+HOMEPAGE="http://www.gentoo.org"
+SRC_URI="http://dev.gentoo.org/~olemarkus/eselect-php/eselect-php-${PV}.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="fpm apache2"
+
+DEPEND=">=app-admin/eselect-1.2.4
+ !<dev-lang/php-5.3.23-r1:5.3
+ !<dev-lang/php-5.4.13-r1:5.4
+ !<dev-lang/php-5.5.0_beta1-r2:5.5
+ "
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+want_apache
+
+src_install() {
+ mv eselect-php-${PV} php.eselect
+ insinto /usr/share/eselect/modules/
+ doins php.eselect
+
+ if use apache2 ; then
+ insinto "${APACHE_MODULES_CONFDIR#${EPREFIX}}"
+ newins "${FILESDIR}/70_mod_php5.conf-apache2" \
+ "70_mod_php5.conf"
+ fi
+
+ if use fpm ; then
+ dodir "/etc/init.d"
+ insinto "/etc/init.d"
+ newinitd "${FILESDIR}/php-fpm.init" "php-fpm"
+ fi
+}
diff --git a/app-eselect/eselect-php/files/70_mod_php5.conf-apache2 b/app-eselect/eselect-php/files/70_mod_php5.conf-apache2
new file mode 100644
index 000000000000..7ec8739cf837
--- /dev/null
+++ b/app-eselect/eselect-php/files/70_mod_php5.conf-apache2
@@ -0,0 +1,14 @@
+<IfDefine PHP5>
+ # Load the module first
+ <IfModule !mod_php5.c>
+ LoadModule php5_module modules/libphp5.so
+ </IfModule>
+
+ # Set it to handle the files
+ <IfModule mod_mime.c>
+ AddHandler application/x-httpd-php .php .php5 .phtml
+ AddHandler application/x-httpd-php-source .phps
+ </IfModule>
+
+ DirectoryIndex index.php index.phtml
+</IfDefine>
diff --git a/app-eselect/eselect-php/files/php-fpm-launcher b/app-eselect/eselect-php/files/php-fpm-launcher
new file mode 100644
index 000000000000..7a1c1c9f918b
--- /dev/null
+++ b/app-eselect/eselect-php/files/php-fpm-launcher
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+PHPSLOT="${1}"
+[ -z "${PHPSLOT}" ] && PHPSLOT="$(eselect php show fpm)"
+shift
+
+exec /usr/lib/${PHPSLOT}/bin/php-fpm "${@}"
diff --git a/app-eselect/eselect-php/files/php-fpm-r1.init b/app-eselect/eselect-php/files/php-fpm-r1.init
new file mode 100755
index 000000000000..6cc26acc3c36
--- /dev/null
+++ b/app-eselect/eselect-php/files/php-fpm-r1.init
@@ -0,0 +1,50 @@
+#!/sbin/runscript
+
+set_phpvars() {
+ PHPSLOT=${SVCNAME#php-fpm-}
+ PHP_FPM_PID="/run/php-fpm-${PHPSLOT}.pid"
+ if [ ${PHPSLOT} = 'php-fpm' ] ; then
+ PHPSLOT="$(eselect php show fpm)"
+ PHP_FPM_PID="/run/php-fpm.pid"
+ fi
+
+ PHP_FPM_CONF="/etc/php/fpm-${PHPSLOT}/php-fpm.conf"
+}
+
+extra_commands="depend"
+extra_started_commands="reload"
+
+depend() {
+ need net
+ use apache2 lighttpd nginx
+}
+
+start() {
+ ebegin "Starting PHP FastCGI Process Manager"
+ set_phpvars
+ start-stop-daemon --start --pidfile ${PHP_FPM_PID} --exec \
+ /usr/lib/${PHPSLOT}/bin/php-fpm -- -y "${PHP_FPM_CONF}" -g "${PHP_FPM_PID}"
+ local i=0
+ local timeout=5
+ while [ ! -f ${PHP_FPM_PID} ] && [ $i -le $timeout ]; do
+ sleep 1
+ i=$(($i + 1))
+ done
+
+ [ $timeout -gt $i ]
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping PHP FastCGI Process Manager"
+ set_phpvars
+ start-stop-daemon --signal QUIT --stop --exec /usr/lib/${PHPSLOT}/bin/php-fpm --pidfile ${PHP_FPM_PID}
+ eend $?
+}
+
+reload() {
+ ebegin "Reloading PHP FastCGI Process Manager"
+ set_phpvars
+ [ -f ${PHP_FPM_PID} ] && kill -USR2 $(cat ${PHP_FPM_PID})
+ eend $?
+}
diff --git a/app-eselect/eselect-php/files/php-fpm.conf b/app-eselect/eselect-php/files/php-fpm.conf
new file mode 100644
index 000000000000..801e74f1e620
--- /dev/null
+++ b/app-eselect/eselect-php/files/php-fpm.conf
@@ -0,0 +1 @@
+d /run/php-fpm 755 root root
diff --git a/app-eselect/eselect-php/files/php-fpm.init b/app-eselect/eselect-php/files/php-fpm.init
new file mode 100755
index 000000000000..a186d83478c5
--- /dev/null
+++ b/app-eselect/eselect-php/files/php-fpm.init
@@ -0,0 +1,47 @@
+#!/sbin/runscript
+
+set_phpvars() {
+ PHPSLOT=${SVCNAME#php-fpm-}
+ [ ${PHPSLOT} = 'php-fpm' ] && PHPSLOT="$(eselect php show fpm)"
+
+ PHP_FPM_CONF="/etc/php/fpm-${PHPSLOT}/php-fpm.conf"
+ PHP_FPM_PID="/var/run/php-fpm-${PHPSLOT}.pid"
+}
+
+extra_commands="depend"
+extra_started_commands="reload"
+
+depend() {
+ need net
+ use apache2 lighttpd nginx
+}
+
+start() {
+ ebegin "Starting PHP FastCGI Process Manager"
+ set_phpvars
+ start-stop-daemon --start --pidfile ${PHP_FPM_PID} --exec \
+ /usr/lib/${PHPSLOT}/bin/php-fpm -- -y "${PHP_FPM_CONF}" -g "${PHP_FPM_PID}"
+ local i=0
+ local timeout=5
+ while [ ! -f ${PHP_FPM_PID} ] && [ $i -le $timeout ]; do
+ sleep 1
+ i=$(($i + 1))
+ done
+
+ [ $timeout -gt $i ]
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping PHP FastCGI Process Manager"
+ set_phpvars
+ start-stop-daemon --signal QUIT --stop --exec /usr/lib/${PHPSLOT}/bin/php-fpm --pidfile ${PHP_FPM_PID}
+ eend $?
+}
+
+reload() {
+ ebegin "Reloading PHP FastCGI Process Manager"
+ set_phpvars
+ [ -f ${PHP_FPM_PID} ] && kill -USR2 $(cat ${PHP_FPM_PID})
+ eend $?
+}
diff --git a/app-eselect/eselect-php/files/php-fpm_at.service b/app-eselect/eselect-php/files/php-fpm_at.service
new file mode 100644
index 000000000000..152c1abe0438
--- /dev/null
+++ b/app-eselect/eselect-php/files/php-fpm_at.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=The PHP FastCGI Process Manager
+After=network.target
+
+[Service]
+Type=notify
+PIDFile=/run/php-fpm/php-fpm-%I.pid
+ExecStart=/usr/libexec/php-fpm-launcher php%I -y /etc/php/fpm-php%I/php-fpm.conf --nodaemonize
+ExecReload=/bin/kill -USR2 $MAINPID
+PrivateTmp=true
+
+[Install]
+WantedBy=multi-user.target
+
diff --git a/app-eselect/eselect-php/metadata.xml b/app-eselect/eselect-php/metadata.xml
new file mode 100644
index 000000000000..b4348f2483fa
--- /dev/null
+++ b/app-eselect/eselect-php/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>php</herd>
+ <longdescription lang="en">PHP eselect module
+ </longdescription>
+ <use>
+ <flag name='fpm'>Enable the FastCGI Process Manager SAPI</flag>
+ </use>
+</pkgmetadata>
+