diff options
author | Peter Volkov <pva@gentoo.org> | 2008-08-19 07:03:01 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2008-08-19 07:03:01 +0000 |
commit | d297cf42d73ae6b5e9baa663ef3215185d77f639 (patch) | |
tree | bf91dd74ae0c81e0af77d0b31d2d32acf555591a /net-analyzer/syweb/files | |
parent | Initial import from sunrise, bug #176635. Syweb splited into separate package... (diff) | |
download | gentoo-2-d297cf42d73ae6b5e9baa663ef3215185d77f639.tar.gz gentoo-2-d297cf42d73ae6b5e9baa663ef3215185d77f639.tar.bz2 gentoo-2-d297cf42d73ae6b5e9baa663ef3215185d77f639.zip |
Initial import. Separated out from symon.
(Portage version: 2.2_rc8/cvs/Linux 2.6.22-ovz005 i686)
Diffstat (limited to 'net-analyzer/syweb/files')
-rw-r--r-- | net-analyzer/syweb/files/syweb-class_lexer.inc.patch | 14 | ||||
-rw-r--r-- | net-analyzer/syweb/files/syweb-setup.inc.patch | 25 | ||||
-rw-r--r-- | net-analyzer/syweb/files/syweb-total_firewall.layout.patch | 30 |
3 files changed, 69 insertions, 0 deletions
diff --git a/net-analyzer/syweb/files/syweb-class_lexer.inc.patch b/net-analyzer/syweb/files/syweb-class_lexer.inc.patch new file mode 100644 index 000000000000..425e9f4b18f8 --- /dev/null +++ b/net-analyzer/syweb/files/syweb-class_lexer.inc.patch @@ -0,0 +1,14 @@ +# Comment layout test since they aren't installed by default (prevents +# configtest.php from failing). + +--- syweb/htdocs/syweb/class_lexer.inc.orig 2007-04-30 21:04:45.004493630 +0100 ++++ syweb/htdocs/syweb/class_lexer.inc 2007-04-30 21:04:59.267317747 +0100 +@@ -245,7 +245,7 @@ + function _test() { + global $symon; + +- $this->load('hifn_test.layout'); ++ /* $this->load('hifn_test.layout'); */ + while(!$this->eof) { + $token = $this->next_token(); + } diff --git a/net-analyzer/syweb/files/syweb-setup.inc.patch b/net-analyzer/syweb/files/syweb-setup.inc.patch new file mode 100644 index 000000000000..604a5c9991d1 --- /dev/null +++ b/net-analyzer/syweb/files/syweb-setup.inc.patch @@ -0,0 +1,25 @@ +# Rename directories to reflect the changes from the ebuild and the +# configuration files. + +--- syweb/htdocs/syweb/setup.inc.orig 2008-08-18 12:22:44.662964324 +0100 ++++ syweb/htdocs/syweb/setup.inc 2008-08-18 12:24:08.884219875 +0100 +@@ -32,11 +32,18 @@ + $symon['layout_dir']='/var/www/symon'; + */ + +-/* running FreeBSD, apache not chrooted: */ ++/* running FreeBSD, apache not chrooted: + $symon['rrdtool_path']='/usr/local/bin/rrdtool'; + $symon['cache_dir']='/usr/local/www/symon/cache'; + $symon['host_tree']='/usr/local/www/symon/rrds'; + $symon['layout_dir']='/usr/local/www/symon'; ++*/ ++ ++/* running Linux, apache not chrooted: */ ++$symon['rrdtool_path']='/usr/bin/rrdtool'; ++$symon['cache_dir']='/var/www/localhost/htdocs/syweb/cache'; ++$symon['host_tree']='/var/lib/symon/rrds'; ++$symon['layout_dir']='/var/www/localhost/htdocs/syweb/layouts'; + + $symon['cache_duration']=20; + $symon['isolate_hosts']=1; diff --git a/net-analyzer/syweb/files/syweb-total_firewall.layout.patch b/net-analyzer/syweb/files/syweb-total_firewall.layout.patch new file mode 100644 index 000000000000..75c449fc08ea --- /dev/null +++ b/net-analyzer/syweb/files/syweb-total_firewall.layout.patch @@ -0,0 +1,30 @@ +# Convert BSD devices to Linux. +# Rename directories to reflect the changes from the ebuild and the +# configuration files. + +--- syweb/symon/total_firewall.layout.orig 2007-04-30 19:13:12.967405846 +0100 ++++ syweb/symon/total_firewall.layout 2007-04-30 19:14:55.872706997 +0100 +@@ -8,15 +8,15 @@ + </div>"; + + group name="interfaces", start=1017942400, end=-1; +-graph rrdfile=/symon/rrds/www/if_de0.rrd, title="external if on dikkeaap"; +-graph rrdfile=/symon/rrds/www/if_xl0.rrd, title="internal if on dikkeaap"; ++graph rrdfile=/var/lib/symon/rrds/www/if_eth0.rrd, title="external if on dikkeaap"; ++graph rrdfile=/var/lib/symon/rrds/www/if_eth1.rrd, title="internal if on dikkeaap"; + + group name="cpu and memory", start=1017942400, end=-1; +-graph rrdfile=/symon/rrds/www/cpu0.rrd, title="cpu(0) on dikkeaap"; +-graph rrdfile=/symon/rrds/www/mem.rrd, title="mem on dikkeaap"; ++graph rrdfile=/var/lib/symon/rrds/www/cpu0.rrd, title="cpu(0) on dikkeaap"; ++graph rrdfile=/var/lib/symon/rrds/www/mem.rrd, title="mem on dikkeaap"; + + group name="disks", start=1017942400, end=-1; +-graph rrdfile=/symon/rrds/www/io_wd0.rrd, title="disk 0 on dikkeaap"; +-graph rrdfile=/symon/rrds/www/io_wd1.rrd, title="disk 1 on dikkeaap"; +-graph rrdfile=/symon/rrds/www/io_wd2.rrd, title="disk 2 on dikkeaap"; +-graph rrdfile=/symon/rrds/www/io_wd3.rrd, title="disk 3 on dikkeaap"; ++graph rrdfile=/var/lib/symon/rrds/www/io_hda.rrd, title="disk 0 on dikkeaap"; ++graph rrdfile=/var/lib/symon/rrds/www/io_hdb.rrd, title="disk 1 on dikkeaap"; ++graph rrdfile=/var/lib/symon/rrds/www/io_hdc.rrd, title="disk 2 on dikkeaap"; ++graph rrdfile=/var/lib/symon/rrds/www/io_hdd.rrd, title="disk 3 on dikkeaap"; |