head	1.21;
access;
symbols
	pkgsrc-2026Q1:1.21.0.6
	pkgsrc-2026Q1-base:1.21
	pkgsrc-2025Q4:1.21.0.4
	pkgsrc-2025Q4-base:1.21
	pkgsrc-2025Q3:1.21.0.2
	pkgsrc-2025Q3-base:1.21
	pkgsrc-2025Q2:1.20.0.6
	pkgsrc-2025Q2-base:1.20
	pkgsrc-2025Q1:1.20.0.4
	pkgsrc-2025Q1-base:1.20
	pkgsrc-2024Q4:1.20.0.2
	pkgsrc-2024Q4-base:1.20
	pkgsrc-2024Q3:1.19.0.10
	pkgsrc-2024Q3-base:1.19
	pkgsrc-2024Q2:1.19.0.8
	pkgsrc-2024Q2-base:1.19
	pkgsrc-2024Q1:1.19.0.6
	pkgsrc-2024Q1-base:1.19
	pkgsrc-2023Q4:1.19.0.4
	pkgsrc-2023Q4-base:1.19
	pkgsrc-2023Q3:1.19.0.2
	pkgsrc-2023Q3-base:1.19
	pkgsrc-2023Q2:1.18.0.8
	pkgsrc-2023Q2-base:1.18
	pkgsrc-2023Q1:1.18.0.6
	pkgsrc-2023Q1-base:1.18
	pkgsrc-2022Q4:1.18.0.4
	pkgsrc-2022Q4-base:1.18
	pkgsrc-2022Q3:1.18.0.2
	pkgsrc-2022Q3-base:1.18
	pkgsrc-2022Q2:1.17.0.10
	pkgsrc-2022Q2-base:1.17
	pkgsrc-2022Q1:1.17.0.8
	pkgsrc-2022Q1-base:1.17
	pkgsrc-2021Q4:1.17.0.6
	pkgsrc-2021Q4-base:1.17
	pkgsrc-2021Q3:1.17.0.4
	pkgsrc-2021Q3-base:1.17
	pkgsrc-2021Q2:1.17.0.2
	pkgsrc-2021Q2-base:1.17
	pkgsrc-2021Q1:1.16.0.6
	pkgsrc-2021Q1-base:1.16
	pkgsrc-2020Q4:1.16.0.4
	pkgsrc-2020Q4-base:1.16
	pkgsrc-2020Q3:1.16.0.2
	pkgsrc-2020Q3-base:1.16
	pkgsrc-2020Q2:1.15.0.4
	pkgsrc-2020Q2-base:1.15
	pkgsrc-2020Q1:1.15.0.2
	pkgsrc-2020Q1-base:1.15
	pkgsrc-2019Q4:1.14.0.6
	pkgsrc-2019Q4-base:1.14
	pkgsrc-2019Q3:1.14.0.2
	pkgsrc-2019Q3-base:1.14
	pkgsrc-2019Q2:1.13.0.8
	pkgsrc-2019Q2-base:1.13
	pkgsrc-2019Q1:1.13.0.6
	pkgsrc-2019Q1-base:1.13
	pkgsrc-2018Q4:1.13.0.4
	pkgsrc-2018Q4-base:1.13
	pkgsrc-2018Q3:1.13.0.2
	pkgsrc-2018Q3-base:1.13
	pkgsrc-2018Q2:1.12.0.12
	pkgsrc-2018Q2-base:1.12
	pkgsrc-2018Q1:1.12.0.10
	pkgsrc-2018Q1-base:1.12
	pkgsrc-2017Q4:1.12.0.8
	pkgsrc-2017Q4-base:1.12
	pkgsrc-2017Q3:1.12.0.6
	pkgsrc-2017Q3-base:1.12
	pkgsrc-2017Q2:1.12.0.2
	pkgsrc-2017Q2-base:1.12
	pkgsrc-2017Q1:1.11.0.6
	pkgsrc-2017Q1-base:1.11
	pkgsrc-2016Q4:1.11.0.4
	pkgsrc-2016Q4-base:1.11
	pkgsrc-2016Q3:1.11.0.2
	pkgsrc-2016Q3-base:1.11
	pkgsrc-2016Q2:1.10.0.4
	pkgsrc-2016Q2-base:1.10
	pkgsrc-2016Q1:1.10.0.2
	pkgsrc-2016Q1-base:1.10
	pkgsrc-2015Q4:1.9.0.2
	pkgsrc-2015Q4-base:1.9
	pkgsrc-2015Q3:1.8.0.4
	pkgsrc-2015Q3-base:1.8
	pkgsrc-2015Q2:1.8.0.2
	pkgsrc-2015Q2-base:1.8
	pkgsrc-2015Q1:1.7.0.2
	pkgsrc-2015Q1-base:1.7
	pkgsrc-2014Q4:1.6.0.2
	pkgsrc-2014Q4-base:1.6
	pkgsrc-2014Q3:1.5.0.2
	pkgsrc-2014Q3-base:1.5
	pkgsrc-2014Q2:1.4.0.2
	pkgsrc-2014Q2-base:1.4
	pkgsrc-2014Q1:1.2.0.4
	pkgsrc-2014Q1-base:1.2
	pkgsrc-2013Q4:1.2.0.2
	pkgsrc-2013Q4-base:1.2
	pkgsrc-2013Q3:1.1.0.2
	pkgsrc-2013Q3-base:1.1;
locks; strict;
comment	@# @;


1.21
date	2025.07.04.08.49.37;	author wiz;	state Exp;
branches;
next	1.20;
commitid	vfjLVB0DFyTBfp1G;

1.20
date	2024.11.16.12.08.06;	author wiz;	state Exp;
branches;
next	1.19;
commitid	EcLctWHJOZ20KRxF;

1.19
date	2023.07.06.09.43.01;	author wiz;	state Exp;
branches;
next	1.18;
commitid	6meR4IA6XJRNYIvE;

1.18
date	2022.06.28.11.37.50;	author wiz;	state Exp;
branches;
next	1.17;
commitid	D2UoJrTHpoHEANJD;

1.17
date	2021.05.24.19.55.57;	author wiz;	state Exp;
branches;
next	1.16;
commitid	qokaiStTApGMcrUC;

1.16
date	2020.08.31.18.13.17;	author wiz;	state Exp;
branches;
next	1.15;
commitid	7zxRbfOkDOoxbfmC;

1.15
date	2020.01.26.17.32.24;	author rillig;	state Exp;
branches;
next	1.14;
commitid	4fBBvoSLJaGd0eUB;

1.14
date	2019.08.11.13.25.08;	author wiz;	state Exp;
branches;
next	1.13;
commitid	Ifet9Pg6Qt99ZByB;

1.13
date	2018.08.22.09.47.58;	author wiz;	state Exp;
branches;
next	1.12;
commitid	YLub8g3ofvFGb6PA;

1.12
date	2017.05.09.17.19.32;	author adam;	state Exp;
branches;
next	1.11;
commitid	9f4akNabjmlgPJQz;

1.11
date	2016.07.09.06.39.14;	author wiz;	state Exp;
branches;
next	1.10;
commitid	dlqnocGpOoXV2Cdz;

1.10
date	2016.01.06.07.23.24;	author adam;	state Exp;
branches;
next	1.9;
commitid	M6XD8gVnik9ifQPy;

1.9
date	2015.10.21.09.39.10;	author adam;	state Exp;
branches;
next	1.8;
commitid	pbirQ2vPoZmqtXFy;

1.8
date	2015.06.12.10.52.15;	author wiz;	state Exp;
branches;
next	1.7;
commitid	B4JmCfaVUbiY38py;

1.7
date	2015.02.25.11.43.54;	author adam;	state Exp;
branches;
next	1.6;
commitid	QRAuQqxRtKLnOnby;

1.6
date	2014.10.29.09.31.24;	author adam;	state Exp;
branches;
next	1.5;
commitid	wkUjSxNeQV1ZT4Wx;

1.5
date	2014.09.12.10.21.42;	author adam;	state Exp;
branches;
next	1.4;
commitid	7L9TvCykFjy9H2Qx;

1.4
date	2014.05.29.23.38.17;	author wiz;	state Exp;
branches;
next	1.3;
commitid	laryHfkCalgYtuCx;

1.3
date	2014.05.05.09.58.11;	author adam;	state Exp;
branches;
next	1.2;
commitid	AFgT8gfLIofBJkzx;

1.2
date	2013.12.02.08.08.01;	author adam;	state Exp;
branches;
next	1.1;
commitid	QQ8LSA8fxISX4xfx;

1.1
date	2013.09.03.10.08.25;	author adam;	state Exp;
branches;
next	;
commitid	5pqz9t3lqWVXDY3x;


desc
@@


1.21
log
@*: bump for perl 5.42.0
@
text
@# $NetBSD: Makefile,v 1.20 2024/11/16 12:08:06 wiz Exp $

DISTNAME=	squidanalyzer-6.6
PKGREVISION=	8
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=squid-report/}

MAINTAINER=	adam@@NetBSD.org
HOMEPAGE=	https://squidanalyzer.darold.net/
COMMENT=	Squid proxy native log analyser and reports generator
LICENSE=	gnu-gpl-v3

DEPENDS+=	p5-GD-Graph3d>=0.63:../../graphics/p5-GD-Graph3d

USE_LANGUAGES=		# empty
USE_TOOLS+=		perl:run
REPLACE_PERL+=		squid-analyzer

BUILD_DEFS+=		VARBASE
PERL5_PACKLIST=		auto/SquidAnalyzer/.packlist
MAKE_PARAMS+=		BINDIR=${PREFIX}/bin
MAKE_PARAMS+=		CONFDIR=${EGDIR}
MAKE_PARAMS+=		DESTDIR=${DESTDIR}
MAKE_PARAMS+=		ETCDIR=${PKG_SYSCONFDIR}
MAKE_PARAMS+=		HTMLDIR=${PREFIX}/share/squidanalyzer
MAKE_PARAMS+=		LOGFILE=${VARBASE}/squid/access.log
MAKE_PARAMS+=		MANDIR=${PREFIX}/${PKGMANDIR}/man3

EGDIR=		${PREFIX}/share/examples/squidanalyzer
CONF_FILES=	${EGDIR}/squidanalyzer.conf ${PKG_SYSCONFDIR}/squidanalyzer.conf

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
@


1.20
log
@*: recursive bump for perl 5.40
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2023/07/06 09:43:01 wiz Exp $
d4 1
a4 1
PKGREVISION=	7
@


1.19
log
@*: recursive bump for perl 5.38
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2022/06/28 11:37:50 wiz Exp $
d4 1
a4 1
PKGREVISION=	6
@


1.18
log
@*: recursive bump for perl 5.36
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2021/05/24 19:55:57 wiz Exp $
d4 1
a4 1
PKGREVISION=	5
@


1.17
log
@*: recursive bump for perl 5.34
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2020/08/31 18:13:17 wiz Exp $
d4 1
a4 1
PKGREVISION=	4
@


1.16
log
@*: bump PKGREVISION for perl-5.32.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2020/01/26 17:32:24 rillig Exp $
d4 1
a4 1
PKGREVISION=	3
@


1.15
log
@all: migrate homepages from http to https

pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2019/08/11 13:25:08 wiz Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.14
log
@Bump PKGREVISIONs for perl 5.30.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2018/08/22 09:47:58 wiz Exp $
d9 1
a9 1
HOMEPAGE=	http://squidanalyzer.darold.net/
@


1.13
log
@Recursive bump for perl5-5.28.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2017/05/09 17:19:32 adam Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.12
log
@Changes 6.6:
This is a maintenance release that fix one year of issues reported by users. There is also some additional features, configuration directives all listed here:
http://squidanalyzer.darold.net
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2016/07/09 06:39:14 wiz Exp $
d4 1
@


1.11
log
@Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2016/01/06 07:23:24 adam Exp $
d3 1
a3 2
DISTNAME=	squidanalyzer-6.5
PKGREVISION=	1
@


1.10
log
@Changes 6.5:
This is a mantenance release to fix an overlaping bug on bytes charts with
last versions of browsers like firefox, iceweasel and chrome.
  - Fix height of bytes graphs that was overlaping on third graph.
  - Update russian translation.
  - Update copyright year.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2015/10/21 09:39:10 adam Exp $
d4 1
@


1.9
log
@Changes 6.3.1:
This release adds a new report to show statistics about Denied URLs. It also allow to add a SquidGuard log to the list of log files and to report blocked URLs into the Denied reports. It ialso adds a pie chart on SquidGuard ACLs use.

There's also four new configuration directives:

  - UserReport to be able to remove any user related reports but statistics
    about URL and domains will remain.
  - ExcludedCodes to be able to exclude some log entries following the TCP
    code returned.
  - UrlHitsOnly to be able to enable the generation of additional HTML tables
    with top Url per byte and per duration in Top Urls and Domains report.
  - MaxFormatError to not exit immediatly when a bad format error is encountered. SquidAnalyzer will
    wait MaxFormatError before exiting.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2015/06/12 10:52:15 wiz Exp $
d3 1
a3 2
DISTNAME=	squidanalyzer-6.3-1
PKGNAME=	squidanalyzer-6.3.1
@


1.8
log
@Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2015/02/25 11:43:54 adam Exp $
d3 2
a4 3
DISTNAME=	squidanalyzer-6.2-1
PKGNAME=	squidanalyzer-6.2.1
PKGREVISION=	1
a14 2
WRKSRC=		${WRKDIR}/${PKGNAME_NOREV:R}

@


1.7
log
@Changes 6.2.1:
This release adds support to common or combined squid log format and a new
Italian translation file. There's also a new configuration directive UserReport
to be able to remove any user related reports, statistics about URL and domains
will remain. The second new directive is ExcludedCodes to be able to exclude
some log entries following the TCP code returned.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2014/10/29 09:31:24 adam Exp $
d5 1
@


1.6
log
@Changes 6.1:
This release fix severals major issues and adds a new feature to disable weekly
reports with a new command line option --no-week-stat.
- Fix top domains report where url with port was reported in unknown
  domains.
- Add --no-week-stat to disable weekly reports generation.
- Fix and update Ukrainian translation file.
- Save the last line parsed line when squid-analyzer is interrupted to
  avoid loading twice the same data after restarting.
- Fix missing calendar menu on daily report.
- Fix problem with links to weekly summaries in SquidAnalyzer.pm.
- Add IO::Handle and FileHandle in Perl modules that should be loaded.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2014/09/12 10:21:42 adam Exp $
d3 2
a4 1
DISTNAME=	squidanalyzer-6.1
d15 2
@


1.5
log
@Changes 6.0:
Multiple access.log files can be processed at the same time.
Multiprocess mode can be activated using the -j N command line option.
New ExcludedMimes configuration directive to exclude from statistics a comma separated list of mime-type or using regex like text/.*.
New ExcludedMethods configuration directive to exclude from statistics a comma separated list of HTTP methods (GET,POST,CONNECT,...).
New translation available: pl_PL
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2014/05/29 23:38:17 wiz Exp $
d3 1
a3 1
DISTNAME=	squidanalyzer-6.0
@


1.4
log
@Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2014/05/05 09:58:11 adam Exp $
d3 1
a3 2
DISTNAME=	squidanalyzer-5.4
PKGREVISION=	1
@


1.3
log
@Changes 5.4:
- Change CSS to adjust calendar position.
- Add Czech language file.
- Add Ukrainian translation file.
- Add CustomHeader to allow custom definition of the logo and title.
  See squidanalyzer.conf or documentation for more explanation and
  example.
- Replace logrotate example that was too simplistic.
- Update documentation about -P option.
- Prevents the script to run multiple instances using a pid file. This
  patch adds a new command line option -P to change the default pid file
  (/tmp/squid-analyzer.pid).
- Remove useless command to delete special files because those files are
  not installed by make install.
- Fix spec file to build RPM.
- Fix usage to show $DEFAULT_CONFIGFILE that may not always be the
  right place following the installation.
- Remove squid requirement from RPM spec file.
- Add spanish language file.
- Remove ^M when reading translation files.
- Add new weekly reports.
- Add build and storage of weekly statistics.
- Fix CSS to reduce font size used in the calendar and increase size
  of the header.
- Add WeekDay translation string.
- Remove link on week, the week view is not available yet.
- Add week day and week number to the calendar.
- Fix bug where statistics from the last parsed day was count twice
  in months and years statisics.
- Add file etc/included to limit entries to matching users, networks
  or ip address.
- Show values of all dataset when mouse is over graph.
- Update pt_BR.txt language file.
- Update flotr2 to most recent version. Replace bars in graphs with
  line to have mouse tracking on each dataset. Change line graphs
  colors and reformat label shown on mouse over graph data.
- Remove special hidden character from documentation that prevent
  pod2man from working.
- Add TCP DENIED report in cache statistics.
- Fix missing semi-colon after graph width definition. Add missing
  graph on mime type.
- Add russian translation.
- Fix german lang file about new second level domain label.
- Update translation files with new Second_domain_graph_hits_title
  and Second_domain_graph_bytes_title variables.
- Add ordering of pie legend following percentage.
- Change trackFormatter so that mouse over the pie-chart color shows
  the domain/TLD name also with the value.
- Add advice about parsing access.log after logrotate.
- Fix some more issue on top second level report.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2013/12/02 08:08:01 adam Exp $
d4 1
@


1.2
log
@Changes 5.3:
This release fixes several bugs and adds two new pie charts about the most use top second level domains. It is also possible to do DNS lookup of Ip addresses inside SquidAnalyzer, see UseClientDNSName new configuration directive. This can slow down dramatically the squid-analyzer performances but you can adjust the DNS lookup timeout to prevent waiting slow DNS server, see DNSLookupTimeout new configuration directive.

- Update and fix first and second top level domain name.
- Add new directive DNSLookupTimeout to change the default timeout for
  DNS lookup. Add 0.0001 second timeout when SquidAnalyzer look for a DNS
  name and can't find a name server.
- Add pie chart of top second level domains.
- Fix some HTML tag issues and table ordering on Top domain hits and Top
  url hits.
- Update INSTALL file to remove GD::Graph requirements.
- Change underscore used to replace space in user name by the special
  string _SPC_ so that underscore will not be wrongly replaced on HTML
  output.
- Fix pt_BR translation with charset to utf-8 and a few words with
  accentuation fix.
- Allow Ip addresses on user names to be replaced by their DNS name, this
  feature is activated by a new directive: UseClientDNSName.
- Add missing description of --no-year-stat option to documentation and
  squid-analyzer usage.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2013/09/03 10:08:25 adam Exp $
d3 1
a3 1
DISTNAME=	squidanalyzer-5.3
@


1.1
log
@Squid proxy native log analyser and reports generator with full statistics
about times, hits, bytes, users, networks, top urls and top domains. Statistic
reports are oriented toward user and bandwidth control; this is not a pure
cache statistics generator.

SquidAnalyzer use flat files to store data and don't need any SQL, SQL Lite or
Berkeley databases.

This log analyzer is incremental and should be run in a daily cron or more
often on huge network trafic.
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=	squidanalyzer-5.2
d18 1
@

