ports/78146: [MAINTAINER] www/mod_vhs: update to 1.0.14
Xavier Beaudouin
kiwi at oav.net
Sun Feb 27 13:30:16 UTC 2005
>Number: 78146
>Category: ports
>Synopsis: [MAINTAINER] www/mod_vhs: update to 1.0.14
>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: Sun Feb 27 13:30: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.14
- ChangeLog :
Since mod_vhs 1.0.14
--------------------
o Lamer friendly mode is now fixed.
o Fixed a non thread safe call when lamer friendly mode is engaged.
o Added mod_alias "compatible" configuration values, eg : vhs_Alias,
vhs_ScriptAlias, vhs_Redirect, vhs_AliasMatch, vhs_ScriptAliasMatch,
vhs_RedirectMatch, vhs_RedirectTemp and vhs_RedirectPermanent configuration
directives. See mod_alias manual for more informations.
Since mod_vhs 1.0.12
--------------------
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>
Options from Koen de Boeve
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- mod_vhs-1.0.14.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 Sun Feb 27 12:46:11 2005
+++ /usr/ports/www/mod_vhs/Makefile Sun Feb 27 14:22:16 2005
@@ -6,7 +6,7 @@
#
PORTNAME= mod_vhs
-PORTVERSION= 1.0.10
+PORTVERSION= 1.0.14
CATEGORIES= www
MASTER_SITES= http://www.oav.net/projects/mod_vhs/
DIST_SUBDIR= apache2
@@ -16,6 +16,8 @@
LIB_DEPENDS+= home:${PORTSDIR}/misc/libhome
+OPTIONS= PHP "Add PHP support" on
+
WANT_APACHE= 2
AP_FAST_BUILD= YES
AP_GENPLIST= YES
@@ -26,15 +28,30 @@
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)
@${MKDIR} ${DOCSDIR}
. for f in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
. endfor
+.endif
+.if defined(WITH_PHP)
+ ${ECHO_MSG} WARNING WARNING WARNING WARNING WARNING
+ ${ECHO_MSG} You have compiled mod_vhs with mod_php support.
+ ${ECHO_MSG} Don't forget to load mod_php BEFORE mod_vhs or your Apache
+ ${ECHO_MSG} will not start.
.endif
.include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/www/mod_vhs.old/distinfo /usr/ports/www/mod_vhs/distinfo
--- /usr/ports/www/mod_vhs.old/distinfo Sun Feb 27 12:46:11 2005
+++ /usr/ports/www/mod_vhs/distinfo Sun Feb 27 12:46:32 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.14.tar.gz) = a45aca15a00b27189cf5bab9e3ccabba
+SIZE (apache2/mod_vhs-1.0.14.tar.gz) = 12292
--- mod_vhs-1.0.14.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list