1 |
commit: 93234aea3d6e645fe5294265c8cb3db594cff2ea |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 28 20:55:39 2016 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 28 20:57:36 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93234aea |
7 |
|
8 |
dev-php/pecl-htscanner: Revbump to drop php 5.4 and 5.5 dependencies |
9 |
|
10 |
This package has not been ported and fails with PHP 7.0. |
11 |
Patches are welcome, but this package is in danger of being dropped |
12 |
when PHP 5.6 becomes obsolete. |
13 |
|
14 |
Package-Manager: portage-2.3.2 |
15 |
|
16 |
.../pecl-htscanner/pecl-htscanner-1.0.1-r3.ebuild | 41 ++++++++++++++++++++++ |
17 |
1 file changed, 41 insertions(+) |
18 |
|
19 |
diff --git a/dev-php/pecl-htscanner/pecl-htscanner-1.0.1-r3.ebuild b/dev-php/pecl-htscanner/pecl-htscanner-1.0.1-r3.ebuild |
20 |
new file mode 100644 |
21 |
index 00000000..6a00777 |
22 |
--- /dev/null |
23 |
+++ b/dev-php/pecl-htscanner/pecl-htscanner-1.0.1-r3.ebuild |
24 |
@@ -0,0 +1,41 @@ |
25 |
+# Copyright 1999-2016 Gentoo Foundation |
26 |
+# Distributed under the terms of the GNU General Public License v2 |
27 |
+# $Id$ |
28 |
+ |
29 |
+EAPI=6 |
30 |
+ |
31 |
+PHP_EXT_NAME="htscanner" |
32 |
+PHP_EXT_INI="yes" |
33 |
+PHP_EXT_ZENDEXT="no" |
34 |
+DOCS="README" |
35 |
+PHP_EXT_SAPIS="cgi" |
36 |
+ |
37 |
+USE_PHP="php5-6" |
38 |
+ |
39 |
+inherit php-ext-pecl-r3 |
40 |
+ |
41 |
+KEYWORDS="~amd64 ~x86" |
42 |
+ |
43 |
+DESCRIPTION="Enables .htaccess options for php-scripts running as cgi" |
44 |
+LICENSE="PHP-3" |
45 |
+SLOT="0" |
46 |
+IUSE="" |
47 |
+ |
48 |
+for target in ${USE_PHP}; do |
49 |
+ slot=${target/php} |
50 |
+ slot=${slot/-/.} |
51 |
+ PHPUSEDEPEND="${PHPUSEDEPEND} |
52 |
+ php_targets_${target}? ( dev-lang/php:${slot}[cgi] )" |
53 |
+done |
54 |
+ |
55 |
+DEPEND="${PHPUSEDEPEND}" |
56 |
+RDEPEND="${DEPEND}" |
57 |
+ |
58 |
+src_install() { |
59 |
+ php-ext-pecl-r3_src_install |
60 |
+ |
61 |
+ php-ext-source-r3_addtoinifiles "config_file" ".htaccess" |
62 |
+ php-ext-source-r3_addtoinifiles "default_docroot" "/" |
63 |
+ php-ext-source-r3_addtoinifiles "default_ttl" "300" |
64 |
+ php-ext-source-r3_addtoinifiles "stop_on_error" "0" |
65 |
+} |