From owner-freebsd-ports Tue Jan 5 04:30:17 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA09473 for freebsd-ports-outgoing; Tue, 5 Jan 1999 04:30:17 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA09457 for ; Tue, 5 Jan 1999 04:30:14 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id EAA04512; Tue, 5 Jan 1999 04:30:08 -0800 (PST) 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 ; 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 Reply-To: dima@Chg.RU To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/9327: New port - squidclients Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 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