diff options
author | reed <reed> | 2007-03-16 19:05:15 +0000 |
---|---|---|
committer | reed <reed> | 2007-03-16 19:05:15 +0000 |
commit | d77d8ada1c7b139966dfd71ba574cee4259b3939 (patch) | |
tree | 3c404cf2e99c01a5cf7fe4a3b7477ebe2aa58c83 /mail/mpop | |
parent | 3fd81a150fa8f56a65d29351ca98a6c2725bc8cd (diff) | |
download | pkgsrc-d77d8ada1c7b139966dfd71ba574cee4259b3939.tar.gz |
Update to mpop-1.0.7. Install new locale file. Remove all patches.
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>
Diffstat (limited to 'mail/mpop')
-rw-r--r-- | mail/mpop/Makefile | 5 | ||||
-rw-r--r-- | mail/mpop/PLIST | 3 | ||||
-rw-r--r-- | mail/mpop/distinfo | 16 | ||||
-rw-r--r-- | mail/mpop/patches/patch-aa | 12 | ||||
-rw-r--r-- | mail/mpop/patches/patch-ab | 12 | ||||
-rw-r--r-- | mail/mpop/patches/patch-ac | 20 | ||||
-rw-r--r-- | mail/mpop/patches/patch-ad | 12 | ||||
-rw-r--r-- | mail/mpop/patches/patch-ae | 12 | ||||
-rw-r--r-- | mail/mpop/patches/patch-af | 12 | ||||
-rw-r--r-- | mail/mpop/patches/patch-ag | 12 | ||||
-rw-r--r-- | mail/mpop/patches/patch-ah | 12 |
11 files changed, 8 insertions, 120 deletions
diff --git a/mail/mpop/Makefile b/mail/mpop/Makefile index 338e5b9d530..23888b7735c 100644 --- a/mail/mpop/Makefile +++ b/mail/mpop/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.8 2006/06/25 03:32:23 reed Exp $ +# $NetBSD: Makefile,v 1.9 2007/03/16 19:05:17 reed Exp $ # -DISTNAME= mpop-0.8.2 -PKGREVISION= 3 +DISTNAME= mpop-1.0.7 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mpop/} EXTRACT_SUFX= .tar.bz2 diff --git a/mail/mpop/PLIST b/mail/mpop/PLIST index 9880ba8d86d..116a9b4cd41 100644 --- a/mail/mpop/PLIST +++ b/mail/mpop/PLIST @@ -1,7 +1,8 @@ -@comment $NetBSD: PLIST,v 1.3 2006/04/17 07:07:24 jlam Exp $ +@comment $NetBSD: PLIST,v 1.4 2007/03/16 19:05:17 reed Exp $ bin/mpop info/mpop.info man/man1/mpop.1 share/examples/mpop/mpoprc.example share/locale/de/LC_MESSAGES/mpop.mo +share/locale/es/LC_MESSAGES/mpop.mo @dirrm share/examples/mpop diff --git a/mail/mpop/distinfo b/mail/mpop/distinfo index dd2465c2985..1b07356e16c 100644 --- a/mail/mpop/distinfo +++ b/mail/mpop/distinfo @@ -1,13 +1,5 @@ -$NetBSD: distinfo,v 1.2 2005/12/20 16:32:16 joerg Exp $ +$NetBSD: distinfo,v 1.3 2007/03/16 19:05:17 reed Exp $ -SHA1 (mpop-0.8.2.tar.bz2) = 240fbe3e93051a50e403f342b0dab822e91cdb15 -RMD160 (mpop-0.8.2.tar.bz2) = ea1fc39769ea14cc62c07847a695524baa462867 -Size (mpop-0.8.2.tar.bz2) = 475994 bytes -SHA1 (patch-aa) = f00003c71808c318600bd18ee50c1f632e7a1006 -SHA1 (patch-ab) = c97dea52e61819e49327b17dffdff4a6d6aefb17 -SHA1 (patch-ac) = 05c878df4516531343e6ce3e57962cacaca3866b -SHA1 (patch-ad) = 6ea860bee1170307f054a40e676e5aa7a8c74e5a -SHA1 (patch-ae) = 555ef410dea68c958d91c55161019ee714c0c6ca -SHA1 (patch-af) = 4f2e902b6d00a80ad82e0e15e98cec599f332431 -SHA1 (patch-ag) = 4031c770fd4b4d31264b296b51bec8cdff801239 -SHA1 (patch-ah) = c106ab8b33adba014e135e58c9fcd5f513e6d82e +SHA1 (mpop-1.0.7.tar.bz2) = fe3172882114d2f17501a069128a117c33b2f096 +RMD160 (mpop-1.0.7.tar.bz2) = cc1f9e1ba2f643e509c8992705c00906aec39e00 +Size (mpop-1.0.7.tar.bz2) = 557870 bytes diff --git a/mail/mpop/patches/patch-aa b/mail/mpop/patches/patch-aa deleted file mode 100644 index 067661f51b7..00000000000 --- a/mail/mpop/patches/patch-aa +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-aa,v 1.1 2005/12/20 16:32:16 joerg Exp $ - ---- src/conf.c.orig 2005-12-20 16:21:47.000000000 +0000 -+++ src/conf.c -@@ -31,7 +31,6 @@ - #include <string.h> - #include <ctype.h> - #include <errno.h> --extern int errno; - - #include "gettext.h" - #include "xalloc.h" diff --git a/mail/mpop/patches/patch-ab b/mail/mpop/patches/patch-ab deleted file mode 100644 index ab810a6dc92..00000000000 --- a/mail/mpop/patches/patch-ab +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-ab,v 1.1 2005/12/20 16:32:16 joerg Exp $ - ---- src/mpop.c.orig 2005-12-20 16:23:42.000000000 +0000 -+++ src/mpop.c -@@ -32,7 +32,6 @@ - #include <string.h> - #include <ctype.h> - #include <errno.h> --extern int errno; - #include <time.h> - #include <getopt.h> - extern char *optarg; diff --git a/mail/mpop/patches/patch-ac b/mail/mpop/patches/patch-ac deleted file mode 100644 index 764bc371fba..00000000000 --- a/mail/mpop/patches/patch-ac +++ /dev/null @@ -1,20 +0,0 @@ -$NetBSD: patch-ac,v 1.1 2005/12/20 16:32:16 joerg Exp $ - ---- src/net.c.orig 2005-12-20 16:24:08.000000000 +0000 -+++ src/net.c -@@ -43,7 +43,6 @@ - #define NI_MAXHOST 1025 - #endif - #include <errno.h> --extern int errno; - #else /* UNIX */ - #include <unistd.h> - #include <fcntl.h> -@@ -57,7 +56,6 @@ extern int h_errno; - #include <arpa/inet.h> - #include <netdb.h> - #include <errno.h> --extern int errno; - #endif /* UNIX */ - - #include "gettext.h" diff --git a/mail/mpop/patches/patch-ad b/mail/mpop/patches/patch-ad deleted file mode 100644 index f88b5b79d8a..00000000000 --- a/mail/mpop/patches/patch-ad +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-ad,v 1.1 2005/12/20 16:32:16 joerg Exp $ - ---- src/os_env.c.orig 2005-12-20 16:24:52.000000000 +0000 -+++ src/os_env.c -@@ -29,7 +29,6 @@ - #include <stdlib.h> - #include <string.h> - #include <errno.h> --extern int errno; - #include <fcntl.h> - #include <sys/types.h> - #include <sys/stat.h> diff --git a/mail/mpop/patches/patch-ae b/mail/mpop/patches/patch-ae deleted file mode 100644 index d51e18894d5..00000000000 --- a/mail/mpop/patches/patch-ae +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-ae,v 1.1 2005/12/20 16:32:16 joerg Exp $ - ---- src/pop3.c.orig 2005-12-20 16:25:21.000000000 +0000 -+++ src/pop3.c -@@ -34,7 +34,6 @@ - #include <strings.h> - #include <ctype.h> - #include <errno.h> --extern int errno; - - #ifdef USE_GSASL - #include <gsasl.h> diff --git a/mail/mpop/patches/patch-af b/mail/mpop/patches/patch-af deleted file mode 100644 index ae5c38dd78a..00000000000 --- a/mail/mpop/patches/patch-af +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-af,v 1.1 2005/12/20 16:32:16 joerg Exp $ - ---- src/uidls.c.orig 2005-12-20 16:26:58.000000000 +0000 -+++ src/uidls.c -@@ -30,7 +30,6 @@ - #include <limits.h> - #include <string.h> - #include <errno.h> --extern int errno; - - #include "gettext.h" - #include "xalloc.h" diff --git a/mail/mpop/patches/patch-ag b/mail/mpop/patches/patch-ag deleted file mode 100644 index f10e77f6c1e..00000000000 --- a/mail/mpop/patches/patch-ag +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-ag,v 1.1 2005/12/20 16:32:16 joerg Exp $ - ---- src/delivery.c.orig 2005-12-20 16:23:14.000000000 +0000 -+++ src/delivery.c -@@ -32,7 +32,6 @@ - #include <sys/time.h> - #include <time.h> - #include <errno.h> --extern int errno; - #include <sys/types.h> - #include <sys/stat.h> - #include <sysexits.h> diff --git a/mail/mpop/patches/patch-ah b/mail/mpop/patches/patch-ah deleted file mode 100644 index 86e88958c07..00000000000 --- a/mail/mpop/patches/patch-ah +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-ah,v 1.1 2005/12/20 16:32:16 joerg Exp $ - ---- src/tls.c.orig 2005-12-20 16:27:32.000000000 +0000 -+++ src/tls.c -@@ -33,7 +33,6 @@ - #include <limits.h> - #include <time.h> - #include <errno.h> --extern int errno; - - #ifdef HAVE_GNUTLS - #include <gnutls/gnutls.h> |