Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jan 1999 15:26:46 +0300 (MSK)
From:      Dima Sivachenko <dima@Chg.RU>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9327: New port - squidclients
Message-ID:  <199901051226.PAA13194@netserv1.chg.ru>

next in thread | raw e-mail | index | archive | help

>Number:         9327
>Category:       ports
>Synopsis:       New port - squidclients
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan  5 04:30:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Dima Sivachenko
>Release:        FreeBSD 3.0-980520-SNAP i386
>Organization:
>Environment:

	

>Description:

This is very useful program, that gives very comprehensive statistics
of Squid usage.

>How-To-Repeat:

	

>Fix:
	
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./pkg
#	./pkg/COMMENT
#	./pkg/DESCR
#	./pkg/PLIST
#	./pkg/MESSAGE
#	./files
#	./files/md5
#	./Makefile
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo c - ./pkg
mkdir -p ./pkg > /dev/null 2>&1
echo x - ./pkg/COMMENT
sed 's/^X//' >./pkg/COMMENT << 'END-of-./pkg/COMMENT'
XGenerate a summary of client usage (grouped by domain) from a Squid log.
END-of-./pkg/COMMENT
echo x - ./pkg/DESCR
sed 's/^X//' >./pkg/DESCR << 'END-of-./pkg/DESCR'
XGenerate a summary of client usage (grouped by domain) from a Squid native
Xlog. SquidClients used in conjunction with Calamaris gives a complete
Xinformation about usage of Squid.
X
Xhttp://www.cineca.it/~nico/squidclients.html
X
X--Dima
Xdima@Chg.RU
END-of-./pkg/DESCR
echo x - ./pkg/PLIST
sed 's/^X//' >./pkg/PLIST << 'END-of-./pkg/PLIST'
Xbin/squidclients
END-of-./pkg/PLIST
echo x - ./pkg/MESSAGE
sed 's/^X//' >./pkg/MESSAGE << 'END-of-./pkg/MESSAGE'
X--------------------------------------------------------------------------------
XUsage: squidclients [-o2bhHdi] < access.log > squidclients.{txt,html}
X-o = omit browsers hostnames (to protect users' privacy)
X-b = omit any client hostname (browser or server)
X-2 = group by second level domain
X-d # = number of domain name components to summarise by
X-i # = number of domain name components to summarise by (include hostnames if components < x)
X-H = html output
X-h = help
X--------------------------------------------------------------------------------
END-of-./pkg/MESSAGE
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/md5
sed 's/^X//' >./files/md5 << 'END-of-./files/md5'
XMD5 (squidclients-1.6-freebsd.bin) = edc499583ff0fc545fbc4490b967a78f
END-of-./files/md5
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for:	squidclients
X# Version required:	1.6
X# Date created:		05 January 1999
X# Whom:			Dima Sivachenko
X#
X# $Id$
X#
X
XDISTNAME=	squidclients-1.6-freebsd.bin
XPKGNAME=	squidclients-1.6
XCATEGORIES=	net
XMASTER_SITES=	http://www.cineca.it/~nico/binaries/
XEXTRACT_SUFX=
X
XMAINTAINER=	dima@chg.ru
X
XNO_BUILD=	YES
XNO_WRKSUBDIR=	YES
X
XEXTRACT_CMD=	${CP}
XEXTRACT_BEFORE_ARGS=
XEXTRACT_AFTER_ARGS=	.
X
Xdo-install:
X		@ ${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME} ${PREFIX}/bin/squidclients
X
Xpost-install:
X		@ ${CAT} ${PKGDIR}/MESSAGE
X
X.include <bsd.port.mk>
END-of-./Makefile
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901051226.PAA13194>