From 3ac45af4c58eafd559f178e2f5ae0e2c20fedf03 Mon Sep 17 00:00:00 2001 From: mcrane Date: Wed, 23 Dec 2009 15:00:58 -0700 Subject: vHosts missing dependency for php5 added for pfsense 1.2.3. --- config/vhosts/freebsd7.2/usr.local.lib/libxml2.a | Bin 0 -> 1440870 bytes config/vhosts/freebsd7.2/usr.local.lib/libxml2.la | 35 +++++++++++++++++++++ .../vhosts/freebsd7.2/usr.local.lib/libxml2.so.5 | Bin 0 -> 1334698 bytes config/vhosts/vhosts.inc | 19 +++++++++++ config/vhosts/vhosts.xml | 2 +- pkg_config.7.xml | 11 +++---- 6 files changed, 60 insertions(+), 7 deletions(-) create mode 100644 config/vhosts/freebsd7.2/usr.local.lib/libxml2.a create mode 100644 config/vhosts/freebsd7.2/usr.local.lib/libxml2.la create mode 100644 config/vhosts/freebsd7.2/usr.local.lib/libxml2.so.5 diff --git a/config/vhosts/freebsd7.2/usr.local.lib/libxml2.a b/config/vhosts/freebsd7.2/usr.local.lib/libxml2.a new file mode 100644 index 00000000..6c1014a3 Binary files /dev/null and b/config/vhosts/freebsd7.2/usr.local.lib/libxml2.a differ diff --git a/config/vhosts/freebsd7.2/usr.local.lib/libxml2.la b/config/vhosts/freebsd7.2/usr.local.lib/libxml2.la new file mode 100644 index 00000000..e5b6be20 --- /dev/null +++ b/config/vhosts/freebsd7.2/usr.local.lib/libxml2.la @@ -0,0 +1,35 @@ +# libxml2.la - a libtool library file +# Generated by ltmain.sh - GNU libtool 1.5.24 (1.1220.2.456 2007/06/24 02:25:32) +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='libxml2.so.5' + +# Names of this library. +library_names='libxml2.so.5 libxml2.so libxml2.so' + +# The name of the static archive. +old_library='libxml2.a' + +# Libraries that this one depends upon. +dependency_libs=' -L/usr/local/lib -lz /usr/local/lib/libiconv.la -lm' + +# Version information for libxml2. +current=5 +age=0 +revision=0 + +# Is this an already installed library? +installed=yes + +# Should we warn about portability when linking against -modules? +shouldnotlink=no + +# Files to dlopen/dlpreopen +dlopen='' +dlpreopen='' + +# Directory that this library needs to be installed in: +libdir='/usr/local/lib' diff --git a/config/vhosts/freebsd7.2/usr.local.lib/libxml2.so.5 b/config/vhosts/freebsd7.2/usr.local.lib/libxml2.so.5 new file mode 100644 index 00000000..ec728eb1 Binary files /dev/null and b/config/vhosts/freebsd7.2/usr.local.lib/libxml2.so.5 differ diff --git a/config/vhosts/vhosts.inc b/config/vhosts/vhosts.inc index e9a1a6ec..6cea0c04 100644 --- a/config/vhosts/vhosts.inc +++ b/config/vhosts/vhosts.inc @@ -732,6 +732,25 @@ function php_install_command() { exec("mkdir /usr/local/vhosts/"); } + if(stristr(php_uname('r'), '7.2') == TRUE) { + if (!file_exists('/usr/local/lib/libxml2.so.5')) { + chdir('/usr/local/lib/'); + exec ("fetch http://www.pfsense.com/packages/config/vhosts/freebsd7.2/usr.local.lib/libxml2.so.5"); + } + if (!file_exists('/usr/local/lib/libxml2.so')) { + chdir('/usr/local/lib/'); + exec ("fetch http://www.pfsense.com/packages/config/vhosts/freebsd7.2/usr.local.lib/libxml2.so"); + } + if (!file_exists('/usr/local/lib/libxml2.la')) { + chdir('/usr/local/lib/'); + exec ("fetch http://www.pfsense.com/packages/config/vhosts/freebsd7.2/usr.local.lib/libxml2.la"); + } + if (!file_exists('/usr/local/lib/libxml2.a')) { + chdir('/usr/local/lib/'); + exec ("fetch http://www.pfsense.com/packages/config/vhosts/freebsd7.2/usr.local.lib/lib/libxml2.a"); + } + } + //rename PHP files from .tmp to .php exec("cp /tmp/vhosts_php.tmp /usr/local/www/packages/vhosts/vhosts_php.php"); unlink_if_exists("/tmp/vhosts_php.tmp"); diff --git a/config/vhosts/vhosts.xml b/config/vhosts/vhosts.xml index 0b9cd769..14141044 100644 --- a/config/vhosts/vhosts.xml +++ b/config/vhosts/vhosts.xml @@ -41,7 +41,7 @@ Describe your package requirements here Currently there are no FAQ items provided. vHosts Settings - 0.6 + 0.7 Settings /usr/local/pkg/vhosts.inc diff --git a/pkg_config.7.xml b/pkg_config.7.xml index ca2c83a9..24c5499b 100755 --- a/pkg_config.7.xml +++ b/pkg_config.7.xml @@ -19,7 +19,7 @@ The Reliable, High Performance TCP/HTTP Load Balancer http://haproxy.1wt.eu/ Services - 0.21 + 0.20 BETA 1.2.3 http://www.pfsense.com/packages/config/haproxy/haproxy.xml @@ -297,7 +297,7 @@ http://doc.pfsense.org/index.php/vhosts http://www.pfsense.com/packages/config/vhosts/vhosts.xml http://files.pfsense.org/packages/7/All/ - 0.6 + 0.7 Stable 1.2.3 markjcrane@gmail.com @@ -433,12 +433,11 @@ Fit123 http://pfsense.comuf.com - With Fit123 a small set of features can be added to pfSense 1.2.3 (Date)Adds current date to front page (LTSP)Adds 3th network boot option (After Filter Change) Clear states after filter reload (DNS Servers)Adds option for a 3th and 4th DNS Server (DDNS)A more customize way to update dynamic dns (CASS) Clear states for 1 voip client after dynamic ip update on wan. + With Fit123 a small set of features can be added to pfSense 1.2.3 (Date)Adds current date to front page (LTSP)Adds 3th network boot option (After Filter Change) Clear states after filter reload (DNS Servers)Adds option for a 3th and 4th DNS Server (DDNS)A more customize way to update dynamic dns (Themes)On install Code-red and the pfsense ng theme are added to the list of avalible themes. System - 1.0 - Stable + 0.0.5 + ALPHA 1.2.3 - 1.2.3 crazypark2@yahoo.dk http://www.pfsense.com/packages/config/Fit123/fit123.xml fit123.xml -- cgit v1.2.3