aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_php3
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2002-02-28 06:37:31 +0800
committerdirk <dirk@FreeBSD.org>2002-02-28 06:37:31 +0800
commitb978798aef19882e7c5f03364ab387307756cfa7 (patch)
treefe04b43bf087f39531daad5ebf13570a47be9be4 /www/mod_php3
parent7107dc6c8185f4c07d3d30fb647191e4442e700b (diff)
downloadfreebsd-ports-gnome-b978798aef19882e7c5f03364ab387307756cfa7.tar.gz
freebsd-ports-gnome-b978798aef19882e7c5f03364ab387307756cfa7.tar.zst
freebsd-ports-gnome-b978798aef19882e7c5f03364ab387307756cfa7.zip
Fix remote vulnerabilities.
Everybody is strongly encouraged to upgrade. See http://security.e-matters.de/advisories/012002.html for details.
Diffstat (limited to 'www/mod_php3')
-rw-r--r--www/mod_php3/Makefile7
-rw-r--r--www/mod_php3/distinfo1
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