From 2da621c6960c15181b52e22d4fdc5012942e4463 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 28 Feb 2005 22:48:42 +0000 Subject: Add hula package --- packages/hula.xml | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ pkg_config.xml | 13 +++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 packages/hula.xml diff --git a/packages/hula.xml b/packages/hula.xml new file mode 100644 index 00000000..2beb7921 --- /dev/null +++ b/packages/hula.xml @@ -0,0 +1,54 @@ + + + Services: Hula + hula + 3.0 + true + yes + Change + + http://www.pfsense.com/packages/All/hula.tgz + + + + Hula Default Settings + This area will help setup Hula for the first time. +
Services
+ hula.xml +
+ + + + Hula Default Domain + domain + Enter the default domain that hula will use. + input + + + + conf_mount_rw(); + config_lock(); + $fout = fopen("/usr/local/etc/rc.d/hula.sh","w"); + fwrite($fout, "#!/bin/sh\n\n"); + fwrite($fout, "/usr/local/hula/sbin/hulamanager &\n"); + fclose($fout); + system("chmod 555 /usr/local/etc/rc.d/hula.sh"); + system("/usr/local/hula/hulasetup --domain " . $_POST['domain']); + system("/usr/local/etc/rc.d/hula.sh"); + conf_mount_ro(); + config_unlock(); + + + system("/usr/bin/killall -9 hulamanager"); + system("rm -rf /usr/local/hula"); + + + system("rm /usr/local/etc/rc.d/hula.sh"); + $fout = fopen("/usr/local/etc/rc.d/hula.sh","w"); + fwrite($fout, "#!/bin/sh\n\n"); + fwrite($fout, "/usr/local/hula/sbin/hulamanager &\n"); + fclose($fout); + system("chmod 555 /usr/local/etc/rc.d/hula.sh"); + +
diff --git a/pkg_config.xml b/pkg_config.xml index 1454e203..063e2211 100644 --- a/pkg_config.xml +++ b/pkg_config.xml @@ -201,5 +201,18 @@ ALPHA siproxd.xml + + hula + http://www.hula-project.org + + Services + http://www.pfsense.com/packages/config/hula.xml + http://www.pfSense.com/packages/All/ + hula.tgz + "" + 0.1 + ALPHA-ALPHA + hula.xml + -- cgit v1.2.3