[Frugalware-darcs] frugalware-0.6: cacti-0.8.6j-2terminus1-i686

voroskoi voroskoi at frugalware.org
Fri Jun 8 10:34:06 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=frugalware-0.6;a=darcs_commitdiff;h=20070608082513-dd049-2c57cc90ccef5cd57e6d0344e99a0d4a4d0191fc.gz;

[cacti-0.8.6j-2terminus1-i686
voroskoi <voroskoi at frugalware.org>**20070608082513
 secfix bump, closes #2133
] {
hunk ./source/network-extra/cacti/FrugalBuild 7
-pkgrel=1
+pkgrel=2terminus1
hunk ./source/network-extra/cacti/FrugalBuild 14
-source=(http://www.cacti.net/downloads/$pkgname-$pkgver.tar.gz)
+source=(http://www.cacti.net/downloads/$pkgname-$pkgver.tar.gz SA25557.diff)
+sha1sums=('4ed5b7ada8710c5474e7fc4aad4ad9339caf0188'\
+          'eff9db43c57c8bdf4836647ab4e1792c28f8e650')
hunk ./source/network-extra/cacti/FrugalBuild 29
-sha1sums=('4ed5b7ada8710c5474e7fc4aad4ad9339caf0188')
-
addfile ./source/network-extra/cacti/SA25557.diff
hunk ./source/network-extra/cacti/SA25557.diff 1
+--- 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"];
+ }
+ 
}


More information about the Frugalware-darcs mailing list