aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_php4
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>1999-09-19 22:37:36 +0800
committerdirk <dirk@FreeBSD.org>1999-09-19 22:37:36 +0800
commit75edf3ceef561889b47ba334f6e745102651193c (patch)
treee0c506ed6604bc976b1c7ba324562c06923000af /www/mod_php4
parentbad703452faeab0c05863e0c03caf9f0ae4562f9 (diff)
downloadfreebsd-ports-gnome-75edf3ceef561889b47ba334f6e745102651193c.tar.gz
freebsd-ports-gnome-75edf3ceef561889b47ba334f6e745102651193c.tar.zst
freebsd-ports-gnome-75edf3ceef561889b47ba334f6e745102651193c.zip
- bump shared library version number for ucd-snmp from 3 to 4.
- Add php4_snmp.c.diff to PATCHFILES in order to unbreak SNMP support. There was a conflicting type between ${PREFIX}/include/ucd-snmp/mib.h and ${WRKDIR}/php-4.0b2/ext/snmp/snmp.c due to ucd-snmp upgrade to 4.0.1. Reported by: Wizzard <wizzard@mwci.net> - Delete http://www.php.net/ from MASTER_SITES to workaround the problem that the http server isn't returning a 404 for non-existant files and thus breaks fetching of mod_ssl distfile. Reported by: Iron Yuppie <aronchick@formatta.com>
Diffstat (limited to 'www/mod_php4')
-rw-r--r--www/mod_php4/Makefile4
-rw-r--r--www/mod_php4/distinfo1
-rw-r--r--www/mod_php4/scripts/configure.php2
3 files changed, 5 insertions, 2 deletions
diff --git a/www/mod_php4/Makefile b/www/mod_php4/Makefile
index 0dd1d264d804..5676d2e82dfd 100644
--- a/www/mod_php4/Makefile
+++ b/www/mod_php4/Makefile
@@ -11,7 +11,6 @@ PKGNAME= apache+php-${VERSION_APACHE}+${VERSION_PHP}
CATEGORIES= www
MASTER_SITES= http://www.apache.org/dist/ \
http://www.rge.com/pub/infosystems/apache/dist/ \
- http://www.php.net/${PHP_DISTDIR}/ \
http://us.php.net/${PHP_DISTDIR}/ \
http://www.modssl.org/source/ \
ftp://ftp.modssl.org/source/ \
@@ -41,6 +40,9 @@ MASTER_SITES= http://www.apache.org/dist/ \
ftp://ftp.fu-berlin.de/unix/security/mod_ssl/
DISTFILES= apache_${VERSION_APACHE}.tar.gz php-${VERSION_PHP}.tar.gz
+PATCH_SITES= http://www.physik.TU-Berlin.DE/~ibex/ports/distfiles/
+PATCHFILES= php4_snmp.c.diff
+
MAINTAINER= dirk@FreeBSD.org
BROKEN= "PHP-${VERSION_PHP} is beta. Beware the bugs. Enter at your own risk!"
diff --git a/www/mod_php4/distinfo b/www/mod_php4/distinfo
index 8fd915c1c064..4d30051e0ba8 100644
--- a/www/mod_php4/distinfo
+++ b/www/mod_php4/distinfo
@@ -1,3 +1,4 @@
MD5 (apache_1.3.9.tar.gz) = 880af89251943c67e3614bf2ffb89b32
MD5 (php-4.0b2.tar.gz) = 509c245c2ec36d227985dd550e94240c
MD5 (mod_ssl-2.4.2-1.3.9.tar.gz) = e30f679aeb4e24f1c4d4cefc6fb10c39
+MD5 (php4_snmp.c.diff) = f20420b92b4d206f8ec40d2d1c7c5d55
diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php
index 0ea93b121ec0..47fb3b3e28ab 100644
--- a/www/mod_php4/scripts/configure.php
+++ b/www/mod_php4/scripts/configure.php
@@ -125,7 +125,7 @@ while [ "$1" ]; do
echo "PHP_CONF_ARGS+= --with-ldap=\${PREFIX}"
;;
\"SNMP\")
- echo "LIB_DEPENDS+= snmp.3:\${PORTSDIR}/net/ucd-snmp"
+ echo "LIB_DEPENDS+= snmp.4:\${PORTSDIR}/net/ucd-snmp"
echo "PHP_CONF_ARGS+= --with-snmp=\${PREFIX} --enable-ucd-snmp-hack"
;;
\"XML\")