pkgsrc/www/php-phalcon/Makefile

39 lines
1.3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.4 2018/12/15 17:05:29 taca Exp $
#
MODNAME= phalcon
www/php-phalcon: Update to 3.4.0. - Added Phalcon\Mvc\Router::attach to add Route object directly into Router - Added the ability to listen request:beforeAuthorizationResolve and request:afterAuthorizationResolve events. This ability enables using custom authorization resolvers - Added call event afterFetch in Phalcon\Mvc\Model:refresh - Added Phalcon\Http\Response::getReasonPhrase to retrieve the reason phrase from the Status header - Added Phalcon\Loader::setFileCheckingCallback to set internal file existence resolver - Added ability to pass aggregation options for Phalcon\Mvc\Collection::aggregate - Added Phalcon\Crypt::setHashAlgo to set the name of hashing algorithm used to the calculating message digest - Added Phalcon\Crypt::getHashAlgo to get the name of hashing algorithm used to the calculating message digest - Added Phalcon\Crypt::useSigning to set if the calculating message digest must used (NOTE: This feature will be enabled by default in Phalcon 4.0.0) - Added Phalcon\Crypt::getAvailableHashAlgos to get a list of registered hashing algorithms suitable for calculating message digest - Added Phalcon\Crypt::__construct so now the cipher can be set at object construction and the calculating message digest can be enabled without the need to call setCipher or useSigning explicitly - Added Phalcon\Crypt\Mismatch. Exceptions thrown in Phalcon\Crypt will use this class - Added Phalcon\Http\Cookie::setSignKey to set sign key used to generate a message authentication code (eg. message digest) - Added Phalcon\Http\Response\Cookies::setSignKey to set sign key used to generate a message authentication code (eg. message digest) - Changed Phalcon\Crypt::setCipher so that IV length will be reconfigured during setting the cipher algorithm - Changed Phalcon\Crypt::setCipher so that method will throw Phalcon\Crypt\Exception if a cipher is unavailable - Fixed regression (#13308) for Phalcon\Debug\Dump::output to correctly work with detailed mode - Fixed Phalcon\Mvc\Model\Query\Builder::having and Phalcon\Mvc\Model\Query\Builder::where to correctly merge the bind types - Fixed Phalcon\Mvc\Model::setSnapshotData to properly sets the old snapshot - Do not throw Exception when superglobal does not exist
2018-05-29 11:13:35 +02:00
PECL_VERSION= 3.4.0
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=phalcon/}
EXTRACT_SUFX= .tar.gz
HOMEPAGE= https://phalconphp.com/
COMMENT= Web framework implemented as a C extension offering high performance
LICENSE= php
GITHUB_PROJECT= cphalcon
GITHUB_TAG= v${PKGVERSION_NOREV}
USE_LANGUAGES= c c++
USE_TOOLS+= gmake pkg-config
BUILD_DEPENDS+= re2c>=0.15.3:../../devel/re2c
DEPENDS+= ${PHP_PKG_PREFIX}-curl>=5.6.0:../../www/php-curl
DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.6.0:../../graphics/php-gd
DEPENDS+= ${PHP_PKG_PREFIX}-json>=5.6.0:../../textproc/php-json
DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.6.0:../../converters/php-mbstring
DEPENDS+= ${PHP_PKG_PREFIX}-pdo>=5.6.0:../../databases/php-pdo
DEPENDS+= ${PHP_PKG_PREFIX}-pdo_mysql>=5.6.0:../../databases/php-pdo_mysql
.include "../../lang/php/phpversion.mk"
PHPSETUPSUBDIR= build/php${PKG_PHP_MAJOR_VERS}/${"${MACHINE_ARCH:Mx86_64}":?64:32}bits
MODULESDIR= ${WRKSRC}/${PHPSETUPSUBDIR}/modules
CONFIGURE_DIRS+= ${PHPSETUPSUBDIR}
.include "../../databases/php-pdo/buildlink3.mk"
.include "../../textproc/php-json/buildlink3.mk"
.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"