pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/fetchmail Update fetchmail to 6.2.5.5.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ce6169f2dfd2
branches: trunk
changeset: 504751:ce6169f2dfd2
user: frueauf <frueauf%pkgsrc.org@localhost>
date: Tue Dec 20 14:27:53 2005 +0000
description:
Update fetchmail to 6.2.5.5.
Change homepage to http://fetchmail.berlios.de/ and update MASTER_SITES.
Changes introduced since 6.2.5:
fetchmail-6.2.5.X is a security fix branch that forked off
fetchmail-6.2.5. It does not change for anything but security and the
most severe bug fixes. Note that no 6.2.5.X security audits are planned
except when a particular bug is reported, and that 6.2.5.X is unsafe to
use on some systems, particularly those that lack a *working and secure*
snprintf implementation.
The fetchmail 6.2.5.X branch will be discontinued early in 2006.
fetchmail-6.2.5.5 2005-12-19 Matthias Andree
* SECURITY FIX CVE-2005-4348: fix null pointer dereference in
multidrop mode when the message is empty. Reported by Daniel Drake
<http://article.gmane.org/gmane.mail.fetchmail.user/7573> and others
(Debian Bug #343836). Fix by Sunil Shetye.
* Fix Debian bug #301964, fetchmail leaks sockets when SSL negotiation
fails. Fix suggested by Goswin Brederlow.
* Add fetchmail-SA-2005-{01,02,03}.txt
fetchmail-6.2.5.4 2005-11-13 Matthias Andree
* Also ship pre-built rcfile_y.[ch] for systems that don't have flex,
yacc or bison.
* On FreeBSD, add /usr/local/include to CPPFLAGS so that libintl.h is found.
* Avoid automatically picking up HESIOD implementations that lack
hesiod_getmailhost, such as the one in FreeBSD's base system.
* Fix makedepend for separated build (where the build is not run from
the source directory), but prevent packaging from separated build, it
yields bogus results.
* Fix resolv.h autodetection.
* Add +HESIOD to version printout if appropriate.
fetchmail-6.2.5.3 2005-11-12 Matthias Andree
* SECURITY FIX CVE-2005-3088: fetchmailconf: fix password exposure: use
umask 077 before opening output file and restore umask later.
* Critical fix: fix IMAP timeouts, counting message count down on
servers that do not send EXISTS counts after EXPUNGE. Debian Bug#314509.
* Ship pre-built rcfile_l.c for systems that don't have flex.
* Build environment: Update included gettext. Fix
--with-included-gettext. Fix parallel build (make -j). Fix "always
rebuild fetchmail" syndrome.
* Do not link against -ll or -lfl (not needed).
fetchmail-6.2.5.2
(patch Fri Jul 22 01:52 GMT 2005,
tarball Sat Jul 23 21:34 GMT 2005)
* README: Added a note about release status - READ IT!
* Note: Due to a Makefile.in bug, you may need to use GNU make.
* SECURITY FIX CVE-2005-2335: truncate UIDL replies, lest malicious or
compromised POP3 servers overflow fetchmail's stack. Debian bug
#212762. This is a remote root exploit.
Thanks: Miloslav Trmac for pointing out the fix in 6.2.5.1 was buggy.
Thanks: Ludwig Nussel for a much simpler fix.
* Critical fix: omit blank between MAIL FROM: and <user%example.org@localhost>,
as this causes mail loss with some listeners.
* Fix: POP2 driver wouldn't properly check authentication failure.
* Sunil Shetye's fix to force fetchsizelimit to 1 for APOP and RPOP.
diffstat:
mail/fetchmail/Makefile | 10 +-
mail/fetchmail/distinfo | 14 +-
mail/fetchmail/patches/patch-ae | 13359 +++++++++++++++++--------------------
mail/fetchmail/patches/patch-af | 23 -
mail/fetchmail/patches/patch-ag | 184 -
mail/fetchmail/patches/patch-ak | 46 -
mail/fetchmail/patches/patch-al | 13 +
7 files changed, 6126 insertions(+), 7523 deletions(-)
diffs (truncated from 13912 to 300 lines):
diff -r 852229a7ef09 -r ce6169f2dfd2 mail/fetchmail/Makefile
--- a/mail/fetchmail/Makefile Tue Dec 20 14:22:00 2005 +0000
+++ b/mail/fetchmail/Makefile Tue Dec 20 14:27:53 2005 +0000
@@ -1,13 +1,11 @@
-# $NetBSD: Makefile,v 1.154 2005/10/21 20:56:50 tonio Exp $
+# $NetBSD: Makefile,v 1.155 2005/12/20 14:27:53 frueauf Exp $
-DISTNAME= fetchmail-6.2.5
-PKGREVISION= 6
+DISTNAME= fetchmail-6.2.5.5
CATEGORIES= mail
-MASTER_SITES= http://www.catb.org/~esr/fetchmail/ \
- http://sunsite.unc.edu/pub/Linux/system/mail/pop/
+MASTER_SITES= http://download.berlios.de/fetchmail/
MAINTAINER= frueauf%NetBSD.org@localhost
-HOMEPAGE= http://catb.org/~esr/fetchmail/
+HOMEPAGE= http://fetchmail.berlios.de/
COMMENT= Batch mail retrieval/forwarding utility for pop2, pop3, apop, imap
PKG_INSTALLATION_TYPES= overwrite pkgviews
diff -r 852229a7ef09 -r ce6169f2dfd2 mail/fetchmail/distinfo
--- a/mail/fetchmail/distinfo Tue Dec 20 14:22:00 2005 +0000
+++ b/mail/fetchmail/distinfo Tue Dec 20 14:27:53 2005 +0000
@@ -1,16 +1,14 @@
-$NetBSD: distinfo,v 1.33 2005/11/01 19:16:52 adrianp Exp $
+$NetBSD: distinfo,v 1.34 2005/12/20 14:27:53 frueauf Exp $
-SHA1 (fetchmail-6.2.5.tar.gz) = 4656ec4393ccd1c137fe7b331f77cb26b576ac0e
-RMD160 (fetchmail-6.2.5.tar.gz) = e32b91a959d0e80c4bd45a8758811cbe95a98180
-Size (fetchmail-6.2.5.tar.gz) = 1257376 bytes
+SHA1 (fetchmail-6.2.5.5.tar.gz) = 119dc2d0f533541413b7951edec8ecf1c0308b1b
+RMD160 (fetchmail-6.2.5.5.tar.gz) = f0d74e5e985973867944962c949e7e5d76f77b84
+Size (fetchmail-6.2.5.5.tar.gz) = 1327784 bytes
SHA1 (patch-aa) = 3c8aaac5d53c1069995ab74ad99bc5e64843a507
SHA1 (patch-ab) = 009a97639502365f8b6ec4e854622620391a812f
SHA1 (patch-ac) = ef0e651807bb0942ca79ed3b10ffc000f71bd330
SHA1 (patch-ad) = b6bffc59f28992fa0d3de0f9dad250c73bbeffc6
-SHA1 (patch-ae) = 3acbacee78ab2084a615b0c02b7f83e563bfc7ac
-SHA1 (patch-af) = 06e7b84566b0d3ed50b56f88baf23f15ae21eb21
-SHA1 (patch-ag) = e27a4769dc804bec71b449bed7ff318d15ae8bdf
+SHA1 (patch-ae) = da3152bfd2e61d914d1f32c5eee6821aaef3e461
SHA1 (patch-ah) = d6d08403b241a3e1a891faadbb36b0cd00df1398
SHA1 (patch-ai) = 16449ab08c266936d80b8be11c93a3dd1ac5c2fe
SHA1 (patch-aj) = 1051c1eb754b9c9cffad2eab4561791975aebbe1
-SHA1 (patch-ak) = d75b42146597a17a1ce91dddc7ed0821697d7ec2
+SHA1 (patch-al) = 660df6275304a95b2bc7b98f71980a335677763e
diff -r 852229a7ef09 -r ce6169f2dfd2 mail/fetchmail/patches/patch-ae
--- a/mail/fetchmail/patches/patch-ae Tue Dec 20 14:22:00 2005 +0000
+++ b/mail/fetchmail/patches/patch-ae Tue Dec 20 14:27:53 2005 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ae,v 1.15 2005/04/21 10:55:48 frueauf Exp $
+$NetBSD: patch-ae,v 1.16 2005/12/20 14:27:53 frueauf Exp $
---- configure.in.orig Fri Oct 10 10:36:57 2003
-+++ configure.in Thu Apr 21 12:49:43 2005
-@@ -434,10 +434,21 @@
+--- configure.in.orig 2005-12-19 00:53:34.000000000 +0100
++++ configure.in 2005-12-20 14:29:08.000000000 +0100
+@@ -447,10 +447,21 @@
AC_DEFINE(KERBEROS_V5)
CEFLAGS="$CEFLAGS -I/usr/include/kerberosV"
LIBS="$LIBS -lasn1 -lkrb5 -lcom_err -lkafs"
@@ -24,7 +24,7 @@
searchdirs="$with_kerberos5"
else
searchdirs="/usr/kerberos /usr/local/krb5 /usr/athena /usr"
-@@ -445,12 +456,17 @@
+@@ -458,12 +469,17 @@
with_kerberos5=
for dir in $searchdirs
do AC_MSG_CHECKING([for Kerberos V in $dir])
@@ -45,7 +45,7 @@
AC_MSG_RESULT([Heimdal found])
dnl Attempt to detect if we need to -ldb2 to link Heimdal
dnl we assume we do if it is available
-@@ -503,7 +519,7 @@
+@@ -516,7 +532,7 @@
if test "$with_kerberos" != "no"
then
# Check for a NetBSD/OpenBSD special case
@@ -54,7 +54,7 @@
then
AC_CHECKING([kerberosIV for `uname`])
AC_DEFINE(KERBEROS_V4)
-@@ -704,9 +720,14 @@
+@@ -725,9 +741,14 @@
LDFLAGS="$LDFLAGS -L$with_gssapi/lib"
fi
@@ -71,7 +71,7 @@
AC_CHECK_LIB(gssapi, gss_init_sec_context,LIBS="$LIBS -lgssapi",
AC_MSG_ERROR([could not find libgssapi which is needed for GSSAPI support]), )
AC_DEFINE(HEIMDAL)
-@@ -716,7 +737,12 @@
+@@ -737,7 +758,12 @@
fi
AC_DEFINE(GSSAPI)
save_CPPFLAGS=$CPPFLAGS
@@ -85,429 +85,1764 @@
AC_CHECK_HEADERS(gssapi.h gssapi/gssapi.h gssapi/gssapi_generic.h)
if test "$ac_cv_header_gssapi_h" = "yes"; then
AC_EGREP_HEADER(GSS_C_NT_HOSTBASED_SERVICE, gssapi.h, AC_DEFINE(HAVE_GSS_C_NT_HOSTBASED_SERVICE))
---- configure.orig Fri Oct 10 10:39:54 2003
-+++ configure Thu Apr 21 12:50:44 2005
-@@ -1,9 +1,8 @@
- #! /bin/sh
- # Guess values for system-dependent variables and create Makefiles.
--# Generated by GNU Autoconf 2.57 for fetchmail 6.1.2.
-+# Generated by GNU Autoconf 2.59 for fetchmail 6.1.2.
- #
--# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
--# Free Software Foundation, Inc.
-+# Copyright (C) 2003 Free Software Foundation, Inc.
- # This configure script is free software; the Free Software Foundation
- # gives unlimited permission to copy, distribute and modify it.
- ## --------------------- ##
-@@ -20,9 +19,10 @@
- elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
- set -o posix
- fi
-+DUALCASE=1; export DUALCASE # for MKS sh
-
- # Support unset when possible.
--if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
-+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
- else
- as_unset=false
-@@ -41,7 +41,7 @@
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
- do
-- if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
-+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- $as_unset $as_var
-@@ -218,16 +218,17 @@
- if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
+--- configure.orig 2005-12-19 00:54:21.000000000 +0100
++++ configure 2005-12-20 14:38:11.000000000 +0100
+@@ -311,7 +311,7 @@
+ # include <unistd.h>
+ #endif"
+
+-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir
sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA
CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CFLAGS LDFLAGS
build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE
am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LEX LEXLIB LEX_OUTPUT_ROOT YACC CPFLAGS CEFLAGS LDEFLAGS MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE RANLIB ac_ct_RANLIB ALLOCA GLIBC21
HAVE_POSIX_PRINTF HAVE_ASPRINTF HAVE_SNPRINTF HAVE_WPRINTF LIBICONV LTLIBICONV INTLBISON BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT DATADIRNAME INSTOBJEXT GENCAT INTLOBJS
INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB EXTRADEFS EXTRASRC EXTRAOBJ procmail sendmail maildrop INTLDEPS LIBOBJS LTLIBOBJS'
++ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir
sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA
CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CFLAGS LDFLAGS
build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE
am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LEX LEXLIB LEX_OUTPUT_ROOT YACC CPFLAGS CEFLAGS LDEFLAGS MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE RANLIB ac_ct_RANLIB ALLOCA GLIBC21 LIBICONV
LTLIBICONV INTLBISON USE_NLS BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT INTLOBJS DATADIRNAME INSTOBJEXT GENCAT INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB EXTRADEFS
EXTRASRC EXTRAOBJ procmail sendmail maildrop INTLDEPS LIBOBJS LTLIBOBJS'
+ ac_subst_files=''
+
+ # Initialize some variables set by options.
+@@ -855,8 +855,8 @@
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --disable-dependency-tracking speeds up one-time build
+ --enable-dependency-tracking do not reject slow dependency extractors
+- --disable-nls do not use Native Language Support
+ --disable-rpath do not hardcode runtime library paths
++ --disable-nls do not use Native Language Support
+ --enable-fallback=procmail enable procmail as fallback
+ --enable-fallback=sendmail enable /usr/sbin/sendmail as fallback
+ --enable-fallback=maildrop enable maildrop as fallback
+@@ -877,10 +877,10 @@
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+ --with-gnu-ld assume the C compiler uses GNU ld default=no
+- --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
++ --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
+ --without-libiconv-prefix don't search for libiconv in includedir and libdir
+ --with-included-gettext use the GNU gettext library included here
+- --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
++ --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib
+ --without-libintl-prefix don't search for libintl in includedir and libdir
+ --with-kerberos5=DIR point fetchmail compilation at a Kerberos 5
+ directory
+@@ -5018,10 +5018,7 @@
+
+ MKINSTALLDIRS=
+ if test -n "$ac_aux_dir"; then
+- case "$ac_aux_dir" in
+- /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
+- *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
+- esac
++ MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
+ fi
+ if test -z "$MKINSTALLDIRS"; then
+ MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
+@@ -5029,52 +5026,9 @@
+
+
+
+- echo "$as_me:$LINENO: checking whether NLS is requested" >&5
+-echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
+- # Check whether --enable-nls or --disable-nls was given.
+-if test "${enable_nls+set}" = set; then
+- enableval="$enable_nls"
+- USE_NLS=$enableval
+-else
+- USE_NLS=yes
+-fi;
+- echo "$as_me:$LINENO: result: $USE_NLS" >&5
+-echo "${ECHO_T}$USE_NLS" >&6
+-
+-
+-
+-
+-
+-
+-# Prepare PATH_SEPARATOR.
+-# The user is always right.
+-if test "${PATH_SEPARATOR+set}" != set; then
+- echo "#! /bin/sh" >conf$$.sh
+- echo "exit 0" >>conf$$.sh
+- chmod +x conf$$.sh
+- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
+- PATH_SEPARATOR=';'
+- else
+- PATH_SEPARATOR=:
+- fi
+- rm -f conf$$.sh
+-fi
+
+-# Find out how to test for executable files. Don't use a zero-byte file,
+-# as systems may use methods other than mode bits to determine executability.
+-cat >conf$$.file <<_ASEOF
+-#! /bin/sh
+-exit 0
+-_ASEOF
+-chmod +x conf$$.file
+-if test -x conf$$.file >/dev/null 2>&1; then
+- ac_executable_p="test -x"
+-else
+- ac_executable_p="test -f"
+-fi
+-rm -f conf$$.file
+
+-# Extract the first word of "msgfmt", so it can be a program name with args.
++ # Extract the first word of "msgfmt", so it can be a program name with args.
+ set dummy msgfmt; ac_word=$2
+ echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+@@ -5082,27 +5036,24 @@
+ echo $ECHO_N "(cached) $ECHO_C" >&6
else
-+ test -d ./-p && rmdir ./-p
- as_mkdir_p=false
- fi
-
- as_executable_p="test -f"
-
- # Sed expression to map a string onto a valid CPP name.
--as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
-+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
- # Sed expression to map a string onto a valid variable name.
--as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
-+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
- # IFS
-@@ -667,7 +668,7 @@
-
- # Be sure to have absolute paths.
- for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
-- localstatedir libdir includedir oldincludedir infodir mandir
-+ localstatedir libdir includedir oldincludedir infodir mandir
- do
- eval ac_val=$`echo $ac_var`
- case $ac_val in
-@@ -707,10 +708,10 @@
- # Try the directory containing this script, then its parent.
- ac_confdir=`(dirname "$0") 2>/dev/null ||
- $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-- X"$0" : 'X\(//\)[^/]' \| \
-- X"$0" : 'X\(//\)$' \| \
-- X"$0" : 'X\(/\)' \| \
-- . : '\(.\)' 2>/dev/null ||
-+ X"$0" : 'X\(//\)[^/]' \| \
-+ X"$0" : 'X\(//\)$' \| \
-+ X"$0" : 'X\(/\)' \| \
-+ . : '\(.\)' 2>/dev/null ||
- echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
-@@ -802,9 +803,9 @@
- cat <<_ACEOF
- Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
-- [$ac_default_prefix]
-+ [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
-- [PREFIX]
-+ [PREFIX]
-
- By default, \`make install' will install all the files in
- \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-@@ -934,12 +935,45 @@
- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_builddir$srcdir ;;
+ case "$MSGFMT" in
Home |
Main Index |
Thread Index |
Old Index