From owner-freebsd-ports Fri Dec 31 3:51:12 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 5798315568 for ; Fri, 31 Dec 1999 03:50:07 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA13038; Fri, 31 Dec 1999 03:50:07 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from cr759667-a.nvcr1.bc.wave.home.com (cr759667-a.nvcr1.bc.wave.home.com [24.113.130.83]) by hub.freebsd.org (Postfix) with ESMTP id E083D1519F for ; Fri, 31 Dec 1999 03:48:13 -0800 (PST) (envelope-from will@blackdawn.com) Received: from shadow.blackdawn.com (root@17-055.008.popsite.net [209.69.196.55]) by cr759667-a.nvcr1.bc.wave.home.com (8.9.3/8.9.3) with ESMTP id DAA89446 for ; Fri, 31 Dec 1999 03:46:20 -0800 (PST) (envelope-from will@blackdawn.com) Received: from argon.blackdawn.com (argon.blackdawn.com [192.168.0.3]) by shadow.blackdawn.com (8.9.3/8.9.3) with ESMTP id GAA50745 for ; Fri, 31 Dec 1999 06:48:09 -0500 (EST) (envelope-from will@argon.blackdawn.com) Received: (from root@localhost) by argon.blackdawn.com (8.9.3/8.9.3) id GAA37348; Fri, 31 Dec 1999 06:47:40 -0500 (EST) (envelope-from will) Message-Id: <199912311147.GAA37348@argon.blackdawn.com> Date: Fri, 31 Dec 1999 06:47:40 -0500 (EST) From: Will Andrews Reply-To: Will Andrews To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/15805: new port: mail/mreport Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15805 >Category: ports >Synopsis: new port: mail/mreport >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: Fri Dec 31 03:50:06 PST 1999 >Closed-Date: >Last-Modified: >Originator: Will Andrews >Release: FreeBSD 4.0-CURRENT i386 >Organization: none >Environment: FreeBSD argon.blackdawn.com 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Tue Nov 30 10:14:31 EST 1999 root@argon.blackdawn.com:/usr/src/sys/compile/ARGON i386 >Description: mreport is a _simple_ maillog summarizer. There's really nothing more to say.. >How-To-Repeat: Use the shar below to commit the port to the tree. >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: # # mreport # mreport/files # mreport/files/md5 # mreport/pkg # mreport/pkg/COMMENT # mreport/pkg/DESCR # mreport/pkg/PLIST # mreport/patches # mreport/patches/patch-aa # mreport/patches/patch-ab # mreport/Makefile # echo c - mreport mkdir -p mreport > /dev/null 2>&1 echo c - mreport/files mkdir -p mreport/files > /dev/null 2>&1 echo x - mreport/files/md5 sed 's/^X//' >mreport/files/md5 << 'END-of-mreport/files/md5' XMD5 (mreport-0.7.tar.gz) = 4973a4486a598013c6a636b856e0c99f END-of-mreport/files/md5 echo c - mreport/pkg mkdir -p mreport/pkg > /dev/null 2>&1 echo x - mreport/pkg/COMMENT sed 's/^X//' >mreport/pkg/COMMENT << 'END-of-mreport/pkg/COMMENT' XSendmail logfile summary tool. END-of-mreport/pkg/COMMENT echo x - mreport/pkg/DESCR sed 's/^X//' >mreport/pkg/DESCR << 'END-of-mreport/pkg/DESCR' Xmreport is a simple C program that processes X/var/log/maillog (or whatever you specify as Xthe mail log). What is probably its only Xlimitation is that it can only process sendmail Xlogs. Nevertheless, it makes very nice summaries Xof the mail logs, and can be useful for system Xadministrators that are tired of poring through Xsendmail's copious logs trying to figure out Xhow well their mail server configuration is Xholding up. X XFTP: ftp://ftp.datrix.co.za/pub/mreport XAuthor: Jason Armstrong X X--Will END-of-mreport/pkg/DESCR echo x - mreport/pkg/PLIST sed 's/^X//' >mreport/pkg/PLIST << 'END-of-mreport/pkg/PLIST' Xsbin/mreport END-of-mreport/pkg/PLIST echo c - mreport/patches mkdir -p mreport/patches > /dev/null 2>&1 echo x - mreport/patches/patch-aa sed 's/^X//' >mreport/patches/patch-aa << 'END-of-mreport/patches/patch-aa' X--- mreport.c Sat Dec 4 15:52:30 1999 X+++ mreport.c.new Sat Dec 18 03:31:15 1999 X@@ -8,7 +8,6 @@ X #include X #include X #include X-#include X #include X #include X #include END-of-mreport/patches/patch-aa echo x - mreport/patches/patch-ab sed 's/^X//' >mreport/patches/patch-ab << 'END-of-mreport/patches/patch-ab' X--- mreport.1 Thu Dec 2 10:15:50 1999 X+++ mreport.1.new Mon Dec 20 15:24:53 1999 X@@ -3,7 +3,7 @@ X .\" Datrix Solutions X .\" www.datrix.co.za X .\" X-.TH mreport 1 "December 2, 1999" X+.TH mreport 8 "December 2, 1999" X .LO 1 X .SH NAME X mreport \- Maillog report generation utility END-of-mreport/patches/patch-ab echo x - mreport/Makefile sed 's/^X//' >mreport/Makefile << 'END-of-mreport/Makefile' X# New ports collection makefile for: mreport X# Version required: 0.7 X# Date created: 19 Dec 1999 X# Whom: Will Andrews X# X# $FreeBSD$ X# X XDISTNAME= mreport-0.7 XCATEGORIES= mail sysutils XMASTER_SITES= ftp://ftp.datrix.co.za/pub/mreport/ X XMAINTAINER= andrews@technologist.com X XWRKSRC= ${WRKDIR}/mreport/src XALL_TARGET= ALL XMAN8= mreport.8 X Xdo-install: X @${INSTALL_PROGRAM} ${WRKSRC}/mreport ${PREFIX}/sbin X @${INSTALL_MAN} ${WRKSRC}/mreport.1 ${PREFIX}/man/man8/mreport.8 X X.include END-of-mreport/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