~ubuntu-branches/ubuntu/saucy/awstats/saucy

« back to all changes in this revision

Viewing changes to .pc/1003_redirect_to_STDERR.patch/tools/awstats_buildstaticpages.pl

  • Committer: Package Import Robot
  • Author(s): Sergey B Kirpichev
  • Date: 2013-02-22 19:33:53 UTC
  • mfrom: (1.2.9)
  • Revision ID: package-import@ubuntu.com-20130222193353-kxadnnphaxmxlpp4
Tags: 7.1~dfsg-1
* Ensure that backwards compatible Java bytecode is built (Closes:
  #687414)
* Add option to easy switch off awstats crontabs.  Install symlink for
  awstats binary to /usr/bin.  Closes: #641481.
* Drop deprecated DMUA flag
* Link missing mime-icons to notavailable.png (Closes: #690379)
* Fix lintian unused-license-paragraph-in-dep5-copyright (Add comment
  for Files: wwwroot/icon/mime/*)
* Fix lintian copyright-refers-to-symlink-license (GPL -> GPL-1+)
* Install manpage
* Imported Upstream version 7.1~dfsg
* Update patches for new release
* Fix executable bit on awstats.pl
* Bump up Standards-Version (to 3.9.4)
* Change license for wwwroot/icon/mime/* icons (Closes: #698921)
* Update watch file for 7.x
* Add debian/icons/firefox.png to include-binaries
* Update DEB_UPSTREAM_TARBALL* stuff in rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
# Launch awstats with -staticlinks option to build all static pages.
4
4
# See COPYING.TXT file about AWStats GNU General Public License.
5
5
#------------------------------------------------------------------------------
6
 
# $Revision: 1.40 $ - $Author: eldy $ - $Date: 2010/08/04 12:56:50 $
 
6
# $Revision: 1.44 $ - $Author: eldy $ - $Date: 2012/10/17 09:22:48 $
7
7
 
8
8
#$|=1;
9
9
#use warnings;          # Must be used in test mode only. This reduce a little process speed
15
15
#------------------------------------------------------------------------------
16
16
# Defines
17
17
#------------------------------------------------------------------------------
18
 
my $REVISION='$Revision: 1.40 $'; $REVISION =~ /\s(.*)\s/; $REVISION=$1;
 
18
my $REVISION='$Revision: 1.44 $'; $REVISION =~ /\s(.*)\s/; $REVISION=$1;
19
19
my $VERSION="1.2 (build $REVISION)";
20
20
 
21
21
# ---------- Init variables --------
51
51
$ShowMenu $ShowMonthStats $ShowDaysOfMonthStats $ShowDaysOfWeekStats
52
52
$ShowHoursStats $ShowDomainsStats $ShowHostsStats
53
53
$ShowRobotsStats $ShowSessionsStats $ShowPagesStats $ShowFileTypesStats
54
 
$ShowOSStats $ShowBrowsersStats $ShowOriginStats
 
54
$ShowOSStats $ShowBrowsersStats $ShowDownloadsStats $ShowOriginStats
55
55
$ShowKeyphrasesStats $ShowKeywordsStats $ShowMiscStats $ShowHTTPErrorsStats
56
56
$BuildReportFormat
57
57
@ExtraName
234
234
                if ( $param =~ /^LoadPlugin/ ) { push @PluginsToLoad, $value; next; }
235
235
 
236
236
                # If parameters was not found previously, defined variable with name of param to value
 
237
                print $param."-".$value."\n";
237
238
                $$param=$value;
238
239
        }
239
240
 
297
298
        print "                                 Output directory must contains icon directory\n";
298
299
        print "                                 when this option is used (need 'htmldoc')\n";
299
300
        print "\n";
300
 
        print "New versions and FAQ at http://awstats.sourceforge.net\n";
 
301
        print "New versions and FAQ at http://www.awstats.org\n";
301
302
        exit 0;
302
303
}
303
304
 
354
355
#if ($ShowFileTypesStats) { push @OutputList,'filetypes'; }     # There is dedicated page for filetypes
355
356
if ($ShowOSStats) { push @OutputList,'osdetail'; push @OutputList,'unknownos'; }
356
357
if ($ShowBrowsersStats) { push @OutputList,'browserdetail'; push @OutputList,'unknownbrowser'; }
 
358
if ($ShowDownloadsStats) { push @OutputList,'downloads'; }
357
359
if ($ShowScreenSizeStats) { push @OutputList,'screensize'; }
358
360
if ($ShowOriginStats) { push @OutputList,'refererse'; push @OutputList,'refererpages'; }
359
361
if ($ShowKeyphrasesStats) { push @OutputList,'keyphrases'; }
423
425
my $cpt=0;
424
426
my $NoLoadPlugin="";
425
427
if ($BuildPDF) { $NoLoadPlugin.="tooltips,rawlog,hostinfo"; }
426
 
my $smallcommand="\"$Awstats\" -config=$SiteConfig".($BuildPDF?" -buildpdf":"").($NoLoadPlugin?" -noloadplugin=$NoLoadPlugin":"")." -staticlinks".($OutputSuffix ne $SiteConfig?"=$OutputSuffix":"");
 
428
my $smallcommand="\"$Awstats\" -config=$SiteConfig".($BuildPDF?" -buildpdf":"").($NoLoadPlugin?" -noloadplugin=$NoLoadPlugin":"").($DatabaseBreak?" -databasebreak=$DatabaseBreak":"")." -staticlinks".($OutputSuffix ne $SiteConfig?"=$OutputSuffix":"");
427
429
if ($StaticExt && $StaticExt ne 'html')     { $smallcommand.=" -staticlinksext=$StaticExt"; }
428
430
if ($DirIcons)      { $smallcommand.=" -diricons=$DirIcons"; }
429
431
if ($DirConfig)     { $smallcommand.=" -configdir=$DirConfig"; }