From 71a3a92404f3109cfce96c8abaa2372ac7e5ab04 Mon Sep 17 00:00:00 2001 From: taca Date: Sun, 15 Mar 2015 15:25:57 +0000 Subject: Drop php53 support. --- lang/php/ext.mk | 7 +------ lang/php/phpversion.mk | 31 ++++++++++--------------------- 2 files changed, 11 insertions(+), 27 deletions(-) diff --git a/lang/php/ext.mk b/lang/php/ext.mk index 45144d1ce65..cbcaa5be266 100644 --- a/lang/php/ext.mk +++ b/lang/php/ext.mk @@ -1,4 +1,4 @@ -# $NetBSD: ext.mk,v 1.37 2015/02/16 10:30:15 jperkin Exp $ +# $NetBSD: ext.mk,v 1.38 2015/03/15 15:25:57 taca Exp $ # # PHP extension package framework, for both PECL and bundled PHP extensions. # @@ -38,12 +38,7 @@ WRKSRC?= ${WRKDIR}/${EXTRACT_ELEMENTS} DISTINFO_FILE= ${.CURDIR}/${PHPPKGSRCDIR}/distinfo .else # PECL extension -# WARINING: following fixed version number for PHP 5.3.x must not be bumped! -.if defined(PECL_LEGACY_VERSION_SCHEME) && ${PKG_PHP_VERSION} == "53" -PKGNAME?= ${PHP_PKG_PREFIX}-${MODNAME}-5.3.9.${PECL_VERSION} -.else PKGNAME?= ${PHP_PKG_PREFIX}-${MODNAME}-${PECL_VERSION} -.endif MASTER_SITES?= http://pecl.php.net/get/ PECL_DISTNAME?= ${MODNAME}-${PECL_VERSION} DISTNAME= ${PECL_DISTNAME} diff --git a/lang/php/phpversion.mk b/lang/php/phpversion.mk index c18e42c5203..f1c82e43cf7 100644 --- a/lang/php/phpversion.mk +++ b/lang/php/phpversion.mk @@ -1,4 +1,4 @@ -# $NetBSD: phpversion.mk,v 1.89 2015/03/15 11:50:53 taca Exp $ +# $NetBSD: phpversion.mk,v 1.90 2015/03/15 15:25:57 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: 53 54 55 56 +# Possible: 54 55 56 # Default: 54 # # === Infrastructure variables === @@ -27,12 +27,12 @@ # PHP_VERSIONS_ACCEPTED # The PHP versions that are accepted by the package. # -# Possible: 53 54 55 56 -# Default: 54 53 +# Possible: 54 55 56 +# Default: 54 # # PHP_CHECK_INSTALLED -# Check installed version of PHP. Should be used lang/php53, -# lang/php54, lang/php55 and lang/php56 only. +# Check installed version of PHP. Should be used by lang/php54, +# lang/php55 and lang/php56 only. # # Possible: Yes No # Default: Yes @@ -42,7 +42,7 @@ # PKG_PHP_VERSION # The selected PHP version. # -# Possible: 53 54 55 56 +# Possible: 54 55 56 # Default: ${PHP_VERSION_DEFAULT} # # PHP_BASE_VERS @@ -66,7 +66,7 @@ # PHP_PKG_PREFIX # The prefix that is prepended to the package name. # -# Example: php53, php54, php55 php56 +# Example: php54, php55 php56 # # PHP_EXTENSION_DIR # Relative path to ${PREFIX} for PHP's extensions. It is derived from @@ -81,13 +81,11 @@ PHPVERSION_MK= defined # Define each PHP's version. -PHP53_VERSION= 5.3.29 PHP54_VERSION= 5.4.38 PHP55_VERSION= 5.5.22 PHP56_VERSION= 5.6.6 # Define initial release of major version. -PHP53_RELDATE= 20090630 PHP54_RELDATE= 20120301 PHP55_RELDATE= 20130620 PHP56_RELDATE= 20140828 @@ -101,7 +99,7 @@ _SYS_VARS.php= PKG_PHP_VERSION PKG_PHP PHPPKGSRCDIR PHP_PKG_PREFIX \ .include "../../mk/bsd.prefs.mk" PHP_VERSION_DEFAULT?= 54 -PHP_VERSIONS_ACCEPTED?= 54 55 56 53 +PHP_VERSIONS_ACCEPTED?= 54 55 56 # transform the list into individual variables .for pv in ${PHP_VERSIONS_ACCEPTED} @@ -118,9 +116,6 @@ _PHP_INSTALLED= yes .elif exists(${LOCALBASE}/lib/php/20120301) _PHP_VERSION_54_INSTALLED= yes _PHP_INSTALLED= yes -.elif exists(${LOCALBASE}/lib/php/20090626) || exists(${LOCALBASE}/include/php/Zend/zend_gc.h) -_PHP_VERSION_53_INSTALLED= yes -_PHP_INSTALLED= yes .endif # if a version is explicitely required, take it @@ -189,13 +184,7 @@ PHP_VERSION_REQD:= ${PKG_PHP_VERSION} # # set variables for the version we decided to use: # -.if ${_PHP_VERSION} == "53" -PHPPKGSRCDIR= ../../lang/php53 -PHP_VERSION= ${PHP53_VERSION} -PHP_INITIAL_TEENY= 2 -PHP_PKG_PREFIX= php53 -PHP_EXTENSION_DIR= lib/php/${PHP53_RELDATE} -.elif ${_PHP_VERSION} == "54" +.if ${_PHP_VERSION} == "54" PHPPKGSRCDIR= ../../lang/php54 PHP_VERSION= ${PHP54_VERSION} PHP_INITIAL_TEENY= 4 -- cgit v1.2.3