Bug 78626 - [MAINTAINER] www/mod_vhs: update to 1.0.16
Summary: [MAINTAINER] www/mod_vhs: update to 1.0.16
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sergey Matveychuk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-09 15:10 UTC by Xavier Beaudouin
Modified: 2005-04-13 16:21 UTC (History)
0 users

See Also:


Attachments
mod_vhs-1.0.16.patch (1.67 KB, patch)
2005-03-09 15:10 UTC, Xavier Beaudouin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Beaudouin 2005-03-09 15:10:02 UTC
- Update to 1.0.16

- Changelog
Since mod_vhs 1.0.16
--------------------

o Fixed a crash reported by Renato when parent lamer mode is on and the
  hostname was not found.
o New flag to enable / disble VHS (EnableVHS) default to Off to allow
  some VirtualServer to no have mod_vhs enabled.

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>
  
  Option from Koen de Boeve


Added file(s):
- pkg-message

Generated with FreeBSD Port Tools 0.63
Comment 1 Sergey Matveychuk freebsd_committer freebsd_triage 2005-03-10 13:43:08 UTC
On 5.3 build fails:

===>  Configuring for mod_vhs-1.0.16
===>  Building for mod_vhs-1.0.16
===>  Generating apache plist
/usr/local/share/apache2/build/libtool --silent --mode=compile cc 
-prefer-pic -O -pipe -march=pentiumpro -DAP_HAVE_DESIGNATED_INITIALIZER 
-D_REENTRANT -D_THREAD_SAFE  -I/usr/local/include/apache2 
-I/usr/local/include/apache2   -I/usr/local/include/apache2 
-I/usr/local/include -I/usr/local/include/php 
-I/usr/local/include/php/Zend -I/usr/local/include/home 
-DHAVE_MOD_PHP_SUPPORT  -c -o mod_vhs.lo mod_vhs.c && touch mod_vhs.slo
mod_vhs.c:126:18: zend.h: No such file or directory
mod_vhs.c:127:24: zend_qsort.h: No such file or directory
mod_vhs.c:128:22: zend_API.h: No such file or directory
mod_vhs.c:129:22: zend_ini.h: No such file or directory
mod_vhs.c:130:24: zend_alloc.h: No such file or directory
mod_vhs.c:131:28: zend_operators.h: No such file or directory
mod_vhs.c: In function `vhs_translate_name':
mod_vhs.c:726: warning: cast from pointer to integer of different size
mod_vhs.c:757: warning: passing arg 1 of `home_getpwnam' discards 
qualifiers from pointer target type
apxs:Error: Command failed with rc=65536
.
*** Error code 1

-- 
Sem.
Comment 2 Sergey Matveychuk freebsd_committer freebsd_triage 2005-03-10 13:43:34 UTC
State Changed
From-To: open->feedback

Ask for feedback
Comment 3 Xavier Beaudouin 2005-03-24 13:07:21 UTC
Hi,

Seems that I have missed something, please apply the following patch to=20=

my port :

---//----
--- ../mod_vhs_bad/Makefile     Thu Mar 24 14:04:57 2005
+++ Makefile    Thu Mar 24 14:05:15 2005
@@ -17,6 +17,7 @@
  LIB_DEPENDS+=3D  home:${PORTSDIR}/misc/libhome

  USE_PHP=3D       yes
+USE_PHP_BUILD=3D yes
  WANT_PHP_MOD=3D  yes
  WANT_APACHE=3D   2
  AP_FAST_BUILD=3D YES
---//-----

This will fix the dependency missing for build it.

Thanks,
/Xavier

Le 10 mars 05, =E0 14:43, Sergey Matveychuk a =E9crit :

> On 5.3 build fails:
>
> =3D=3D=3D>  Configuring for mod_vhs-1.0.16
> =3D=3D=3D>  Building for mod_vhs-1.0.16
> =3D=3D=3D>  Generating apache plist
> /usr/local/share/apache2/build/libtool --silent --mode=3Dcompile cc=20
> -prefer-pic -O -pipe -march=3Dpentiumpro=20
> -DAP_HAVE_DESIGNATED_INITIALIZER -D_REENTRANT -D_THREAD_SAFE =20
> -I/usr/local/include/apache2 -I/usr/local/include/apache2  =20
> -I/usr/local/include/apache2 -I/usr/local/include=20
> -I/usr/local/include/php -I/usr/local/include/php/Zend=20
> -I/usr/local/include/home -DHAVE_MOD_PHP_SUPPORT  -c -o mod_vhs.lo=20
> mod_vhs.c && touch mod_vhs.slo
> mod_vhs.c:126:18: zend.h: No such file or directory
> mod_vhs.c:127:24: zend_qsort.h: No such file or directory
> mod_vhs.c:128:22: zend_API.h: No such file or directory
> mod_vhs.c:129:22: zend_ini.h: No such file or directory
> mod_vhs.c:130:24: zend_alloc.h: No such file or directory
> mod_vhs.c:131:28: zend_operators.h: No such file or directory
> mod_vhs.c: In function `vhs_translate_name':
> mod_vhs.c:726: warning: cast from pointer to integer of different size
> mod_vhs.c:757: warning: passing arg 1 of `home_getpwnam' discards=20
> qualifiers from pointer target type
> apxs:Error: Command failed with rc=3D65536
> .
> *** Error code 1
>
> --=20
> Sem.
>
--
Xavier Beaudouin - Unix System Administrator & Projects Leader.
President of Kazar Organization : http://www.kazar.net/
Please visit http://caudium.net/, home of Caudium & Camas projects
Comment 4 Sergey Matveychuk freebsd_committer freebsd_triage 2005-03-24 13:16:36 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sem

Take it
Comment 5 Sergey Matveychuk freebsd_committer freebsd_triage 2005-03-24 13:16:44 UTC
State Changed
From-To: feedback->open

feedback received
Comment 6 Sergey Matveychuk freebsd_committer freebsd_triage 2005-03-24 13:19:08 UTC
Xavier Beaudouin wrote:

> Hi,
> 
> Seems that I have missed something, please apply the following patch to 
> my port :

OK. After the ports freeze I'll check it.

-- 
Sem.
Comment 7 Xavier Beaudouin 2005-04-06 09:18:33 UTC
Hello,

Seems that port freeze has been finished. Can you get a try about it ?

Many thanks,
/Xavier
Le 24 mars 05, =E0 14:19, Sergey Matveychuk a =E9crit :

> Xavier Beaudouin wrote:
>
>> Hi,
>> Seems that I have missed something, please apply the following patch=20=

>> to my port :
>
> OK. After the ports freeze I'll check it.
>
> --=20
> Sem.
>
--
Xavier Beaudouin - Unix System Administrator & Projects Leader.
President of Kazar Organization : http://www.kazar.net/
Please visit http://caudium.net/, home of Caudium & Camas projects
Comment 8 Sergey Matveychuk freebsd_committer freebsd_triage 2005-04-13 16:20:55 UTC
State Changed
From-To: open->closed

Committed, thanks! 
Sorry for delay.