1 |
commit: fdde370f7aeefee94d26a1b7c2a89a171e9a0252 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 11 13:22:29 2017 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 11 13:22:45 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdde370f |
7 |
|
8 |
app-eselect/eselect-php: drop unused eselect-php-0.9.4-r2.ebuild. |
9 |
|
10 |
Bug: https://bugs.gentoo.org/640460 |
11 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
12 |
|
13 |
.../eselect-php/eselect-php-0.9.4-r2.ebuild | 66 ---------------------- |
14 |
1 file changed, 66 deletions(-) |
15 |
|
16 |
diff --git a/app-eselect/eselect-php/eselect-php-0.9.4-r2.ebuild b/app-eselect/eselect-php/eselect-php-0.9.4-r2.ebuild |
17 |
deleted file mode 100644 |
18 |
index 4dec17a5418..00000000000 |
19 |
--- a/app-eselect/eselect-php/eselect-php-0.9.4-r2.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,66 +0,0 @@ |
22 |
-# Copyright 1999-2017 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-inherit systemd |
28 |
- |
29 |
-DESCRIPTION="PHP eselect module" |
30 |
-HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-php.git/" |
31 |
-SRC_URI="https://dev.gentoo.org/~mjo/distfiles/${P}.tar.xz" |
32 |
- |
33 |
-LICENSE="GPL-2" |
34 |
-SLOT="0" |
35 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
36 |
-IUSE="fpm apache2" |
37 |
- |
38 |
-# The "DirectoryIndex" line in 70_mod_php.conf requires mod_dir. |
39 |
-RDEPEND="app-admin/eselect |
40 |
- apache2? ( www-servers/apache[apache2_modules_dir] ) |
41 |
- fpm? ( sys-apps/gentoo-functions )" |
42 |
- |
43 |
-src_configure(){ |
44 |
- # We expect localstatedir to be "var"ish, not "var/lib"ish, because |
45 |
- # that's what PHP upstream expects. See for example the FPM |
46 |
- # configuration where they put logs in @localstatedir@/log. |
47 |
- # |
48 |
- # The libdir is passed explicitly in case the /usr/lib symlink |
49 |
- # is not present (bug 624528). |
50 |
- econf --libdir="${EPREFIX}/usr/$(get_libdir)" \ |
51 |
- --localstatedir="${EPREFIX}/var" \ |
52 |
- --with-piddir="${EPREFIX}/run" \ |
53 |
- $(use_enable apache2) \ |
54 |
- $(use_enable fpm) |
55 |
-} |
56 |
- |
57 |
-src_install() { |
58 |
- default |
59 |
- |
60 |
- # This can be removed after a while... |
61 |
- if use apache2 ; then |
62 |
- insinto /etc/apache2/modules.d |
63 |
- newins "${FILESDIR}/70_mod_php5.backcompat.conf" 70_mod_php5.conf |
64 |
- fi |
65 |
- |
66 |
- if use fpm ; then |
67 |
- systemd_dotmpfilesd "${FILESDIR}/php-fpm.conf" |
68 |
- exeinto /usr/libexec |
69 |
- newexe "${FILESDIR}/php-fpm-launcher-r2" php-fpm-launcher |
70 |
- fi |
71 |
-} |
72 |
- |
73 |
-pkg_postinst() { |
74 |
- if use apache2 ; then |
75 |
- elog |
76 |
- elog "If you are upgrading, be warned that our mod_php configuration" |
77 |
- elog "file has changed! You should now define -DPHP for the apache2" |
78 |
- elog "daemon, and inspect the new 70_mod_php.conf which has been" |
79 |
- elog "installed. Module loading involves eselect as of this version." |
80 |
- elog |
81 |
- elog "You must run eselect at least once to choose your apache2 target" |
82 |
- elog "before the new configuration will work. Afterwards, and after you" |
83 |
- elog "have reviewed your new configuration, you are advised to remove" |
84 |
- elog "the obsolete 70_mod_php5.conf file." |
85 |
- elog |
86 |
- fi |
87 |
-} |