From 27e0160328ffb81ff85dfa3d17ca93d6c122e4c7 Mon Sep 17 00:00:00 2001 From: schmonz Date: Wed, 20 Apr 2005 11:00:18 +0000 Subject: Initial import of mb2md 3.20. Mb2md.pl is a Perl script that takes one or more Mbox format mailbox files in a directory and convert them to Maildir format mailboxes. Mb2md.pl does not only convert mailbox files into a Maildir but also the /var/spool/mail/$USER mailspool file. It is smart enough to not transfer a dummy message such as the UW IMAPD puts at the start of Mbox mailboxes - and you could add your own search terms into the script to make it ignore other forms of dummy first message. --- mail/mb2md/DESCR | 7 +++++++ mail/mb2md/Makefile | 26 ++++++++++++++++++++++++++ mail/mb2md/PLIST | 2 ++ mail/mb2md/distinfo | 5 +++++ 4 files changed, 40 insertions(+) create mode 100644 mail/mb2md/DESCR create mode 100644 mail/mb2md/Makefile create mode 100644 mail/mb2md/PLIST create mode 100644 mail/mb2md/distinfo (limited to 'mail/mb2md') diff --git a/mail/mb2md/DESCR b/mail/mb2md/DESCR new file mode 100644 index 00000000000..862730f55f1 --- /dev/null +++ b/mail/mb2md/DESCR @@ -0,0 +1,7 @@ +Mb2md.pl is a Perl script that takes one or more Mbox format mailbox +files in a directory and convert them to Maildir format mailboxes. +Mb2md.pl does not only convert mailbox files into a Maildir but +also the /var/spool/mail/$USER mailspool file. It is smart enough +to not transfer a dummy message such as the UW IMAPD puts at the +start of Mbox mailboxes - and you could add your own search terms +into the script to make it ignore other forms of dummy first message. diff --git a/mail/mb2md/Makefile b/mail/mb2md/Makefile new file mode 100644 index 00000000000..a6dbf9a9fb9 --- /dev/null +++ b/mail/mb2md/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/04/20 11:00:18 schmonz Exp $ +# + +DISTNAME= mb2md-3.20.pl +PKGNAME= ${DISTNAME:S/.pl$//} +CATEGORIES= mail +MASTER_SITES= ${HOMEPAGE} +EXTRACT_SUFX= .gz + +MAINTAINER= schmonz@NetBSD.org +HOMEPAGE= http://batleth.sapienti-sat.org/projects/mb2md/ +COMMENT= Converts one or more mboxes to maildirs + +DEPENDS+= p5-TimeDate-[0-9]*:../../time/p5-TimeDate + +WRKSRC= ${WRKDIR} + +USE_PERL5= run +REPLACE_PERL= ${DISTNAME} + +NO_BUILD= # defined + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${PKGBASE} + +.include "../../mk/bsd.pkg.mk" diff --git a/mail/mb2md/PLIST b/mail/mb2md/PLIST new file mode 100644 index 00000000000..3b38e2c593a --- /dev/null +++ b/mail/mb2md/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/04/20 11:00:18 schmonz Exp $ +bin/mb2md diff --git a/mail/mb2md/distinfo b/mail/mb2md/distinfo new file mode 100644 index 00000000000..df10eee53d5 --- /dev/null +++ b/mail/mb2md/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/04/20 11:00:18 schmonz Exp $ + +SHA1 (mb2md-3.20.pl.gz) = 96f69bea2802eaf578c2ce82320ea4b0bb1a08c6 +RMD160 (mb2md-3.20.pl.gz) = 03ee1e543ba070c222aa7e20624aaf5fa390785c +Size (mb2md-3.20.pl.gz) = 14977 bytes -- cgit v1.2.3