summaryrefslogtreecommitdiff
path: root/mail
AgeCommit message (Collapse)AuthorFilesLines
2007-03-23Added back elmo-shimbun and added a dependency on www/emacs-w3m.jnemeth2-3/+6
The elmo-shimbun files are conditionally installed based on whether the emacs-w3m package is found on the system. XXX The dependency on emacs-w3m should really be turned into an option and have the installation of the elmo-shimbun files depend on it; however, this change prevents nasty surprises for those that do have it (i.e. people using editors/emacs-packages).
2007-03-21Since I'm more-or-less actively maintaining pine, might as well take itsjwise1-2/+2
unclaimed dependencies.
2007-03-21Bump PKGREVISION for gnome-keyring ABI bump.wiz6-11/+12
2007-03-19Update to 2.4.0beta5.xtraeme3-7/+8
2.4.0beta5 (development) * Close button was added to the address book dialog, and the layout was improved. * The automatic junk mail filtering on IMAP4 was enabled. * Automatically filtered IMAP4 messages are also counted for new mail notification now. * The default directory of the printing dialog became the document directory. * The crash on some environments when verifying signed messages was fixed. * The crash on exit when the order of summary columns were modified by DnD was fixed. * The wrong handling of quotation in multi-byte strings on MIME header encoding was fixed. * Win32: The bug that the timeout on receiving and sending didn't work was fixed. * Win32: The path separator problem of folderlist.xml was fixed. * Win32: libcairo-2.dll, libgpg-error-0.dll, libgpgme-11.dll, GLib and GTK+ was updated to the latest version. * Win32: The redraw of windows became smoother (GTK+). * Win32: Win32 shell icons are now displayed on the file selection dialog (GTK+).
2007-03-19Run ${SETENV} ${MAKE_ENV} before ${LIBTOOL} during do-install steps.reed1-3/+3
This fixes build where libtool was not in the default path. This is for my PR #36020.
2007-03-19give away to pkgsrc-userstv4-8/+8
2007-03-19Update DBMail to 2.0.11, the latest bugfix maintenance release on the 2.0.xghen2-7/+7
branch. There are a number of changes, see the ChangeLog for details. Note that in the meantime, 2.2.x is the new stable release series, bringing many new features e.g. LDAP authentication, header caching, Sieve mail filtering, ... but I'll leave that update to a more experience DBMail user.
2007-03-18I never got around to using this; relinquish MAINTAINER.schmonz1-2/+2
2007-03-18Update to 4.7.3. From the changelog:schmonz2-6/+6
-fix wrong bytecount displayed in summary at end of run. Thanks: Andreas Jung.
2007-03-18Depend on enca to get more features. Bump PKGREVISION.wiz1-2/+4
2007-03-18Update to 4.1.4adrianp2-6/+6
[jan] SECURITY: Fix XSS vulnerabilities in the search screen and thread view. [jan] Improve displaying of PGP messages (requires Horde 3.1.4 partially). [mms] Make sure we pass a read/write IMAP stream to the filters API (Bug 5054). [mms] Do not allow move to trash unless trash folder is defined (Bug 5012). [jan] Fix an encoding issue with the address book popup (Bug 5050).
2007-03-18Update to 2.1.4adrianp3-8/+12
------ v2.1.4 ------ [jan] Fix character set encoding of exported vCards. [mjr] Fix fatal error when exporting to vCard. [cjh] Organize basic search form from left to right (Request 4914). [jan] Fix links to only show contacts or lists, or both. [mjr] Don't remember the lastly selected address book in the session, if it was not browseable. [mjr] Fix bug that caused counting the number of contacts in a shared SQL source to return the count of the user's default address book instead. [mjr] Fix bug that caused the wrong address book to be deleted when replacing an address book during import. ------ v2.1.3 ------ [jan] Support departments in vCard's ORG properties (martin@matuska.org, Request 4285). [cjh] Fix LDAP driver check for whether objects need to be renamed (Bug 4468). [jan] Fix generation of mailto: links if IMP is not installed (Bug 4334). [jan] Show error message if imported file didn't contain contacts (Bug 4260). [jan] Remember the lastly selected address book during the session. [jan] Add categories from imported contacts to the user's categories.
2007-03-18Update to 1.1.3adrianp3-7/+9
Fix blacklists and whitelists in the IMAP driver.
2007-03-17Fixed the separation of CONFIGURE_SCRIPT and CONFIG_SHELL.rillig1-2/+3
2007-03-17Fix build on DragonFly.joerg2-1/+18
2007-03-17Update ruby-actionmailer to 1.3.3.minskim3-11/+10
Changes: * Depend on Action Pack 1.13.3.
2007-03-16Update to mpop-1.0.7. Install new locale file. Remove all patches.reed11-120/+8
Changes are: Version 1.0.7: - Add a workaround for the Comcast.net POP3 server: allow more than one space before the UID in an UIDL response, even though RFC 1939 says it must be exactly one. Reported and fixed by Benji Fisher. Version 1.0.6: - Updated copyright info to 2007. - Added an "auto" setting for pipelining and made it the default. "on" and "off" now force pipelining on or off regardless of server capabilities. Thanks to Jeremy C. Reed for suggestions on this. - Gnulib update to 2007-01-10. - Switch to autoconf-2.61 and automake-1.10, to avoid problems with configure trying to run "sh /usr/bin/install" where /usr/bin/install is not a shell script on NetBSD. Reported by Jeremy C. Reed. - Put the POP3_PIPELINE_MIN and POP3_PIPELINE_MAX definitions into #ifndef ... #endif so that they can easily be set via CFLAGS. Thanks to Jeremy C. Reed for the patch. - Remove the obsolete "extern int errno;" declaration. It does not conform to POSIX and causes trouble. Thanks to Jeremy C. Reed for the patch. - Added AC_SYS_LARGEFILE to configure.ac, for large file support. Removed the unnecessary AC_C_CONST and AC_HEADER_STDC. Version 1.0.5: - Remove gnulib module nanosleep. This fixes more build problems. Version 1.0.4: - Gnulib update. Remove the gettimeofday module. There are no local changes to the gnulib code anymore. - Do not use the gnulib gettimeofday module anymore. Use a local replacement in delivery.c instead. - Do not use nanosleep() on W32 anymore. Use Sleep() instead. Do not use nanosleep() on DJGPP anymore. Use usleep() instead. - Update gettext files to gettext-0.16. - Improved the configure check for the OpenSSL libraries. This fixes a build failure on Mac OS X. Reported for msmtp by Michael Williams, who also tested the fix. Thanks! - Fix a bug in string_replace(). This bug did not affect mpop. Version 1.0.3: - Improved configuration file examples in the documentation. - Fix GNU SASL support: replace #ifdef HAVE_GSASL with #ifdef HAVE_LIBGSASL. The old code did not actually use GNU SASL. This bug was introduced in 1.0.2. - Prevent to write UIDLs files that we cannot read back: - Do not allow UIDs to start with a space. - Allow UIDLs file lines to be long enough to hold the longest UID that we would accept from a server. - Added spanish translation by Carlos Martín Nieto. Thanks a lot! - Correct the documentation of "~/.mpop_uidls" in mpop.1 and mpop.texi. - Gnulib update. Removes the initialization of pkgdata_DATA from gnulib/Makefile.am, thanks to a fix by Bruno Haible. 'make install' will no longer create an empty directory $(pkgdatadir) anymore (the default for $(pkgdatadir) is /usr/local/share/mpop). Reported by Roman Bogorodskiy. Version 1.0.2: - Gnulib update. The modules nanosleep and gettimeofday still differ from the official gnulib source. - Disable SSLv2 because it has known flaws. This only affects the OpenSSL version because GNU TLS does not implement SSLv2. - Add new command tls_force_sslv3 and option --tls-force-sslv3 to force TLS/SSL version SSLv3. This might be needed to use SSL with some old and broken servers. Closes msmtp Debian bug #374610, reported by Marko Mäkelä. Thanks to Julien Louis for tracking this problem down and testing the patch. - Changed detection of libgnutls so that it works with version >= 1.2.0 again. - Improvements for the build system: - Quote arguments of M4 macros. - Use AC_LIB_HAVE_LINKFLAGS to detect libraries. Do not use *-config scripts or pkg-config. This avoids problems that are reported in this thread: http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/ 1610/focus=1610 . - Use HAVE_LIB* macros instead of USE_* or others, for consistency. - Link with LIB_NANOSLEEP as determined by the gnulib nanosleep module. This fixes build problems on Solaris. Reported by Daniel Rechsteiner for msmtp. Thanks! - Allow '+' and '/' in Return-Path mail addresses; do not replace them with '_'. Fix documentation of which characters are allowed and which are replaced, both in the code and in the user documentation for %F expansion. Version 1.0.1: - Changed the default UIDLS file from "~/.mpop_uidls" to "~/.mpop_uidls/%U_at_%H". - Gnulib update. The modules nanosleep and gettimeofday still differ from the official gnulib source. - Update to gettext-0.15. - Improve error message if directories for the UIDLS files cannot be created. - Allow to use special files like /dev/null to be used as an MBOX file, by ignoring an fsync() failure if and only if (errno == EINVAL). Suggested by Marco Ferra. Thanks! - Make error messages of the maildir and mbox delivery methods more verbose. - Fixed types of variables that are changed by signal handlers: they are 'volatile sig_atomic_t' now. - Adapt --version output to the latest GNU conventions. - Clean up #includes. - Move check for delivery information from main() into check_account(). - Added support for %U and %H expansion in UIDLS file names. This allows to have per-account UIDLS files with just one setting in the defaults section. - Automatically create directories needed to store the UIDLS file. - Gnulib update. Added the xstrndup module. The modules nanosleep and gettimeofday still differ from the official gnulib source. - Move string_replace from delivery.c to tools.[ch] to make it available to other modules. - Renamed os_env.[ch] to tools.[ch]. - Replace __MINGW__ with W32_NATIVE in os_env.h. - Check that the first command in the configuration file is either account or defaults. This fixes a crash (NULL pointer dereferencing) when the first command in the file is valid but does not belong to an account. - W32 port: Fixed the replacements for the WIFEXITED and WEXITSTATUS macros in delivery.c. Thanks to Gizbern for the bug report. - Minor documentation improvements. - Enable network connection timeouts on DJGPP/Watt32. Thanks to Gisle Vanem for pointing out that this works just like it does with UNIX. The DJGPP/Watt32 port is now on par with the UNIX port. - Update README.dos. - Don't check configuration file permissions on Cygwin. Version 1.0.0: - Gnulib update. Added gettimeofday module. Note that a locally modified copy of gnulib was used. It contains patches for the getpass, nanosleep, and gettimeofday modules, plus the additional module sys_select. All of these changes were submitted to the bug-gnulib@gnu.org mailing list, but they are not integrated yet. - Removed some W32 specific defines from delivery.c because they are not necessary with current MinGW versions. - Removed ftruncate-for-W32 hack in uidls.c, because newer MinGW versions have ftruncate(). - Renamed README.win32 to README.w32. Updated README.w32 and README.dos. - Replace '#ifdef _WIN32' with '#ifdef W32_NATIVE', where W32_NATIVE is defined in config.h if the following is true: '#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__'. The reason is that Cygwin defines _WIN32 nowadays, but we want the UNIX API on that platform. - Include config.h in list.c. - Fix warnings emitted for configure.ac by autoreconf. - Added -a, --all-accounts option to query all accounts in the configuration file (suggested by Jimmy Lolla). Changed short option for --auth-only from -a to -A. - Fixed handling of weird UIDs: 1. When checking for control characters, use c_iscntrl() instead of iscntrl(), to be independent of the user's locale. 2. Use POP3_EUNAVAIL as the error code for "Server does not support the UIDL command". All other error codes are critical. Bug reported by Marcelo. Thanks! - Lock the UIDLS file once and keep the lock as long as the UIDLS data is used. This prevents loss of UIDs (and therefore multiple deliveries of the corresponding mails) when multiple mpop processes use the same UIDLS file. - lock_file(): If another process holds a lock on the file, then wait 1/10 second instead of 1 second before the next try. - Gnulib update. Added nanosleep module. - Improve error handling for file locking: differentiate between timeouts and other errors. Version 0.8.5: - Improve checks for libraries in configure.ac. The ./configure options have changed! See INSTALL for more info. - Improve --version output. - Add (optional) support for Internationalized Domain Names (IDN) via GNU Libidn. - Initialize TLS only if pop3_connect() succeeded. - Move SSL_LIBS and GSASL_LIBS into LIBS; do not put them in Makefile.am. - Fix memory leak in GNU SASL variant of pop3_auth(). - Fix memory leak in GnuTLS variant of tls_cert_info_get(). - mpop_serverinfo(): If auth fails and this is ignored, then reset the error message and error string. - Sync pop3_auth() with smtp_auth() from msmtp. Affects only comments. - mpop_serverinfo(): Only resend CAPA if authentication succeeded. - pop3_auth(), GNU SASL variant: - Check if authentication data is complete before trying to start authentication. - Never call password_callback() when no user name is given. - Prevent a double free if an invalid argument to the auth command is given. - Prevent a double free if an invalid argument to --auth is given. - Replace crypto.[ch] with gnulib hmac-md5 module. - Gnulib update. Add hmac-md5 module. - net.c, tls.c: allow all network operations to be interrupted with CTRL+C, and print an appropriate error message in this case. - tls.c: if an error occurs, clean up *after* building the error message. This fixes a potential segfault in the OpenSSL version of tls_start(). - net_open_socket(): don't let net_close_socket() clobber errno. - net_open_socket(): print correct error message if getaddrinfo() returns EAI_SYSTEM. - MDA delivery method: handle SIGPIPE. Now mpop gives a proper error message if the MDA process dies without reading the mail data. This also affects filtering since the filter delivery method largely reuses the MDA delivery method code. - delivery_method_mda_open(): flush stdout and stderr before calling the MDA, so that its output won't be intermingled with mpop's output. - Fixed a comment in net.h. - net_get_canonical_hostname(): Only call freeaddrinfo() if getaddrinfo() succeeded. Reported and fixed by Raúl Núñez de Arenas Coronado. - Removed the simple_mbox delivery method because it is unnecessary. - Minor documentation improvements. Version 0.8.4: - Minor Win32 portability/cross-compilation updates. - Gnulib update. - Documentation updates. - The only_new command and --only-new option were re-added, but with slightly different meaning and a different default value. The default behaviour is completely compatible to all 0.8.x version. - Fix UIDLS file handling: make sure that uids appear in ascending order. Older versions wrote unsorted uid lists. If such a file is read, detect this and sort the lists. - Print --debug output to stdout instead of stderr, since it is requested output. Noted by Aliaksandr Lakhanko. - Changes taken from msmtp: - configure.ac: Rely on PKG_CHECK_MODULES to find GSASL, do not fall back to manual detection, to prevent using an incompatible version of GSASL. Problem reported by Jari Aalto. - Gnulibs sysexit_.h now defines EX_OK; there's no need to use a locally modified version anymore. - Use a locally modified version of gnulibs sysexit_.h that defines EX_OK to 0, since the gnulib maintainers apparently won't fix this file. Include the sysexits.h header after all other system headers to override previous definitions of EX_OK on systems that use EX_OK for other purposes. This is needed on Interix, reported by Ben Collver. Version 0.8.3: - gnulib update. - Expect sorted UIDLS files. This means that files written by versions prior to 0.5.0 are not accepted anymore. - Fixed -d and -P output for "delivery" when maildir is used. - Changes taken from msmtp: - adapted configure.ac for new pkg-config version - Use gnulib socklen module for socklen_t. - W32: Enable maildir delivery. - W32/DJGPP: Use all files/streams in binary mode. - W32: Allow %HOME% to override default user configuration directory. - W32: Enable getpass and netrc functionality. - Do not rely on a failing malloc setting errno in xalloc_die() - Shut down a GnuTLS TLS session with GNUTLS_SHUT_WR instead of GNUTLS_SHUT_RDWR. This prevents session hangs in certain situations. It is safe to do this because we never reuse a connection when TLS was shut down. Thanks to Jens Kammler for the problem report! - Make the GnuTLS code accept old version 1 CA certificates when verifying certificates. - Renamed LOCK_(READ|WRITE) to OSENV_LOCK_(READ|WRITE) in os_env.[ch] to avoid name clashes with <fcntl.h>
2007-03-15Update MASTER_SITES. Set DIST_SUBDIR as distfile changed withoutschmonz4-11/+26
version bump (changes: README edits and updated copyright notice). Remove unnecessary do-build override (the Makefile works fine). Add a couple missing #includes to squelch warnings on OS X. Install README. Bump PKGREVISION.
2007-03-15NetBSD 1.6 does not have the readdir_r function.rillig1-2/+7
2007-03-14Update to dovecot-1.0rc26. From the release announcement mail:ghen2-6/+6
A few new small features and lots of index/mbox fixes. I've been heavily stress testing this release, so I think it should be about perfect. :) I think the only thing still missing from v1.0 is documentation. There are some unwritten pages in the wiki, and I still haven't bothered to write the wiki -> doc/*.txt conversion script. The script will probably be pretty easy, but writing the docs can take a while. + mbox and index file code handles silently out of quota/disk space errors (maildir still has problems). They will give the user a "Not enough disk space" error instead of flooding the log file. + Added fsync_disable setting. + mail-log plugin: Log the mailbox name, except if it's INBOX + dovecot-auth: Added a lot more debug logging to passdbs and userdbs + dovecot-auth: Added %c variable which expands to "secured" with SSL/TLS/localhost. + dovecot-auth: Added %m variable which expands to auth mechanism name - maildir++ quota: With ignore=box setting the quota was still updated for the mailbox even though it was allowed to go over quota (but quota recalculation ignored the box). - Index file handling fixes - mbox syncing fixes - Wrong endianess index files still weren't silently rebuilt - IMAP quota plugin: GETQUOTAROOT returned the mailbox name wrong the namespace had a prefix or if its separator was non-default - IMAP: If client was appending multiple messages with MULTIAPPEND and LITERAL+ extensions and one of the appends failed, Dovecot treated the rest of the mail data as IMAP commands. - If mail was sent to client with sendfile() call, we could have hanged the connection. This could happen only if mails were saved with CR+LF linefeeds.
2007-03-14Update mimedefang to 2.61.markd4-16/+70
includes patch to work with clamav 0.90 and newer. Changes since 2.59: * SECURITY FIX: Versions 2.59 and 2.60 contained a programming error that could lead to a buffer overflow. This is definitely exploitable as a denial-of-service attack, and potentially may allow arbitrary code execution. The bug is fixed in 2.61. * If a message is going to end up being rejected, discarded or tempfailed, we don't bother carrying out requests to add/delete/modify headers or recipients, change the message body, etc. * mimedefang.c: Fix filter registration so MIMEDefang works correctly against libmilter from Sendmail 8.14 Changes since 2.58: * A new "watch-multiple-mimedefangs.tcl" tool that lets you keep an eye on a cluster of MIMEDefang scanners. * Fixes to the build scripts that should eliminate build problems on Intel/AMD 64-bit architectures. * mimedefang generates the COMMANDS file more safely and more efficiently. * Various other minor improvements and bug-fixes.
2007-03-10Update to 0.79:wiz2-7/+6
0.79 same as 0.78_6 0.78_6 06.02.2003 - Remove old configuration variables from version 0.74. - document $mail{Sender} - add seconds to Date header (some buggy mailers freak out if the time has no seconds) - added "/" (\x2F) as a valid character in mailbox part. - minor documentation updates 0.78_5 24.08.2002 - Adapt reference to mail headers in module to new case convention (bug introduced in 0.78_2). - ppd and PPM install changes... 0.78_4 no change in module, only in PPM distribution 0.78_3 11.08.2002 - support multi-line responses - define local $\ and $_ in &sendmail to protect us from outside settings (is this really needed?) - delete $mail{Sender} used for envelope sender, but not needed as header - internal rewrite using subs to send and receive on socket 0.78_2 11.08.2002 - fix old bug with dot as 76th char disappearing. - correct very old bug where port number was not extracted from stuff like 'my.server:2525'. - fix time_to_date bug with negative half-hour zones (only Newfoundland?) - use Sys::Hostname to get the hostname for HELO. (I think it has been part of the standard distribution for many years now) - support different envelope sender through $mail{Sender} - Change case of headers: first character after "-" also uppercased now, so people who believe this is required because Outlook does it this way stop complaining. :-) - Enable full session output for debugging - Do not copy the mail message again to a different variable. - Minor documentation changes.
2007-03-09compatibility fix for SASL 2.1.22.obache3-11/+24
Taken from: https://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imtest/imtest.c.diff?r1=1.107&r2=1.108 Bump PKGREVISION. Reported by Jukka Salmi in PR 35959.
2007-03-09Use PLIST_SUBST rather than appending one-line PLIST.foo to PLIST_SRC,schmonz6-19/+15
and remove one-line PLIST.foo files. Quote some paths to appease pkglint. Update URL to "12 Steps to qmail List Bliss".
2007-03-09Remove PLIST_SUBST, as there's nothing in PLIST to substitute.schmonz1-5/+1
2007-03-08Update to 2.2.4:wiz5-115/+101
2007-02-08 Jeffrey Stedfast * README: Bumped version * configure.in: Bumped version to 2.2.4 2007-02-06 Jeffrey Stedfast Fix for bug #394433 * configure.in: Detect if the system has GNU's getopt implementation available for us to use. * Makefile.am: Don't build our own copy of the GNU getopt library if the system has it available. * src/uuencode.c: If the system has getopt.h, use it instead of our own getopt.h. * src/uudecode.c: If the system has getopt.h, use it instead of our own getopt.h. 2007-02-06 Jeffrey Stedfast More fixes on account of my test suite... * tests/test-cat.c (test_cat_substream): end = start + random amount... duh. Fixes a bug where sometimes the end bound was < the start bound. * gmime/gmime-stream-cat.c (stream_substream): Calculate the length of each of the source streams correctly. D'oh. (stream_substream): Fixed the calculation for s->start. (stream_substream): Fixed the s->end calculation for when end within the source stream's bounds. (stream_substream): Keep track of how long our substream is going to be for use with setting absolute bound_end on a multi-stream substream. 2007-02-05 Jeffrey Stedfast Fixes on account of the awesome test suite I wrote earlier... still need to fix ::substream() tho (or maybe it's just the test that's broke?). * gmime/gmime-stream-cat.c: Added an id member to struct _cat_node, for use with debugging... (stream_read): Seek in the source stream, don't call Cat::stream_seek() to do it. (stream_seek): Swapped the logic of the "within bounds" check, had it backwards. When seeking past a stream, set the node->position to the length of the stream (technically, it's like we read() thru all that data, right?). Instead of resetting all streams starting at n->next, reset them all starting at current->next... since 'n' technically might be before 'current'. (g_mime_stream_cat_add_source): Assign each node an id for easier debugging... 2007-02-05 Jeffrey Stedfast * tests/test-cat.c: The beginnings of a test suite for GMimeStreamCat. * gmime/gmime-stream-cat.c (stream_read): Go to the next stream if nread <= 0, not just nread == 0. 2007-02-04 Jeffrey Stedfast * gmime/gmime-stream-mem.c (stream_reset): No longer need to update stream->position. * gmime/gmime-stream-mmap.c (stream_reset): Same g_return_if_fail change. Also don't update stream->position. (stream_seek): Added similar sanity checking/eos resetting as StreamFs code. * gmime/gmime-stream-file.c (stream_read): Style changes. (stream_write): Style changes. (stream_close): Fixed compiler warning. (stream_reset): Changed g_return_if_fail to a true if-then. (stream_seek): Changed to mimic the StreamFs changes. (g_mime_stream_file_new): Similar to fs_new() change. * gmime/gmime-stream-fs.c (stream_close): Loop the close() ourselves. (stream_reset): Changed g_return_if_fail to a true if-then. Also be better about resetting eos. (stream_seek): Rewritten to be more correct/robust (at least I hope). Also properly reset eos when appropriate. (g_mime_stream_fs_new): If lseek() fails, pretend start offset is 0. * gmime/gmime-stream.c (stream_reset): No longer needs to update stream->position. (g_mime_stream_reset): Update stream->position if everything reset smoothly. This is just a convenience change to subclass implementations. * gmime/gmime-stream-cat.c (stream_read): Rewritten. Hopefully correct now? Ugh. We can hope... (stream_write): Fixed to work better. (stream_close): Rewritten. (stream_reset): Rewritten to reset the streams, don't seek. (stream_seek): Rewritten... still not correct, but should be ok assuming our bound_start is 0. (stream_length): Rewritten to not depend on a pre-calculated length value... this Does Not Work (tm) if the source streams are unbound and we've written to them. (stream_substream): Rewritten... because ::seek() is so complex for this type of stream, I've tried to eliminate a lot of the headaches by making substreams only slurp up the streams within the bounds of the start/end requested. If the entire contents within the requested bounds are contained within a single source stream, we return a substream of said source stream instead. (g_mime_stream_cat_add_source): Don't precalculate the length here anymore. * gmime/gmime-stream-buffer.c (stream_read): Fixed to never allow buflen to be negative if the read() of our source stream fails. (stream_close): Handle the case where we've already been closed. (stream_eos): Simplified. (stream_reset): Stylistic changes. (stream_seek): Don't allow seeks under our bound_start. 2007-02-03 Jeffrey Stedfast * gmime/gmime-stream-cat.c (stream_flush): Flush all streams up to and including the current stream, not just the current stream. (stream_write): break if we don't write any data to current->stream or get an error so we can try the next stream. * gmime/gmime-stream-file.c (stream_close): Same as below. * gmime/gmime-stream-fs.c (stream_close): Allow closing multiple times... makes this consistant with the other streams. (stream_write): If a system write fails with EFBIG or ENOSPC, set eos to TRUE. 2007-01-20 Jeffrey Stedfast * tests/test-streams.c (test_stream_gets): printf formatter fixes. * examples/imap-example.c: #include <glib/gstdio.h>, fixes bug #394434. 2007-01-20 Jeffrey Stedfast Fixes bug #394419 * gmime/gmime-filter-charset.c (filter_filter): Do iconv const casting. (filter_complete): Same. 2006-11-02 Jeffrey Stedfast * gmime/gmime-utils.c (g_mime_utils_header_format_date): Changed the names of the parameters to date and tz_offset to prevent warnings from -Wshadow. * gmime/gmime-filter-html.c (writeln): Fixed another possible buffer overflow condition pointed out by hpj. * gmime/gmime-filter-crlf.c (filter_filter): Fixed a possible buffer overflow condition pointed out by hpj. * gmime/gmime-gpg-context.c (gpg_ctx_op_step): Modified to use poll() rather than select() 2006-09-18 Joe Shaw * mono/Makefile.am: Use SOURCES_XML instead of XML_SOURCES to specify the sources.xml file. XML_SOURCES breaks with newer automakes. 2006-08-29 Pawel Salek * gmime/gmime-message-partial.c: set buf just before use - since the mem stream buffer may get reallocated in the meantime leading to segfaults. 2006-08-29 Jeffrey Stedfast * gmime/gmime-param.c (decode_quoted_string): Unescape escape sequences. Fixes bug #352771. * gmime/gmime-message.c (g_mime_message_set_subject): Updated the docs. (g_mime_message_get_subject): Same. 2006-08-21 Peter Bloomfield * gmime/gmime-utils.c (g_mime_utils_unquote_string): handle an arbitrary sequence of quoted and unquoted sections. 2006-08-02 Jeffrey Stedfast * README: Bumped version * configure.in: Bumped version to 2.2.3 * gmime/gmime-message.c (process_header): Decode the values for Subject, From, Reply-To so that g_mime_message_get_subject/etc all return decoded strings like they were meant to. 2006-06-23 Jeffrey Stedfast * gmime/gmime-gpg-context.c (swrite): Use g_build_filename() and g_get_tmp_dir() rather than hard-coding the tmpfile to be in /tmp. 2006-06-23 Jeffrey Stedfast * gmime/gmime-part.c: Use g_ascii_* versions of str[n]casecmp. * gmime/gmime-parser.c: Use g_ascii_* versions of str[n]casecmp. * gmime/gmime-param.c: Use g_ascii_* versions of str[n]casecmp. * gmime/gmime-multipart-signed.c: Use g_ascii_* versions of str[n]casecmp. * gmime/gmime-multipart-encrypted.c: Use g_ascii_* versions of str[n]casecmp. * gmime/gmime-multipart.c: Use g_ascii_* versions of str[n]casecmp. * gmime/gmime-message-partial.c: Use g_ascii_* versions of str[n]casecmp. * gmime/gmime-message-part.c: Use g_ascii_* versions of str[n]casecmp. * gmime/gmime-message.c: Use g_ascii_* versions of str[n]casecmp. * gmime/gmime-iconv.c (g_mime_iconv_open): Use g_ascii_* versions of str[n]casecmp. * gmime/gmime-header.c (g_mime_header_new): Use g_mime_strcase_[hash,equal] rather than param_[hash,equal] to reuse code. * gmime/gmime-gpg-context.c: Use g_ascii_* versions of str[n]casecmp. * gmime/gmime-filter-enriched.c: Use g_ascii_* versions of str[n]casecmp. * gmime/gmime-disposition.c (g_mime_disposition_add_parameter): Use g_mime_strcase_[hash,equal] rather than param_[hash,equal] to reuse code. (g_mime_disposition_new): Same. (param_equal): Removed. (param_hash): Removed. * gmime/gmime-content-type.c: Use g_ascii_* versions of str[n]casecmp. (g_mime_content_type_new_from_string): Use g_mime_strcase_[hash,equal] rather than param_[hash,equal] to reuse code. (g_mime_content_type_set_parameter): Same. (param_equal): Removed. (param_hash): Removed. * gmime/gmime-charset.c: Use g_ascii_* versions of str[n]casecmp. 2006-06-23 Jeffrey Stedfast * gmime/gmime-stream-cat.c (stream_seek): Fixed to only seek if necessary and also to use ::reset() if seeking back to the beginning of the stream so that it works for non-seekable streams too. Fixes bug #345503 - again thanks to Charles for reporting this bug. * gmime/gmime-object.c (subtype_bucket_foreach): Fixed to also free the bucket memory. Fixes bug #345768, thanks to Charles Kerr for pointing this out. 2006-06-22 Jeffrey Stedfast * gmime/gmime-gpg-context.c: Removed #define _POSIX_SOURCE to fix bug #172179. 2006-06-15 Jeffrey Stedfast * README: Bumped version * configure.in: Bumped version to 2.2.2 2006-06-01 Jeffrey Stedfast * gmime/gmime-utils.c (parse_broken_date): Fixed to handle MM-DD-YY properly and also to fallback to DD-MM-YY if the first pair of digits isn't within range for a proper month. 2006-05-30 Jeffrey Stedfast * gmime.h.in: Removed. * gmime.h: Now static, no longer auto-generated. * gmime/gmime.c: Set the gmime_[major,minor,micro]_version variables. (g_mime_check_version): New function to check the required version. * gmime/gmime-stream-fs.c: Implement our own no-op version of fsync() for systems that don't have fsync(). 2006-05-24 Jeffrey Stedfast * examples/imap-example.c (main): Use g_mkdir() to make this example portable to Win32. 2006-05-01 Jeffrey Stedfast * gmime/gmime-gpg-context.c (gpg_ctx_parse_status): Handle prompts from GnuPG asking for the user's PIN for their SmartCard. 2006-04-21 Jeffrey Stedfast * gmime/gmime-stream.h: #include <stdio.h> for SEEK_SET/CUR/END enum values. 2006-03-16 Jeffrey Stedfast * README: Bumped version * configure.in: Bumped version to 2.2.1 * gmime/gmime-parser.c (parser_step): No-op if we are in an ERROR state. (parser_construct_message): Don't bail if we don't start in state INIT, this is valid. (parser_step_from): We need to bail even if parser_fill() returns > 0 if the line is incomplete (e.g. a forced refill was needed but no additional data could be read). 2006-03-16 Jeffrey Stedfast * README: Bumped version * configure.in: Bumped version to 2.2.0, it's about time I made a stable release. 2006-03-15 Jeffrey Stedfast * gmime/gmime-parser.c (parser_step_from): If we fail to find a From line, set an error state. Also fixed the End-Of-Data check to prevent an infinite loop if the stream ends with \n\n. (parser_construct_message): Make sure our state starts off at INIT. Also check for the ERROR state in our parser_step() loop and return NULL if we encounter an error. 2006-03-03 Jeffrey Stedfast * util/url-scanner.c (g_url_web_end): Allow urls such as "http://www.novell.com./path" (note the '.' before the path component). (g_url_addrspec_start): If the '@' is the first character in the match, then it isn't a valid email address.
2007-03-07Fix build on DragonFly as RNG_RNGInit was calling itself due to badjoerg2-1/+15
linkage. I love platform dependent magic in each Makefile.
2007-03-07Dynamically generate the part of the PLIST for libfreebl. This is becausedmcmahill4-12/+10
the exact names of the freebl libraries depends on the platform and they have a habit of changing even on minor releases. This causes these mozilla packages to be broken quite a lot on platforms other than NetBSD/i386. Hopefully this fix will last longer than previous ones. pkgrevision bumps all around.
2007-03-07Don't assume time_t and long are the same (on sparc64, they aren't).gdt4-2/+49
Fixes ascii timestamps in greylist.db, but as this is solely for the benefit of humans looking at the file functionality is unchanged.
2007-03-07Update to dovecot-1.0rc26.ghen2-6/+6
Most importantly this should fix mbox problems in recent RCs. * Changed --with-headers to --enable-header-install * If time moves backwards only max. 5 seconds, sleep until we're back in the original present instead of killing ourself. An error is still logged. - IMAP: With namespace prefixes LSUB prefix.* listed INBOX.INBOX. - deliver: Ignore mbox metadata headers from the message input. X-IMAP header crashed deliver. - deliver: If mail_debug=yes, drop out DEBUG environment before calling sendmail binary. Postfix's sendmail didn't really like it. - mbox: X-UID brokeness fixes broke rc25 even with valid X-UID headers. Now the code should finally work right. - Maildir: When syncing a huge maildir, touch dovecot-uidlist.lock file once in a while to make sure it doesn't get overwritten by another process. - Maildir++ quota: We didn't handle NUL bytes in maildirsize files very well. Now the file is rebuilt when they're seen (NFS problem). - Index/view handling fix should fix some crashes/errors - If index files were moved to a different endianess machine, Dovecot logged all sorts of errors instead of silently rebuilding them. - Convert plugin didn't change hierarchy separators in mailbox names. - PostgreSQL authentication could have lost requests once in a while with a heavily loaded server. - Login processes could have crashed in some situations - auth cache crashed with non-plaintext mechanisms
2007-03-06Updated mail/clamav to 0.90.1martti3-14/+14
Lots of fixes since 0.90. For details, see ChangeLog.
2007-03-04- Add an smime option (enables by default). When disabled, it removes the perltonio5-34/+41
dependancy (may be good for small systems) - Make pkglint happy - Fix a mistake in patch-ab
2007-03-04Remove unnecessary patchtonio1-91/+0
2007-03-04Update mail/mutt-devel to 1.5.14tonio5-32/+33
Changelog: - many bugfixes * curs_lib.c: Clear the progress bar when the current operation has completed. * lib.c: Even more paranoid temporary file creation.
2007-03-04Update MASTER_SITES/HOMEPAGE -- mostly disappeared.wiz1-3/+3
From Sergey Svishchev in private mail.
2007-03-03Add an option `fancythreads' to add Eduardo Chappa's `fancy threading' UIjwise2-4/+14
patches to pine. Bump PKGREVISION.
2007-03-02Give this away to pkgsrc-users. I don't have a use for this anymore, so Itv1-2/+2
haven't really been paying attention to its status upstream. <sigh>
2007-03-02Update thunderbird and thunderbird-gtk1 to 1.5.0.10. Fixed in this version:ghen8-56/+23
MFSA 2007-06 Mozilla Network Security Services (NSS) SSLv2 buffer overflow MFSA 2007-01 Crashes with evidence of memory corruption (rv:1.8.0.10/1.8.1.2) For more info, see http://www.mozilla.com/en-US/thunderbird/releases/1.5.0.10.html
2007-03-02if SSL is enabled we need to tell configure where to find it, or itgrant2-3/+5
is silently built without SSL. bump PKGREVISION since SSL is enabled by default.
2007-03-02fix build on Solaris with sunpro.grant2-1/+15
2007-03-02enable p5-Mail-Serner and p5-Mail-Sender-Easyabs1-1/+3
2007-03-02Import mail/p5-Mail-Sender-Easy-0.0.5 into pkgsrcabs4-0/+45
Mail::Sender's one problem is its a bit cumbersome to use, with so many options and things to open, close, the whole thing, parts, multiparts etc etc., and several ways to check for successs. Its hard to remember what needs done at what point with what data to do what you want and then which way you check what data based on what was done to see if it worked or not. This module's aim is to make all of that ``Easy'' It does so by providing a single function (and method) to send mail based on an (IMHO) easier to work with hashref and returns true or false on success or failer and sets $@ to any errors. The EXAMPLE section shows an ``email or die'' that will send an email using SMTP Auth on port 26 with text and html parts, the html part has a smiley gif embedded inline and a PDF attached and a high priority flag and read and delivery receipt requests. It will take you seconds to customize it to send that to yourself (and its ``Easy'' to understand what its going on without having to understand the intracacies of SMTP and MIME messages.
2007-03-02Import mail/p5-Mail-Sender-0.8.13 into pkgsrcabs4-0/+30
Mail::Sender provides an object oriented interface to sending mails. It doesn't need any outer program. It connects to a mail server directly from Perl, using Socket. It can handle attachments.
2007-03-01Use variables instead of interactively asking the user to provide values.wiz2-45/+27
Some pkglint cleanup while here.
2007-03-01Update to dovecot-1.0rc25.ghen2-6/+6
* If time moves backwards, Dovecot kills itself instead of giving random problems. + Added --with-headers configure option to install .h files. Binary package builders could use this to create some dovecot-dev package to make compiling plugins easier. - PLAIN authentication: Don't crash dovecot-auth with invalid input. - IMAP APPEND: Don't crash if saving fails - IMAP LIST: If prefix.INBOX has children and we're listing under prefix.%, don't drop the prefix. - mbox: Broken X-UID headers still weren't handled correctly. - mail-log plugin: Fixed deleted/undeleted logging.
2007-03-01Up too late last night. Dovecot's imap-login exports IP, so we canschmonz1-5/+2
simply re-export it as TCPREMOTEIP, et voila. No change in behavior.
2007-02-28Disable --enable-experimental by default, because it does not workxtraeme2-31/+37
correctly with sparc64. Make it an option: clamav-experimental. Move all options into the options.mk file.
2007-02-28Update mhonarc to version 2.6.16.jwise2-8/+7
Changes are fixes to following bugs only: * in urlize change %X to %02X * MIMEFILTERS settings not retained in database * qprint.pl should be able to handle a soft line break at the end of the string * HTML mail does not get its charset converted
2007-02-28Add and enable relay-ctrl.schmonz1-1/+2
2007-02-28Initial import of relay-ctrl 3.1.1.schmonz7-0/+141
This set of programs controls access to relaying for users that authenticate using either POP3 using the qmail-popup/qmail-pop3d or pop3front servers, or IMAP using Courier IMAP or Dovecot.