summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/imapsync/DESCR7
-rw-r--r--mail/imapsync/Makefile27
-rw-r--r--mail/imapsync/PLIST3
-rw-r--r--mail/imapsync/distinfo5
4 files changed, 42 insertions, 0 deletions
diff --git a/mail/imapsync/DESCR b/mail/imapsync/DESCR
new file mode 100644
index 00000000000..cbf1c9d2d70
--- /dev/null
+++ b/mail/imapsync/DESCR
@@ -0,0 +1,7 @@
+imapsync is a tool for facilitating incremental recursive IMAP
+transfers from one mailbox to another. It is useful for mailbox
+migration, and reduces the amount of data transferred by only
+copying messages that are not present on both servers. Read, unread,
+and deleted flags are preserved, and the process can be stopped
+and resumed. The original messages can optionally be deleted after
+a successful transfer.
diff --git a/mail/imapsync/Makefile b/mail/imapsync/Makefile
new file mode 100644
index 00000000000..ec961e13f8d
--- /dev/null
+++ b/mail/imapsync/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/08/10 11:18:16 abs Exp $
+#
+
+DISTNAME= imapsync-1.182
+CATEGORIES= mail
+MASTER_SITES= http://www.linux-france.org/prj/imapsync/dist/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= abs@NetBSD.org
+HOMEPAGE= http://www.linux-france.org/prj/imapsync/dist/
+COMMENT= Incremental recursive IMAP transfer tool
+
+DEPENDS+= p5-Digest-HMAC-[0-9]*:../../security/p5-Digest-HMAC
+DEPENDS+= p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5
+DEPENDS+= p5-IO-Socket-SSL-[0-9]*:../../security/p5-IO-Socket-SSL
+DEPENDS+= p5-Mail-IMAPClient>=2.2.9:../../mail/p5-Mail-IMAPClient
+DEPENDS+= p5-Term-ReadKey-[0-9]*:../../devel/p5-Term-ReadKey
+
+NO_BUILD= YES
+USE_TOOLS+= perl:run
+REPLACE_PERL+= imapsync
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/imapsync ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/imapsync
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/imapsync/PLIST b/mail/imapsync/PLIST
new file mode 100644
index 00000000000..b0a340cbd05
--- /dev/null
+++ b/mail/imapsync/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/08/10 11:18:16 abs Exp $
+bin/imapsync
+share/doc/imapsync
diff --git a/mail/imapsync/distinfo b/mail/imapsync/distinfo
new file mode 100644
index 00000000000..67e8ba8a88b
--- /dev/null
+++ b/mail/imapsync/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/08/10 11:18:16 abs Exp $
+
+SHA1 (imapsync-1.182.tgz) = b246f22fbbd064d6161b1b7b788e4aefdabb11f7
+RMD160 (imapsync-1.182.tgz) = 3d03286a324d8f3497b548edb9427db3f1407feb
+Size (imapsync-1.182.tgz) = 116507 bytes