Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=6589dc316153e9cc5f097f0cd7bb950d0a92c964
commit 6589dc316153e9cc5f097f0cd7bb950d0a92c964 Author: voroskoi <[EMAIL PROTECTED]> Date: Fri Nov 23 11:18:25 2007 +0100 cacti-0.8.7a-1-i686 secfix bump, closes #2594 SA25557.diff in upstream diff --git a/source/network-extra/cacti/FrugalBuild b/source/network-extra/cacti/FrugalBuild index 7ef7802..0009797 100644 --- a/source/network-extra/cacti/FrugalBuild +++ b/source/network-extra/cacti/FrugalBuild @@ -3,17 +3,16 @@ # Contributor: Tuxbubling <[EMAIL PROTECTED]> pkgname=cacti -pkgver=0.8.6j -pkgrel=2 +pkgver=0.8.7a +pkgrel=1 pkgdesc="Cacti is a complete network graphing solution designed to harness the power of RRDTool's data storage and graphing functionality." url="http://cacti.net/" depends=('rrdtool' 'apache' 'mysql' 'php' 'net-snmp') groups=('network-extra') archs=('i686' 'x86_64') -up2date="lynx -dump http://cacti.net/download_cacti.php | grep 'latest version' | sed 's/.*:....//'" -source=(http://www.cacti.net/downloads/$pkgname-$pkgver.tar.gz SA25557.diff) -sha1sums=('4ed5b7ada8710c5474e7fc4aad4ad9339caf0188'\ - 'eff9db43c57c8bdf4836647ab4e1792c28f8e650') +up2date="lynx -dump http://cacti.net/download_cacti.php |grep latest |sed -ne 's/.*\]\(.*\)/\1/;1p'" +source=(http://www.cacti.net/downloads/$pkgname-$pkgver.tar.gz) +sha1sums=('ba6498a8af951698066c689e871b8c4b49f7d6f8') build() { diff --git a/source/network-extra/cacti/SA25557.diff b/source/network-extra/cacti/SA25557.diff deleted file mode 100644 index b072aef..0000000 --- a/source/network-extra/cacti/SA25557.diff +++ /dev/null @@ -1,29 +0,0 @@ ---- cacti/graph_image.php 2007/03/04 20:17:57 3898 -+++ cacti/graph_image.php 2007/06/04 06:41:13 3956 -@@ -49,22 +49,22 @@ - $graph_data_array = array(); - - /* override: graph start time (unix time) */ --if (!empty($_GET["graph_start"])) { -+if (!empty($_GET["graph_start"]) && $_GET["graph_start"] < 1600000000) { - $graph_data_array["graph_start"] = $_GET["graph_start"]; - } - - /* override: graph end time (unix time) */ --if (!empty($_GET["graph_end"])) { -+if (!empty($_GET["graph_end"]) && $_GET["graph_end"] < 1600000000) { - $graph_data_array["graph_end"] = $_GET["graph_end"]; - } - - /* override: graph height (in pixels) */ --if (!empty($_GET["graph_height"])) { -+if (!empty($_GET["graph_height"]) && $_GET["graph_height"] < 3000) { - $graph_data_array["graph_height"] = $_GET["graph_height"]; - } - - /* override: graph width (in pixels) */ --if (!empty($_GET["graph_width"])) { -+if (!empty($_GET["graph_width"]) && $_GET["graph_width"] < 3000) { - $graph_data_array["graph_width"] = $_GET["graph_width"]; - } - _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git