Lines 7-13
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= php52 |
8 |
PORTNAME= php52 |
9 |
PORTVERSION= 5.2.17 |
9 |
PORTVERSION= 5.2.17 |
10 |
PORTREVISION= 2 |
10 |
PORTREVISION= 3 |
11 |
CATEGORIES?= lang devel www |
11 |
CATEGORIES?= lang devel www |
12 |
MASTER_SITES= ${MASTER_SITE_PHP} |
12 |
MASTER_SITES= ${MASTER_SITE_PHP} |
13 |
MASTER_SITE_SUBDIR= distributions |
13 |
MASTER_SITE_SUBDIR= distributions |
Lines 48-54
Link Here
|
48 |
FASTCGI "Enable fastcgi support (CGI only)" on \ |
48 |
FASTCGI "Enable fastcgi support (CGI only)" on \ |
49 |
FPM "Enable fastcgi process manager (CGI only)" off \ |
49 |
FPM "Enable fastcgi process manager (CGI only)" off \ |
50 |
PATHINFO "Enable path-info-check support (CGI only)" on \ |
50 |
PATHINFO "Enable path-info-check support (CGI only)" on \ |
51 |
LINKTHR "Link thread lib (for threaded extensions)" off |
51 |
LINKTHR "Link thread lib (for threaded extensions)" off \ |
|
|
52 |
BACKPORTS "Enable backported security and bugfix patches" on |
52 |
|
53 |
|
53 |
CONFLICTS= php4-4* php5-5.3* |
54 |
CONFLICTS= php4-4* php5-5.3* |
54 |
|
55 |
|
Lines 188-193
Link Here
|
188 |
CONFIGURE_ARGS+=--disable-ipv6 |
189 |
CONFIGURE_ARGS+=--disable-ipv6 |
189 |
.endif |
190 |
.endif |
190 |
|
191 |
|
|
|
192 |
.if defined(WITH_BACKPORTS) |
193 |
PATCHFILES+= php-5.2.17-CVE-2011-0421.patch \ |
194 |
php-5.2.17-CVE-2011-0708.patch \ |
195 |
php-5.2.17-CVE-2011-1092.patch \ |
196 |
php-5.2.17-CVE-2011-1148.patch \ |
197 |
php-5.2.17-CVE-2011-1938.patch \ |
198 |
php-5.2.17-CVE-2011-2202.patch |
199 |
PATCH_SITES+= http://php52-backports.googlecode.com/files/ |
200 |
.endif |
201 |
|
191 |
post-patch: |
202 |
post-patch: |
192 |
@${TOUCH} ${WRKSRC}/ext/php_config.h |
203 |
@${TOUCH} ${WRKSRC}/ext/php_config.h |
193 |
@${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-* |
204 |
@${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-* |