diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2003-12-04 16:06:32 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2003-12-04 16:06:32 +0000 |
commit | 5790c3aed1e4ed1aabdca159be710dd8e52f26cf (patch) | |
tree | c81bf1c166066efdb6549d4f6bb216a9afe99032 /www/sarg/patches | |
parent | 2e2b807d225b21d505bf22942f8fb2505b5cd149 (diff) | |
download | pkgsrc-5790c3aed1e4ed1aabdca159be710dd8e52f26cf.tar.gz |
Initial import of sarg-1.4.1 from pkgsrc-wip, packaged by Mike M. Volokhov.
SARG Squid Analysis Report Generator (formerly sqmgrlog) is a tool
that allow you to view "where" your users are going to on the
Internet. SARG generate reports in HTML showing users, IP addresses,
bytes, sites, and times.
Diffstat (limited to 'www/sarg/patches')
-rw-r--r-- | www/sarg/patches/patch-aa | 18 | ||||
-rw-r--r-- | www/sarg/patches/patch-ab | 13 | ||||
-rw-r--r-- | www/sarg/patches/patch-ac | 22 | ||||
-rw-r--r-- | www/sarg/patches/patch-ad | 13 | ||||
-rw-r--r-- | www/sarg/patches/patch-ae | 31 | ||||
-rw-r--r-- | www/sarg/patches/patch-af | 13 |
6 files changed, 110 insertions, 0 deletions
diff --git a/www/sarg/patches/patch-aa b/www/sarg/patches/patch-aa new file mode 100644 index 00000000000..32f192732be --- /dev/null +++ b/www/sarg/patches/patch-aa @@ -0,0 +1,18 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/12/04 16:06:32 xtraeme Exp $ + +--- Makefile.in.orig 2003-04-25 20:20:55.000000000 +0300 ++++ Makefile.in +@@ -4,10 +4,10 @@ CC = @CC@ + BINDIR = @BINDIR@ + IBINDIR = -DBINDIR=\"@BINDIR@\" + MANDIR = @MANDIR@ +-SYSCONFDIR = @SYSCONFDIR@ ++SYSCONFDIR = ${EGDIR} + ISYSCONFDIR = -DSYSCONFDIR=\"@SYSCONFDIR@\" +-CFLAGS = @CFLAGS@ +-LDFLAGS = @LDFLAGS@ ++CFLAGS += @CFLAGS@ ${PKG_FLAGS} ++LDFLAGS += @LDFLAGS@ + DEFS = @DEFS@ + SRCDIR = . + VPATH = . diff --git a/www/sarg/patches/patch-ab b/www/sarg/patches/patch-ab new file mode 100644 index 00000000000..f4697ed2027 --- /dev/null +++ b/www/sarg/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2003/12/04 16:06:32 xtraeme Exp $ + +--- convlog.c.orig 2003-04-25 20:20:55.000000000 +0300 ++++ convlog.c +@@ -19,7 +19,7 @@ void convlog(char *arq, char *df, int df + struct tm *t; + + if(arq[0] == '\0') +- strcpy(arq,"/usr/local/squid/logs/access.log"); ++ strcpy(arq,SQUID_ACCESSLOG); + + if((fp_in=fopen(arq,"r"))==NULL) { + fprintf(stderr, "SARG: (convlog) %s: %s\n",text[8],arq); diff --git a/www/sarg/patches/patch-ac b/www/sarg/patches/patch-ac new file mode 100644 index 00000000000..bfe8f387d4d --- /dev/null +++ b/www/sarg/patches/patch-ac @@ -0,0 +1,22 @@ +$NetBSD: patch-ac,v 1.1.1.1 2003/12/04 16:06:32 xtraeme Exp $ + +--- log.c.orig 2003-04-25 20:20:55.000000000 +0300 ++++ log.c +@@ -133,7 +133,7 @@ int main(argc,argv) + ReportType[0]='\0'; + UserTabFile[0]='\0'; + +- strcpy(AccessLog,"/usr/local/squid/var/logs/access.log"); ++ strcpy(AccessLog,SQUID_ACCESSLOG); + sprintf(ExcludeCodes,"%s/exclude_codes",SYSCONFDIR); + strcpy(BgColor,"white"); + strcpy(TxColor,"black"); +@@ -146,7 +146,7 @@ int main(argc,argv) + strcpy(HeaderBgColor,"blanchedalmond"); + strcpy(FontSize,"-1"); + strcpy(TempDir,"/tmp"); +- strcpy(OutputDir,"/usr/local/etc/httpd/htdocs/squid-reports"); ++ strcpy(OutputDir,SARG_REPORTSDIR); + strcpy(Ip2Name,"no"); + strcpy(DateFormat,"u"); + strcpy(OverwriteReport,"no"); diff --git a/www/sarg/patches/patch-ad b/www/sarg/patches/patch-ad new file mode 100644 index 00000000000..2a7a8dd9326 --- /dev/null +++ b/www/sarg/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1.1.1 2003/12/04 16:06:32 xtraeme Exp $ + +--- sarg.1.orig 2003-04-25 20:20:55.000000000 +0300 ++++ sarg.1 +@@ -124,7 +124,7 @@ Convert the logfile's date/time field to + .B \-split + Split the log file by date in \fB-d\fP parameter. + .SH FILES +-.BR /etc/squid/sarg.conf ++.BR @PKG_SYSCONFDIR@/sarg.conf + .br + .SH AUTHOR + This manual page was written by Luigi Gangitano <gangitano@lugroma3.org>, diff --git a/www/sarg/patches/patch-ae b/www/sarg/patches/patch-ae new file mode 100644 index 00000000000..7ca3444a0d9 --- /dev/null +++ b/www/sarg/patches/patch-ae @@ -0,0 +1,31 @@ +$NetBSD: patch-ae,v 1.1.1.1 2003/12/04 16:06:32 xtraeme Exp $ + +--- sarg.conf.orig 2003-04-25 20:20:55.000000000 +0300 ++++ sarg.conf +@@ -29,7 +29,7 @@ + # Where is the access.log file + # sarg -l file + # +-#access_log /usr/local/squid/var/logs/access.log ++#access_log @SQUID_ACCESSLOG@ + + # TAG: title + # Especify the title for html page. +@@ -120,7 +120,7 @@ + # The reports will be saved in that directory + # sarg -o dir + # +-#output_dir /var/www/html/squid-reports ++#output_dir @SARG_REPORTSDIR@ + + # TAG: output_email + # Email address to send the reports. If you use this tag, no html reports will be generated. +@@ -244,7 +244,7 @@ + # TAG: exclude_codes file + # Ignore records with these codes. Eg.: NONE/400 + # +-#exclude_codes /usr/local/sarg/exclude_codes ++#exclude_codes @PKG_SYSCONFDIR@/exclude_codes + + # TAG: replace_index string + # Replace "index.html" in the main index file with this string diff --git a/www/sarg/patches/patch-af b/www/sarg/patches/patch-af new file mode 100644 index 00000000000..d77d8c09ee1 --- /dev/null +++ b/www/sarg/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.1.1.1 2003/12/04 16:06:32 xtraeme Exp $ + +--- splitlog.c.orig 2003-04-25 20:20:55.000000000 +0300 ++++ splitlog.c +@@ -19,7 +19,7 @@ void splitlog(char *arq, char *df, int d + struct tm *t; + + if(arq[0] == '\0') +- strcpy(arq,"/usr/local/squid/logs/access.log"); ++ strcpy(arq,SQUID_ACCESSLOG); + + if((fp_in=fopen(arq,"r"))==NULL) { + fprintf(stderr, "SARG: (splitlog) %s: %s\n",text[8],arq); |