pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/php lang/php: drop support for php70



details:   https://anonhg.NetBSD.org/pkgsrc/rev/de6767bbacf0
branches:  trunk
changeset: 317706:de6767bbacf0
user:      taca <taca%pkgsrc.org@localhost>
date:      Mon Jan 14 13:15:08 2019 +0000

description:
lang/php: drop support for php70

Drop support for php70 (PHP 7.0).

diffstat:

 lang/php/phpversion.mk |  27 ++++++++-------------------
 1 files changed, 8 insertions(+), 19 deletions(-)

diffs (105 lines):

diff -r 3a99688101c1 -r de6767bbacf0 lang/php/phpversion.mk
--- a/lang/php/phpversion.mk    Mon Jan 14 13:13:08 2019 +0000
+++ b/lang/php/phpversion.mk    Mon Jan 14 13:15:08 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: phpversion.mk,v 1.245 2019/01/12 15:01:34 taca Exp $
+# $NetBSD: phpversion.mk,v 1.246 2019/01/14 13:15:08 taca Exp $
 #
 # This file selects a PHP version, based on the user's preferences and
 # the installed packages. It does not add a dependency on the PHP
@@ -10,7 +10,7 @@
 #      The PHP version to choose when more than one is acceptable to
 #      the package.
 #
-#      Possible: 56 70 71 72 73
+#      Possible: 56 71 72 73
 #      Default: 71
 #
 # === Infrastructure variables ===
@@ -27,18 +27,18 @@
 # PHP_VERSIONS_ACCEPTED
 #      The PHP versions that are accepted by the package.
 #
-#      Possible: 56 70 71 72 73
+#      Possible: 56 71 72 73
 #      Default: 71
 #
 # PHP_VERSIONS_INCOMPATIBLE
 #      The PHP versions that are not supported by the package.
 #
-#      Possible: 56 70 71 72 73
+#      Possible: 56 71 72 73
 #      Default: (empty)
 #
 # PHP_CHECK_INSTALLED
 #      Check installed version of PHP.  Should be used by lang/php56,
-#      lang/php70, or lang/php71 only.
+#      lang/php71, lang/php72 or lang/php73 only.
 #
 #      Possible: Yes No
 #      Default: Yes
@@ -48,7 +48,7 @@
 # PKG_PHP_VERSION
 #      The selected PHP version.
 #
-#      Possible: 56 70 71 72 73
+#      Possible: 56 71 72 73
 #      Default: ${PHP_VERSION_DEFAULT}
 #
 # PHP_BASE_VERS
@@ -72,7 +72,7 @@
 # PHP_PKG_PREFIX
 #      The prefix that is prepended to the package name.
 #
-#      Example: php56 php70 php71 php72 php73
+#      Example: php56 php71 php72 php73
 #
 # PHP_EXTENSION_DIR
 #      Relative path to ${PREFIX} for PHP's extensions.  It is derived from
@@ -88,14 +88,12 @@
 
 # Define each PHP's version.
 PHP56_VERSION= 5.6.40
-PHP70_VERSION= 7.0.33
 PHP71_VERSION= 7.1.26
 PHP72_VERSION= 7.2.14
 PHP73_VERSION= 7.3.1
 
 # Define initial release of major version.
 PHP56_RELDATE= 20140828
-PHP70_RELDATE= 20151203
 PHP71_RELDATE= 20160303
 PHP72_RELDATE= 20170718
 PHP73_RELDATE= 20181200
@@ -109,7 +107,7 @@
 .include "../../mk/bsd.prefs.mk"
 
 PHP_VERSION_DEFAULT?=          71
-PHP_VERSIONS_ACCEPTED?=                56 70 71 72 73
+PHP_VERSIONS_ACCEPTED?=                56 71 72 73
 .for pv in ${PHP_VERSIONS_ACCEPTED}
 .  if empty(PHP_VERSIONS_INCOMPATIBLE:M${pv})
 _PHP_VERSIONS_ACCEPTED+=       ${pv}
@@ -131,9 +129,6 @@
 .elif exists(${LOCALBASE}/lib/php/${PHP71_RELDATE})
 _PHP_VERSION_71_INSTALLED=     yes
 _PHP_INSTALLED=                        yes
-.elif exists(${LOCALBASE}/lib/php/${PHP70_RELDATE})
-_PHP_VERSION_70_INSTALLED=     yes
-_PHP_INSTALLED=                        yes
 .elif exists(${LOCALBASE}/lib/php/${PHP56_RELDATE})
 _PHP_VERSION_56_INSTALLED=     yes
 _PHP_INSTALLED=                        yes
@@ -211,12 +206,6 @@
 PHP_INITIAL_TEENY=     3
 PHP_PKG_PREFIX=                php56
 PHP_EXTENSION_DIR=     lib/php/${PHP56_RELDATE}
-.elif ${_PHP_VERSION} == "70"
-PHPPKGSRCDIR=          ../../lang/php70
-PHP_VERSION=           ${PHP70_VERSION}
-PHP_INITIAL_TEENY=     0
-PHP_PKG_PREFIX=                php70
-PHP_EXTENSION_DIR=     lib/php/${PHP70_RELDATE}
 .elif ${_PHP_VERSION} == "71"
 PHPPKGSRCDIR=          ../../lang/php71
 PHP_VERSION=           ${PHP71_VERSION}



Home | Main Index | Thread Index | Old Index