4dd9976760
15 Aug 2013, PHP 5.4.18 - Core: . Fixed value of FILTER_SANITIZE_FULL_SPECIAL_CHARS constant (previously was erroneously set to FILTER_SANITIZE_SPECIAL_CHARS value). (Andrey avp200681 gmail com). . Fixed bug #65254 (Exception not catchable when exception thrown in autoload with a namespace). (Laruence) . Fixed bug #65108 (is_callable() triggers Fatal Error). (David Soria Parra, Laruence) . Fixed bug #65088 (Generated configure script is malformed on OpenBSD). (Adam) . Fixed bug #62964 (Possible XSS on "Registered stream filters" info). (david at nnucomputerwhiz dot com) . Fixed bug #62672 (Error on serialize of ArrayObject). (Lior Kaplan) . Fixed bug #62475 (variant_* functions causes crash when null given as an argument). (Felipe) . Fixed bug #60732 (php_error_docref links to invalid pages). (Jakub Vrana) . Fixed bug #65226 (chroot() does not get enabled). (Anatol) - CGI: . Fixed Bug #65143 (Missing php-cgi man page). (Remi) - CLI server: . Fixed bug #65066 (Cli server not responsive when responding with 422 http status code). (Adam) - CURL: . Fixed bug #62665 (curl.cainfo doesn't appear in php.ini). (Lior Kaplan) - FPM: . Fixed bug #63983 (enabling FPM borks compile on FreeBSD). (chibisuke at web dot de, Felipe) - FTP: . Fixed bug #65228 (FTPs memory leak with SSL). (marco dot beierer at mbsecurity dot ch) - GMP: . Fixed bug #65227 (Memory leak in gmp_cmp second parameter). (Felipe) - Imap: . Fixed bug #64467 (Segmentation fault after imap_reopen failure). (askalski at gmail dot com) - Intl: . Fixed bug #62759 (Buggy grapheme_substr() on edge case). (Stas) . Fixed bug #61860 (Offsets may be wrong for grapheme_stri* functions). (Stas) - mysqlnd: . Fixed segfault in mysqlnd when doing long prepare. (Andrey) - ODBC: . Fixed bug #61387 (NULL valued anonymous column causes segfault in odbc_fetch_array). (Brandon Kirsch) - Openssl: . Fixed handling null bytes in subjectAltName (CVE-2013-4073). (Christian Heimes) - PDO: . Allowed PDO_OCI to compile with Oracle Database 12c client libraries. (Chris Jones) - PDO_dblib: . Fixed bug #65219 (PDO/dblib not working anymore ("use dbName" not sent)). (Stanley Sufficool) - PDO_pgsql: . Fixed meta data retrieve when OID is larger than 2^31. (Yasuo) - Phar: . Fixed Bug #65142 (Missing phar man page). (Remi) - Session . Fixed bug #62535 ($_SESSION[$key]["cancel_upload"] doesn't work as documented). (Arpad) . Fixed bug #35703 (when session_name("123") consist only digits, should warning). (Yasuo) . Fixed bug #49175 (mod_files.sh does not support hash bits). Patch by oorza2k5 at gmail dot com (Yasuo) - Sockets: . Implemented FR #63472 (Setting SO_BINDTODEVICE with socket_set_option). (Damjan Cvetko) - SPL: . Fixed bug #65136 (RecursiveDirectoryIterator segfault). (Laruence) . Fixed bug #61828 (Memleak when calling Directory(Recursive)Iterator /Spl(Temp)FileObject ctor twice). (Laruence) . Fixed bug #60560 (SplFixedArray un-/serialize, getSize(), count() return 0, keys are strings). (Adam) - XML: . Fixed bug #65236 (heap corruption in xml parser, CVE-2013-4113). (Rob)
62 lines
1.7 KiB
Makefile
62 lines
1.7 KiB
Makefile
# $NetBSD: Makefile,v 1.14 2013/08/16 15:28:23 taca Exp $
|
|
|
|
#
|
|
# We can't omit PKGNAME here to handle PKG_OPTIONS.
|
|
#
|
|
PKGNAME= php-${PHP_BASE_VERS}
|
|
CATEGORIES= lang
|
|
|
|
HOMEPAGE= http://www.php.net/
|
|
COMMENT= PHP Hypertext Preprocessor version 5.4
|
|
LICENSE= php
|
|
|
|
TEST_TARGET= test
|
|
|
|
USE_TOOLS+= gmake lex pkg-config
|
|
LIBTOOL_OVERRIDE= # empty
|
|
PHP_CHECK_INSTALLED= No
|
|
|
|
PHP_VERSIONS_ACCEPTED= 54
|
|
|
|
.include "Makefile.php"
|
|
|
|
CGIDIR= ${PREFIX}/libexec/cgi-bin
|
|
EGDIR= ${PREFIX}/share/examples/php
|
|
MESSAGE_SUBST+= CGIDIR=${CGIDIR}
|
|
|
|
CONFIGURE_ENV+= lt_cv_path_SED=${SED:Q}
|
|
MAKE_ENV+= INSTALL_ROOT=${DESTDIR}
|
|
|
|
CONF_FILES= ${EGDIR}/php.ini-production ${PKG_SYSCONFDIR}/php.ini
|
|
PLIST_SUBST+= PHPEXTDIR="${PHP_EXTENSION_DIR}"
|
|
|
|
SUBST_CLASSES+= path
|
|
SUBST_MESSAGE.path= Fixing common paths.
|
|
SUBST_STAGE.path= pre-configure
|
|
SUBST_FILES.path= ext/phar/phar/phar.php
|
|
SUBST_FILES.path+= php.ini-development php.ini-production run-tests.php
|
|
SUBST_FILES.path+= sapi/cgi/Makefile.frag
|
|
SUBST_SED.path= -e 's,@CGIDIR@,${CGIDIR},g'
|
|
SUBST_SED.path+= -e 's,@PREFIX@,${PREFIX},g'
|
|
|
|
INSTALLATION_DIRS+= ${CGIDIR} ${PHP_EXTENSION_DIR} ${EGDIR} share/php
|
|
|
|
# Make sure modules can link correctly
|
|
.if ${OPSYS} == "Darwin"
|
|
INSTALL_UNSTRIPPED= yes
|
|
.endif
|
|
|
|
post-extract:
|
|
cd ${WRKSRC} && \
|
|
${FIND} . -xdev -type f -name '*.orig' -exec ${RM} -f {} \;
|
|
|
|
post-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/sapi/cli/php ${DESTDIR}${PREFIX}/bin/php
|
|
${INSTALL_DATA} ${WRKSRC}/sapi/cli/php.1 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/php.1
|
|
${INSTALL_PROGRAM} ${WRKSRC}/sapi/cgi/php-cgi ${DESTDIR}${CGIDIR}/php
|
|
cd ${WRKSRC}; ${INSTALL_DATA} php.ini-development php.ini-production \
|
|
${DESTDIR}${EGDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/php.gif ${DESTDIR}${PREFIX}/share/php
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|