1 |
commit: 6176d888b522b2b89fce83eba04c51e116a4e88a |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 18 04:58:42 2015 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 18 05:13:17 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6176d888 |
7 |
|
8 |
app-eselect/eselect-php: Version bump to add phpdbg support |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
app-eselect/eselect-php/Manifest | 1 + |
13 |
app-eselect/eselect-php/eselect-php-0.8.2.ebuild | 57 ++++++++++++++++++++++++ |
14 |
2 files changed, 58 insertions(+) |
15 |
|
16 |
diff --git a/app-eselect/eselect-php/Manifest b/app-eselect/eselect-php/Manifest |
17 |
index 249fc20..158f9cb 100644 |
18 |
--- a/app-eselect/eselect-php/Manifest |
19 |
+++ b/app-eselect/eselect-php/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST eselect-php-0.7.1.bz2 2251 SHA256 10aa400e2d08bc71989366993f12ddb546a0ea29f191c40e37beba1d11d7abd7 SHA512 a6b4c1475dda9f368d799db7658c50cef7d6f71482a53a186fb1394e7ea1fff3c0ef123c82b7ca4d1e45aadb0a034d36f213fc9450766878a60d28639761cb3d WHIRLPOOL a4e45492068616ff30fd888b0cc64441a6eb6e6656e0107d00bd2cf15360dce15052d4d62089ab89d43e6bb36e126529aa101c70e8bd94a9fc916a5369463e3b |
22 |
DIST eselect-php-0.8.0.tar.xz 43932 SHA256 1ddc6aafe269ebbf3006737701403bd2c7b324b9eea0fcbdc91e85a856f8a10d SHA512 53c735275264742542d3909ae2994d0720bc961533a3df5373dbc7a7a1f04e91591f4e8356c268954420487d3ead4006cc5d6f361ef0ac2836f7f126556e960d WHIRLPOOL 94deba4a5bd4d0d85c8f3afc96ac30a69cca5db95014b2fd8701495cc83488389302f640065e923cabd40c95f97f792dd173337cc33c7d38441956049fb90cda |
23 |
DIST eselect-php-0.8.1.tar.xz 44412 SHA256 aa118e936bff176fe64911d68bb72e6e9e03d33c106674169396826a3063a962 SHA512 3679c8ac4d980424a108d93c8e2e575b93196d7140f31f900e7f925ab26cf821233d12b9083fd7bdd7bd596c3b59544e972660be8ffce7c24d4a7980fbe5f770 WHIRLPOOL 19c6f05a02aa1a40586f352822679f7e655200374a100834d4370678b35856d5e255b0d83f07eafd69481ee3ee72cb976665e6c2b2df990be00b54bfa53a5a92 |
24 |
+DIST eselect-php-0.8.2.tar.xz 51832 SHA256 3601d0612a19ccc1c5146be2c8cd7df955a37c517817ae4f59bb3ead446f5355 SHA512 da1d71affe275d07db7a76fd98fd89ffdea6f671262a615bf4dda5a1bba8d19e5d1a3c8afe3f1eb1e70fd71298476a6f0d4e73eba7aafe7555f018f89005bc3d WHIRLPOOL dcc75d93eeaaa85f63f5329491d010debd83ed2a82af0051d59ab4aff639703a6f4c1baa5388ed2a8867d6ab610740d5a1ac86d28cddb0de5be47872ada040b4 |
25 |
|
26 |
diff --git a/app-eselect/eselect-php/eselect-php-0.8.2.ebuild b/app-eselect/eselect-php/eselect-php-0.8.2.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..e52f004 |
29 |
--- /dev/null |
30 |
+++ b/app-eselect/eselect-php/eselect-php-0.8.2.ebuild |
31 |
@@ -0,0 +1,57 @@ |
32 |
+# Copyright 1999-2015 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=5 |
37 |
+ |
38 |
+inherit depend.apache systemd |
39 |
+ |
40 |
+DESCRIPTION="PHP eselect module" |
41 |
+HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-php.git/" |
42 |
+SRC_URI=" |
43 |
+ https://dev.gentoo.org/~mjo/distfiles/${P}.tar.xz |
44 |
+ https://dev.gentoo.org/~grknight/distfiles/${P}.tar.xz |
45 |
+" |
46 |
+ |
47 |
+LICENSE="GPL-2" |
48 |
+SLOT="0" |
49 |
+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" |
50 |
+IUSE="fpm apache2" |
51 |
+ |
52 |
+# The "DirectoryIndex" line in 70_mod_php.conf requires mod_dir. |
53 |
+RDEPEND="app-admin/eselect |
54 |
+ apache2? ( www-servers/apache[apache2_modules_dir] )" |
55 |
+ |
56 |
+want_apache |
57 |
+ |
58 |
+src_install() { |
59 |
+ default |
60 |
+ |
61 |
+ if use apache2 ; then |
62 |
+ insinto "${APACHE_MODULES_CONFDIR#${EPREFIX}}" |
63 |
+ doins "${FILESDIR}/70_mod_php.conf" |
64 |
+ fi |
65 |
+ |
66 |
+ if use fpm ; then |
67 |
+ newinitd "${FILESDIR}/php-fpm.init-r4" "php-fpm" |
68 |
+ systemd_dotmpfilesd "${FILESDIR}/php-fpm.conf" |
69 |
+ exeinto /usr/libexec |
70 |
+ doexe "${FILESDIR}/php-fpm-launcher" |
71 |
+ fi |
72 |
+} |
73 |
+ |
74 |
+pkg_postinst() { |
75 |
+ if use apache2 ; then |
76 |
+ elog |
77 |
+ elog "If you are upgrading, be warned that our mod_php configuration" |
78 |
+ elog "file has changed! You should now define -DPHP for the apache2" |
79 |
+ elog "daemon, and inspect the new 70_mod_php.conf which has been" |
80 |
+ elog "installed. Module loading involves eselect as of this version." |
81 |
+ elog |
82 |
+ elog "You must run eselect at least once to choose your apache2 target" |
83 |
+ elog "before the new configuration will work. Afterwards, and after you" |
84 |
+ elog "have reviewed your new configuration, you are advised to remove" |
85 |
+ elog "the obsolete 70_mod_php5.conf file." |
86 |
+ elog |
87 |
+ fi |
88 |
+} |