pkgsrc/www/php4/Makefile.common
cube a630484f42 Update to version 4.4.2. Ok'd by jdolecek@.
This is a bug fix release, which addresses some security problems too.
The major points that this release corrects are:

    * Prevent header injection by limiting each header to a single line.
    * Possible XSS inside error reporting functionality.
    * Missing safe_mode/open_basedir checks into cURL extension.
    * Apache 2 regression with sub-request handling on non-Linux systems.
    * key() and current() regression related to references.

This release also fixes about 30 other defects.
2006-03-03 07:11:34 +00:00

37 lines
1 KiB
Makefile

# $NetBSD: Makefile.common,v 1.52 2006/03/03 07:11:34 cube Exp $
DISTNAME?= php-${PHP_DIST_VERS}
CATEGORIES+= www php4
.if !defined(PECL_VERSION)
MASTER_SITES?= http://www.php.net/distributions/ \
http://php3.de/distributions/ \
ftp://ftp.php.net/pub/distributions/
EXTRACT_SUFX?= .tar.bz2
.endif
MAINTAINER?= jdolecek@NetBSD.org
HOMEPAGE?= http://www.php.net/
# Version numbering scheme:
#
# PHP_DIST_VERS version number on the php distfile
# PHP_BASE_VERS pkgsrc-mangled version number (convert pl -> .)
#
PHP_DIST_VERS= 4.4.2
PHP_BASE_VERS= ${PHP_DIST_VERS}
DISTFILES?= ${PHP_DISTFILE}
PHP_DISTFILE= ${DISTNAME}${EXTRACT_SUFX}
# Location of installed PHP4 loadable modules under ${PREFIX}.
# This is derived from the value of `php-config --extension-dir`.
# The number for the last part of the path represents a specific version
# of the Zend API.
#
PHP_EXTENSION_DIR= lib/php/20020429
PLIST_SUBST+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR:Q}
PKG_SYSCONFVAR?= php
.include "../../mk/bsd.prefs.mk"