summaryrefslogtreecommitdiff
path: root/mail/mailsync
diff options
context:
space:
mode:
authorzuntum <zuntum@pkgsrc.org>2002-05-18 11:28:24 +0000
committerzuntum <zuntum@pkgsrc.org>2002-05-18 11:28:24 +0000
commit239e327cd2704c94581498282ab0a58d3e625046 (patch)
tree4ec2ed78fc0a80e0247d46a12543b14e4a7bbe22 /mail/mailsync
parente66a665b7195bedbaf3493a430709a7aff069a9d (diff)
downloadpkgsrc-239e327cd2704c94581498282ab0a58d3e625046.tar.gz
Initial import of mailsync-4.3.2
Mailsync is a way of synchronizing a collection of mailboxes. The algorithm is a 3-way diff. Two mailboxes are simultaneously compared to a record of the state of both mailboxes at last sync. New messages and message deletions are propagated between the two mailboxes. If you're familiar with CVS, it's the same principle, except there's no opportunity for conflicts. XXX: could be buildlinked for imap-uw; will take a look later Fixes pkg/16757 by MarkoSchuetz@web.de
Diffstat (limited to 'mail/mailsync')
-rw-r--r--mail/mailsync/DESCR5
-rw-r--r--mail/mailsync/Makefile29
-rw-r--r--mail/mailsync/PLIST8
-rw-r--r--mail/mailsync/distinfo5
-rw-r--r--mail/mailsync/patches/patch-aa32
5 files changed, 79 insertions, 0 deletions
diff --git a/mail/mailsync/DESCR b/mail/mailsync/DESCR
new file mode 100644
index 00000000000..9bbfc738242
--- /dev/null
+++ b/mail/mailsync/DESCR
@@ -0,0 +1,5 @@
+Mailsync is a way of synchronizing a collection of mailboxes. The algorithm is
+a 3-way diff. Two mailboxes are simultaneously compared to a record of the
+state of both mailboxes at last sync. New messages and message deletions are
+propagated between the two mailboxes. If you're familiar with CVS, it's the
+same principle, except there's no opportunity for conflicts.
diff --git a/mail/mailsync/Makefile b/mail/mailsync/Makefile
new file mode 100644
index 00000000000..22dc2191ec8
--- /dev/null
+++ b/mail/mailsync/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/05/18 11:28:24 zuntum Exp $
+#
+
+DISTNAME= mailsync_4.3-2
+CATEGORIES= mail
+MASTER_SITES= http://unc.dl.sourceforge.net/mailsync/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://mailsync.sourceforge.net/
+COMMENT= Mailsync is a way of synchronizing a collection of mailboxes
+
+DEPENDS+= imap-uw>=2001a:../../mail/imap-uw
+
+USE_GMAKE= yes
+ALL_TARGET= default
+
+WRKSRC= ${WRKDIR}/mailsync-4.3
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/mailsync ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mailsync
+ ${INSTALL_DATA} ${WRKSRC}/examples/mailsync \
+ ${PREFIX}/share/examples/mailsync/dot.mailsync
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mailsync
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mailsync
+ ${INSTALL_DATA} ${WRKSRC}/WHATSNEW ${PREFIX}/share/doc/mailsync
+ ${INSTALL_MAN} ${WRKSRC}/mailsync.1 ${PREFIX}/man/man1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/mailsync/PLIST b/mail/mailsync/PLIST
new file mode 100644
index 00000000000..bbd6b2c5ece
--- /dev/null
+++ b/mail/mailsync/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/18 11:28:24 zuntum Exp $
+bin/mailsync
+man/man1/mailsync.1
+share/doc/mailsync/README
+share/doc/mailsync/WHATSNEW
+share/examples/mailsync/dot.mailsync
+@dirrm share/examples/mailsync
+@dirrm share/doc/mailsync
diff --git a/mail/mailsync/distinfo b/mail/mailsync/distinfo
new file mode 100644
index 00000000000..217f61de349
--- /dev/null
+++ b/mail/mailsync/distinfo
@@ -0,0 +1,5 @@
+
+
+SHA1 (mailsync_4.3-2.tar.gz) = 239f58aeb98718de347c1b53682fb6add156b7e3
+Size (mailsync_4.3-2.tar.gz) = 20257 bytes
+SHA1 (patch-aa) = c408109d2b299703d35a6694c988884c53fbdc3e
diff --git a/mail/mailsync/patches/patch-aa b/mail/mailsync/patches/patch-aa
new file mode 100644
index 00000000000..3c4861670dc
--- /dev/null
+++ b/mail/mailsync/patches/patch-aa
@@ -0,0 +1,32 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/05/18 11:28:24 zuntum Exp $
+
+--- Makefile.orig Mon Apr 15 20:26:35 2002
++++ Makefile
+@@ -1,12 +1,12 @@
+ # compiling with g++-3 worked for me with the commented ## lines - tpo
+
+ # path to c-client headers
+-C = /usr/include/c-client
++C = ${PREFIX}/include/c-client
+ ##C = /usr/include/c-client -I/usr/include/g++-v3/
+
+ # path to c-client library
+ # linking dynamically
+-CCLIENTLIB = /usr/lib/libc-client.so
++CCLIENTLIB = ${PREFIX}/lib/libc-client.so
+ # linkging statically
+ #CCLIENTLIB = ../imap-2001a/c-client/c-client.a
+
+@@ -15,10 +15,10 @@
+ ##CC = g++-3.0
+
+ # flags for your compiler
+-CFLAGS = -g -O2 -Wall -I$(C)
++CFLAGS += -Wall -I$(C)
+
+ # required libraries
+-LDFLAGS = -lm -lssl
++LDFLAGS = -Wl,-R${PREFIX}/lib -lm -lssl -lcrypto
+ # if your system requires pam to access crypt() you have to link pam in
+ #LDFLAGS = -lm -lssl -lpam
+