>Number: 74919
>Category: ports
>Synopsis: [PATCH] lang/php4: Add hardened-php.org patch
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Dec 10 16:00:46 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Xavier Beaudouin
>Release: FreeBSD 5.2.1-RELEASE-p3 i386
>Organization:
The Caudium Group / Association Kazar
>Environment:
System: FreeBSD domu.oav.net 5.2.1-RELEASE-p3 FreeBSD 5.2.1-RELEASE-p3 #0: Thu Mar 18 12:25:33 CET 2004
>Description:
This PR adds http://www.hardened-php.org/ patch to current PHP.
This should fix some security issues and give a safer environment for
PHP hosting.
Port maintainer (ale@FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- php4-4.3.9_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/lang/php4.old/Makefile /usr/ports/lang/php4/Makefile
--- /usr/ports/lang/php4.old/Makefile Fri Dec 10 16:54:12 2004
+++ /usr/ports/lang/php4/Makefile Fri Dec 10 16:55:07 2004
@@ -16,6 +16,10 @@
DISTNAME= php-${PORTVERSION:S/.r/RC/}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:release
+PATCH_SITES= http://www.hardened-php.org/
+PATCHFILES= hardened-php-${PORTVERSION}-0.2.3.patch.gz
+PATCH_DIST_STRIP= -p1
+
MAINTAINER?= ale@FreeBSD.org
COMMENT?= PHP Scripting Language (Apache Module and CLI)
diff -ruN --exclude=CVS /usr/ports/lang/php4.old/distinfo /usr/ports/lang/php4/distinfo
--- /usr/ports/lang/php4.old/distinfo Fri Dec 10 16:54:12 2004
+++ /usr/ports/lang/php4/distinfo Fri Dec 10 16:54:38 2004
@@ -1,2 +1,4 @@
MD5 (php-4.3.9.tar.bz2) = b799bbb330da60324d972641baab693c
SIZE (php-4.3.9.tar.bz2) = 4001681
+MD5 (hardened-php-4.3.9-0.2.3.patch.gz) = f8f10c02ca9d3b6071353fe7068eb0f5
+SIZE (hardened-php-4.3.9-0.2.3.patch.gz) = 18363
--- php4-4.3.9_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted: