aboutsummaryrefslogtreecommitdiffstats
path: root/config/vhosts
diff options
context:
space:
mode:
Diffstat (limited to 'config/vhosts')
-rw-r--r--config/vhosts/freebsd7.2/usr.local.lib/libxml2.abin0 -> 1440870 bytes
-rw-r--r--config/vhosts/freebsd7.2/usr.local.lib/libxml2.la35
-rw-r--r--config/vhosts/freebsd7.2/usr.local.lib/libxml2.so.5bin0 -> 1334698 bytes
-rw-r--r--config/vhosts/vhosts.inc19
-rw-r--r--config/vhosts/vhosts.xml2
5 files changed, 55 insertions, 1 deletions
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
--- /dev/null
+++ b/config/vhosts/freebsd7.2/usr.local.lib/libxml2.a
Binary files 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
--- /dev/null
+++ b/config/vhosts/freebsd7.2/usr.local.lib/libxml2.so.5
Binary files 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 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>vHosts Settings</name>
- <version>0.6</version>
+ <version>0.7</version>
<title>Settings</title>
<include_file>/usr/local/pkg/vhosts.inc</include_file>
<menu>