./mail/gmime, Library for the creation and parsing of MIME messages

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.6.23nb1, Package name: gmime-2.6.23nb1, Maintainer: pkgsrc-users

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)


Required to run:
[security/gnupg2] [security/gpgme] [devel/glib2]

Required to build:
[security/libgpg-error] [pkgtools/cwrappers]

Master sites: (Expand)

SHA1: 12e2d6aa0206ce99093ad3f0619b8870df156cb2
RMD160: 2a7e594814a6b9e95d55b6a370086606081e97a8
Filesize: 5094.324 KB

Version history: (Expand)


CVS history: (Expand)


   2017-03-16 01:34:46 by Greg Troxel | Files touched by this commit (1)
Log message:
Add gpgme to gimem's bl3

While arguably the real bug is that gmime's pkg-config file libs
includes gpgme's libs, this makes libraries visible to depending
builds that end up on link lines.  Resolves build failure for
totem-pl-parser.

ok wiz@
   2017-03-12 19:43:58 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Fix path to pkgconfig file.
Remove option for non-existent --enable-ipv6 flag.
Enable S/MIME support using gpgme.

Bump PKGREVISION.
   2017-02-25 01:05:07 by Makoto Fujiwara | Files touched by this commit (3) | Package updated
Log message:
Updated mail/gmime 2.6.20 to 2.6.23
----------------------------
2017-01-21  Jeffrey Stedfast  <fejj@gnome.org>
	* README: Bumped version
	* configure.ac: Bumped version to 2.6.23

2017-01-17  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-crypto-context.c (g_mime_decryption_*): Fixed naming.

2016-12-17  Jeffrey Stedfast  <fejj@gnome.org>
	* README: Bumped version
	* configure.ac: Bumped version to 2.6.22

2016-12-12  Jeffrey Stedfast  <fejj@gnome.org>
	* mono/gmime-api.raw: Updated Mono bindings.

2016-12-11  Jeffrey Stedfast  <fejj@gnome.org>
	* README: Bumped version
	* configure.ac: Bumped version to 2.6.21

2016-12-10  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-gpg-context.c (gpg_ctx_get_argv): Don't pass --yes, ever.

2016-12-10  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-gpg-context.c (gpg_ctx_get_argv): Add back --batch
	and --yes to fix the unit tests for GnuPG 1.4.x.
	(gpg_ctx_get_argv): Now also takes a path argument to gpg to use
	as the first argument instead of hard-coding "gpg".
	(g_mime_gpg_context_new): Updated to query the GnuPG version in
	case we need that information (turns out we don't at the moment).

2016-12-09  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-crypto-context.c (g_mime_crypto_context_set_retrieve_session_key):
	Moved here from GMimeGpgContext.
	(g_mime_crypto_context_get_retrieve_session_key): Same.

	Thanks to Daniel Kahn Gillmor for this patch.

2016-12-05  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-multipart-encrypted.c
	(g_mime_multipart_encrypted_decrypt_session): New function to
	decrypt a multipart/encrypted using a session_key.

	* gmime/gmime-crypto-context.c (g_mime_crypto_context_decrypt_session): New
	function to decrypt a MIME part using a session_key.

	* gmime/gmime-gpg-context.c (gpg_ctx_get_argv): Added support for
	--override-session-key-id for the new decrypt_session() method.
	(gpg_ctx_op_start): Updated to create the secret_fd when passing a session_key
	as well.
	(gpg_ctx_write_session_key): New function to write the session_key to gpg.
	(gpg_decrypt_session): New function to decrypt a MIME part using a session_key.

	Thanks to Daniel Kahn Gillmor for this patch.

2016-12-05  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-gpg-context.c (gpg_ctx_parse_status): Advance over the SESSION_KEY
	identifier before calling next_token() so that next_token() actually gets the
	sesstion key token that we want. Also fixed to free any existing session_key
	if gpg somehow sends us multiple SESSION_KEY responses.

	Thanks to Daniel Kahn Gillmor for this patch.

2016-12-03  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-gpg-context.c (next_token): Now takes a 'secret' argument to
	determine if it will overwrite the token within the buffer with '*' to
	prevent leaking of the secret token.
	(gpg_ctx_parse_status): Pass TRUE to next_token() when reading the
	SESSION_KEY token.

2016-12-02  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-gpg-context.c (gpg_ctx_free): Free the session_key.
	(gpg_ctx_get_argv): Pass --show-session-key to gpg if requested.
	(gpg_ctx_parse_status): Decode the session-key sent by gpg.
	(gpg_decrypt): Set the session_key on the decrypt result.
	(g_mime_gpg_context_get_retrieve_session_key): Added.
	(g_mime_gpg_context_set_retrieve_session_key): Added.

	* gmime/gmime-crypto-context.c (g_mime_decrypt_result_set_session_key): Added.
	(g_mime_decryption_result_get_session_key): Added.

	Thanks to Daniel Kahn Gillmor for this patch.

2016-12-02  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-gpg-context.c (g_mime_gpg_context_new): Allow NULL for the gpg path
	in order to use the default gpg path (i.e. "gpg").

	* tests/test-pgp*.c: Updated unit tests to pass NULL for the gpg path so that
	running the unit tests don't depend on a specific location of gpg.

	Thanks to Daniel Kahn Gillmor for this patch.

2016-08-30  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-multipart.c (read_random_pool): Only initialized srand() once.

2016-07-19  Jeffrey Stedfast  <jeff@xamarin.com>
	* gmime/gmime-gpg-context.c (gpg_ctx_get_argv): Always use --batch mode and
	don't pass --yes.

2016-07-14  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-parser.c (parser_construct_part): When parsing individual
	mime parts, do not treat them as top-level mime parts of a message.

	When decrypting mime parts, for example, we need all headers of the
	decrypted mime part to be included in the GMimeObject returned,
	otherwise we end up losing data.

2016-03-03  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-utils.c (header_fold_tokens): Fixed folding logic to add a
	space between two consecutive encoded-word tokens when they will fit on
	a single line. Thanks to Jaroslav Gratz for discovering this bug.

	Fixes bug #761263

2016-03-03  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-multipart-signed.c (g_mime_multipart_signed_verify): Fixed
	a memory leak when verifying S/MIME signatures. Thanks to Minaev Mike for
	discovering this bug.

	Fixes bug #760681

2016-01-13  Jeffrey STedfast  <fejj@gnome.org>
	* gmime/gmime-pkcs7-context.c (key_list_free): Fixed the logic for freeing
	a list of keys. Thanks to foudfou for this patch.

	Fixes bug #760573

2015-10-08  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/internet-address.c (decode_route): Make sure to free the route
	in error cases to avoid a memory leak.

	Fixes bug #756270

2015-04-11  Jeffrey Stedfast  <fejj@gnome.org>
	* util/url-scanner.c (url_scanner_table_init): Treat all character
	values >= 128 as url-safe. Fixes bug #738583.

2014-07-18  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-header.c (g_mime_header_list_register_writer):
	g_hash_table_remove() will g_free() the key for us, so don't do it
	ourselves (will result in a double-free).

2014-07-17  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-table-private.h: Increased GMIME_FOLD_LEN to 78.

2014-05-24  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-part.c (g_mime_part_is_attachment): New function to
	determine if a MIME part is an attachment or not.

	* gmime/gmime-disposition.c (g_mime_content_disposition_is_attachment):
	New function to determine if the Content-Disposition value matches
	"attachment".
   2015-11-04 00:27:24 by Alistair G. Crooks | Files touched by this commit (312)
Log message:
Add SHA512 digests for distfiles for mail category

Problems found locating distfiles:
	Package mutt: missing distfile patch-1.5.24.rr.compressed.gz
	Package p5-Email-Valid: missing distfile Email-Valid-1.198.tar.gz
	Package pine: missing distfile fancy.patch.gz
	Package postgrey: missing distfile targrey-0.31-postgrey-1.34.patch
	Package qmail: missing distfile badrcptto.patch
	Package qmail: missing distfile outgoingip.patch
	Package qmail: missing distfile qmail-1.03-realrcptto-2006.12.10.patch
	Package qmail: missing distfile qmail-smtpd-viruscan-1.3.patch
	Package thunderbird24: missing distfile enigmail-1.7.2.tar.gz
	Package thunderbird31: missing distfile enigmail-1.7.2.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2014-11-22 04:47:33 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
2014-02-19  Jeffrey Stedfast  <fejj@gnome.org>
	* configure.ac: Bumped version to 2.6.20

2014-02-19  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-parser.c (parser_scan_content): Improved performance
	by using a SIMD hack when scanning for the end of a line.

2014-02-19  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-message.c (message_remove_header): Don't clear the
	mime_part header stream unless we actually remove a header.
	(message_write_to_stream): Only add nwritten to the total if we've
	written a MIME-Version header.

2013-12-29  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-object.c
	(g_mime_object_set_content_disposition_parameter): Unref the
	disposition. Thanks to Mario Theodoridis for this patch.

2013-11-02  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-message.c (write_references): Don't write out 2
	spaces between the ':' and the first message-id. Fixes bug
	#711305.

2013-10-19  Jeffrey Stedfast  <fejj@gnome.org>
	* configure.ac: Bumped version to 2.6.19

2013-09-29  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-message.c (write_references): Custom writer for
	References headers so that individual msgid tokens do not get
	folded. Fixes bug #709031.

2013-09-26  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime.c (g_mime_init): Initialize the mutexes
	earlier. Fixes bug #708818.

2013-09-15  Jeffrey Stedfast  <fejj@gnome.org>
	* configure.ac: Bumped version to 2.6.18

2013-08-21  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-part.c (write_content): Reset the content stream
	after writing it.

2013-08-14  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-filter-html.c (citation_depth): Fixed an ABR by
	passing in an inend parameter.

2013-08-12  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-stream-file.c (g_mime_stream_file_new_for_path): New
	convenience function that handles opening the file for you.

	* gmime/gmime-stream-fs.c (g_mime_stream_fs_new_for_path): New
	convenience function that handles opening the file for you.

2013-08-11  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-message.c (g_mime_message_set_reply_to): Fixed this
	function to parse the reply_to string just like
	g_mime_message_set_sender() does so that the reply_to field can be
	guaranteed to be in UTF-8.

	* gmime/*.c: Updated API documentation for functions taking or
	returning strings to clarify whether the strings should be in
	UTF-8 or not.

2013-08-10  Jeffrey Stedfast  <fejj@gnome.org>
	* mono/GMime.metadata: Various fixups to get rid of warnings.

	* gmime/gmime.c (g_mime_init): Don't call g_type_init() if glib >=
	2.35.1

2013-08-08  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/internet-address.c (decode_address): Properly deal with
	obsolete routing information.

2013-08-08  Jeffrey Stedfast  <fejj@gnome.org>
	* configure.ac: Bumped version to 2.6.17

2013-08-08  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-parser.c (parser_content_type): If no Content-Type
	header exists and the parent is a multipart/digest, default to
	message/rfc822 instead of text/plain.
	(parser_construct_leaf_part): If the Content-Type header didn't
	exist, use the default content-type values instead of assuming
	text/plain.

2013-08-07  Jeffrey Stedfast  <fejj@gnome.org>
	According to Rfc2046 Section 5.1.1, boundary markers may optionally
	be followed by lwsp.

	* gmime/gmime-parser.c (is_boundary): New convenience function to
	check that the text matches a boundary, possibly followed by lwsp.
	(check_boundary): Use is_boundary().
	(found_immediate_boundary): Use is_boundary().

	Fixes bug #705612

2013-07-02  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-stream-cat.c (stream_substream): Fixed to properly
	handle a 0-byte substream at the end of the very last source
	stream. Fixes bug #701572.

2013-06-30  Jeffrey Stedfast  <fejj@gnome.org>
	* configure.ac: Bumped version to 2.6.16

2013-06-30  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-gpg-context.c (gpg_ctx_set_mode):
	GPG_CTX_MODE_SIGN_ENCRYPT also requires a passphrase.

2013-05-05  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-filter-best.c (filter_filter): Reset the linelen
	state to 0 when we encounter a '\n'.

2013-05-04  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-part-iter.c: Modified to work for non-multipart
	messages.

2013-05-04  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-utils.c (rfc2047_encode): Respect the new
	GMIME_ENABLE_USE_ONLY_USER_CHARSETS initialization flag.

	* gmime/gmime.h: Define a new GMIME_ENABLE_USE_ONLY_USER_CHARSETS
	initialization flag.

2013-04-05  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-utils.c (header_fold_tokens): New internal function
	that replaces the older header_fold() function. This new one uses
	the rfc2047 tokenizer so that we share the same rfc2047 workaround
	logic in the tokenizer.

	Fixes bug #697407

2013-02-23  Jeffrey Stedfast  <fejj@gnome.org>
	* gmime/gmime-filter-html.c: Disable g_warnings unless warnings
	are enabled in the build.
   2013-07-25 10:21:16 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Remove obsolete patches after 2.6 update (hi joerg)
   2013-07-13 21:23:37 by Joerg Sonnenberger | Files touched by this commit (4) | Package updated
Log message:
Update to gmime-2.6.10. Changes unknown, but old version doesn't build
against newer glib2 anyway.
   2013-04-07 22:49:45 by Blue Rats | Files touched by this commit (91)
Log message:
Edited DESCR in the case of:
 File too long (should be no more than 24 lines).
 Line too long (should be no more than 80 characters).
 Trailing empty lines.
 Trailing white-space.
Trucated the long files as best as possible while preserving the most info
contained in them.