Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Dec 1999 06:47:40 -0500 (EST)
From:      Will Andrews <andrews@technologist.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/15805: new port: mail/mreport
Message-ID:  <199912311147.GAA37348@argon.blackdawn.com>

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

>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 <jason@datrix.co.za>
X
X--Will <andrews@technologist.com>
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 <stdio.h>
X #include <errno.h>
X #include <string.h>
X-#include <getopt.h>
X #include <stdlib.h>
X #include <ctype.h>
X #include <sys/time.h>
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 <andrews@technologist.com>
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 <bsd.port.mk>
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




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