head	1.39;
access;
symbols
	RELEASE_8_3_0:1.28
	RELEASE_9_0_0:1.23
	RELEASE_7_4_0:1.17
	RELEASE_8_2_0:1.17
	RELEASE_6_EOL:1.10
	RELEASE_8_1_0:1.6;
locks; strict;
comment	@# @;


1.39
date	2013.02.18.07.18.25;	author svnexp;	state Exp;
branches;
next	1.38;

1.38
date	2013.02.18.06.55.51;	author svnexp;	state Exp;
branches;
next	1.37;

1.37
date	2012.12.10.19.24.02;	author svnexp;	state Exp;
branches;
next	1.36;

1.36
date	2012.11.25.15.53.56;	author svnexp;	state Exp;
branches;
next	1.35;

1.35
date	2012.11.17.05.58.55;	author svnexp;	state Exp;
branches;
next	1.34;

1.34
date	2012.09.20.03.02.43;	author bdrewery;	state Exp;
branches;
next	1.33;

1.33
date	2012.08.18.14.29.08;	author ohauer;	state Exp;
branches;
next	1.32;

1.32
date	2012.07.23.04.14.11;	author rm;	state Exp;
branches;
next	1.31;

1.31
date	2012.06.30.23.00.58;	author rm;	state Exp;
branches;
next	1.30;

1.30
date	2012.05.16.07.36.34;	author ale;	state Exp;
branches;
next	1.29;

1.29
date	2012.05.05.15.18.08;	author rm;	state Exp;
branches;
next	1.28;

1.28
date	2012.03.01.09.02.09;	author rm;	state Exp;
branches;
next	1.27;

1.27
date	2012.02.14.12.44.23;	author mm;	state Exp;
branches;
next	1.26;

1.26
date	2012.01.18.17.27.09;	author lwhsu;	state Exp;
branches;
next	1.25;

1.25
date	2012.01.02.18.26.27;	author rm;	state Exp;
branches;
next	1.24;

1.24
date	2012.01.01.16.47.34;	author ohauer;	state Exp;
branches;
next	1.23;

1.23
date	2011.11.01.15.58.47;	author miwi;	state Exp;
branches;
next	1.22;

1.22
date	2011.09.29.17.53.25;	author delphij;	state Exp;
branches;
next	1.21;

1.21
date	2011.09.26.09.24.15;	author dougb;	state Exp;
branches;
next	1.20;

1.20
date	2011.09.23.22.23.45;	author amdmi3;	state Exp;
branches;
next	1.19;

1.19
date	2011.08.20.17.27.33;	author ohauer;	state Exp;
branches;
next	1.18;

1.18
date	2011.06.29.19.51.17;	author jlaffaye;	state Exp;
branches;
next	1.17;

1.17
date	2011.01.09.18.56.55;	author mm;	state Exp;
branches;
next	1.16;

1.16
date	2010.12.31.12.56.36;	author mm;	state Exp;
branches;
next	1.15;

1.15
date	2010.12.22.20.05.44;	author ade;	state Exp;
branches;
next	1.14;

1.14
date	2010.12.17.11.30.56;	author mm;	state Exp;
branches;
next	1.13;

1.13
date	2010.12.10.22.24.27;	author mm;	state Exp;
branches;
next	1.12;

1.12
date	2010.12.10.12.38.54;	author mm;	state Exp;
branches;
next	1.11;

1.11
date	2010.12.04.07.32.24;	author ade;	state Exp;
branches;
next	1.10;

1.10
date	2010.10.16.11.52.15;	author ade;	state Exp;
branches;
next	1.9;

1.9
date	2010.09.15.18.34.39;	author ade;	state Exp;
branches;
next	1.8;

1.8
date	2010.07.26.08.56.15;	author mm;	state Exp;
branches;
next	1.7;

1.7
date	2010.07.25.15.39.17;	author mm;	state Exp;
branches;
next	1.6;

1.6
date	2010.06.16.10.12.36;	author mm;	state Exp;
branches;
next	1.5;

1.5
date	2010.06.05.19.52.11;	author miwi;	state Exp;
branches;
next	1.4;

1.4
date	2010.05.31.01.59.34;	author ade;	state Exp;
branches;
next	1.3;

1.3
date	2010.04.27.05.46.40;	author dinoex;	state Exp;
branches;
next	1.2;

1.2
date	2010.04.25.05.02.23;	author dinoex;	state Exp;
branches;
next	1.1;

1.1
date	2010.04.23.15.03.12;	author dinoex;	state Exp;
branches;
next	;


desc
@@


1.39
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312482
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Alex Keda <admin@@lissyara.su>
# $FreeBSD: head/lang/php52/Makefile 312482 2013-02-18 06:01:51Z miwi $

PORTNAME=	php52
PORTVERSION=	5.2.17
PORTREVISION=	13
CATEGORIES?=	lang devel www
MASTER_SITES=	${MASTER_SITE_PHP}
MASTER_SITE_SUBDIR=	distributions
DISTNAME=	php-${PORTVERSION}

MAINTAINER=	admin@@lissyara.su
COMMENT=	PHP Scripting Language

DEPRECATED=		PHP 5.2 series is strongly discouraged for new \
			installations, migrate now
EXPIRATION_DATE=	2013-09-01

LATEST_LINK=	${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}

USE_BZIP2=	yes
MAKE_JOBS_SAFE=	yes

# BACKPORTS patch for lang/php52 and all php52-extensions
PATCHFILES=	php52-backports-security-20121114.patch
PATCH_SITES+=	http://php52-backports.googlecode.com/files/

.if !defined(PKGNAMESUFFIX)
USE_AUTOTOOLS=	autoconf
AUTOTOOLSFILES=	scripts/phpize.in

CONFIGURE_ARGS=	\
		--with-layout=GNU \
		--with-config-file-scan-dir=${PREFIX}/etc/php \
		--disable-all \
		--enable-libxml \
		--with-libxml-dir=${LOCALBASE} \
		--enable-reflection \
		--program-prefix=""

USE_GNOME=	libxml2

OPTIONS=	CLI "Build CLI version" on \
		CGI "Build CGI version" on \
		APACHE "Build Apache module" off \
		DEBUG "Enable debug" off \
		SUHOSIN "Enable Suhosin protection system (not for jails)" on \
		MULTIBYTE "Enable zend multibyte support" off \
		IPV6 "Enable ipv6 support" on \
		MAILHEAD "Enable mail header patch" off \
		REDIRECT "Enable force-cgi-redirect support (CGI only)" off \
		DISCARD "Enable discard-path support (CGI only)" off \
		FASTCGI "Enable fastcgi support (CGI only)" on \
		FPM "Enable fastcgi process manager (CGI only)" off \
		PATHINFO "Enable path-info-check support (CGI only)" on \
		LINKTHR "Link thread lib (for threaded extensions)" off

CONFLICTS=	php53-5* php5-5*

MAN1=		php-config.1 phpize.1

.include <bsd.port.pre.mk>

PATCH_DIST_STRIP=	-p1

.if defined(WITH_FPM) && defined(WITH_CGI)
. if defined(WITHOUT_FASTCGI)
IGNORE=		FPM requires FastCGI support
. endif
PATCHFILES+=	php-5.2.14-fpm-0.5.14-freebsd.patch.gz
PATCH_SITES+=	${MASTER_SITE_LOCAL}
PATCH_SITE_SUBDIR+=	mm
LIB_DEPENDS+=	event-1.4:${PORTSDIR}/devel/libevent
PHP_FPM_UID?=	www
PHP_FPM_GID?=	www
PHP_FPM_PID?=	/var/run/php-fpm/php-fpm.pid
PHP_FPM_LOG?=	/var/log/php-fpm/php-fpm.log
SUB_FILES+=	php-fpm.conf.sample
SUB_LIST+=	PHP_FPM_UID=${PHP_FPM_UID} \
		PHP_FPM_GID=${PHP_FPM_GID} \
		PHP_FPM_PID=${PHP_FPM_PID} \
		PHP_FPM_LOG=${PHP_FPM_LOG}
USE_RC_SUBR+=	php-fpm
PLIST_SUB+=	FPM="" \
		PHP_FPM_PID=${PHP_FPM_PID} \
		PHP_FPM_LOG=${PHP_FPM_LOG}

CONFIGURE_ARGS+=	--enable-fpm \
			--with-fpm-conf=${PREFIX}/etc/php-fpm.conf \
			--with-fpm-pid=${PHP_FPM_PID} \
			--with-fpm-log=${PHP_FPM_LOG} \
			--with-libevent=${LOCALBASE}
.else
PLIST_SUB+=	FPM="@@comment "
.endif

.if !defined(WITHOUT_SUHOSIN)
PATCHFILES+=	suhosin-patch-5.2.16-0.9.7.patch.gz:suhosin
PATCH_SITES+=	http://download.suhosin.org/:suhosin
PLIST_SUB+=	SUHOSIN=""
.else
PLIST_SUB+=	SUHOSIN="@@comment "
.endif

.if defined(WITH_MAILHEAD)
#PATCHFILES+=	php-${PORTVERSION}-mail-header.patch:mail
PATCHFILES+=	php-5.2.10-mail-header.patch:mail
PATCH_SITES+=	http://choon.net/opensource/php/:mail
.endif

.if !defined(WITHOUT_CLI)
PHP_SAPI+=	cli
PLIST_SUB+=	CLI=""
MAN1+=		php.1
.else
PLIST_SUB+=	CLI="@@comment "
CONFIGURE_ARGS+=--disable-cli
.endif

.if !defined(WITHOUT_CGI)
PHP_SAPI+=	cgi
PLIST_SUB+=	CGI=""
.if defined(WITH_REDIRECT)
CONFIGURE_ARGS+=--enable-force-cgi-redirect
.endif
.if defined(WITH_DISCARD)
CONFIGURE_ARGS+=--enable-discard-path
.endif
.if !defined(WITHOUT_FASTCGI)
CONFIGURE_ARGS+=--enable-fastcgi
.endif
.if defined(WITHOUT_PATHINFO)
CONFIGURE_ARGS+=--disable-path-info-check
.endif
.else
PLIST_SUB+=	CGI="@@comment "
CONFIGURE_ARGS+=--disable-cgi
.endif

.if defined(WITH_APACHE)
PHP_SAPI+=	mod
USE_APACHE=	22+
.include "${PORTSDIR}/Mk/bsd.apache.mk"
CONFIGURE_ARGS+=--with-apxs2=${APXS}
PKGMESSAGE=	${PKGDIR}/pkg-message.mod
MODULENAME=	libphp5
SHORTMODNAME=	php5
PLIST_SUB+=	APACHE=""
.else
PLIST_SUB+=	APACHE="@@comment "
.endif

.if !defined(WITH_REGEX_TYPE) || ${WITH_REGEX_TYPE} == "php"
CONFIGURE_ARGS+=--with-regex=php
.elif defined(WITH_REGEX_TYPE) && ${WITH_REGEX_TYPE} == "system"
CONFIGURE_ARGS+=--with-regex=system
.elif defined(WITH_REGEX_TYPE) && ${WITH_REGEX_TYPE} == "apache"
CONFIGURE_ARGS+=--with-regex=apache
.endif

.if !defined(WITH_ZEND_VM) || ${WITH_ZEND_VM} == "CALL"
CONFIGURE_ARGS+=--with-zend-vm=CALL
.elif defined(WITH_ZEND_VM) && ${WITH_ZEND_VM} == "SWITCH"
CONFIGURE_ARGS+=--with-zend-vm=SWITCH
.elif defined(WITH_ZEND_VM) && ${WITH_ZEND_VM} == "GOTO"
CONFIGURE_ARGS+=--with-zend-vm=GOTO
.endif

CONFIGURE_ENV+=	ac_cv_pthreads_lib="" \
		ac_cv_pthreads_cflags="" \
		pthreads_working="yes" \
		lt_cv_path_SED="sed"

.if defined(WITH_LINKTHR)
CONFIGURE_ENV+=	LIBS="${LIBS} ${PTHREAD_LIBS}"
.endif

.if defined(WITH_DEBUG)
CONFIGURE_ARGS+=--enable-debug
.endif

.if defined(WITH_MULTIBYTE)
CONFIGURE_ARGS+=--enable-zend-multibyte
.endif

.if defined(WITHOUT_IPV6)
CONFIGURE_ARGS+=--disable-ipv6
.endif

post-patch:
	@@${TOUCH} ${WRKSRC}/ext/php_config.h
	@@${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-*
.if defined(WITH_FPM) && defined(WITH_CGI)
	@@${REINPLACE_CMD} -e 's,BUILD_CGI=\"\\$$\(.*\)\\$$(EXTRA_LIBS),BUILD_CGI=\"\\$$\1\\$$(EXTRA_LIBS) \\$$(SAPI_EXTRA_LIBS),g' \
		${WRKSRC}/sapi/cgi/config9.m4
.endif

# Work around issues with newer (>=2.64) autoconf
pre-configure:
	@@${REINPLACE_CMD} -E 's:^((m4_)?divert)[(]([0-9]*)[)]:\1(600\3):' \
		${WRKSRC}/configure.in `${FIND} ${WRKSRC} -name '*.m4'`
	@@${RM} ${WRKSRC}/configure
	@@${CAT} ${WRKSRC}/acinclude.m4 ${WRKSRC}/build/libtool.m4 > ${WRKSRC}/aclocal.m4

post-build:
	@@${ECHO_CMD} "PHP_VER=52" > ${WRKDIR}/php.conf
	@@${ECHO_CMD} "PHP_VERSION=${PORTVERSION}" >> ${WRKDIR}/php.conf
	@@${ECHO_CMD} "PHP_SAPI=${PHP_SAPI}" >> ${WRKDIR}/php.conf

post-install:
	@@${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc
	@@${INSTALL_DATA} ${WRKSRC}/php.ini-recommended ${PREFIX}/etc
	@@${INSTALL_DATA} ${WRKDIR}/php.conf ${PREFIX}/etc
	@@${TOUCH} ${PREFIX}/include/php/ext/php_config.h
.if defined(WITH_FPM) && defined(WITH_CGI)
	@@${INSTALL_DATA} ${WRKDIR}/php-fpm.conf.sample ${PREFIX}/etc
	@@${MKDIR} `dirname ${PHP_FPM_PID}`
	@@${MKDIR} `dirname ${PHP_FPM_LOG}`
	@@cd ${PREFIX}/etc && ${CP} -n php-fpm.conf.sample php-fpm.conf
.endif
.if defined(WITH_APACHE)
	@@${CAT} ${PKGMESSAGE}
.endif

.else
.include "${MASTERDIR}/Makefile.ext"
.endif
.include <bsd.port.post.mk>
@


1.38
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312481
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 2
a2 6
# New ports collection makefile for:	php52
# Date created:				17 Apr 2010
# Whom:					Alex Keda <admin@@lissyara.su>
#
# $FreeBSD: head/lang/php52/Makefile 312481 2013-02-18 06:00:58Z miwi $
#
@


1.37
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308630
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308630 | mm | 2012-12-10 19:11:11 +0000 (Mon, 10 Dec 2012) | 4 lines
## SVN ##
## SVN ## Update PCRE to 8.32
## SVN ## Introduces the UTF-32 library pcre32
## SVN ## Bump PORTREVISION in dependent ports
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d5 1
a5 1
# $FreeBSD: head/lang/php52/Makefile 308630 2012-12-10 19:11:11Z mm $
d21 1
a21 1
EXPIRATION_DATE=	2013-03-01
@


1.36
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 307747
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r307747 | flo | 2012-11-25 15:42:22 +0000 (Sun, 25 Nov 2012) | 27 lines
## SVN ##
## SVN ## - Update backports patch to 20121114
## SVN ## - Bump PORTREVISION
## SVN ##
## SVN ## Changes:
## SVN ## - CVE-2006-7243
## SVN ## PHP before 5.3.4 accepts the \0 character in a pathname, which might allow
## SVN ## context-dependent attackers to bypass intended access restrictions by placing a
## SVN ## safe file extension after this character, as demonstrated by .php\0.jpg at the
## SVN ## end of the argument to the file_exists function
## SVN ##
## SVN ## Secuity 3761df02-0f9c-11e0-becc-0022156e8794 fixed by check in fopen functions
## SVN ## for strlen(filename) != filename_len
## SVN ##
## SVN ## - CVE-2012-4388
## SVN ## The sapi_header_op function in main/SAPI.c does not properly determine a pointer
## SVN ## during checks for %0D sequences (aka carriage return characters), which allows
## SVN ## remote attackers to bypass an HTTP response-splitting protection mechanism via a
## SVN ## crafted URL, this vulnerability exists because of an incorrect fix for
## SVN ## CVE-2011-1398.
## SVN ##
## SVN ## - Timezone database updated to version 2012.9 (2012i)
## SVN ##
## SVN ## PR:		ports/173685
## SVN ## Submitted by:	Svyatoslav Lempert <svyatoslav.lempert@@gmail.com>
## SVN ## Approved by:	maintainer
## SVN ## Feature safe:	yes
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d5 1
a5 1
# $FreeBSD: head/lang/php52/Makefile 307747 2012-11-25 15:42:22Z flo $
d10 1
a10 1
PORTREVISION=	12
@


1.35
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/lang/php52/Makefile 304559 2012-09-20 03:02:43Z bdrewery $
d10 1
a10 1
PORTREVISION=	11
d29 1
a29 1
PATCHFILES=	php52-backports-security-20120911.patch
@


1.34
log
@SVN rev 304559 on 2012-09-20 03:02:43Z by bdrewery

- Update php52 backports patch to 20120911
- Add and update relevant vuxml entries

Changes:
  - CVE-2011-1398 - The sapi_header_op function in main/SAPI.c in PHP
    before 5.3.11 does not properly handle %0D sequences
  - CVE-2012-0789 - Memory leak in the timezone functionality in PHP
    before 5.3.9 allows remote attackers to cause a denial of service
    (memory consumption) by triggering many strtotime function calls,
    which are not properly handled by the php_date_parse_tzfile cache.
  - CVE-2012-3365 - The SQLite functionality in PHP before 5.3.15 allows
    remote attackers to bypass the open_basedir protection mechanism via
     unspecified vectors
  - Timezone database updated to version 2012.5 (2012e) (from 2011.13 (2011m))
  - Minor improvements (CVE-2012-2688, compilation issues with old GCC)

PR:		ports/171583
Submitted by:	Svyatoslav Lempert <svyatoslav.lempert@@gmail.com>
Approved by:	Alex Keda <admin@@lissyara.su> (maintainer)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.33
log
@SVN rev 302724 on 2012-08-18 14:29:08Z by ohauer

- remove www/apache20 and devel/apr0
- s/USE_APACHE= 20+/USE_APACHE= 22+/
- unify s/YES/yes/
- cleanup APACHE_VERSION <= 22 usage
- add entry to MOVED

with hat apache@@
@
text
@d10 1
a10 1
PORTREVISION=	10
d29 1
a29 1
PATCHFILES=	php52-backports-security-20120721.patch
@


1.32
log
@SVN rev 301364 on 2012-07-23 04:14:11Z by rm

- update backports patch to 20120721
- bump PORTREVISION

PR:		170063
Submitted by:	Svyatoslav Lempert <svyatoslav.lempert at gmail dot com>
Approved by:	Alex Keda <admin at lissyara dot su> (maintainer)
@
text
@d146 1
a146 1
USE_APACHE=	20+
@


1.31
log
@- update backports patch to 20120526
- bump PORTREVISION

PR:		169272
Submitted by:	Svyatoslav Lempert <svyatoslav.lempert at gmail dot com>
Approved by:	Alex Keda <admin at lissyara dot su> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	9
d29 2
a30 2
PATCHFILES=	php52-backports-security-20120526.patch
PATCH_SITES=	http://php52-backports.googlecode.com/files/
@


1.30
log
@Fix conflicts and remove unsupported/unused extensions.
@
text
@d10 1
a10 1
PORTREVISION=	8
d29 1
a29 1
PATCHFILES=	php52-backports-security-20120504.patch
@


1.29
log
@- apply BACKPORTS patch unconditionally and remove BACKPORTS option
- update backports patch to latest version (20120504)
- align pathnames in slave ports
- bump PORTREVISION

The only drawback of this change is that now for building of every slave
port (php extension) we extracting full php52 source tree.

Apologies that it took that long.

PR:		164849
Submitted by:	Svyatoslav Lempert <svyatoslav.lempert at gmail dot com>
Approved by:	Alex Keda <admin at lissyara dot su>
Security:	60de13d5-95f0-11e1-806a-001143cd36d8
@
text
@d62 1
a62 1
CONFLICTS=	php4-4* php5-5.3*
@


1.28
log
@- extend DEPRECATION_DATE till year 2013.

This was discussed on freebsd-ports@@ (linimon).
@
text
@d10 1
a10 1
PORTREVISION=	7
d27 5
d60 1
a60 2
		LINKTHR "Link thread lib (for threaded extensions)" off \
		BACKPORTS "Enable backported security and bugfix patches" on
a193 7
.if defined(WITH_BACKPORTS)
PATCHFILES+=	php52-backports-security-20120117.patch
PATCH_SITES+=	http://php52-backports.googlecode.com/files/
.else
FORBIDDEN=	Vulnerable since 2011-01-13, http://portaudit.freebsd.org/3761df02-0f9c-11e0-becc-0022156e8794.html
.endif

@


1.27
log
@Bump pcre library dependency due to 8.30 update
Add (vendor) patch for deprecated pcre_info()
@
text
@d19 3
a21 2
DEPRECATED=		PHP 5.2 series is not supported anymore, migrate now
EXPIRATION_DATE=	2012-03-01
@


1.26
log
@- CVE-2011-4566 fix in 20120117 security patchset

PR:		ports/164286
Submitted by:	Svyatoslav Lempert <svyatoslav.lempert@@gmail.com>
Approved by:	Alex Keda <admin@@lissyara.su> (maintainer)
Security:	d3921810-3c80-11e1-97e8-00215c6a37bb
@
text
@d10 1
a10 1
PORTREVISION=	6
@


1.25
log
@Update to lastest security patchset 20120103: added max_input_vars directive
(default "1000") to prevent attacks based on hash collisions (from PHP 5.4 RC4)

PR:		163782
Submitted by:	Svyatoslav Lempert <svyatoslav.lempert at gmail dot com>
Approved by:	maintainer
@
text
@d10 1
a10 1
PORTREVISION=	5
d190 1
a190 1
PATCHFILES+=	php52-backports-security-20120103.patch
@


1.24
log
@- change required APACHE version from 13+ to 20+
  (prepare to remove www/apache13)

- no PORTREVISION bump since apache22 is the default

with hat apache@@
@
text
@d10 1
a10 1
PORTREVISION=	4
d190 1
a190 1
PATCHFILES+=	php52-backports-security-20111030.patch
@


1.23
log
@- Update to lastest security patchset: 20111030
- Move removal date to 2012-03-01
- Bump PORTREVISION

PR:		162165
Submitted by:	Svyatoslav Lempert <svyatoslav.lempert@@gmail.com>
Approved by:	maintainer
@
text
@d141 1
a141 1
USE_APACHE=	13+
a142 1
.if ${APACHE_VERSION} > 13
a143 3
.else
CONFIGURE_ARGS+=--with-apxs=${APXS}
.endif
@


1.22
log
@ - security fixes for CVE-2011-2202, CVE-2011-1938, CVE-2011-1148,
   CVE-2011-0708, CVE-2011-1092, CVE-2011-0421 vulnerabilities
 - option BACKPORTS in port config for enable port patches (enabled
   by default)
 - bump PORTREVISION

Submitted by:	Svyatoslav Lempert <svyatoslav.lempert gmail.com>
PR:		ports/160805
Approved by:	maintainer
@
text
@d10 1
a10 1
PORTREVISION=	3
d20 1
a20 1
EXPIRATION_DATE=	2011-10-14
d194 1
a194 6
PATCHFILES+=	php-5.2.17-CVE-2011-0421.patch \
		php-5.2.17-CVE-2011-0708.patch \
		php-5.2.17-CVE-2011-1092.patch \
		php-5.2.17-CVE-2011-1148.patch \
		php-5.2.17-CVE-2011-1938.patch \
		php-5.2.17-CVE-2011-2202.patch
@


1.21
log
@Mark FORBIDDEN the remaining ports that are vulnerable for more than
2 weeks according to portaudit (ranging from 23 days to 7 years).
The maintainers were notified by mail that this action would be taken
on 2011-09-03. (Ports for which maintainers responded have been/will be
dealt with separately.)

Also mark DEPRECATED ports that rely on the FORBIDDEN ports, and a few
ports that rely on those DEPRECATED ports.
@
text
@d10 1
a10 1
PORTREVISION=	2
d19 1
a19 1
FORBIDDEN=	Vulnerable since 2011-01-13, http://portaudit.freebsd.org/3761df02-0f9c-11e0-becc-0022156e8794.html
d54 2
a55 1
		LINKTHR "Link thread lib (for threaded extensions)" off
d193 12
@


1.20
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d19 3
@


1.19
log
@ - bump PORTREVISION from ports if USE_APACHE=13+ or 20+ is defined
@
text
@a172 2
MAKE_ENV+=	LDFLAGS="${LDFLAGS}"

d174 1
a174 1
CONFIGURE_ENV+=        LIBS="${LIBS} ${PTHREAD_LIBS}"
@


1.18
log
@Add an option to link against libthr

PR:		ports/158423
Submitted by:	Frank Wall <fw@@moov.de>
Approved by:	Alex Keda <admin@@lissyara.su> (maintainer), bapt (mentor, implicit)
@
text
@d10 1
a10 1
PORTREVISION=	1
d137 1
a137 1
USE_APACHE=	1.3+
@


1.17
log
@Update to 5.2.17

Approved by:	Alex Keda <admin@@lissyara.su> (maintainer, private e-mail)
@
text
@d10 1
d50 2
a51 1
		PATHINFO "Enable path-info-check support (CGI only)" on
d175 4
@


1.16
log
@- Update suhosin patch
- Portrevision bump not required

PR:		ports/153579
Approved by:	Alex Keda <admin@@lissyara.su> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	5.2.16
d91 1
a91 1
PATCHFILES+=	suhosin-patch-${PORTVERSION}-0.9.7.patch.gz:suhosin
@


1.15
log
@Sync to final (for now) bsd.autotools.mk
@
text
@d91 1
a91 1
PATCHFILES+=	suhosin-patch-5.2.14-0.9.7.patch.gz:suhosin
@


1.14
log
@- Update to 5.2.16

PR:		ports/153246
Approved by:	Alex Keda <admin@@lissyara.su> (maintainer)
@
text
@d24 1
@


1.13
log
@- Add patch that fixes PHP bug #53516 (open_basedir not working)

PR:		ports/152981
Submitted by:	Alex Keda <admin@@lissyara.su>
@
text
@d9 1
a9 2
PORTVERSION=	5.2.15
PORTREVISION=	1
@


1.12
log
@- Update to 5.2.15

PR:		ports/152981
Approved by:	Alex Keda <admin@@lissyara.su> (maintainer)
@
text
@d10 1
@


1.11
log
@Sync to new bsd.autotools.mk
@
text
@d9 1
a9 2
PORTVERSION=	5.2.14
PORTREVISION=	1
d62 1
a62 1
PATCHFILES+=	php-${PORTVERSION}-fpm-0.5.14-freebsd.patch.gz
d90 1
a90 1
PATCHFILES+=	suhosin-patch-${PORTVERSION}-0.9.7.patch.gz:suhosin
@


1.10
log
@Punt autoconf267->autoconf268
@
text
@d24 1
a24 1
USE_AUTOTOOLS=	autoconf:268
@


1.9
log
@Autotools update.   Read ports/UPDATING 20100915 for details.

Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
@
text
@d24 1
a24 1
USE_AUTOTOOLS=	autoconf:267
@


1.8
log
@Update php52 to 5.2.14

PR:		ports/148951
Approved by:	Alex Keda <admin@@lissyara.su> (maintainer)
@
text
@d10 1
d24 1
a24 1
USE_AUTOTOOLS=	autoconf:262
d193 1
d195 3
@


1.7
log
@Update libevent to 1.4.14b

PR:		ports/147723
Approved by:	maintainer (timeout)
@
text
@d9 1
a9 2
PORTVERSION=	5.2.13
PORTREVISION=	4
d62 1
a62 1
PATCHFILES+=	php-5.2.13-fpm-0.5.14-freebsd.patch.gz
@


1.6
log
@- Add optional support for PHP-FPM (FastCGI process manager)
- Add sample configuration file and rc script for PHP-FPM

PR:		ports/147688
Approved by:	Alex Keda <admin@@lissyara.su> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	3
@


1.5
log
@- Disable ZTS for Apache MPM-ITK for Zend Optimizer

PR:		147075
Submitted by:	Kuzma Bukin <kuzma.bukin@@gmail.com>
Approved by:	maintainer
@
text
@d10 1
a10 1
PORTREVISION=	2
d48 1
d59 31
d188 4
d206 6
@


1.4
log
@Bounce PORTREVISION for gettext-related ports.  Have fun, ya'll.
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.3
log
@- update to 5.2.13
Sumbitted by:	Alex Keda (maintainer)
@
text
@d10 1
@


1.2
log
@- fix name of apache module
Submitted by:	Alex Keda
@
text
@d9 1
a9 2
PORTVERSION=	5.2.12
PORTREVISION?=	2
d58 1
a58 2
#PATCHFILES+=	suhosin-patch-${PORTVERSION}-0.9.7.patch.gz:suhosin
PATCHFILES+=	suhosin-patch-5.2.11-0.9.7.patch.gz:suhosin
@


1.1
log
@PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open
Source general-purpose scripting language that is especially suited for
Web development and can be embedded into HTML.  Its syntax draws upon C,
Java, and Perl, and is easy to learn.  The main goal of the language is to
allow web developers to write dynamically generated webpages quickly, but
you can do much more with PHP.

WWW: http://www.php.net/
PR:		145772
Submitted by:	Alex Keda
@
text
@d112 2
a113 2
MODULENAME=	lib${PORTNAME}
SHORTMODNAME=	${PORTNAME}
@

