"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Makefile.PL" between
squidanalyzer-6.5.tar.gz and squidanalyzer-6.6.tar.gz

About: SquidAnalyzer is a Squid (proxy) log analyzer.

Makefile.PL  (squidanalyzer-6.5):Makefile.PL  (squidanalyzer-6.6)
skipping to change at line 34 skipping to change at line 34
# Default install path # Default install path
my $LOGFILE = $ENV{LOGFILE} || $default_log; my $LOGFILE = $ENV{LOGFILE} || $default_log;
my $BINDIR = $ENV{BINDIR} || '/usr/local/bin'; my $BINDIR = $ENV{BINDIR} || '/usr/local/bin';
my $CONFDIR = $ENV{CONFDIR} || '/etc/squidanalyzer'; my $CONFDIR = $ENV{CONFDIR} || '/etc/squidanalyzer';
my $ETCDIR = $ENV{ETCDIR} || $CONFDIR; my $ETCDIR = $ENV{ETCDIR} || $CONFDIR;
my $HTMLDIR = $ENV{HTMLDIR} || '/var/www/squidanalyzer'; my $HTMLDIR = $ENV{HTMLDIR} || '/var/www/squidanalyzer';
my $BASEURL = $ENV{BASEURL} || '/squidreport'; my $BASEURL = $ENV{BASEURL} || '/squidreport';
my $DOCDIR = $ENV{DOCDIR} || ''; my $DOCDIR = $ENV{DOCDIR} || '';
my $MANDIR = $ENV{MANDIR} || '/usr/local/man/man3'; my $MANDIR = $ENV{MANDIR} || '/usr/local/man/man3';
my $DESTDIR = $ENV{DESTDIR} || ''; my $DESTDIR = $ENV{DESTDIR} || '';
$ENV{INSTALLDIRS} ||= 'vendor'; $ENV{INSTALLDIRS} ||= 'site';
unless(open(INST, ">install_all.sh")) { unless(open(INST, ">install_all.sh")) {
print "\nError: can't write post install file install_all.sh, $!\n"; print "\nError: can't write post install file install_all.sh, $!\n";
exit 0; exit 0;
} }
print INST qq{#!/bin/sh print INST qq{#!/bin/sh
test ! -d "$DESTDIR$BINDIR" && mkdir -p $DESTDIR$BINDIR test ! -d "$DESTDIR$BINDIR" && mkdir -p $DESTDIR$BINDIR
test ! -d "$DESTDIR$ETCDIR" && mkdir -p $DESTDIR$ETCDIR test ! -d "$DESTDIR$ETCDIR" && mkdir -p $DESTDIR$ETCDIR
test ! -d "$DESTDIR$ETCDIR/lang" && mkdir -p $DESTDIR$ETCDIR/lang test ! -d "$DESTDIR$ETCDIR/lang" && mkdir -p $DESTDIR$ETCDIR/lang
test ! -d "$DESTDIR$HTMLDIR" && mkdir -p $DESTDIR$HTMLDIR test ! -d "$DESTDIR$HTMLDIR" && mkdir -p $DESTDIR$HTMLDIR
skipping to change at line 142 skipping to change at line 142
`perl -p -i -e 's#Lang.*\.txt#Lang $ETCDIR/lang/en_US.txt#' etc/squidanalyze r.conf`; `perl -p -i -e 's#Lang.*\.txt#Lang $ETCDIR/lang/en_US.txt#' etc/squidanalyze r.conf`;
my $zcat = `which zcat`; my $zcat = `which zcat`;
chomp($zcat); chomp($zcat);
`perl -p -i -e 's#^\\\$ZCAT_PROG.*#\\\$ZCAT_PROG = "$zcat";#' SquidAnalyzer.pm`; `perl -p -i -e 's#^\\\$ZCAT_PROG.*#\\\$ZCAT_PROG = "$zcat";#' SquidAnalyzer.pm`;
my $bzcat = `which bzcat`; my $bzcat = `which bzcat`;
chomp($bzcat); chomp($bzcat);
`perl -p -i -e 's#^\\\$BZCAT_PROG.*#\\\$BZCAT_PROG = "$bzcat";#' SquidAnalyzer.p m`; `perl -p -i -e 's#^\\\$BZCAT_PROG.*#\\\$BZCAT_PROG = "$bzcat";#' SquidAnalyzer.p m`;
my $xzcat = `which xzcat`;
chomp($xzcat);
`perl -p -i -e 's#^\\\$XZCAT_PROG.*#\\\$XZCAT_PROG = "$xzcat";#' SquidAnalyzer.p
m`;
WriteMakefile( WriteMakefile(
'DISTNAME' => 'SquidAnalyzer', 'DISTNAME' => 'SquidAnalyzer',
'NAME' => 'SquidAnalyzer', 'NAME' => 'SquidAnalyzer',
'VERSION_FROM' => 'SquidAnalyzer.pm', 'VERSION_FROM' => 'SquidAnalyzer.pm',
'dist' => { 'dist' => {
'COMPRESS'=>'gzip -9f', 'SUFFIX' => 'gz', 'COMPRESS'=>'gzip -9f', 'SUFFIX' => 'gz',
'ZIP'=>'/usr/bin/zip','ZIPFLAGS'=>'-rl' 'ZIP'=>'/usr/bin/zip','ZIPFLAGS'=>'-rl'
}, },
'AUTHOR' => 'Gilles Darold (gilles@darold.net)', 'AUTHOR' => 'Gilles Darold (gilles@darold.net)',
'ABSTRACT' => 'Squid log analyzer', 'ABSTRACT' => 'Squid log analyzer',
'EXE_FILES' => [ qw(squid-analyzer) ], 'EXE_FILES' => [ qw(squid-analyzer) ],
'MAN3PODS' => { 'doc/SquidAnalyzer.pod' => 'blib/man3/SquidAnalyzer.3 ' }, 'MAN3PODS' => { 'doc/SquidAnalyzer.pod' => 'blib/man3/SquidAnalyzer.3 pm' },
'DESTDIR' => $ENV{DESTDIR}, 'DESTDIR' => $ENV{DESTDIR},
'INSTALLDIRS' => $ENV{INSTALLDIRS}, 'INSTALLDIRS' => $ENV{INSTALLDIRS},
'clean' => { FILES => "install_all.sh lib/blib/ squid-analyzer.3" }, 'clean' => { FILES => "install_all.sh lib/blib/ squid-analyzer.3" },
'META_MERGE' => { 'META_MERGE' => {
resources => { resources => {
homepage => 'http://squidanalyzer.darold.net/', homepage => 'http://squidanalyzer.darold.net/',
repository => { repository => {
type => 'git', type => 'git',
git => 'git@github.com:darold/squidanalyzer.git', git => 'git@github.com:darold/squidanalyzer.git',
web => 'https://github.com/darold/squidanalyzer', web => 'https://github.com/darold/squidanalyzer',
 End of changes. 3 change blocks. 
2 lines changed or deleted 7 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS