aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-08-07 21:37:19 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-08-07 21:37:19 +0000
commit0cb6ac8f24209ca8efbbf0d54440aa89337e0949 (patch)
treedad8377994e0ee64c37b40ff25b7b40637584a2d
parent490cb57c97473842f0f4b93a11a738135dd1a00c (diff)
downloadpfsense-packages-0cb6ac8f24209ca8efbbf0d54440aa89337e0949.tar.gz
pfsense-packages-0cb6ac8f24209ca8efbbf0d54440aa89337e0949.tar.bz2
pfsense-packages-0cb6ac8f24209ca8efbbf0d54440aa89337e0949.zip
Add BSDStats package.
From their webpage: 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. More specifically, we are trying to prove to the various vendors out there that *BSD should be viewed as a serious Operating System, and not just a hobbiest system, for support (ie. hardware drivers) purposes. Primarily started to provide numbers for FreeBSD deployments, we are designing the system so that NetBSD, OpenBSD and DragonFlyBSD can participate as well. The script used for reporting can be found in the FreeBSD ports tree under sysutils/bsdstats. If you have any questions, or suggestions, please email scrappy@freebsd.org
-rw-r--r--packages/bsdstats/bsdstats.xml23
-rw-r--r--pkg_config.xml13
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>