pkg://WWWstats-1.55-2.src.rpm:38523/WWWstats.patch
info downloads
diff -ru WWWstats.orig/config.pl WWWstats/config.pl
--- WWWstats.orig/config.pl Sat Nov 7 07:57:42 1998
+++ WWWstats/config.pl Sat Nov 7 08:24:34 1998
@@ -1,4 +1,4 @@
-#!/local/bin/perl
+#!/usr/bin/perl
# Configuration file for WWWstats package.
@@ -7,7 +7,7 @@
# ---------- Configuration ---------------------
$ForString= "for birk105.studby.uio.no";
-$LogFile = "c:\\Programfiler\\Internett\\Servers\\OmniHTTPd\\Logs\\Access.log";
+$LogFile = "/var/log/httpd/access_log";
@SkipFiles= ("\\.gif","\\.class","\\?","\\.jpg","\\.css","robots\\.txt",
"/pakpages/","/lottery/","/lottery_new/");
@SkipHosts= ("birk105.studby.uio.no");
@@ -23,14 +23,14 @@
%Aliases = ();
$StyleURL = "";
$NoOfWeekPs = 50;
-$DNSLookup = 0;
+$DNSLookup = 1;
$DNSFile = 0;
$LocalSite = "http://birk105.studby.uio.no";
$ReferLinks = 1;
$ReferMaxNo = 10000;
$ReferMinHit= 2;
$ReferInternal = 1;
-$FullHostName = 0;
+$FullHostName = 1;
foreach $Host (@SkipHosts) {
if ($Host eq "") {
Only in WWWstats: config.pl~
diff -ru WWWstats.orig/make_log.pl WWWstats/make_log.pl
--- WWWstats.orig/make_log.pl Sat Nov 7 07:57:42 1998
+++ WWWstats/make_log.pl Sat Nov 7 08:24:22 1998
@@ -1,4 +1,4 @@
-#!/local/bin/perl
+#!/usr/bin/perl
############################################################################
# NCSA style log file generator by Ian Johnston - ianj@trials.co.uk
# Slightly modified by LMG
Only in WWWstats: make_log.pl~
diff -ru WWWstats.orig/shared.pl WWWstats/shared.pl
--- WWWstats.orig/shared.pl Sat Nov 7 07:57:42 1998
+++ WWWstats/shared.pl Sat Nov 7 08:27:25 1998
@@ -1,7 +1,7 @@
# Shared library for the WWWstats package.
-require "cgi.pl";
+require "/usr/lib/WWWstats/cgi.pl";
# ---------- Initialization -------------------
@@ -235,7 +235,7 @@
# Using default if not set
if (!$VAR{"config"}) {
- $VAR{"config"}="config.pl";
+ $VAR{"config"}="/etc/httpd/WWWstats/config.pl";
}
}
Only in WWWstats: shared.pl~
diff -ru WWWstats.orig/uaunknown.pl WWWstats/uaunknown.pl
--- WWWstats.orig/uaunknown.pl Sat Nov 7 07:57:42 1998
+++ WWWstats/uaunknown.pl Sat Nov 7 08:27:48 1998
@@ -1,4 +1,4 @@
-#!/bin/perl
+#!/usr/bin/perl
# UAUnknown
# - reports unknown user agents so that they can be added to the lists
@@ -12,9 +12,9 @@
# The GIF bars were stolen from http://weber.u.washington.edu/~reflux/
-require "cgi.pl";
-require "config.pl";
-require "shared.pl";
+#require "cgi.pl";
+require "/etc/httpd/WWWstats/config.pl";
+require "/usr/lib/WWWstats/shared.pl";
# ---------- The program itself ------------------------
Only in WWWstats: uaunknown.pl~
diff -ru WWWstats.orig/wwwbrowser.pl WWWstats/wwwbrowser.pl
--- WWWstats.orig/wwwbrowser.pl Sat Nov 7 07:57:42 1998
+++ WWWstats/wwwbrowser.pl Sat Nov 7 08:28:27 1998
@@ -1,4 +1,4 @@
-#!/bin/perl
+#!/usr/bin/perl
# WWWbrowser
# - a WWW-log analyzing CGI-script (browser and OS report)
@@ -15,8 +15,8 @@
# The OS and browser lists are highly incomplete. If anyone has info
# not in these lists, I'd be very glad to see it.
-require "cgi.pl";
-require "shared.pl";
+#require "cgi.pl";
+require "/usr/lib/WWWstats/shared.pl";
require $VAR{"config"};
# ---------- The program itself ----------
Only in WWWstats: wwwbrowser.pl~
diff -ru WWWstats.orig/wwwmonth.pl WWWstats/wwwmonth.pl
--- WWWstats.orig/wwwmonth.pl Sat Nov 7 07:57:42 1998
+++ WWWstats/wwwmonth.pl Sat Nov 7 08:29:10 1998
@@ -1,4 +1,4 @@
-#!/bin/perl
+#!/usr/bin/perl
# WWWmonth
# - a WWW-log analyzing CGI-script (monthly report)
@@ -10,8 +10,8 @@
# The GIF bars were stolen from http://weber.u.washington.edu/~reflux/
-require "cgi.pl";
-require "shared.pl";
+#require "cgi.pl";
+require "/usr/lib/WWWstats/shared.pl";
require $VAR{"config"};
# ---------- Initialization ------------------------
Only in WWWstats: wwwmonth.pl~
diff -ru WWWstats.orig/wwwrefer.pl WWWstats/wwwrefer.pl
--- WWWstats.orig/wwwrefer.pl Sat Nov 7 07:57:42 1998
+++ WWWstats/wwwrefer.pl Sat Nov 7 08:29:46 1998
@@ -1,4 +1,4 @@
-#!/bin/perl
+#!/usr/bin/perl
# WWWreferer
# - a WWW-log analyzing CGI-script (referrer report)
@@ -8,8 +8,8 @@
# This program is freeware. Please let me know if you modify the code,
# and not just the configuration.
-require "cgi.pl";
-require "shared.pl";
+#require "cgi.pl";
+require "/usr/lib/WWWstats/shared.pl";
require $VAR{"config"};
# --- Init
Only in WWWstats: wwwrefer.pl~
diff -ru WWWstats.orig/wwwstats.pl WWWstats/wwwstats.pl
--- WWWstats.orig/wwwstats.pl Sat Nov 7 07:57:42 1998
+++ WWWstats/wwwstats.pl Sat Nov 7 08:30:27 1998
@@ -1,4 +1,4 @@
-#!/bin/perl
+#!/usr/bin/perl
# WWWstats
# - a WWW-log analyzing CGI-script
@@ -14,8 +14,8 @@
# Edit Config.pl to configure the program.
-require "cgi.pl";
-require "shared.pl";
+#require "cgi.pl";
+require "/usr/lib/WWWstats/shared.pl";
require $VAR{"config"};
if ($DNSLookup) {
Only in WWWstats: wwwstats.pl~
diff -ru WWWstats.orig/wwwweek.pl WWWstats/wwwweek.pl
--- WWWstats.orig/wwwweek.pl Sat Nov 7 07:57:42 1998
+++ WWWstats/wwwweek.pl Sat Nov 7 08:30:59 1998
@@ -1,4 +1,4 @@
-#!/bin/perl
+#!/usr/bin/perl
# WWWweek
# - a WWW-log analyzing CGI-script (weekly report)
@@ -12,8 +12,8 @@
# The GIF bars were stolen from http://weber.u.washington.edu/~reflux/
-require "cgi.pl";
-require "shared.pl";
+#require "cgi.pl";
+require "/usr/lib/WWWstats/shared.pl";
require $VAR{"config"};
# ---------- Initialization ------------------------
Only in WWWstats: wwwweek.pl~
diff -ru WWWstats.orig/wwwyear.pl WWWstats/wwwyear.pl
--- WWWstats.orig/wwwyear.pl Sat Nov 7 07:57:42 1998
+++ WWWstats/wwwyear.pl Sat Nov 7 08:31:28 1998
@@ -1,4 +1,4 @@
-#!/bin/perl
+#!/usr/bin/perl
# WWWyear
# - a WWW-log analyzing CGI-script (year report)
@@ -12,8 +12,8 @@
# The GIF bars were stolen from http://weber.u.washington.edu/~reflux/
-require "cgi.pl";
-require "shared.pl";
+#require "cgi.pl";
+require "/usr/lib/WWWstats/shared.pl";
require $VAR{"config"};
# ---------- Initialization ------------------------
Only in WWWstats: wwwyear.pl~