summaryrefslogtreecommitdiff
path: root/mail/Pantomime
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2004-04-10 23:52:37 +0000
committerrh <rh@pkgsrc.org>2004-04-10 23:52:37 +0000
commitad8d6960176b692d88cfc2eedcff3580051786f6 (patch)
treee5c81c9121e8cd852642cd84cdc32cb38d67f9f5 /mail/Pantomime
parentd8ebd6c10dd6b9d2b3886b5ec43354661bf2016f (diff)
downloadpkgsrc-ad8d6960176b692d88cfc2eedcff3580051786f6.tar.gz
Update Pantomime to 1.1.2. Noteable changes are:
* Added an improvement in the IMAP parsing code (_parseFetch:) so it works better with lame servers like Exchange. * Added Folder: -setFlags: messages: and implemented a version in IMAPFolder to optimize deletion of messages. Modified IMAPMessage: -setFlags: to use that new method. * We now correctly decode/encode the Organization header using quoted-printable. * Removed Testing/*. The tests were old and broken and the small test framework should be replaced by a real framework, like OCUnit. * Added some notes (in the README) to properly compile and install Pantomime on RedHat 9 / Fedora. * Permuted the RETAIN/RELEASE calls in Message: -setFlags:. Bug reported by Alexandre Carlhian <alex@mosx.net>. * Fixed a bug in Parser: +_parameterValueUsingLine: range:. * Finally commited a fix for the reply bork when a attachment is put between to text/plain parts in a multipart/mixed message (only the first part was used in the reply). * Modified MimeUtility to add support on OS X for Hebrew, Arabic, BalticRim and Vietnamese encodings using the CoreFoundation. * Fixed a small issue in POP3Folder: -lengthOfMessageAtIndex: Bug reported by Alexandre Carlhian <alex@mosx.net>. * Modified NSData+Extensions: -dataFromQuotedData to be sure that our initial data length has length of at least 2 (since if we had only '"' we would get an range exception). * Modified MimeUtility: -stringEncodingForPart: so that if we get _at best_ NSASCIIStringEncoding from the part, we use NSISOLatin1StringEncoding instead in order to give us more success when decoding things. * Added POP3Folder: -prefetchMessageAtIndex: numberOfLines: and added a small cache for the message sizes. * Renamed -authenticateWithUsername: ... to -authenticate: password: mechanism: and implemented in the SMTP, POP3Store and IMAPStore classes. * Added -supportedMechanisms to the Service protocol and implemented in all the classes above. * Removed POP3Store: -setUseAPOP: / -useAPOP and -setTimestamp: * Added LOGIN and CRAM-MD5 SASL authentication mechanisms support in the IMAP code. * Added -DBIG_ENDIAN to the list of compiler flags on OS X so that the CRAM-MD5 code works. * Updated the OS X project to set the version number to 1.1.2. * Moved -isConnected from Connection to Store. Implemented in IMAPStore and provided a dumb implementations for LocalStore and POP3Store. Refactored all the code to use the Store's method instead of the TCPConnection's implementation. Much of the code in GNUMail will have to be retested wrt the handling of being disconnected from the IMAP server. * Added a hack so things work well with header prefetching when we are using a Novell IMAP server (which is utterly broken). * Added and implemented IMAPStore: -capabilities to return an array of the server's capabilities (result of the CAPABILITY command). * Added a "contents" parameter to Store: -createFolderWithName: type: so we are now able to create a folder with an initial content. Implemented in all Store subclasses but the only implementation that works right now is the LocalStore one using the standard mailbox format (maildir won't work).
Diffstat (limited to 'mail/Pantomime')
-rw-r--r--mail/Pantomime/Makefile20
-rw-r--r--mail/Pantomime/buildlink2.mk5
-rw-r--r--mail/Pantomime/buildlink3.mk25
-rw-r--r--mail/Pantomime/distinfo6
4 files changed, 38 insertions, 18 deletions
diff --git a/mail/Pantomime/Makefile b/mail/Pantomime/Makefile
index 6c143b49205..06f25918f11 100644
--- a/mail/Pantomime/Makefile
+++ b/mail/Pantomime/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2004/03/26 02:27:43 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2004/04/10 23:52:37 rh Exp $
#
-DISTNAME= Pantomime-1.1.1
-PKGREVISION= 3
+DISTNAME= Pantomime-1.1.2
CATEGORIES= mail gnustep
MASTER_SITES= http://debian.uni-essen.de/misc/GNUstep/Apps/GNUMail/
@@ -10,14 +9,11 @@ MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://www.collaboration-world.com/pantomime/
COMMENT= Objective-C mail system class library
-WRKSRC= ${WRKDIR}/Pantomime
-NO_CONFIGURE= YES
-USE_BUILDLINK2= YES
-USE_GNU_TOOLS+= make
-USE_X11= YES
-MAKEFILE= GNUmakefile
-MAKE_ENV+= ADDITIONAL_CPPFLAGS=-DMKDIR
+WRKSRC= ${WRKDIR}/Pantomime
+NO_CONFIGURE= yes
+USE_BUILDLINK3= yes
+MAKE_ENV+= ADDITIONAL_CPPFLAGS=-DMKDIR
-.include "../../x11/gnustep-back/buildlink2.mk"
-.include "../../mk/pthread.buildlink2.mk"
+.include "../../devel/gnustep-base/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/mail/Pantomime/buildlink2.mk b/mail/Pantomime/buildlink2.mk
index ae37c77a691..1894188ac53 100644
--- a/mail/Pantomime/buildlink2.mk
+++ b/mail/Pantomime/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.6 2004/03/26 02:27:43 wiz Exp $
+# $NetBSD: buildlink2.mk,v 1.7 2004/04/10 23:52:37 rh Exp $
#
# This Makefile fragment is included by packages that use Pantomime.
#
@@ -9,8 +9,7 @@
PANTOMIME_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= Pantomime
-BUILDLINK_DEPENDS.Pantomime?= Pantomime>=1.1.1nb1
-BUILDLINK_RECOMMENDED.Pantomime?= Pantomime>=1.1.1nb3
+BUILDLINK_DEPENDS.Pantomime?= Pantomime>=1.1.2
BUILDLINK_PKGSRCDIR.Pantomime?= ../../mail/Pantomime
EVAL_PREFIX+= BUILDLINK_PREFIX.Pantomime=Pantomime
diff --git a/mail/Pantomime/buildlink3.mk b/mail/Pantomime/buildlink3.mk
new file mode 100644
index 00000000000..ebdf7b708a9
--- /dev/null
+++ b/mail/Pantomime/buildlink3.mk
@@ -0,0 +1,25 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/10 23:52:37 rh Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PANTOMIME_BUILDLINK3_MK:= ${PANTOMIME_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= Pantomime
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NPantomime}
+BUILDLINK_PACKAGES+= Pantomime
+
+.if !empty(PANTOMIME_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.Pantomime+= Pantomime>=1.1.2
+BUILDLINK_PKGSRCDIR.Pantomime?= ../../mail/Pantomime
+
+.include "../../devel/gnustep-make/gnustep.mk"
+
+BUILDLINK_INCDIRS.Pantomime+= ${GNUSTEP_LOCAL_ROOT}/${GNUSTEP_IDIR}/Pantomime
+
+.endif # PANTOMIME_BUILDLINK3_MK
+
+.include "../../devel/gnustep-base/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/mail/Pantomime/distinfo b/mail/Pantomime/distinfo
index 023f2b4862b..c3f09ac32d6 100644
--- a/mail/Pantomime/distinfo
+++ b/mail/Pantomime/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2003/12/05 11:25:58 adam Exp $
+$NetBSD: distinfo,v 1.3 2004/04/10 23:52:37 rh Exp $
-SHA1 (Pantomime-1.1.1.tar.gz) = 5ae994af0cfd9ddbc11ff10ab9c21881250277be
-Size (Pantomime-1.1.1.tar.gz) = 401164 bytes
+SHA1 (Pantomime-1.1.2.tar.gz) = 06755835a74ff3686eca35ba5169722f17cf968e
+Size (Pantomime-1.1.2.tar.gz) = 394509 bytes