ports/76715: [MAINTAINER] www/mod_vhs: update to 1.0.12
Xavier Beaudouin
kiwi at oav.net
Wed Jan 26 15:50:16 UTC 2005
>Number: 76715
>Category: ports
>Synopsis: [MAINTAINER] www/mod_vhs: update to 1.0.12
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 26 15:50:15 GMT 2005
>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:
- Update to 1.0.12
Changelog :
o Added option vhs_PHPdisplay_errors used on PHP support to show
php errors when needed on <VirtualHost></> basis.
o Added options on load that mod_vhs wait for input from mod_alias and
mod_userdir before mod_vhs make things works.
o Added options on load that mod_vhs is making his work before mod_rewrite
and mod_php is making their works.
o Added option vhs_Default_Host_Redirect (on/off) to force HTTP redirect
if default host is triggered.
o The module should be now threads safe. Note that we don't garantee
that your Apache will still be thread safe if you use non thread
safe module (like mod_php for example).
o Add support for PHP 4.3.x. The following entries are modified according
to <VirtualHost></> httpd.conf.
Example :
<VirtualHost 1.2.3.4>
vhs_Default_Host www.mydomain.com
vhs_PHPsafe_mode On
vhs_PHPopen_basedir On
</VirtualHost>
<VirtualHost 1.2.3.5>
vhs_Default_Host www.mydomain.com
vhs_PHPsafe_mode Off
vhs_PHPopen_basedir Off
</VirtualHost>
Option from Koen de Boeve
Added file(s):
- pkg-install
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- mod_vhs-1.0.12.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/mod_vhs.old/Makefile /usr/ports/www/mod_vhs/Makefile
--- /usr/ports/www/mod_vhs.old/Makefile Wed Jan 26 16:39:57 2005
+++ /usr/ports/www/mod_vhs/Makefile Wed Jan 26 16:44:57 2005
@@ -6,7 +6,7 @@
#
PORTNAME= mod_vhs
-PORTVERSION= 1.0.10
+PORTVERSION= 1.0.12
CATEGORIES= www
MASTER_SITES= http://www.oav.net/projects/mod_vhs/
DIST_SUBDIR= apache2
@@ -14,8 +14,11 @@
MAINTAINER= kiwi at oav.net
COMMENT= Allows mass virtual hosting using libhome system with Apache 2.0.x
+OPTIONS= PHP "Enable PHP support" on
+
LIB_DEPENDS+= home:${PORTSDIR}/misc/libhome
+WITH_APACHE2= YES
WANT_APACHE= 2
AP_FAST_BUILD= YES
AP_GENPLIST= YES
@@ -26,8 +29,17 @@
PORTDOCS= AUTHORS README
+.if defined(WITH_PHP)
+USE_PHP= YES
+WANT_PHP_MOD= YES
+.endif
+
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/www/apache2/Makefile.modules.3rd"
+
+.if defined(WITH_PHP)
+AP_EXTRAS+= -I ${LOCALBASE}/include/php -I ${LOCALBASE}/include/php/Zend -DHAVE_MOD_PHP_SUPPORT
+.endif
post-install:
.if !defined (NOPORTDOCS)
diff -ruN --exclude=CVS /usr/ports/www/mod_vhs.old/distinfo /usr/ports/www/mod_vhs/distinfo
--- /usr/ports/www/mod_vhs.old/distinfo Wed Jan 26 16:39:57 2005
+++ /usr/ports/www/mod_vhs/distinfo Wed Jan 26 16:28:38 2005
@@ -1,2 +1,2 @@
-MD5 (apache2/mod_vhs-1.0.10.tar.gz) = e1a1375a722d9f8ad62d8995acd33c19
-SIZE (apache2/mod_vhs-1.0.10.tar.gz) = 6908
+MD5 (apache2/mod_vhs-1.0.12.tar.gz) = d840f7d4677289b240046c7093e50f18
+SIZE (apache2/mod_vhs-1.0.12.tar.gz) = 8683
diff -ruN --exclude=CVS /usr/ports/www/mod_vhs.old/pkg-install /usr/ports/www/mod_vhs/pkg-install
--- /usr/ports/www/mod_vhs.old/pkg-install Thu Jan 1 01:00:00 1970
+++ /usr/ports/www/mod_vhs/pkg-install Wed Jan 26 16:32:07 2005
@@ -0,0 +1,7 @@
+***************************************************************
+
+If you use PHP support you should load mod_php BEFORE mod_vhs
+otherwise your Apache will not start.
+
+
+***************************************************************
--- mod_vhs-1.0.12.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list