cacti: 0.8.7e include some security critical patches

This commit is contained in:
Thomas Penteker 2010-04-22 22:56:16 +02:00
parent d715e2be26
commit aa5b56081c
3 changed files with 19 additions and 2 deletions

View File

@ -24,6 +24,7 @@ drwxr-xr-x root/root var/www/htdocs/cacti/cli/
-rw-r--r-- root/root var/www/htdocs/cacti/cli/poller_reindex_hosts.php
-rw-r--r-- root/root var/www/htdocs/cacti/cli/rebuild_poller_cache.php
-rw-r--r-- root/root var/www/htdocs/cacti/cli/repair_database.php
-rw-r--r-- root/root var/www/htdocs/cacti/cli/repair_templates.php
-rw-r--r-- root/root var/www/htdocs/cacti/cli/structure_rra_paths.php
-rw-r--r-- root/root var/www/htdocs/cacti/cli/upgrade_database.php
-rw-r--r-- root/root var/www/htdocs/cacti/cmd.php

View File

@ -1 +1,7 @@
7563a58a57d2c6cc0da28cc341a30969 cacti-0.8.7e.tar.gz
8599b4c9433cb1751086ef394bba66ee cli_add_graph.patch
4323da80d4dc0238fc4902dcd27f47f0 cross_site_fix.patch
7fe579f0d2fb999c5866e8218436a65d fix_icmp_on_windows_iis_servers.patch
85c71f16fcbf79a11f24609b973199d8 snmp_invalid_response.patch
7e82d147a279f5726dc1ad6bf838f6b0 sql_injection_template_export.patch
b1bd81dc89aa3e30365d0c9d45956255 template_duplication.patch

View File

@ -6,10 +6,20 @@
name=cacti
version=0.8.7e
release=1
source=(http://www.$name.net/downloads/$name-$version.tar.gz)
release=2
source=(http://www.$name.net/downloads/$name-$version.tar.gz
http://www.cacti.net/downloads/patches/0.8.7e/cli_add_graph.patch
http://www.cacti.net/downloads/patches/0.8.7e/snmp_invalid_response.patch
http://www.cacti.net/downloads/patches/0.8.7e/template_duplication.patch
http://www.cacti.net/downloads/patches/0.8.7e/fix_icmp_on_windows_iis_servers.patch
http://www.cacti.net/downloads/patches/0.8.7e/cross_site_fix.patch
http://www.cacti.net/downloads/patches/0.8.7e/sql_injection_template_export.patch
)
build () {
cd $name-$version
for i in ../*.patch;do patch -p1 -i "$i";done
cd ..
mkdir -p $PKG/var/www/htdocs
mv $name-$version $PKG/var/www/htdocs/$name
chown -R cactiuser $PKG/var/www/htdocs/$name/{rra,log}