summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/patches/2002_nboflastupdatelookuptosave.patch27
-rw-r--r--debian/patches/series1
2 files changed, 28 insertions, 0 deletions
diff --git a/debian/patches/2002_nboflastupdatelookuptosave.patch b/debian/patches/2002_nboflastupdatelookuptosave.patch
new file mode 100644
index 0000000..6923aa1
--- /dev/null
+++ b/debian/patches/2002_nboflastupdatelookuptosave.patch
@@ -0,0 +1,27 @@
+Author: Sergey B Kirpichev <skirpichev@gmail.com>
+Description: Allow change $NBOFLASTUPDATELOOKUPTOSAVE
+ via CGI/CLI arguments.
+Bug-Debian: http://bugs.debian.org/600225
+
+---
+ wwwroot/cgi-bin/awstats.pl | 2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/wwwroot/cgi-bin/awstats.pl
++++ b/wwwroot/cgi-bin/awstats.pl
+@@ -16520,6 +16520,7 @@
+ 'showsteps', 'showdropped',
+ 'showcorrupted', 'showunknownorigin',
+ 'showdirectorigin', 'limitflush',
++ 'nboflastupdatelookuptosave',
+ 'confdir', 'updatefor',
+ 'hostfilter', 'hostfilterex',
+ 'urlfilter', 'urlfilterex',
+@@ -16735,6 +16736,7 @@
+ foreach ( split( /,/, $2 ) ) { $NoLoadPlugin{ &Sanitize( "$_", 1 ) } = 1; }
+ }
+ if ( $QueryString =~ /(^|&|&amp;)limitflush=(\d+)/i ) { $LIMITFLUSH = $2; }
++if ( $QueryString =~ /(^|&|&amp;)nboflastupdatelookuptosave=(\d+)/i ) { $NBOFLASTUPDATELOOKUPTOSAVE = $2; }
+
+ # Get/Define output
+ if ( $QueryString =~
diff --git a/debian/patches/series b/debian/patches/series
index e3f355e..16d70b4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@
1014_websec_robot.patch
1015_awstats-tt-bg.txt.patch
2001_awstatsprog_path.patch
+2002_nboflastupdatelookuptosave.patch