Package: acidlab Version: 0.9.6b20-10 Severity: normal Tags: patch
*** Please type your report below this line ***
For most of the selectin queries the values of the Year selection drop down boxes
are useless on current systems. Included is a patch that replaces the values to hopefully
keep acidlab usefull 'till 2010
-- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: sparc (sparc64) Kernel: Linux 2.6.8-2-sparc64 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages acidlab depends on:
ii acidlab-mysql 0.9.6b20-10 Analysis Console for Intrusion Dat
ii apache2-mpm-prefork [http 2.0.54-2 traditional model for Apache2
ii debconf 1.4.30.13 Debian configuration management sy
ii libphp-adodb 4.52-1 The 'adodb' database abstraction l
ii libphp-phplot 4.4.6+5.0rc1-2 The graphic library for PHP
ii php4 4:4.3.10-13 server-side, HTML-embedded scripti
ii php4-cli 4:4.3.10-13 command-line interpreter for the p
ii php4-gd 4:4.3.10-13 GD module for php4
ii wwwconfig-common 0.0.43 Debian web auto configuration
-- debconf information excluded
diff /home/uwe/acidlab/acid_graph_main.php /usr/share/acidlab/acid_graph_main.php 161,165c161,165 < <OPTION VALUE="2005" '.chk_select($chart_begin_year, "2005").'>2005 < <OPTION VALUE="2006" '.chk_select($chart_begin_year, "2006").'>2006 < <OPTION VALUE="2007" '.chk_select($chart_begin_year, "2007").'>2007 < <OPTION VALUE="2008" '.chk_select($chart_begin_year, "2008").'>2008 < <OPTION VALUE="2009" '.chk_select($chart_begin_year, "2009").'>2009 --- > <OPTION VALUE="1999" '.chk_select($chart_begin_year, "1999").'>1999 > <OPTION VALUE="2000" '.chk_select($chart_begin_year, "2000").'>2000 > <OPTION VALUE="2001" '.chk_select($chart_begin_year, "2001").'>2001 > <OPTION VALUE="2002" '.chk_select($chart_begin_year, "2002").'>2002 > <OPTION VALUE="2003" '.chk_select($chart_begin_year, "2003").'>2003 198,204c198,203 < <OPTION VALUE="2005" '.chk_select($chart_end_year, "2005").'>2005 < <OPTION VALUE="2006" '.chk_select($chart_end_year, "2006").'>2006 < <OPTION VALUE="2007" '.chk_select($chart_end_year, "2007").'>2007 < <OPTION VALUE="2008" '.chk_select($chart_end_year, "2008").'>2008 < <OPTION VALUE="2009" '.chk_select($chart_end_year, "2009").'>2009 < <OPTION VALUE="2010" '.chk_select($chart_end_year, "2010").'>2010 < </SELECT>'; --- > <OPTION VALUE="1999" '.chk_select($chart_end_year, "1999").'>1999 > <OPTION VALUE="2000" '.chk_select($chart_end_year, "2000").'>2000 > <OPTION VALUE="2001" '.chk_select($chart_end_year, "2001").'>2001 > <OPTION VALUE="2002" '.chk_select($chart_end_year, "2002").'>2002 > <OPTION VALUE="2003" '.chk_select($chart_end_year, "2003").'>2003 > </SELECT>'; diff /home/uwe/acidlab/acid_state_citems.inc /usr/share/acidlab/acid_state_citems.inc 735,740c735,740 < echo ' <OPTION VALUE="2005" '.chk_select($this->criteria[$i][4],"2005").'>2005'; < echo ' <OPTION VALUE="2006" '.chk_select($this->criteria[$i][4],"2006").'>2006'; < echo ' <OPTION VALUE="2007" '.chk_select($this->criteria[$i][4],"2007").'>2007'; < echo ' <OPTION VALUE="2008" '.chk_select($this->criteria[$i][4],"2008").'>2008'; < echo ' <OPTION VALUE="2009" '.chk_select($this->criteria[$i][4],"2009").'>2009'; < echo ' <OPTION VALUE="2010" '.chk_select($this->criteria[$i][4],"2010").'>2010</SELECT>'; --- > echo ' <OPTION VALUE="1999" > '.chk_select($this->criteria[$i][4],"1999").'>1999'; > echo ' <OPTION VALUE="2000" > '.chk_select($this->criteria[$i][4],"2000").'>2000'; > echo ' <OPTION VALUE="2001" > '.chk_select($this->criteria[$i][4],"2001").'>2001'; > echo ' <OPTION VALUE="2002" > '.chk_select($this->criteria[$i][4],"2002").'>2002'; > echo ' <OPTION VALUE="2003" > '.chk_select($this->criteria[$i][4],"2003").'>2003'; > echo ' <OPTION VALUE="2004" > '.chk_select($this->criteria[$i][4],"2004").'>2004</SELECT>'; diff /home/uwe/acidlab/acid_stat_time.php /usr/share/acidlab/acid_stat_time.php 189,194c189,194 < <OPTION VALUE="2005" '.chk_select($time[$i][2],"2005").'>2005 < <OPTION VALUE="2006" '.chk_select($time[$i][2],"2006").'>2006 < <OPTION VALUE="2007" '.chk_select($time[$i][2],"2007").'>2007 < <OPTION VALUE="2008" '.chk_select($time[$i][2],"2008").'>2008 < <OPTION VALUE="2009" '.chk_select($time[$i][2],"2009").'>2009 < <OPTION VALUE="2010" '.chk_select($time[$i][2],"2009").'>2010 --- > <OPTION VALUE="1999" '.chk_select($time[$i][2],"1999").'>1999 > <OPTION VALUE="2000" '.chk_select($time[$i][2],"2000").'>2000 > <OPTION VALUE="2001" '.chk_select($time[$i][2],"2001").'>2001 > <OPTION VALUE="2002" '.chk_select($time[$i][2],"2002").'>2002 > <OPTION VALUE="2003" '.chk_select($time[$i][2],"2003").'>2003 > <OPTION VALUE="2004" '.chk_select($time[$i][2],"2003").'>2004