diff options
author | ale <ale@FreeBSD.org> | 2006-12-10 23:04:17 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2006-12-10 23:04:17 +0800 |
commit | c71399e1f93acf441cd2f72d5631f4718a3fb789 (patch) | |
tree | 71c94737b06e23b8a3d5b6c34a73bade39039edc /lang/php53 | |
parent | f3e667c03aaf8db4482ab8d5f48ef3fa6be69c42 (diff) | |
download | freebsd-ports-graphics-c71399e1f93acf441cd2f72d5631f4718a3fb789.tar.gz freebsd-ports-graphics-c71399e1f93acf441cd2f72d5631f4718a3fb789.tar.zst freebsd-ports-graphics-c71399e1f93acf441cd2f72d5631f4718a3fb789.zip |
Add optional mail header patch, to track php-based spamming.
Diffstat (limited to 'lang/php53')
-rw-r--r-- | lang/php53/Makefile | 13 | ||||
-rw-r--r-- | lang/php53/distinfo | 3 |
2 files changed, 13 insertions, 3 deletions
diff --git a/lang/php53/Makefile b/lang/php53/Makefile index c4abfde0ca0..f8fe5561324 100644 --- a/lang/php53/Makefile +++ b/lang/php53/Makefile @@ -46,6 +46,7 @@ OPTIONS= CLI "Build CLI version" on \ SUHOSIN "Enable Suhosin protection system" 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 \ @@ -57,15 +58,21 @@ MAN1= php-config.1 phpize.1 .include <bsd.port.pre.mk> -.if !defined(WITHOUT_SUHOSIN) -PATCHFILES= suhosin-patch-${PORTVERSION}-0.9.6.2.patch.gz -PATCH_SITES= http://www.hardened-php.net/suhosin/_media/ PATCH_DIST_STRIP= -p1 + +.if !defined(WITHOUT_SUHOSIN) +PATCHFILES+= suhosin-patch-${PORTVERSION}-0.9.6.2.patch.gz:suhosin +PATCH_SITES+= http://www.hardened-php.net/suhosin/_media/:suhosin PLIST_SUB+= SUHOSIN="" .else PLIST_SUB+= SUHOSIN="@comment " .endif +.if defined(WITH_MAILHEAD) +PATCHFILES+= php-${PORTVERSION}-mail-header.patch:mail +PATCH_SITES+= http://choon.net/opensource/php/:mail +.endif + .if !defined(WITHOUT_CLI) PHP_SAPI+= cli PLIST_SUB+= CLI="" diff --git a/lang/php53/distinfo b/lang/php53/distinfo index bd131cbe9c7..5570311ee32 100644 --- a/lang/php53/distinfo +++ b/lang/php53/distinfo @@ -4,3 +4,6 @@ SIZE (php-5.2.0.tar.bz2) = 6789838 MD5 (suhosin-patch-5.2.0-0.9.6.2.patch.gz) = 621ec57f10345cc58b29b189d89aecce SHA256 (suhosin-patch-5.2.0-0.9.6.2.patch.gz) = a67ee0d4c69b01784aba23a74d12fb1182bdca2f85ed2f12325a302ebbe319e9 SIZE (suhosin-patch-5.2.0-0.9.6.2.patch.gz) = 23115 +MD5 (php-5.2.0-mail-header.patch) = 36f876b692a9a407874c39b71c39ac83 +SHA256 (php-5.2.0-mail-header.patch) = 9955ec5fc79d2444ba507f4524acb1957bc65419be95b13e363a922a2021418a +SIZE (php-5.2.0-mail-header.patch) = 3420 |