summaryrefslogtreecommitdiff
path: root/lang/php5/Makefile
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2006-05-06 22:42:44 +0000
committerjdolecek <jdolecek@pkgsrc.org>2006-05-06 22:42:44 +0000
commit37eac0eca5cb4174f96e66d774d3a2a8e87de19d (patch)
tree9142189f5bc0b12ec359ddc2c609df90ff4213c5 /lang/php5/Makefile
parentf9355d585c581b1d59ffcbd1bba1439d532e77fd (diff)
downloadpkgsrc-37eac0eca5cb4174f96e66d774d3a2a8e87de19d.tar.gz
Update lang/php5 to 5.1.4.
Some of the key changes include: * Disallow certain characters in session names. * Fixed a buffer overflow inside the wordwrap() function. * Prevent jumps to parent directory via the 2nd parameter of the tempnam() function. * Enforce safe_mode for the source parameter of the copy() function. * Fixed cross-site scripting inside the phpinfo() function. * Fixed offset/length parameter validation inside the substr_compare() function. * Fixed a heap corruption inside the session extension. * Fixed a bug that would allow variable to survive unset(). * Fixed a number of crashes in the DOM, SOAP and PDO extensions. * Upgraded bundled PCRE library to version 6.6 * The use of the var keyword to declare properties no longer raises a deprecation E_STRICT. * FastCGI interface was completely reimplemented. * Multitude of improvements to the SPL, SimpleXML, GD, CURL and Reflection extensions. * Over 120 various bug fixes. See release annoucement on: http://www.php.net/release_5_1_3.php And ChangeLog: http://www.php.net/ChangeLog-5.php#5.1.3
Diffstat (limited to 'lang/php5/Makefile')
-rw-r--r--lang/php5/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/lang/php5/Makefile b/lang/php5/Makefile
index be2ba45423b..078885a15ed 100644
--- a/lang/php5/Makefile
+++ b/lang/php5/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.29 2006/04/14 13:47:29 cube Exp $
+# $NetBSD: Makefile,v 1.30 2006/05/06 22:42:44 jdolecek Exp $
PKGNAME= php-${PHP_BASE_VERS}
-PKGREVISION= 1
+#PKGREVISION= # empty
CATEGORIES= lang
HOMEPAGE= http://www.php.net/
@@ -31,12 +31,7 @@ EGDIR= ${PREFIX}/share/examples/php
CONF_FILES= ${EGDIR}/php.ini-recommended ${PKG_SYSCONFDIR}/php.ini
OWN_DIRS= ${PREFIX}/${PHP_EXTENSION_DIR}
-# pear must be patched using post-install, it's extracted from binary .phar
-# file during installation; this replaces former patches/patch-al
post-install:
- ${SED} -e 's,\(-d output_buffering=1\) \(\$$INCDIR/pearcmd.php\),\1 -n \2,' ${PREFIX}/bin/pear > ${PREFIX}/bin/pear.new && \
- ${MV} ${PREFIX}/bin/pear.new ${PREFIX}/bin/pear && \
- ${CHMOD} 755 ${PREFIX}/bin/pear
${INSTALL_PROGRAM} ${WRKSRC}/sapi/cli/php ${PREFIX}/bin/php
${INSTALL_DATA} ${WRKSRC}/sapi/cli/php.1 ${PREFIX}/${PKGMANDIR}/man1/php.1
${INSTALL_DATA_DIR} ${CGIDIR}