Import libvmime-0.8.1
VMime is a powerful C++ class library for working with MIME messages and Internet messaging services like IMAP, POP or SMTP. With VMime you can parse, generate and modify messages, and also connect to store and transport services to receive or send messages over the Internet. The library offers all the features to build a complete mail client. <...> feedback from and ok landry@
This commit is contained in:
parent
dff1e02cb5
commit
a36d25d142
49
devel/libvmime/Makefile
Normal file
49
devel/libvmime/Makefile
Normal file
@ -0,0 +1,49 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2008/10/09 15:16:03 ajacoutot Exp $
|
||||
|
||||
COMMENT= C++ class library for working with Internet mail
|
||||
|
||||
DISTNAME= libvmime-0.8.1
|
||||
CATEGORIES= devel mail
|
||||
|
||||
SHARED_LIBS+= vmime 0.0 # .0.0
|
||||
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
HOMEPAGE= http://www.vmime.org/
|
||||
|
||||
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vmime/}
|
||||
|
||||
WANTLIB= gcrypt gpg-error z
|
||||
|
||||
MODULES= devel/gettext
|
||||
|
||||
LIB_DEPENDS= gnutls.>=13::security/gnutls
|
||||
|
||||
USE_LIBTOOL= Yes
|
||||
USE_GMAKE= Yes
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib" \
|
||||
EXTRA_CFLAGS="${CFLAGS}"
|
||||
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
||||
--enable-tls \
|
||||
--enable-messaging-proto-pop3 \
|
||||
--enable-messaging-proto-smtp \
|
||||
--enable-messaging-proto-imap \
|
||||
--enable-messaging-proto-maildir \
|
||||
--enable-messaging-proto-sendmail \
|
||||
--enable-platform-posix
|
||||
|
||||
# SASL support needs GNU SASL
|
||||
CONFIGURE_ARGS+= --disable-sasl
|
||||
|
||||
.include <bsd.port.mk>
|
5
devel/libvmime/distinfo
Normal file
5
devel/libvmime/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (libvmime-0.8.1.tar.bz2) = bxP4Xi5U0KgZ5hRUq4S8lA==
|
||||
RMD160 (libvmime-0.8.1.tar.bz2) = dM+SLsW4UbQlPLPlUKVnlXYdRfQ=
|
||||
SHA1 (libvmime-0.8.1.tar.bz2) = 4qWktoZ1l4jX+c4rbjakvIK/0f4=
|
||||
SHA256 (libvmime-0.8.1.tar.bz2) = iEIt3VLu1MwEO5tTgL3g516sLuKGB4Qg3UuXwgiLI/w=
|
||||
SIZE (libvmime-0.8.1.tar.bz2) = 478197
|
60
devel/libvmime/patches/patch-configure
Normal file
60
devel/libvmime/patches/patch-configure
Normal file
@ -0,0 +1,60 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2008/10/09 15:16:03 ajacoutot Exp $
|
||||
--- configure.orig Thu Oct 9 15:49:50 2008
|
||||
+++ configure Thu Oct 9 15:51:04 2008
|
||||
@@ -3455,13 +3455,13 @@ if test "$ac_test_CFLAGS" = set; then
|
||||
CFLAGS=$ac_save_CFLAGS
|
||||
elif test $ac_cv_prog_cc_g = yes; then
|
||||
if test "$GCC" = yes; then
|
||||
- CFLAGS="-g -O2"
|
||||
+ CFLAGS="-g"
|
||||
else
|
||||
CFLAGS="-g"
|
||||
fi
|
||||
else
|
||||
if test "$GCC" = yes; then
|
||||
- CFLAGS="-O2"
|
||||
+ CFLAGS=""
|
||||
else
|
||||
CFLAGS=
|
||||
fi
|
||||
@@ -4108,13 +4108,13 @@ if test "$ac_test_CXXFLAGS" = set; then
|
||||
CXXFLAGS=$ac_save_CXXFLAGS
|
||||
elif test $ac_cv_prog_cxx_g = yes; then
|
||||
if test "$GXX" = yes; then
|
||||
- CXXFLAGS="-g -O2"
|
||||
+ CXXFLAGS="-g"
|
||||
else
|
||||
CXXFLAGS="-g"
|
||||
fi
|
||||
else
|
||||
if test "$GXX" = yes; then
|
||||
- CXXFLAGS="-O2"
|
||||
+ CXXFLAGS=""
|
||||
else
|
||||
CXXFLAGS=
|
||||
fi
|
||||
@@ -7107,13 +7107,13 @@ if test "$ac_test_FFLAGS" = set; then
|
||||
FFLAGS=$ac_save_FFLAGS
|
||||
elif test $ac_cv_prog_f77_g = yes; then
|
||||
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
|
||||
- FFLAGS="-g -O2"
|
||||
+ FFLAGS="-g"
|
||||
else
|
||||
FFLAGS="-g"
|
||||
fi
|
||||
else
|
||||
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
|
||||
- FFLAGS="-O2"
|
||||
+ FFLAGS=""
|
||||
else
|
||||
FFLAGS=
|
||||
fi
|
||||
@@ -24916,7 +24916,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$
|
||||
else
|
||||
# -O2
|
||||
OLD_CXXFLAGS="$CXXFLAGS"
|
||||
- CXXFLAGS="$CXXFLAGS -O2"
|
||||
+ CXXFLAGS="$CXXFLAGS"
|
||||
{ echo "$as_me:$LINENO: checking whether cc accepts -O2" >&5
|
||||
echo $ECHO_N "checking whether cc accepts -O2... $ECHO_C" >&6; }
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
22
devel/libvmime/patches/patch-vmime_Makefile_in
Normal file
22
devel/libvmime/patches/patch-vmime_Makefile_in
Normal file
@ -0,0 +1,22 @@
|
||||
$OpenBSD: patch-vmime_Makefile_in,v 1.1.1.1 2008/10/09 15:16:03 ajacoutot Exp $
|
||||
--- vmime/Makefile.in.orig Thu Oct 9 16:22:51 2008
|
||||
+++ vmime/Makefile.in Thu Oct 9 16:23:16 2008
|
||||
@@ -369,9 +369,6 @@ nobase_libvmimeinclude_HEADERS = address.hpp \
|
||||
net/maildir/maildirUtils.hpp \
|
||||
net/sendmail/sendmailServiceInfos.hpp \
|
||||
net/sendmail/sendmailTransport.hpp \
|
||||
- platforms/windows/windowsFile.hpp \
|
||||
- platforms/windows/windowsHandler.hpp \
|
||||
- platforms/windows/windowsSocket.hpp \
|
||||
platforms/posix/posixChildProcess.hpp \
|
||||
platforms/posix/posixFile.hpp \
|
||||
platforms/posix/posixHandler.hpp \
|
||||
@@ -489,7 +486,7 @@ distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
- $(mkdir_p) $(distdir)/mdn $(distdir)/misc $(distdir)/net $(distdir)/net/imap $(distdir)/net/maildir $(distdir)/net/pop3 $(distdir)/net/sendmail $(distdir)/net/smtp $(distdir)/net/tls $(distdir)/platforms/posix $(distdir)/platforms/windows $(distdir)/security $(distdir)/security/cert $(distdir)/security/digest $(distdir)/security/digest/md5 $(distdir)/security/digest/sha1 $(distdir)/security/sasl $(distdir)/utility
|
||||
+ $(mkdir_p) $(distdir)/mdn $(distdir)/misc $(distdir)/net $(distdir)/net/imap $(distdir)/net/maildir $(distdir)/net/pop3 $(distdir)/net/sendmail $(distdir)/net/smtp $(distdir)/net/tls $(distdir)/platforms/posix $(distdir)/security $(distdir)/security/cert $(distdir)/security/digest $(distdir)/security/digest/md5 $(distdir)/security/digest/sha1 $(distdir)/security/sasl $(distdir)/utility
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
||||
list='$(DISTFILES)'; for file in $$list; do \
|
14
devel/libvmime/pkg/DESCR
Normal file
14
devel/libvmime/pkg/DESCR
Normal file
@ -0,0 +1,14 @@
|
||||
VMime is a powerful C++ class library for working with MIME messages and
|
||||
Internet messaging services like IMAP, POP or SMTP. With VMime you can
|
||||
parse, generate and modify messages, and also connect to store and
|
||||
transport services to receive or send messages over the Internet. The
|
||||
library offers all the features to build a complete mail client.
|
||||
|
||||
VMime Features Overview
|
||||
* RFC-2822 and multipart messages
|
||||
* aggregate documents and embedded objects
|
||||
* 8-bit MIME and encoded word extensions
|
||||
* attachments
|
||||
* POP3, IMAP, SMTP, maildir and sendmail
|
||||
* SSL/TLS security layer and X.509 certificates
|
||||
* SASL authentication (not enabled in this package)
|
2
devel/libvmime/pkg/PFRAG.shared
Normal file
2
devel/libvmime/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2008/10/09 15:16:03 ajacoutot Exp $
|
||||
@lib lib/libvmime.so.${LIBvmime_VERSION}
|
186
devel/libvmime/pkg/PLIST
Normal file
186
devel/libvmime/pkg/PLIST
Normal file
@ -0,0 +1,186 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/10/09 15:16:03 ajacoutot Exp $
|
||||
%%SHARED%%
|
||||
include/vmime/
|
||||
include/vmime/address.hpp
|
||||
include/vmime/addressList.hpp
|
||||
include/vmime/attachment.hpp
|
||||
include/vmime/attachmentHelper.hpp
|
||||
include/vmime/base.hpp
|
||||
include/vmime/body.hpp
|
||||
include/vmime/bodyPart.hpp
|
||||
include/vmime/bodyPartAttachment.hpp
|
||||
include/vmime/charset.hpp
|
||||
include/vmime/charsetConverter.hpp
|
||||
include/vmime/component.hpp
|
||||
include/vmime/config.hpp
|
||||
include/vmime/constants.hpp
|
||||
include/vmime/contentDisposition.hpp
|
||||
include/vmime/contentDispositionField.hpp
|
||||
include/vmime/contentHandler.hpp
|
||||
include/vmime/contentTypeField.hpp
|
||||
include/vmime/dateTime.hpp
|
||||
include/vmime/defaultAttachment.hpp
|
||||
include/vmime/disposition.hpp
|
||||
include/vmime/emptyContentHandler.hpp
|
||||
include/vmime/encoder.hpp
|
||||
include/vmime/encoder7bit.hpp
|
||||
include/vmime/encoder8bit.hpp
|
||||
include/vmime/encoderB64.hpp
|
||||
include/vmime/encoderBinary.hpp
|
||||
include/vmime/encoderDefault.hpp
|
||||
include/vmime/encoderFactory.hpp
|
||||
include/vmime/encoderQP.hpp
|
||||
include/vmime/encoderUUE.hpp
|
||||
include/vmime/encoding.hpp
|
||||
include/vmime/exception.hpp
|
||||
include/vmime/fileAttachment.hpp
|
||||
include/vmime/generatedMessageAttachment.hpp
|
||||
include/vmime/header.hpp
|
||||
include/vmime/headerField.hpp
|
||||
include/vmime/headerFieldFactory.hpp
|
||||
include/vmime/headerFieldValue.hpp
|
||||
include/vmime/htmlTextPart.hpp
|
||||
include/vmime/mailbox.hpp
|
||||
include/vmime/mailboxField.hpp
|
||||
include/vmime/mailboxGroup.hpp
|
||||
include/vmime/mailboxList.hpp
|
||||
include/vmime/mdn/
|
||||
include/vmime/mdn/MDNHelper.hpp
|
||||
include/vmime/mdn/MDNInfos.hpp
|
||||
include/vmime/mdn/receivedMDNInfos.hpp
|
||||
include/vmime/mdn/sendableMDNInfos.hpp
|
||||
include/vmime/mediaType.hpp
|
||||
include/vmime/message.hpp
|
||||
include/vmime/messageAttachment.hpp
|
||||
include/vmime/messageBuilder.hpp
|
||||
include/vmime/messageId.hpp
|
||||
include/vmime/messageIdSequence.hpp
|
||||
include/vmime/messageParser.hpp
|
||||
include/vmime/misc/
|
||||
include/vmime/misc/importanceHelper.hpp
|
||||
include/vmime/net/
|
||||
include/vmime/net/connectionInfos.hpp
|
||||
include/vmime/net/defaultConnectionInfos.hpp
|
||||
include/vmime/net/events.hpp
|
||||
include/vmime/net/folder.hpp
|
||||
include/vmime/net/imap/
|
||||
include/vmime/net/imap/IMAPConnection.hpp
|
||||
include/vmime/net/imap/IMAPFolder.hpp
|
||||
include/vmime/net/imap/IMAPMessage.hpp
|
||||
include/vmime/net/imap/IMAPParser.hpp
|
||||
include/vmime/net/imap/IMAPSStore.hpp
|
||||
include/vmime/net/imap/IMAPServiceInfos.hpp
|
||||
include/vmime/net/imap/IMAPStore.hpp
|
||||
include/vmime/net/imap/IMAPTag.hpp
|
||||
include/vmime/net/imap/IMAPUtils.hpp
|
||||
include/vmime/net/maildir/
|
||||
include/vmime/net/maildir/maildirFolder.hpp
|
||||
include/vmime/net/maildir/maildirMessage.hpp
|
||||
include/vmime/net/maildir/maildirServiceInfos.hpp
|
||||
include/vmime/net/maildir/maildirStore.hpp
|
||||
include/vmime/net/maildir/maildirUtils.hpp
|
||||
include/vmime/net/message.hpp
|
||||
include/vmime/net/pop3/
|
||||
include/vmime/net/pop3/POP3Folder.hpp
|
||||
include/vmime/net/pop3/POP3Message.hpp
|
||||
include/vmime/net/pop3/POP3SStore.hpp
|
||||
include/vmime/net/pop3/POP3ServiceInfos.hpp
|
||||
include/vmime/net/pop3/POP3Store.hpp
|
||||
include/vmime/net/pop3/POP3Utils.hpp
|
||||
include/vmime/net/securedConnectionInfos.hpp
|
||||
include/vmime/net/sendmail/
|
||||
include/vmime/net/sendmail/sendmailServiceInfos.hpp
|
||||
include/vmime/net/sendmail/sendmailTransport.hpp
|
||||
include/vmime/net/service.hpp
|
||||
include/vmime/net/serviceFactory.hpp
|
||||
include/vmime/net/serviceInfos.hpp
|
||||
include/vmime/net/session.hpp
|
||||
include/vmime/net/smtp/
|
||||
include/vmime/net/smtp/SMTPResponse.hpp
|
||||
include/vmime/net/smtp/SMTPSTransport.hpp
|
||||
include/vmime/net/smtp/SMTPServiceInfos.hpp
|
||||
include/vmime/net/smtp/SMTPTransport.hpp
|
||||
include/vmime/net/socket.hpp
|
||||
include/vmime/net/store.hpp
|
||||
include/vmime/net/timeoutHandler.hpp
|
||||
include/vmime/net/tls/
|
||||
include/vmime/net/tls/TLSSecuredConnectionInfos.hpp
|
||||
include/vmime/net/tls/TLSSession.hpp
|
||||
include/vmime/net/tls/TLSSocket.hpp
|
||||
include/vmime/net/transport.hpp
|
||||
include/vmime/object.hpp
|
||||
include/vmime/options.hpp
|
||||
include/vmime/parameter.hpp
|
||||
include/vmime/parameterizedHeaderField.hpp
|
||||
include/vmime/parsedMessageAttachment.hpp
|
||||
include/vmime/parserHelpers.hpp
|
||||
include/vmime/path.hpp
|
||||
include/vmime/plainTextPart.hpp
|
||||
include/vmime/platform.hpp
|
||||
include/vmime/platforms/
|
||||
include/vmime/platforms/posix/
|
||||
include/vmime/platforms/posix/posixChildProcess.hpp
|
||||
include/vmime/platforms/posix/posixFile.hpp
|
||||
include/vmime/platforms/posix/posixHandler.hpp
|
||||
include/vmime/platforms/posix/posixSocket.hpp
|
||||
include/vmime/propertySet.hpp
|
||||
include/vmime/relay.hpp
|
||||
include/vmime/security/
|
||||
include/vmime/security/authenticator.hpp
|
||||
include/vmime/security/cert/
|
||||
include/vmime/security/cert/X509Certificate.hpp
|
||||
include/vmime/security/cert/certificate.hpp
|
||||
include/vmime/security/cert/certificateChain.hpp
|
||||
include/vmime/security/cert/certificateVerifier.hpp
|
||||
include/vmime/security/cert/defaultCertificateVerifier.hpp
|
||||
include/vmime/security/defaultAuthenticator.hpp
|
||||
include/vmime/security/digest/
|
||||
include/vmime/security/digest/md5/
|
||||
include/vmime/security/digest/md5/md5MessageDigest.hpp
|
||||
include/vmime/security/digest/messageDigest.hpp
|
||||
include/vmime/security/digest/messageDigestFactory.hpp
|
||||
include/vmime/security/digest/sha1/
|
||||
include/vmime/security/digest/sha1/sha1MessageDigest.hpp
|
||||
include/vmime/security/sasl/
|
||||
include/vmime/security/sasl/SASLAuthenticator.hpp
|
||||
include/vmime/security/sasl/SASLContext.hpp
|
||||
include/vmime/security/sasl/SASLMechanism.hpp
|
||||
include/vmime/security/sasl/SASLMechanismFactory.hpp
|
||||
include/vmime/security/sasl/SASLSession.hpp
|
||||
include/vmime/security/sasl/SASLSocket.hpp
|
||||
include/vmime/security/sasl/builtinSASLMechanism.hpp
|
||||
include/vmime/security/sasl/defaultSASLAuthenticator.hpp
|
||||
include/vmime/streamContentHandler.hpp
|
||||
include/vmime/stringContentHandler.hpp
|
||||
include/vmime/text.hpp
|
||||
include/vmime/textPart.hpp
|
||||
include/vmime/textPartFactory.hpp
|
||||
include/vmime/types.hpp
|
||||
include/vmime/utility/
|
||||
include/vmime/utility/childProcess.hpp
|
||||
include/vmime/utility/datetimeUtils.hpp
|
||||
include/vmime/utility/file.hpp
|
||||
include/vmime/utility/filteredStream.hpp
|
||||
include/vmime/utility/path.hpp
|
||||
include/vmime/utility/progressListener.hpp
|
||||
include/vmime/utility/random.hpp
|
||||
include/vmime/utility/smartPtr.hpp
|
||||
include/vmime/utility/stream.hpp
|
||||
include/vmime/utility/stringProxy.hpp
|
||||
include/vmime/utility/stringUtils.hpp
|
||||
include/vmime/utility/url.hpp
|
||||
include/vmime/utility/urlUtils.hpp
|
||||
include/vmime/vmime.hpp
|
||||
include/vmime/word.hpp
|
||||
include/vmime/wordEncoder.hpp
|
||||
lib/libvmime.a
|
||||
lib/libvmime.la
|
||||
lib/pkgconfig/
|
||||
lib/pkgconfig/vmime.pc
|
||||
share/doc/vmime/
|
||||
share/doc/vmime/AUTHORS
|
||||
share/doc/vmime/COPYING
|
||||
share/doc/vmime/ChangeLog
|
||||
@comment share/doc/vmime/INSTALL
|
||||
@comment share/doc/vmime/NEWS
|
||||
@comment share/doc/vmime/README
|
Loading…
Reference in New Issue
Block a user