From e543074beba3064ac5d9a77660a210e00d0fc766 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 22 Mar 2007 21:07:51 +0000 Subject: Add phpsysinfo package Submitted-by: Perry via Forum --- packages/phpsysinfo/phpsysinfo.inc | 187 +++++++++++++++++++++++++++++++++++++ packages/phpsysinfo/phpsysinfo.xml | 76 +++++++++++++++ pkg_config.xml | 15 ++- 3 files changed, 277 insertions(+), 1 deletion(-) create mode 100644 packages/phpsysinfo/phpsysinfo.inc create mode 100644 packages/phpsysinfo/phpsysinfo.xml diff --git a/packages/phpsysinfo/phpsysinfo.inc b/packages/phpsysinfo/phpsysinfo.inc new file mode 100644 index 00000000..d3c44873 --- /dev/null +++ b/packages/phpsysinfo/phpsysinfo.inc @@ -0,0 +1,187 @@ +'); +fwrite($hf, "\n"); + +fclose($hf); + conf_mount_ro(); + config_unlock(); + +} +?> \ No newline at end of file diff --git a/packages/phpsysinfo/phpsysinfo.xml b/packages/phpsysinfo/phpsysinfo.xml new file mode 100644 index 00000000..cd8c1b00 --- /dev/null +++ b/packages/phpsysinfo/phpsysinfo.xml @@ -0,0 +1,76 @@ + + + phpsysinfo + 1.0 + phpsysinfo + + phpsysinfo + +
Status
+ /pkg_edit.php?xml=phpsysinfo.xml&id=0 +
+ + + phpsysinfo + /pkg_edit.php?xml=phpsysinfo.xml&id=0 + + + + Access phpsysinfo + /phpSysInfo + + + /pkg_edit.php?xml=phpsysinfo.xml&id=0 + + /usr/local/pkg/ + 0644 + http://http://www.pfsense.com/packages/config/phpsysinfo/phpsysinfo.inc + + + /usr/local/pkg/ + 0644 + http://http://www.pfsense.com/packages/ALL/phpsysinfo.tgz + + phpsysinfo_install_config(); + phpsysinfo_install_deinstall(); + phpsysinfo_install_config(); + /usr/local/pkg/phpsysinfo.inc + + + hidepicklist + Hide picklist + Hide language and template picklist + checkbox + + + sensorprogram + Show mbmon + Define the motherboard monitoring program here. Note that not all motherboards are supported and some only partly. + checkbox + + + showmountpoint + Show mount point + Show mount point + checkbox + + + showinodes + Show inodes + Show inode usage + checkbox + + + loadbar + Show loadbar + Show a graph for current cpuload + checkbox + + + showerrors + Show errors + Display error messages at the top of the page. Note that vmstat is added in 1.0.1-SNAPSHOT-03-15-2007 and later + checkbox + + +
diff --git a/pkg_config.xml b/pkg_config.xml index bb391639..ff9202a0 100644 --- a/pkg_config.xml +++ b/pkg_config.xml @@ -3,7 +3,20 @@ - + + phpSysInfo + http://phpsysinfo.sourceforge.net/ + PHPSysInfo is a customizable PHP Script that parses /proc, and formats information nicely. It will display information about system facts like Uptime, CPU, Memory, PCI devices, SCSI devices, IDE devices, Network adapters, Disk usage, and more. + System + 2.5.3 + Beta + 1.0 + http://www.pfsense.com/packages/ALL + mbmon-205_3.tbz + http://www.pfsense.com/packages/phpsysinfo/phpsysinfo.xml + phpsysinfo.xml + + dns-server pfSense version of TinyDNS which features failover host support http://cr.yp.to/djbdns.html -- cgit v1.2.3