head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.46 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.44 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.42 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.40 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.38 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.36 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.34 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.32 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.30 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.28 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.26 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.24 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.22 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.20 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.18 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.16 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.14 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.12 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.10 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.8 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.6 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.4 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.2 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.3.0.4 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.2 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.2.0.6 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.4 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.2.0.2 netbsd-1-6-1-base:1.2 netbsd-1-6:1.1.1.1.0.4 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.1.1.0.6 pkgviews-base:1.1 buildlink2-base:1.1.1.1 buildlink2:1.1.1.1.0.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2004.11.16.18.56.46; author adrianp; state dead; branches; next 1.3; 1.3 date 2004.04.22.23.41.27; author ben; state Exp; branches; next 1.2; 1.2 date 2002.12.09.00.19.47; author rh; state Exp; branches; next 1.1; 1.1 date 2002.05.18.11.28.24; author zuntum; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.05.18.11.28.24; author zuntum; state Exp; branches 1.1.1.1.2.1; next ; 1.1.1.1.2.1 date 2002.05.18.11.28.24; author jlam; state dead; branches; next 1.1.1.1.2.2; 1.1.1.1.2.2 date 2002.06.23.18.51.34; author jlam; state Exp; branches; next ; desc @@ 1.4 log @- Update mailsync from 4.4.4 -> 5.2.1 - Lots of changes and bugfixes - see NEWS file for full details - In brief: * Simulate option * completely reengineered: - really object oriented - grouped sources together that belong together - simplified a lot of things @ text @$NetBSD: patch-aa,v 1.3 2004/04/22 23:41:27 ben Exp $ --- Makefile.orig Thu Oct 24 07:03:07 2002 +++ Makefile @@@@ -1,13 +1,13 @@@@ # 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 = ../../libs/imap-2002.RC5/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 @@@@ -16,10 +16,11 @@@@ CC = g++ ##CC = g++-3.0 # flags for your compiler -CFLAGS = -g -O2 -Wall -I$(C) +CFLAGS += -I$(C) # required libraries -LDFLAGS = -lm -lssl -lgssapi_krb5 +LDFLAGS += -lm -lssl +# -lgssapi_krb5 # if your system requires pam to access crypt() you have to link pam in #LDFLAGS = -lm -lssl -lpam @ 1.3 log @Upgrade mailsync to version 4.4.4. Patch from Michael Pasternak. Notable changes include: * Check every fetch operation for success * documented the fact that mailsync is not really fit for concurrent mailbox access * extended loging * reengineering - clearer naming of variables (I hope) - int msgno -> unsigned long msgno (as in c-client) - functions and variables that return/contain only true/false are now booleans * do not copy deleted mails * documented list mode * list mode can display contents of mailboxes * more docu * reordered code to make it more coherent (IMHO) * various functions (fetch_mail_ids, tdc_mail_open) had too many crucial side effects which made the code very hard to follow. Untangled that. * closing a stream before writing in it (c-client logic!) so that new messages are not marked as seen. That means, that mutt users should be happy(er?) now. * more explicit and consistent error messages, more sensible debug output * documented the code and renamed stuff so that it makes sense * messages-ids are sanitized and saved in RFC822 format only. * warnings about spaces in the message id are now optional, see the "-bd" option * fixed a bug that occured when files were copied over but could not be saved for some reason @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Make this compile on Darwin. @ text @d3 1 a3 1 --- Makefile.orig Tue Apr 16 04:26:35 2002 d5 1 a5 1 @@@@ -1,7 +1,7 @@@@ d11 1 d15 7 a21 1 @@@@ -15,16 +15,16 @@@@ CC = g++ d25 2 a26 2 -CFLAGS = -g -O2 -Wall -I$(C) +CFLAGS += -Wall -I$(C) d29 3 a31 2 -LDFLAGS = -lm -lssl +LDFLAGS+= -lm -lssl -lcrypto -lc-client a34 7 default: mailsync -mailsync: mailsync.o $(CCLIENTLIB) +mailsync: mailsync.o $(CC) $(CFLAGS) -o $@@ $^ $(LDFLAGS) clean: @ 1.1 log @Initial revision @ text @d3 1 a3 1 --- Makefile.orig Mon Apr 15 20:26:35 2002 d5 1 a5 1 @@@@ -1,12 +1,12 @@@@ d14 1 a14 7 # 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 @@@@ d23 1 a23 1 +LDFLAGS = -Wl,-R${PREFIX}/lib -lm -lssl -lcrypto d27 7 @ 1.1.1.1 log @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 @ text @@ 1.1.1.1.2.1 log @file patch-aa was added on branch buildlink2 on 2002-06-23 18:51:34 +0000 @ text @d1 32 @ 1.1.1.1.2.2 log @Merge from pkgsrc-current to buildlink2 branch. @ text @a0 32 $NetBSD: patch-aa,v 1.1.1.1.2.1 2002/06/23 18:51:34 jlam 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 @