From dima@netserv1.chg.ru  Tue Jan  5 04:27:20 1999
Received: from netserv1.chg.ru (netserv1.chg.ru [193.233.46.3])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA09183
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 5 Jan 1999 04:27:16 -0800 (PST)
          (envelope-from dima@netserv1.chg.ru)
Received: (from dima@localhost)
	by netserv1.chg.ru (8.9.1/8.9.1) id PAA13194;
	Tue, 5 Jan 1999 15:26:46 +0300 (MSK)
Message-Id: <199901051226.PAA13194@netserv1.chg.ru>
Date: Tue, 5 Jan 1999 15:26:46 +0300 (MSK)
From: Dima Sivachenko <dima@Chg.RU>
Reply-To: dima@Chg.RU
To: FreeBSD-gnats-submit@freebsd.org
Subject: New port - squidclients
X-Send-Pr-Version: 3.2

>Number:         9327
>Category:       ports
>Synopsis:       New port - squidclients
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    billf
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan  5 04:30:01 PST 1999
>Closed-Date:    Thu Jan 28 15:37:36 PST 1999
>Last-Modified:  Thu Jan 28 15:38:23 PST 1999
>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:
Responsible-Changed-From-To: freebsd-ports->billf 
Responsible-Changed-By: billf 
Responsible-Changed-When: Mon Jan 25 11:28:37 PST 1999 
Responsible-Changed-Why:  
I will import this 
State-Changed-From-To: open->closed 
State-Changed-By: billf 
State-Changed-When: Thu Jan 28 15:37:36 PST 1999 
State-Changed-Why:  
Imported into ports/www/squidclients 

(1) Imported (eventually) into ports/www instead of ports/net 
(2) pkg/COMMENT was too big, please use portlint next time. 
>Unformatted:
