diff options
author | ale <ale@FreeBSD.org> | 2006-12-10 23:04:41 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2006-12-10 23:04:41 +0800 |
commit | 51f3152437cc739994eb25d5e4e1d0a6ade44aa3 (patch) | |
tree | c9d2ad53aa9542b92f1bd5ae1e5a705d5823fb61 | |
parent | c71399e1f93acf441cd2f72d5631f4718a3fb789 (diff) | |
download | freebsd-ports-gnome-51f3152437cc739994eb25d5e4e1d0a6ade44aa3.tar.gz freebsd-ports-gnome-51f3152437cc739994eb25d5e4e1d0a6ade44aa3.tar.zst freebsd-ports-gnome-51f3152437cc739994eb25d5e4e1d0a6ade44aa3.zip |
Add optional mail header patch, to track php-based spamming.
Update suhosin patch to 0.9.6 release.
-rw-r--r-- | lang/php4/Makefile | 13 | ||||
-rw-r--r-- | lang/php4/distinfo | 9 |
2 files changed, 16 insertions, 6 deletions
diff --git a/lang/php4/Makefile b/lang/php4/Makefile index 6d8269cb5da8..504f2787faee 100644 --- a/lang/php4/Makefile +++ b/lang/php4/Makefile @@ -40,6 +40,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 \ @@ -53,15 +54,21 @@ MAN1= php-config.1 phpize.1 .include <bsd.port.pre.mk> -.if !defined(WITHOUT_SUHOSIN) -PATCHFILES= suhosin-patch-${PORTVERSION}-0.9.5.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.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/php4/distinfo b/lang/php4/distinfo index 7381557a009d..6be02f7673c3 100644 --- a/lang/php4/distinfo +++ b/lang/php4/distinfo @@ -1,6 +1,9 @@ MD5 (php-4.4.4.tar.bz2) = bc6fa8908e2ac36e93bab9f7d42cda3a SHA256 (php-4.4.4.tar.bz2) = 9f0742fce014a255f8453c1264afee5de289a9e9dcd57c448c77b46978f6a76b SIZE (php-4.4.4.tar.bz2) = 4478698 -MD5 (suhosin-patch-4.4.4-0.9.5.patch.gz) = 86ac457a27f644acccbc76411c02f1a4 -SHA256 (suhosin-patch-4.4.4-0.9.5.patch.gz) = a1dfe2919aa72f8c262b4e434947420918c80a14a1c7cab4dc89a7461524124f -SIZE (suhosin-patch-4.4.4-0.9.5.patch.gz) = 21593 +MD5 (suhosin-patch-4.4.4-0.9.6.patch.gz) = 26b7a0ad744e374aa43f1e0d56561ac5 +SHA256 (suhosin-patch-4.4.4-0.9.6.patch.gz) = c5bdd934c654199630b73c8b214e53b9817e4bfc470ab9f67d6a0a587a602bff +SIZE (suhosin-patch-4.4.4-0.9.6.patch.gz) = 21605 +MD5 (php-4.4.4-mail-header.patch) = c0c6df6fad5d84de5038eb6f1bb65429 +SHA256 (php-4.4.4-mail-header.patch) = 4c7018ee4e64536d3356a55cbce4da3f6ef6876dfde60d76c9fb4f3bb658e75e +SIZE (php-4.4.4-mail-header.patch) = 3420 |