- initial import of archivemail-0.6.1

archivemail is a tool written in python(1) for archiving and compressing
old email in mailboxes. By default it will read the mailbox MAILBOX,
moving messages that are older that the specified number of days (180 by
default) to a mbox-format mailbox in the same directory that is
compressed with gzip(1). archivemail supports reading IMAP, Maildir, MH
and mbox-format  mailboxes, but it  will always write archive files to
mbox-format mailboxes that are compressed with gzip(1)

ok alek@
This commit is contained in:
msf 2005-04-08 20:23:43 +00:00
parent c3764b7094
commit 378619176e
5 changed files with 50 additions and 0 deletions

24
mail/archivemail/Makefile Normal file
View File

@ -0,0 +1,24 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/04/08 20:23:43 msf Exp $
COMMENT= "archive and compress your old email"
DISTNAME= archivemail-0.6.1
CATEGORIES= mail
MAINTAINER= Mathieu Sauve-Frankel <msf@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=archivemail/}
MODULES= lang/python
NO_REGRESS= Yes
PKG_ARCH= *
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (archivemail-0.6.1.tar.gz) = aaf071effc9576cc14f3b0eee1d2321e
RMD160 (archivemail-0.6.1.tar.gz) = a2ac69e628753bd88041c03550860b3300887c82
SHA1 (archivemail-0.6.1.tar.gz) = bc39a4192cf6dc375ce6274527a88a88563a3820
SIZE (archivemail-0.6.1.tar.gz) = 34874

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-archivemail,v 1.1.1.1 2005/04/08 20:23:43 msf Exp $
--- archivemail.orig Fri Apr 8 16:04:38 2005
+++ archivemail Fri Apr 8 16:05:10 2005
@@ -757,7 +757,7 @@ def add_status_headers(message):
# files in the maildir 'cur' directory are no longer new,
# they are the same as messages with 'Status: O' headers in mbox
- (None, last_dir) = os.path.split(os.path.dirname(message.fp.name))
+ (ignoreme, last_dir) = os.path.split(os.path.dirname(message.fp.name))
if last_dir == "cur":
status = status + "O"

View File

@ -0,0 +1,7 @@
archivemail is a tool written in python(1) for archiving and compressing
old email in mailboxes. By default it will read the mailbox MAILBOX,
moving messages that are older that the specified number of days (180 by
default) to a mbox-format mailbox in the same directory that is
compressed with gzip(1). archivemail supports reading IMAP, Maildir, MH
and mbox-format mailboxes, but it will always write archive files to
mbox-format mailboxes that are compressed with gzip(1)

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/04/08 20:23:43 msf Exp $
bin/archivemail
@man man/man1/archivemail.1