diff options
author | Thomas Penteker <tek@serverop.de> | 2010-04-22 22:56:16 +0200 |
---|---|---|
committer | Thomas Penteker <tek@serverop.de> | 2010-04-22 22:56:16 +0200 |
commit | aa5b56081cbcba7a08e7f906b8bee7e774885343 (patch) | |
tree | 43975e7beec5cb78647489936e0e6afbdbf5a3de /cacti/Pkgfile | |
parent | d715e2be26e9f34818d9bb349f25f0eb87f07e50 (diff) | |
download | contrib-aa5b56081cbcba7a08e7f906b8bee7e774885343.tar.gz contrib-aa5b56081cbcba7a08e7f906b8bee7e774885343.tar.xz |
cacti: 0.8.7e include some security critical patches
Diffstat (limited to 'cacti/Pkgfile')
-rw-r--r-- | cacti/Pkgfile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/cacti/Pkgfile b/cacti/Pkgfile index b28ee44ad..e7cee94de 100644 --- a/cacti/Pkgfile +++ b/cacti/Pkgfile @@ -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} |