1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

Add devel version of calamaris port (which is able to parse fresh squid logs)

This commit is contained in:
Dmitry Sivachenko 2016-06-21 12:05:39 +00:00
parent f2e766b1be
commit 117bbba7ab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=417202
5 changed files with 54 additions and 0 deletions

View File

@ -60,6 +60,7 @@
SUBDIR += c-icap-modules
SUBDIR += cadaver
SUBDIR += calamaris
SUBDIR += calamaris-devel
SUBDIR += caldavzap
SUBDIR += calendarserver
SUBDIR += castget

View File

@ -0,0 +1,35 @@
# Created by: Dmitry Sivachenko <mitya@yandex-team.ru>
# $FreeBSD$
PORTNAME= calamaris
PORTVERSION= 2.99.4.5
CATEGORIES= www textproc
MASTER_SITES= http://cord.de/files/calamaris/
MAINTAINER= demon@FreeBSD.org
COMMENT= Perl script to produce statistics out of Squid log files
LICENSE= GPLv2
CONFLICTS_INSTALL= calamaris-[0-9]*
USES= shebangfix perl5
NO_BUILD= yes
SHEBANG_FILES= calamaris calamaris-cache-convert
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/calamaris-cache-convert ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}
${INSTALL_DATA} ${WRKSRC}/calAxestype.pm ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}
${INSTALL_DATA} ${WRKSRC}/calAxestype3d.pm ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}
${INSTALL_DATA} ${WRKSRC}/calBars3d.pm ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}
${INSTALL_DATA} ${WRKSRC}/calamaris.conf ${STAGEDIR}${PREFIX}/etc/calamaris.conf.sample
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/EXAMPLES ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (calamaris-2.59.tar.gz) = 60103bf6bfe0142bf2a0dfa7f7647ae7ed739b8b3082f11b8e55e21c2546d7ae
SIZE (calamaris-2.59.tar.gz) = 56168

View File

@ -0,0 +1,6 @@
Calamaris parses the Squid Native Log and generates reports
about Peak-usage, Request-Methods, Status-reports of incoming
and outgoing requests, second and Top-level destinations,
content-types and performance.
WWW: http://Cord.de/tools/squid/calamaris/

View File

@ -0,0 +1,10 @@
bin/calamaris
bin/calamaris-cache-convert
man/man1/calamaris.1.gz
%%SITE_ARCH%%/calAxestype.pm
%%SITE_ARCH%%/calAxestype3d.pm
%%SITE_ARCH%%/calBars3d.pm
%%PORTDOCS%%share/doc/calamaris/EXAMPLES
%%PORTDOCS%%share/doc/calamaris/EXAMPLES.v3
%%PORTDOCS%%share/doc/calamaris/README
@sample etc/calamaris.conf.sample