diff options
author | wiz <wiz@pkgsrc.org> | 2008-10-24 16:37:49 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2008-10-24 16:37:49 +0000 |
commit | 1bfe914f2f28b9b943b980ec6867d39c30a90559 (patch) | |
tree | 206a857fdc54bad416f659e19ea3a9943780a27f /mail/gmime24 | |
parent | ed6f73fb98fe968fd17d5be3e9c16114b08ea1b6 (diff) | |
download | pkgsrc-1bfe914f2f28b9b943b980ec6867d39c30a90559.tar.gz |
Import gmime24-2.4.3 as mail/gmime24.
GMime is a set of utilities for parsing and creating messages using
the Multipurpose Internet Mail Extension (MIME) as defined by the
following RFCs:
* 0822: Standard for the Format of Arpa Internet Text Messages
* 1521: MIME (Multipurpose Internet Mail Extensions) Part One:
Mechanisms for Specifying and Describing the Format of
Internet Message Bodies
* 1847: Security Multiparts for MIME: Multipart/Signed and
Multipart/Encrypted
* 1864: The Content-MD5 Header Field (Obsoletes rfc1544)
* 2015: MIME Security with Pretty Good Privacy (PGP)
* 2045: Multipurpose Internet Mail Extensions (MIME) Part One:
Format of Internet Message Bodies
* 2046: Multipurpose Internet Mail Extensions (MIME) Part Two:
Media Types
* 2047: Multipurpose Internet Mail Extensions (MIME) Part Three:
Message Header Extensions for Non-ASCII Text
* 2048: Multipurpose Internet Mail Extensions (MIME) Part Four:
Registration Procedures
* 2049: Multipurpose Internet Mail Extensions (MIME) Part Five:
Conformance Criteria and Examples
* 2183: Communicating Presentation Information in Internet Messages:
The Content-Disposition Header Field
* 2184: MIME Parameter Value and Encoded Word Extensions: Character
Sets, Languages, and Continuations
* 2231: MIME Parameter Value and Encoded Word Extensions: Character
Sets, Languages, and Continuations (Obsoletes rfc2184)
* 3156: MIME Security with OpenPGP (Updates rfc2015)
Diffstat (limited to 'mail/gmime24')
-rw-r--r-- | mail/gmime24/DESCR | 29 | ||||
-rw-r--r-- | mail/gmime24/Makefile | 30 | ||||
-rw-r--r-- | mail/gmime24/PLIST | 140 | ||||
-rw-r--r-- | mail/gmime24/buildlink3.mk | 22 | ||||
-rw-r--r-- | mail/gmime24/distinfo | 6 | ||||
-rw-r--r-- | mail/gmime24/options.mk | 10 | ||||
-rw-r--r-- | mail/gmime24/patches/patch-ab | 16 |
7 files changed, 253 insertions, 0 deletions
diff --git a/mail/gmime24/DESCR b/mail/gmime24/DESCR new file mode 100644 index 00000000000..9238064afd0 --- /dev/null +++ b/mail/gmime24/DESCR @@ -0,0 +1,29 @@ +GMime is a set of utilities for parsing and creating messages using +the Multipurpose Internet Mail Extension (MIME) as defined by the +following RFCs: + + * 0822: Standard for the Format of Arpa Internet Text Messages + * 1521: MIME (Multipurpose Internet Mail Extensions) Part One: + Mechanisms for Specifying and Describing the Format of + Internet Message Bodies + * 1847: Security Multiparts for MIME: Multipart/Signed and + Multipart/Encrypted + * 1864: The Content-MD5 Header Field (Obsoletes rfc1544) + * 2015: MIME Security with Pretty Good Privacy (PGP) + * 2045: Multipurpose Internet Mail Extensions (MIME) Part One: + Format of Internet Message Bodies + * 2046: Multipurpose Internet Mail Extensions (MIME) Part Two: + Media Types + * 2047: Multipurpose Internet Mail Extensions (MIME) Part Three: + Message Header Extensions for Non-ASCII Text + * 2048: Multipurpose Internet Mail Extensions (MIME) Part Four: + Registration Procedures + * 2049: Multipurpose Internet Mail Extensions (MIME) Part Five: + Conformance Criteria and Examples + * 2183: Communicating Presentation Information in Internet Messages: + The Content-Disposition Header Field + * 2184: MIME Parameter Value and Encoded Word Extensions: Character + Sets, Languages, and Continuations + * 2231: MIME Parameter Value and Encoded Word Extensions: Character + Sets, Languages, and Continuations (Obsoletes rfc2184) + * 3156: MIME Security with OpenPGP (Updates rfc2015) diff --git a/mail/gmime24/Makefile b/mail/gmime24/Makefile new file mode 100644 index 00000000000..a739eb6e782 --- /dev/null +++ b/mail/gmime24/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/10/24 16:37:49 wiz Exp $ +# + +DISTNAME= gmime-2.4.3 +PKGNAME= ${DISTNAME:S/gmime/gmime24/} +CATEGORIES= mail +MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gmime/2.4/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://spruce.sourceforge.net/gmime/ +COMMENT= Library for the creation and parsing of MIME messages + +PKG_DESTDIR_SUPPORT= user-destdir + +CONFLICTS= gmime-[0-9]* + +USE_PKGLOCALEDIR= yes +USE_LIBTOOL= yes +USE_TOOLS+= gmake pkg-config +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --enable-gtk-doc=no +CONFIGURE_ARGS+= --disable-mono +PKGCONFIG_OVERRIDE+= gmime-2.4.pc.in +TEST_TARGET= check + +.include "options.mk" + +.include "../../devel/glib2/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/mail/gmime24/PLIST b/mail/gmime24/PLIST new file mode 100644 index 00000000000..c7b938d4a31 --- /dev/null +++ b/mail/gmime24/PLIST @@ -0,0 +1,140 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/10/24 16:37:49 wiz Exp $ +bin/uudecode +bin/uuencode +include/gmime-2.4/gmime/gmime-charset.h +include/gmime-2.4/gmime/gmime-cipher-context.h +include/gmime-2.4/gmime/gmime-content-type.h +include/gmime-2.4/gmime/gmime-data-wrapper.h +include/gmime-2.4/gmime/gmime-disposition.h +include/gmime-2.4/gmime/gmime-encodings.h +include/gmime-2.4/gmime/gmime-error.h +include/gmime-2.4/gmime/gmime-filter-basic.h +include/gmime-2.4/gmime/gmime-filter-best.h +include/gmime-2.4/gmime/gmime-filter-charset.h +include/gmime-2.4/gmime/gmime-filter-crlf.h +include/gmime-2.4/gmime/gmime-filter-enriched.h +include/gmime-2.4/gmime/gmime-filter-from.h +include/gmime-2.4/gmime/gmime-filter-gzip.h +include/gmime-2.4/gmime/gmime-filter-html.h +include/gmime-2.4/gmime/gmime-filter-md5.h +include/gmime-2.4/gmime/gmime-filter-strip.h +include/gmime-2.4/gmime/gmime-filter-windows.h +include/gmime-2.4/gmime/gmime-filter-yenc.h +include/gmime-2.4/gmime/gmime-filter.h +include/gmime-2.4/gmime/gmime-gpg-context.h +include/gmime-2.4/gmime/gmime-header.h +include/gmime-2.4/gmime/gmime-iconv-utils.h +include/gmime-2.4/gmime/gmime-iconv.h +include/gmime-2.4/gmime/gmime-message-part.h +include/gmime-2.4/gmime/gmime-message-partial.h +include/gmime-2.4/gmime/gmime-message.h +include/gmime-2.4/gmime/gmime-multipart-encrypted.h +include/gmime-2.4/gmime/gmime-multipart-signed.h +include/gmime-2.4/gmime/gmime-multipart.h +include/gmime-2.4/gmime/gmime-object.h +include/gmime-2.4/gmime/gmime-param.h +include/gmime-2.4/gmime/gmime-parse-utils.h +include/gmime-2.4/gmime/gmime-parser.h +include/gmime-2.4/gmime/gmime-part.h +include/gmime-2.4/gmime/gmime-session-simple.h +include/gmime-2.4/gmime/gmime-session.h +include/gmime-2.4/gmime/gmime-stream-buffer.h +include/gmime-2.4/gmime/gmime-stream-cat.h +include/gmime-2.4/gmime/gmime-stream-file.h +include/gmime-2.4/gmime/gmime-stream-filter.h +include/gmime-2.4/gmime/gmime-stream-fs.h +include/gmime-2.4/gmime/gmime-stream-mem.h +include/gmime-2.4/gmime/gmime-stream-mmap.h +include/gmime-2.4/gmime/gmime-stream-null.h +include/gmime-2.4/gmime/gmime-stream.h +include/gmime-2.4/gmime/gmime-utils.h +include/gmime-2.4/gmime/gmime.h +include/gmime-2.4/gmime/internet-address.h +lib/libgmime-2.4.la +lib/pkgconfig/gmime-2.4.pc +share/gtk-doc/html/gmime-2.4/CipherContexts.html +share/gtk-doc/html/gmime-2.4/DataWrappers.html +share/gtk-doc/html/gmime-2.4/Filters.html +share/gtk-doc/html/gmime-2.4/Headers.html +share/gtk-doc/html/gmime-2.4/InternetAddresses.html +share/gtk-doc/html/gmime-2.4/MimeParts.html +share/gtk-doc/html/gmime-2.4/Parsers.html +share/gtk-doc/html/gmime-2.4/Sessions.html +share/gtk-doc/html/gmime-2.4/Streams.html +share/gtk-doc/html/gmime-2.4/ch01.html +share/gtk-doc/html/gmime-2.4/classes.html +share/gtk-doc/html/gmime-2.4/core.html +share/gtk-doc/html/gmime-2.4/fundamentals.html +share/gtk-doc/html/gmime-2.4/gmime-2.4.devhelp +share/gtk-doc/html/gmime-2.4/gmime-2.4.devhelp2 +share/gtk-doc/html/gmime-2.4/gmime-building.html +share/gtk-doc/html/gmime-2.4/gmime-changes-2-0.html +share/gtk-doc/html/gmime-2.4/gmime-changes-2-2.html +share/gtk-doc/html/gmime-2.4/gmime-changes-2-4.html +share/gtk-doc/html/gmime-2.4/gmime-compiling.html +share/gtk-doc/html/gmime-2.4/gmime-data-wrappers.html +share/gtk-doc/html/gmime-2.4/gmime-filters.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-charset.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-cipher-context.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-content-type.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-data-wrapper.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-disposition.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-encodings.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-filter-basic.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-filter-best.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-filter-charset.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-filter-crlf.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-filter-enriched.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-filter-from.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-filter-gzip.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-filter-html.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-filter-md5.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-filter-strip.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-filter-windows.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-filter-yenc.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-filter.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-gpg-context.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-header.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-iconv-utils.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-iconv.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-message-part.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-message-partial.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-message.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-multipart-encrypted.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-multipart-signed.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-multipart.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-object.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-param.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-parser.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-part.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-session-simple.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-session.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-stream-buffer.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-stream-cat.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-stream-file.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-stream-filter.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-stream-fs.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-stream-mem.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-stream-mmap.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-stream-null.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-stream.html +share/gtk-doc/html/gmime-2.4/gmime-gmime-utils.html +share/gtk-doc/html/gmime-2.4/gmime-gmime.html +share/gtk-doc/html/gmime-2.4/gmime-internet-address-group.html +share/gtk-doc/html/gmime-2.4/gmime-internet-address-list.html +share/gtk-doc/html/gmime-2.4/gmime-internet-address-mailbox.html +share/gtk-doc/html/gmime-2.4/gmime-internet-address.html +share/gtk-doc/html/gmime-2.4/gmime-question-index.html +share/gtk-doc/html/gmime-2.4/gmime-resources.html +share/gtk-doc/html/gmime-2.4/gmime-streams.html +share/gtk-doc/html/gmime-2.4/gmime.html +share/gtk-doc/html/gmime-2.4/home.png +share/gtk-doc/html/gmime-2.4/index.html +share/gtk-doc/html/gmime-2.4/index.sgml +share/gtk-doc/html/gmime-2.4/left.png +share/gtk-doc/html/gmime-2.4/right.png +share/gtk-doc/html/gmime-2.4/style.css +share/gtk-doc/html/gmime-2.4/up.png +@dirrm share/gtk-doc/html/gmime-2.4 +@dirrm include/gmime-2.4/gmime +@dirrm include/gmime-2.4 diff --git a/mail/gmime24/buildlink3.mk b/mail/gmime24/buildlink3.mk new file mode 100644 index 00000000000..bb892a9af27 --- /dev/null +++ b/mail/gmime24/buildlink3.mk @@ -0,0 +1,22 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/10/24 16:37:49 wiz Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +GMIME24_BUILDLINK3_MK:= ${GMIME24_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= gmime24 +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngmime24} +BUILDLINK_PACKAGES+= gmime24 +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gmime24 + +.if ${GMIME24_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.gmime24+= gmime24>=2.4.3 +BUILDLINK_PKGSRCDIR.gmime24?= ../../mail/gmime24 +.endif # GMIME24_BUILDLINK3_MK + +.include "../../devel/glib2/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/mail/gmime24/distinfo b/mail/gmime24/distinfo new file mode 100644 index 00000000000..b292822c6ea --- /dev/null +++ b/mail/gmime24/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/10/24 16:37:49 wiz Exp $ + +SHA1 (gmime-2.4.3.tar.gz) = 5d3c1ce81feb83ad2a5cf882c94235e74ecc6731 +RMD160 (gmime-2.4.3.tar.gz) = d796d721fc939e3e8995c31f07b29d9c338b6bb5 +Size (gmime-2.4.3.tar.gz) = 1110738 bytes +SHA1 (patch-ab) = f6b63e3516c941fb044fc42d931a7b4e5d717f86 diff --git a/mail/gmime24/options.mk b/mail/gmime24/options.mk new file mode 100644 index 00000000000..f61935b3e6a --- /dev/null +++ b/mail/gmime24/options.mk @@ -0,0 +1,10 @@ +# $NetBSD: options.mk,v 1.1.1.1 2008/10/24 16:37:49 wiz Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.gmime24 +PKG_SUPPORTED_OPTIONS= inet6 + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Minet6) +CONFIGURE_ARGS+= --enable-ipv6 +.endif diff --git a/mail/gmime24/patches/patch-ab b/mail/gmime24/patches/patch-ab new file mode 100644 index 00000000000..40010c7c325 --- /dev/null +++ b/mail/gmime24/patches/patch-ab @@ -0,0 +1,16 @@ +$NetBSD: patch-ab,v 1.1.1.1 2008/10/24 16:37:49 wiz Exp $ + +--- gmime/gmime-gpg-context.c.orig 2007-03-17 14:33:47.000000000 +0000 ++++ gmime/gmime-gpg-context.c +@@ -1115,7 +1115,11 @@ gpg_ctx_op_step (struct _GpgCtx *gpg, GE + const char *diagnostics, *mode; + struct pollfd pfds[GPG_N_FDS]; + int ready, save; ++#if defined(__DragonFly__) ++ int n; ++#else + nfds_t n; ++#endif + + for (n = 0; n < GPG_N_FDS; n++) { + pfds[n].events = 0; |