head	1.2;
access;
symbols
	pkgsrc-2014Q3:1.1.0.10
	pkgsrc-2014Q3-base:1.1
	pkgsrc-2014Q2:1.1.0.8
	pkgsrc-2014Q2-base:1.1
	pkgsrc-2014Q1:1.1.0.6
	pkgsrc-2014Q1-base:1.1
	pkgsrc-2013Q4:1.1.0.4
	pkgsrc-2013Q4-base:1.1
	pkgsrc-2013Q3:1.1.0.2
	pkgsrc-2013Q3-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2014.11.22.03.52.52;	author mef;	state dead;
branches;
next	1.1;
commitid	SDivZlz3Yjbag8Zx;

1.1
date	2013.09.21.13.21.29;	author obache;	state Exp;
branches;
next	;
commitid	BezlPOviM2ll8j6x;


desc
@@


1.2
log
@(pkgsrc)   remove patch-aa (fix applied)
(upstream) update 2.2.25 to 2.2.27
2011-03-07  Jeffrey Stedfast  <fejj@@novell.com>
	* configure.in: Bumped version to 2.2.27

	* gmime/gmime-gpg-context.c (gpg_ctx_parse_status): Treat EXPSIG,
	EXPKEYSIG, and REVKEYSIG the same as GOODSIG/BADSIG status
	messages in that all of them denote a new signer info.

	* gmime/gmime-stream-mem.c (stream_write): Correctly calculate the
	end boundary of the stream when bound_end is -1.

	* gmime/gmime-utils.h (GMIME_QP_ENCODE_LEN): Fixed to take into
	acount the possibility of having to force-wrap lines at 72+
	characters.
	(GMIME_UUENCODE_LEN): Fixed to prevent possible buffer overflows.

2010-03-26  Jeffrey Stedfast  <fejj@@novell.com>
	* configure.in: Bumped version to 2.2.26

2010-03-26  Jeffrey Stedfast  <fejj@@novell.com>
	Fixes for bug #613653

	* gmime/gmime.c (g_mime_init): Initialize GMimeObject's type
	registry.
	(g_mime_shutdown): Shut it down here.

	* gmime/gmime-object.c (g_mime_object_type_registry_init): Renamed
	a bit and fixed to not use g_atexit(). Also made internal-public.
	(g_mime_object_type_registry_shutdown): Renamed and made
	internal-public.
	(g_mime_object_register_type): Don't init the type system anymore.
	(g_mime_object_new_type): Same here.
@
text
@$NetBSD: patch-aa,v 1.1 2013/09/21 13:21:29 obache Exp $

Fix for http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-0409
from Fedora.

--- gmime/gmime-utils.h.orig	2009-08-12 22:42:55.000000000 +0000
+++ gmime/gmime-utils.h
@@@@ -106,7 +106,7 @@@@ struct _GMimeReferences {
  * Returns the number of output bytes needed to uuencode an input
  * buffer of size @@x.
  **/
-#define GMIME_UUENCODE_LEN(x)      ((size_t) (((((x) + 2) / 45) * 62) + 62))
+#define GMIME_UUENCODE_LEN(x)      ((size_t) (((((x) + 2) / 45) * 62) + 64))
 
 
 /**
@


1.1
log
@Import gmime20-2.2.25 as mail/gmime20.
based on mail/gmime before updated to incompatible 2.6, with patches for new
glib2 borrowed by mail/gmime24.

approved by wiz@@ dureing freeze.

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)
@
text
@d1 1
a1 1
$NetBSD: patch-aa,v 1.8 2010/09/08 11:56:24 drochner Exp $
@

