Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Oct 2003 11:56:52 +0800 (CST)
From:      Cheng-Lung Sung <clsung@dragon2.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        clsung@tiger2.net
Subject:   ports/58748: New port: mail/mboxstats
Message-ID:  <20031031035652.DD7DB15324@mail.dragon2.net>
Resent-Message-ID: <200310310400.h9V40cro021814@freefall.freebsd.org>

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

>Number:         58748
>Category:       ports
>Synopsis:       New port: mail/mboxstats
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 30 20:00:36 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Cheng-Lung Sung
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD sungsung.csie.nctu.edu.tw 4.9-RELEASE FreeBSD 4.9-RELEASE #5: Wed Oct 29 20:13:25 CST 2003 root@sungsung.csie.nctu.edu.tw:/usr/obj/usr/src/sys/SUNGSUNG i386

>Description:
- new port:  Creates top-10 lists of the messages in a mailbox
>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:
#
#	mboxstats
#	mboxstats/files
#	mboxstats/files/patch-main.cpp
#	mboxstats/Makefile
#	mboxstats/distinfo
#	mboxstats/pkg-descr
#	mboxstats/pkg-plist
#
echo c - mboxstats
mkdir -p mboxstats > /dev/null 2>&1
echo c - mboxstats/files
mkdir -p mboxstats/files > /dev/null 2>&1
echo x - mboxstats/files/patch-main.cpp
sed 's/^X//' >mboxstats/files/patch-main.cpp << 'END-of-mboxstats/files/patch-main.cpp'
X--- main.cpp.orig	Sun Sep  7 03:06:37 2003
X+++ main.cpp	Fri Oct 31 11:45:36 2003
X@@ -39,6 +39,7 @@
X #include <stdlib.h>
X #include <string.h>
X #include <time.h>
X+#include <sys/syslimits.h>
X #include <sys/types.h>
X #include <sys/stat.h>
X #include <fcntl.h>
END-of-mboxstats/files/patch-main.cpp
echo x - mboxstats/Makefile
sed 's/^X//' >mboxstats/Makefile << 'END-of-mboxstats/Makefile'
X# ex:ts=8
X# New ports collection makefile for:	mboxstats
X# Date created:			Oct 31 2003
X# Whom:				clsung
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mboxstats
XPORTVERSION=	1.3
XCATEGORIES=	mail
XMASTER_SITES=	http://vanheusden.com/mboxstats/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	clsung@dragon2.net
XCOMMENT=	Creates top-10 lists of the messages in a mailbox
X
XUSE_REINPLACE=	yes
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|ssize_t|size_t|g' ${WRKSRC}/io.h
X
X.include <bsd.port.mk>
END-of-mboxstats/Makefile
echo x - mboxstats/distinfo
sed 's/^X//' >mboxstats/distinfo << 'END-of-mboxstats/distinfo'
XMD5 (mboxstats-1.3.tgz) = 14e4b1cba0b778dff00db8eb10b9291c
END-of-mboxstats/distinfo
echo x - mboxstats/pkg-descr
sed 's/^X//' >mboxstats/pkg-descr << 'END-of-mboxstats/pkg-descr'
Xmboxstats creates several top-10 lists from a file containing message 
Xin mbox-format.  List of top10 lists:
X
Xo Top writes 
Xo Top receivers 
Xo Top subjects 
Xo Top cc'ers 
Xo Top top-level-domain 
Xo Top timezones 
Xo Top organisations 
Xo Top useragents (mailprograms) 
Xo Top month/day-of-month/day-of-week/hour 
Xo Average number of lines per message 
Xo All kinds of per-user statistics 
X
XAnd much more! 
X
XWWW: http://vanheusden.com/mboxstats/
END-of-mboxstats/pkg-descr
echo x - mboxstats/pkg-plist
sed 's/^X//' >mboxstats/pkg-plist << 'END-of-mboxstats/pkg-plist'
Xbin/mboxstats
END-of-mboxstats/pkg-plist
exit


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



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