dev-lang/php: new revisions dropping depend.apache/apache-module.eclass.
authorMichael Orlitzky <mjo@gentoo.org>
Thu, 14 Jul 2016 21:22:48 +0000 (17:22 -0400)
committerMichael Orlitzky <mjo@gentoo.org>
Fri, 15 Jul 2016 15:04:57 +0000 (11:04 -0400)
Package-Manager: portage-2.2.28

dev-lang/php/php-5.6.23-r3.ebuild [moved from dev-lang/php/php-5.6.23-r2.ebuild with 98% similarity]
dev-lang/php/php-7.0.8-r2.ebuild [moved from dev-lang/php/php-7.0.8-r1.ebuild with 98% similarity]

similarity index 98%
rename from dev-lang/php/php-5.6.23-r2.ebuild
rename to dev-lang/php/php-5.6.23-r3.ebuild
index 071afe4e72df31c584a031fccd80b3a244388545..6c1f34ed60a00d5c3e8838046578450b557d91a3 100644 (file)
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-inherit eutils autotools flag-o-matic versionator depend.apache apache-module libtool systemd
+inherit eutils autotools flag-o-matic versionator libtool systemd
 
 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"
 
@@ -221,12 +221,6 @@ fi
 
 PHP_INI_FILE="php.ini"
 
-want_apache
-
-pkg_setup() {
-       depend.apache_pkg_setup
-}
-
 php_install_ini() {
        local phpsapi="${1}"
 
@@ -744,9 +738,14 @@ src_test() {
 pkg_postinst() {
        # Output some general info to the user
        if use apache2 ; then
-               APACHE2_MOD_DEFINE="PHP"
-               APACHE2_MOD_CONF="70_mod_php"  # Provided by app-eselect/eselect-php
-               apache-module_pkg_postinst
+               elog
+               elog "To enable PHP in apache, you will need to add \"-D PHP\" to"
+               elog "your apache2 command. OpenRC users can append that string to"
+               elog "APACHE2_OPTS in /etc/conf.d/apache2."
+               elog
+               elog "The apache module configuration file 70_mod_php.conf is"
+               elog "provided (and maintained) by eselect-php."
+               elog
        fi
 
        # Create the symlinks for php
similarity index 98%
rename from dev-lang/php/php-7.0.8-r1.ebuild
rename to dev-lang/php/php-7.0.8-r2.ebuild
index 9bd15572e425781de0e10abdda5436f4baa2ef2e..4ed4d7492bfaa88c02b82e9eabad31f04af31c68 100644 (file)
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-inherit eutils autotools flag-o-matic versionator depend.apache apache-module libtool systemd
+inherit eutils autotools flag-o-matic versionator libtool systemd
 
 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"
 
@@ -212,12 +212,6 @@ fi
 
 PHP_INI_FILE="php.ini"
 
-want_apache
-
-pkg_setup() {
-       depend.apache_pkg_setup
-}
-
 php_install_ini() {
        local phpsapi="${1}"
 
@@ -738,9 +732,14 @@ src_test() {
 pkg_postinst() {
        # Output some general info to the user
        if use apache2 ; then
-               APACHE2_MOD_DEFINE="PHP"
-               APACHE2_MOD_CONF="70_mod_php"  # Provided by app-eselect/eselect-php
-               apache-module_pkg_postinst
+               elog
+               elog "To enable PHP in apache, you will need to add \"-D PHP\" to"
+               elog "your apache2 command. OpenRC users can append that string to"
+               elog "APACHE2_OPTS in /etc/conf.d/apache2."
+               elog
+               elog "The apache module configuration file 70_mod_php.conf is"
+               elog "provided (and maintained) by eselect-php."
+               elog
        fi
 
        # Create the symlinks for php