diff options
author | schmonz <schmonz> | 2005-04-20 11:00:18 +0000 |
---|---|---|
committer | schmonz <schmonz> | 2005-04-20 11:00:18 +0000 |
commit | fe610e572d403f011b262279ccc630504facd479 (patch) | |
tree | 720cc76f7ae8728fa41db593c65a765dcdbf557a /mail/mb2md | |
parent | 653201b13df372d1c9ee56dfcaee8cc36d68a5f9 (diff) | |
download | pkgsrc-fe610e572d403f011b262279ccc630504facd479.tar.gz |
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.
Diffstat (limited to 'mail/mb2md')
-rw-r--r-- | mail/mb2md/DESCR | 7 | ||||
-rw-r--r-- | mail/mb2md/Makefile | 26 | ||||
-rw-r--r-- | mail/mb2md/PLIST | 2 | ||||
-rw-r--r-- | mail/mb2md/distinfo | 5 |
4 files changed, 40 insertions, 0 deletions
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 |