From 507178bd2ccfccb51df7d257130d02b5e01c0d39 Mon Sep 17 00:00:00 2001 From: Dirk Froemberg Date: Wed, 27 Feb 2002 22:37:31 +0000 Subject: [PATCH] Fix remote vulnerabilities. Everybody is strongly encouraged to upgrade. See http://security.e-matters.de/advisories/012002.html for details. --- www/mod_php3/Makefile | 7 +++++-- www/mod_php3/distinfo | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/www/mod_php3/Makefile b/www/mod_php3/Makefile index 7db9b2b1351a..bd28fc3aa70b 100644 --- a/www/mod_php3/Makefile +++ b/www/mod_php3/Makefile @@ -7,7 +7,7 @@ PORTNAME?= mod_php3 PORTVERSION= 3.0.18 -PORTREVISION?= 2 +PORTREVISION?= 3 CATEGORIES?= www MASTER_SITES= ftp://ftp.php.net/pub/${PHP_DISTDIR}/ \ http://us.php.net/${PHP_DISTDIR}/ \ @@ -21,7 +21,8 @@ MASTER_SITES= ftp://ftp.php.net/pub/${PHP_DISTDIR}/ \ http://php3.globe.de/${PHP_DISTDIR}/ DISTNAME= php-${PORTVERSION} -FORBIDDEN= "Remotely exploitable." +PATCH_SITES= http://www.php.net/distributions/ +PATCHFILES= mime.c.diff-3.0.gz MAINTAINER= dirk@FreeBSD.org @@ -30,6 +31,8 @@ BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 .endif +PATCH_DIST_ARGS= -d ${WRKSRC}/functions + PHP_DISTDIR= distributions SLAVEDIRS= lang/php3 diff --git a/www/mod_php3/distinfo b/www/mod_php3/distinfo index 0340d56fc86e..8d264a145a52 100644 --- a/www/mod_php3/distinfo +++ b/www/mod_php3/distinfo @@ -1 +1,2 @@ MD5 (php-3.0.18.tar.gz) = b4b8f7f1151ce66d5f3910a066651133 +MD5 (mime.c.diff-3.0.gz) = b4826b2d7968553f808ddb80269d87a0