diff options
-rw-r--r-- | packages/bsdstats/bsdstats.xml | 23 | ||||
-rw-r--r-- | pkg_config.xml | 13 |
2 files changed, 36 insertions, 0 deletions
diff --git a/packages/bsdstats/bsdstats.xml b/packages/bsdstats/bsdstats.xml new file mode 100644 index 00000000..35e3ba01 --- /dev/null +++ b/packages/bsdstats/bsdstats.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8" ?> +<packagegui> + <title>BSDStats</title> + <name>bsdstats</name> + <version>0.1</version> + <!-- Menu is where this packages menu will appear --> + <menu> + <name>BSDStats</name> + <tooltiptext>BSDStats</tooltiptext> + <url></url> + <section>Diagnostics</section> + </menu> + <custom_php_install_command> + system("echo monthly_statistics_report_devices=yes >> /etc/periodic.conf"); + system("echo monthly_statistics_enable=yes >> /etc/periodic.conf"); + system("/usr/local/etc/periodic/monthly/300.statistics"); + </custom_php_install_command> + <custom_php_deinstall_command> + system("cat /etc/periodic.conf | grep -n \"monthly_statistics_report_devices\" >/tmp/periodic.conf"); + system("cat /tmp/periodic.conf | grep -n \"monthly_statistics_enable\" >/etc/periodic.conf"); + system("rm /usr/local/etc/periodic/monthly/300.statistics"); + </custom_php_deinstall_command> +</packagegui> diff --git a/pkg_config.xml b/pkg_config.xml index e64dfc95..26e96e5d 100644 --- a/pkg_config.xml +++ b/pkg_config.xml @@ -303,6 +303,19 @@ <configurationfile>mtr-nox11.xml</configurationfile> </package> <package> + <name>bsdstats</name> + <descr>The mission of this site is to try and come up with semi-accurate numbers for both advocacy, and marketing, of the *BSD Operating Systems.</descr> + <website>http://bsdstats.hub.org/</website> + <category>Network</category> + <version>0.1</version> + <status>BETA</status> + <maintainer>geekgod@geekgod.com</maintainer> + <depends_on_package_base_url>http://www.pfsense.org/packages/All</depends_on_package_base_url> + <depends_on_package>bsdstats-2.0.tbz</depends_on_package> + <config_file>http://www.pfsense.org/packages/config/bsdstats.xml</config_file> + <configurationfile>bsdstats.xml</configurationfile> + </package> + <package> <name>squid</name> <descr>High performance web proxy cache.</descr> <website>http://www.squid-cache.org/</website> |