]> git.pld-linux.org Git - packages/squidview.git/blame - squidview-pld.patch
- update to 0.63
[packages/squidview.git] / squidview-pld.patch
CommitLineData
6c46478d
AA
1diff -Nur old/squidview.cpp new/squidview.cpp
2--- old/squidview.cpp 2003-11-21 03:25:58.000000000 +0000
3+++ new/squidview.cpp 2003-11-28 20:58:27.000000000 +0000
4@@ -41,7 +41,7 @@
5 #ifdef HAVE_CONFIG_H
6 #include <config.h>
7 #else
8-# define SHAREDIR "/usr/local/share/squidview"
9+# define SHAREDIR "/usr/share/doc/squidview-0.60/"
10 # define PACKAGE "squidview"
11 # define VERSION "0.6"
12 #endif
13@@ -3910,6 +3910,7 @@
b1bd17df 14 IOstring ("sRepFocus", sRepFocus);
15 IOstring ("sRepBDTuser", sRepBDTuser);
16 IOstring ("sViewer", sViewer);
17+ IOstring ("sZipViewer", sZipViewer);
18 IOstring ("sCurrentReport", sCurrentReport);
19 IOstring ("sCurrentEmail", sCurrentEmail);
20 IOint ("iSizeHitGrade", iSizeHitGrade);
6c46478d 21@@ -3950,7 +3951,7 @@
b1bd17df 22 }
23 }
24 else
6c46478d
AA
25- RunProgram (sViewer + " " + sHowToLink, 1);
26+ RunProgram (sZipViewer + " " + sHowToLink, 1);
b1bd17df 27 }
28
29
6c46478d
AA
30diff -Nur old/squidview.h new/squidview.h
31--- old/squidview.h 2003-11-21 03:25:58.000000000 +0000
32+++ new/squidview.h 2003-11-28 20:55:09.000000000 +0000
33@@ -63,7 +63,7 @@
b1bd17df 34 string sHomeDir;
35 const char szSquidHome[] = ".squidview";
36 string sPathToFiles;
37-const char szMainLog[] = "/usr/local/squid/var/logs/access.log";
6c46478d 38+const char szMainLog[] = "/var/log/squid/access.log";
b1bd17df 39
40 const char szLog1[] = "log1";
41 const char szLog2[] = "log2";
6c46478d 42@@ -76,12 +76,13 @@
b1bd17df 43 const char szWordFile[] = "words"; // search words
44 const char szUsersFile[] = "users"; // list of real names
6c46478d
AA
45 const char szAliasesFile[] = "aliases"; // map IPs to user names
46-const char szHowToFile[] = "HOWTO"; // link name
47+const char szHowToFile[] = "HOWTO.gz"; // link name
b1bd17df 48
49 string sLogFile1, sLogFile2, sLogFile3;
6c46478d 50 string sWordFile, sUsersFile, sAliasesFile, sSetFileName, sHowToLink;
b1bd17df 51
52 string sViewer = "less";
53+string sZipViewer = "zless";
54 string sCurrentReport = "";
55 string sCurrentEmail = "";
56 const string sReportExt = ".txt";
This page took 0.050485 seconds and 4 git commands to generate.