head 1.13; access; symbols pkgsrc-2013Q2:1.13.0.28 pkgsrc-2013Q2-base:1.13 pkgsrc-2012Q4:1.13.0.26 pkgsrc-2012Q4-base:1.13 pkgsrc-2011Q4:1.13.0.24 pkgsrc-2011Q4-base:1.13 pkgsrc-2011Q2:1.13.0.22 pkgsrc-2011Q2-base:1.13 pkgsrc-2009Q4:1.13.0.20 pkgsrc-2009Q4-base:1.13 pkgsrc-2008Q4:1.13.0.18 pkgsrc-2008Q4-base:1.13 pkgsrc-2008Q3:1.13.0.16 pkgsrc-2008Q3-base:1.13 cube-native-xorg:1.13.0.14 cube-native-xorg-base:1.13 pkgsrc-2008Q2:1.13.0.12 pkgsrc-2008Q2-base:1.13 pkgsrc-2008Q1:1.13.0.10 pkgsrc-2008Q1-base:1.13 pkgsrc-2007Q4:1.13.0.8 pkgsrc-2007Q4-base:1.13 pkgsrc-2007Q3:1.13.0.6 pkgsrc-2007Q3-base:1.13 pkgsrc-2007Q2:1.13.0.4 pkgsrc-2007Q2-base:1.13 pkgsrc-2007Q1:1.13.0.2 pkgsrc-2007Q1-base:1.13 pkgsrc-2006Q4:1.12.0.34 pkgsrc-2006Q4-base:1.12 pkgsrc-2006Q3:1.12.0.32 pkgsrc-2006Q3-base:1.12 pkgsrc-2006Q2:1.12.0.30 pkgsrc-2006Q2-base:1.12 pkgsrc-2006Q1:1.12.0.28 pkgsrc-2006Q1-base:1.12 pkgsrc-2005Q4:1.12.0.26 pkgsrc-2005Q4-base:1.12 pkgsrc-2005Q3:1.12.0.24 pkgsrc-2005Q3-base:1.12 pkgsrc-2005Q2:1.12.0.22 pkgsrc-2005Q2-base:1.12 pkgsrc-2005Q1:1.12.0.20 pkgsrc-2005Q1-base:1.12 pkgsrc-2004Q4:1.12.0.18 pkgsrc-2004Q4-base:1.12 pkgsrc-2004Q3:1.12.0.16 pkgsrc-2004Q3-base:1.12 pkgsrc-2004Q2:1.12.0.14 pkgsrc-2004Q2-base:1.12 pkgsrc-2004Q1:1.12.0.12 pkgsrc-2004Q1-base:1.12 pkgsrc-2003Q4:1.12.0.10 pkgsrc-2003Q4-base:1.12 netbsd-1-6-1:1.12.0.6 netbsd-1-6-1-base:1.12 netbsd-1-6:1.12.0.8 netbsd-1-6-RELEASE-base:1.12 pkgviews:1.12.0.4 pkgviews-base:1.12 buildlink2:1.12.0.2 buildlink2-base:1.12 netbsd-1-5-PATCH003:1.12 netbsd-1-5-PATCH001:1.12 netbsd-1-4-PATCH002:1.7 comdex-fall-1999:1.5 netbsd-1-4-PATCH001:1.5 netbsd-1-4-RELEASE:1.4 netbsd-1-3-PATCH002:1.1; locks; strict; comment @# @; 1.13 date 2007.01.17.14.29.11; author tron; state dead; branches; next 1.12; 1.12 date 2001.03.03.12.27.51; author frueauf; state Exp; branches 1.12.34.1; next 1.11; 1.11 date 2000.11.15.18.50.29; author tron; state Exp; branches; next 1.10; 1.10 date 2000.07.24.21.02.55; author frueauf; state dead; branches; next 1.9; 1.9 date 2000.04.26.22.10.48; author tron; state Exp; branches; next 1.8; 1.8 date 2000.03.09.23.16.46; author itojun; state dead; branches; next 1.7; 1.7 date 2000.01.10.22.50.18; author frueauf; state Exp; branches; next 1.6; 1.6 date 99.11.21.18.37.58; author frueauf; state Exp; branches; next 1.5; 1.5 date 99.07.07.23.28.13; author itojun; state Exp; branches; next 1.4; 1.4 date 99.02.02.14.12.26; author frueauf; state Exp; branches; next 1.3; 1.3 date 98.12.28.22.00.16; author marc; state Exp; branches; next 1.2; 1.2 date 98.07.04.04.41.36; author mycroft; state dead; branches; next 1.1; 1.1 date 98.02.28.11.35.40; author tron; state Exp; branches; next ; 1.12.34.1 date 2007.01.17.17.52.01; author salo; state dead; branches; next ; desc @@ 1.13 log @Update "fetchmail" and "fetchmailconf" packages to version 6.3.6. The list of changes since version 6.2.5.5 is too large to mention here. The new version provides a fix for the vulnerability reported in the fetchmail-SA-2006-02.txt advisory. @ text @$NetBSD: patch-ac,v 1.12 2001/03/03 12:27:51 frueauf Exp $ --- imap.c.orig Thu Mar 1 20:26:58 2001 +++ imap.c Sat Mar 3 12:57:24 2001 @@@@ -196,11 +196,9 @@@@ strcat(msgbuf,"\r\n"); SockWrite (sock, msgbuf, strlen (msgbuf)); - if ((result = gen_recv (sock, msgbuf, sizeof msgbuf))) + result = imap_ok (sock, NULL); + if (result == PS_SUCCESS) return result; - - if (strstr (msgbuf, "OK")) - return PS_SUCCESS; else return PS_AUTHFAIL; } @ 1.12 log @Update fetchmail{conf} to 5.7.0. Changes since 5.6.0: fetchmail-5.7.0 (Thu Mar 1 18:00:08 EST 2001), 20131 lines: * Updated Danish translation from Byrial Jensen. * Fixed bug in NTLM support. Separately, "auth ntlm" now works. * Imail server and vircom NTLM account added to test list. * Don't require Tkinter to read --configdump output. fetchmail-5.6.8 (Thu Feb 22 02:57:31 EST 2001), 20110 lines: * `preauth' option changed back to `auth' * IMAP code now bails out if the server forces the mailbox read-only. * Fixed a core dump in Dave Zarzycki's new plugin code. * POP3 latency optimization: only do CAPA and set authentication capabilities from it once at start of run. fetchmail-5.6.7 (Mon Feb 19 12:31:03 EST 2001), 20082 lines: * Fixed brown-paper-bag password bug (only showed up if it was necessary to prompt for a password). This fixes Debian bug #86350: Fetchmail doesn't ask for password. * In POP3, query for AUTH methods a la RFC2449. fetchmail-5.6.6 (Thu Feb 15 20:43:47 EST 2001), 20083 lines: * Fixed locale setting; this should make i18n actually work. * Resolved Debian bug #85938: fetchmail asks for a password when using ETRN. * Resolved Debian bugs #85853 and #86047. POP3: Don't issue AUTH between USER and PASS, some servers choke on this. * Resolved Debian bug #85772 re Kerberos compilation. * Resolved Debian bug #85961: Wrong error message when local connection fails. * Serious pre-release regression testing begins. This version tested against 18 different POP3 and IMAP servers. fetchmail-5.6.5 (Mon Feb 12 04:33:39 EST 2001), 20062 lines: * CRAM-MD5 authentication of IMAP and POP3 is working. Tested against IMAP4rev1 2000.287 and v2000.70 POP3 gateway at neo.netnea.com. * Full support for POP3 AUTH (RFC1734) with KERBEROS_IV, GSSAPI, OTP. This code has been completely refactored. In the process, it is possible I have broken GSSAPI, KERBEROS, and OPIE; this needs to be tested. The old IMAP-LOGIN, IMAP-GSS, and IMAP-K4 protocols are gone; fetchmail now uses these automatically when it detects the right capabilities. To prevent having fetchmail look for a password, specify a "preauth" option other than "password". * Noted that Debian bugs #78963, #63064, #81312, #78796, #78363, #78149, #68627, #67559, #63308, #63088, #71428 are fixed. * Resolved Debian bug #65505: fetchmail now returns a nonzero exit status when interrupted before a successful fetch. * configure --ssl works correctly again. fetchmail-5.6.4 (Sun Feb 11 00:43:14 EST 2001), 20085 lines: * ODMR port fix for AIX. * Dave Zarzycki's fix for former FAQ item F5 (%h and %p not being expanded). * Dave Zarzycki's fix to reap zombie processes when nodetach is set. * Attempted fix for CRAM-MD5 problem with IMAP 2000. fetchmail-5.6.3 (Wed Feb 7 10:56:21 EST 2001), 19901 lines: * VPATH build fixed (thanks to Harry McGavran). * Danny O'Brien's patch allowing preauth and idle to work together. * Fixed a bug in configure.in that was resulting in KERBEROS_IV being set when it should not have been (several reports). * FAQ change: mailing lists have moved to MailMan. * Deal with brain-dead netmind mail missing the RFC822 delimiter line. * ODMR (RFC 2645) support -- untested and probably buggy! fetchmail-5.6.2 (Fri Jan 5 16:45:47 EST 2001), 19744 lines: * Dave Bodenstab's fix for the lockfile re-exec problem. * Fixes for `principal' handling in fetchmailconf. * Make --with-included-gettext work again (Thanks to Albert Chin-A-Young). fetchmail-5.6.1 (Mon Dec 11 23:11:59 EST 2000), 19718 lines: * More on ETRN in the FAQ. * Horst Klokow's patch to make interface check the remote IP address. * Roger Luethi's patch to write the UIDL file when you hit a fetchlimit. * Don Beusee's patch to eliminate wedging on authentication failure. Instead, fetchmail will now notify the user on the third failure, then continue polling silently until service is restored (at which time the user will get a notification). * Samuel Leo's patch to add LMTP capability to the smtphost option. * Fix UIDL handling on skip entries. * Add Don Beusee's `spambounce' option (default off). @ text @d1 1 a1 1 $NetBSD$ @ 1.12.34.1 log @Pullup ticket 1997 - requested by tron security update for fetchmail Revisions pulled up: - pkgsrc/mail/fetchmail/Makefile 1.159 - pkgsrc/mail/fetchmail/PLIST 1.11 - pkgsrc/mail/fetchmail/distinfo 1.35 - pkgsrc/mail/fetchmail/patches/patch-aa removed - pkgsrc/mail/fetchmail/patches/patch-ab 1.16 - pkgsrc/mail/fetchmail/patches/patch-ac removed - pkgsrc/mail/fetchmail/patches/patch-ad removed - pkgsrc/mail/fetchmail/patches/patch-ae removed - pkgsrc/mail/fetchmail/patches/patch-ah removed - pkgsrc/mail/fetchmail/patches/patch-ai removed - pkgsrc/mail/fetchmail/patches/patch-aj removed - pkgsrc/mail/fetchmail/patches/patch-al removed - pkgsrc/mail/fetchmailconf/Makefile 1.69, 1.70 - pkgsrc/mail/fetchmailconf/PLIST 1.2 Module Name: pkgsrc Committed By: rillig Date: Sun Jan 7 09:14:16 UTC 2007 Modified Files: pkgsrc/mail/fetchmailconf: Makefile Log Message: Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with ${PREFIX}/${PKGMANDIR}. Fixes PR 35265, although I did not use the patch provided therein. --- Module Name: pkgsrc Committed By: tron Date: Wed Jan 17 14:29:12 UTC 2007 Modified Files: pkgsrc/mail/fetchmail: Makefile PLIST distinfo pkgsrc/mail/fetchmail/patches: patch-ab pkgsrc/mail/fetchmailconf: Makefile PLIST Removed Files: pkgsrc/mail/fetchmail/patches: patch-aa patch-ac patch-ad patch-ae patch-ah patch-ai patch-aj patch-al Log Message: Update "fetchmail" and "fetchmailconf" packages to version 6.3.6. The list of changes since version 6.2.5.5 is too large to mention here. The new version provides a fix for the vulnerability reported in the fetchmail-SA-2006-02.txt advisory. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.12 2001/03/03 12:27:51 frueauf Exp $ @ 1.11 log @Patch provided by Todd Sabin in private e-mail to fix problems with version 2000 of the UW IMAP software. @ text @d3 7 a9 11 --- imap.c.orig Fri Nov 10 23:34:27 2000 +++ imap.c Wed Nov 15 19:43:51 2000 @@@@ -827,13 +827,11 @@@@ strcat (buf1, "\r\n"); SockWrite (sock, buf1, strlen (buf1)); - if ((result = gen_recv (sock, buf1, sizeof (buf1)))) - return result; - - if (strstr (buf1, "OK")) { - return PS_SUCCESS; d11 7 a17 6 + if (result == PS_SUCCESS) { + return result; } else { - return PS_AUTHFAIL; + return PS_AUTHFAIL; } a18 1 @ 1.10 log @obsolete since its integrated into recent fetchmail. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.9 2000/04/26 22:10:48 tron Exp $ d3 20 a22 11 --- driver.c.orig Fri Apr 21 08:52:38 2000 +++ driver.c Thu Apr 27 00:07:34 2000 @@@@ -1589,7 +1589,7 @@@@ (void)sleep(1); #if INET6_ENABLE if ((mailserver_socket = SockOpen(realhost, - ctl->server.service ? ctl->server.service : protocol->service, + ctl->server.service ? ctl->server.service : ( ctl->use_ssl ? protocol->sslservice : protocol->service ), ctl->server.netsec, ctl->server.plugin)) == -1) #else /* INET6_ENABLE */ if ((mailserver_socket = SockOpen(realhost, port, NULL, ctl->server.plugin)) == -1) @ 1.9 log @Add suport for IMAP and POP3 via SSL. @ text @d1 1 a1 1 $NetBSD$ @ 1.8 log @Upgrade from 5.3.0 to 5.3.2. includes important IPv6 fix (if you have IPv4-only sendmail on dual stack node, 5.3.0 may fail to connect). --- fetchmail-5.3.2 (Mon Mar 6 21:41:23 EST 2000), 18695 lines: * Added experimental support for RFC2177 IDLE command extension of IMAP. * Updated fr.po. * Fixed a bug in fetchmailconf's handling of envelope skip prefixes. * Don't nuke .fetchids when authorization failure keeps us from getting URLs. * Added FAQ item X6 on dropped and mangled attachments, thanks to Rob Funk. * Teach configure.in to link the RSA reference library if available. * Disable saving of Message-IDs into UIDL lists. fetchmail-5.3.1 (Sun Mar 5 23:02:42 EST 2000), 18648 lines: * Use remotename@@hostname for MAIL FROM if we have not been able to deduce a Return-Path. * Fix the attempted fix for Joop Susan's ENOTCONN bug. * Added FAQ material on a Microsoft Exchange bug, on forwarding to a different host than the one fetchmail runs on, and on using ssh for a secure passwordless connection. Removed the FAQ entry on popclient. * Jun-ichiro itojun Hagino sent a fix for IPv6. * Fix Red Hat 6.2beta bug 9982: fetchmailconf now automatically pups up an edit panel whenever a new user or site is created. * Fix Red Hat 6.2beta bug 9987: Deal gracefully with the possibility that we might be running as a subprocess with stdin not attached to a tty, and thus unable to query for a password. * Resolved all current Debian bugs classed `important'; #43139, #44744, #44760, #44774, #43140, #50990. * Resolved Debian ordinary bugs #17769, #34383, #38303, #39732, #51674, #53386, #53732, #58553. * Resolved Debian wishlist bug #26630. * Resolution of #59281 (still loops on Ctrl-C) involved a small change in behavior; SIGPIPE now terminates the current poll cycle. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.7 2000/01/10 22:50:18 frueauf Exp $ d3 11 a13 11 --- configure.in.orig Tue Jan 4 07:57:37 2000 +++ configure.in Mon Jan 10 21:37:25 2000 @@@@ -509,7 +509,7 @@@@ LDEFLAGS="$LDEFLAGS -L$with_hesiod/lib" LIBS="$LIBS -lhesiod" else - for dir in /usr/athena /usr /usr/local + for dir in /usr/athena /usr/local do if test -f "$dir/include/hesiod.h" then @ 1.7 log @Update fetchmail to 5.2.3. fetchmail-5.2.3 (Tue Jan 4 01:56:11 EST 2000), 18421 lines: * Ken Estes's patch to check for unreachable UIDL file due to bad NFS mount. * Jorge Godoy's replacement pt_BR.po and various minor translation fixes. * Javier Kohen's replacement for es.po. * Munechika SUMIKAWA's patch to make IPv6 version build when POP2 is enabled. * Russian translation removed; it was badly garbled. * Added Rick van Rein's fetchmaildistrib script to the contrib directory. * Gunther Leber's cleanup patches. * Note to translators: The bodies of the login-error and timeout-error form letters have been changed in driver.c. fetchmail-5.2.2 (Sun Dec 26 09:31:07 EST 1999), 18365 lines: * Arrange for fetchmail to restart itself quietly when the rc file is touched. * Improvements to IPv6 code from Jun-ichiro itojun Hagino . * Drastic simplification of UIDL code, suggested by Ken Estes. fetchmail-5.2.1 (Sun Dec 19 23:08:53 EST 1999), 18330 lines: * Added FAQ item R10 on timeouts during messages. * Fixed indentation problem in fetchmailconf. * Federico Schwindt's patch to fix broken SSL configuration. * Fixes to use fetchmail with IPv6 enabled on glibc without inet6-apps installed; thanks to Arkadiusz Mis'kiewicz. * Interpret IMAP PREAUTH tag correctly (from Joerg Dorchain). * Upgraded to version 0.21 of smbutil.c. FAQ item S2 now documents how to set a domain name. @ text @d1 1 a1 1 $NetBSD$ @ 1.6 log @Update fetchmail to 5.1.4. fetchmail-5.1.4 (Sun Nov 7 17:40:21 EST 1999), 18302 lines: * Mike Pearce's patch to fix a compile-time error recently introduced into the socket code when HAVE_INET_ATON is off. * Added warning to fetchmailconf autoprobe about a flaky Netscape IMAP server. * Disable duplicate suppression when there is only one recognized recipient. fetchmail-5.1.3 (Sun Oct 31 12:19:52 EST 1999), 18290 lines: * Grant Edwards's patch to correct NTLM behavior. * James Brister's fix for IP-address hostnames. * Updated config.guess and config.sub. * Backed out the 5.1.0 change to quote usernames with embedded spaces. It actually breaks things. * Added to fetchmailconf a warning about Imail IMAP servers. * SSL patches by Michael Warfield merged in. Distribution still contains no crypto code. fetchmail-5.1.2 (Thu Oct 7 09:46:07 EDT 1999), 17906 lines: * Joe Loughry sent a patch to handle multihomed machines. * Changed mimedecode default to `off'; it seems that doing RFC2047 decoding on headers throws away information that the MUA may need to see. * Change Received header parsing to no longer demand an embedded dot in a mailhost address. * Incorporated Grant Edwards's ntlmlib-0.2 with fixes for byte-order problems. fetchmail-5.1.1 (Wed Sep 29 11:52:06 EDT 1999), 17827 lines: * Added workaround, fetchmailconf warning, and FAQ about Novell GroupWise. * Consistently show dummy arguments on manual page. * Fix lexer to permit `antispam -1'. * John Cigas's delay patch to avoid a timing problem with plugins. * During IMAP authentication, canonicalize both name and password. * -A has been retired (goes with authenticate -> preauthenticate change). * Check for both fetchall and keep on in daemon mode; reject this. * Fixed a logfile bug dumping IMAP-LOGIN and IMAP-CRAM-MD5. * Tolerate a tunable constant number of authorization failures before complaining and wedging. @ text @d3 3 a5 20 --- configure.in.orig Sun Nov 7 23:50:31 1999 +++ configure.in Sun Nov 21 18:21:39 1999 @@@@ -287,13 +287,9 @@@@ AC_ARG_ENABLE(inet6, [ --enable-inet6 support IPv6 (requires the inet6-apps library)], - [ unset ac_cv_lib_inet6_getaddrinfo; AC_CHECK_LIB(inet6,getaddrinfo,, - [ unset ac_cv_lib_inet6_getaddrinfo; - LDFLAGS="$LDFLAGS -L/usr/inet6/lib"; - AC_CHECK_LIB(inet6, getaddrinfo,, - [ echo 'configure: cannot find libinet6, which is required for IPv6 support.'; - exit 1]) ]) ] - [with_inet6=no]) + [ AC_CHECK_FUNCS(getaddrinfo, + [AC_DEFINE(INET6, 1)], + [echo 'configure: cannot find getaddrinfo which is required for inet6 support.'; exit 1]) ]) test "$with_inet6" = "yes" && AC_DEFINE(INET6_ENABLE) AC_ARG_ENABLE(netsec, @@@@ -496,7 +492,7 @@@@ @ 1.5 log @enable IPv6-ready build on USE_INET6. commit approved by maintainer. @ text @d3 3 a5 3 --- configure.in.orig Sat Jun 12 15:57:57 1999 +++ configure.in Wed Jul 7 08:46:29 1999 @@@@ -276,10 +276,9 @@@@ d9 8 a16 5 - [ unset ac_cv_lib_inet6_getaddrinfo; AC_CHECK_LIB(inet6, getaddrinfo,, - [ unset ac_cv_lib_inet6_getaddrinfo; LDFLAGS="$LDFLAGS -L/usr/inet6/lib"; AC_CHECK_LIB(inet6, getaddrinfo,, - [ echo 'configure: cannot find libinet6, which is required for IPv6 support.'; exit 1]) ]) - AC_DEFINE(INET6, 1) ]) + [ AC_CHECK_FUNCS(getaddrinfo, d19 1 d22 1 a22 2 [ --enable-netsec support network security (requires inet6-apps library)], @@@@ -403,7 +402,7 @@@@ @ 1.4 log @Update fetchmail to 4.7.6. fetchmail-4.7.6 (Sat Jan 30 19:44:24 EST 1999): * Henrik Storner's fix for mimedecode * ' now works as a string quote in. fetchmailrc syntax, just like ". * All bounce messages now use FQDN return paths. * Check for background mode before generating oversized-message mail. Duh! * Paul Murphy's improvements for SDPS. * Message deletion on miscellaneous 5xx SMTP errors is suppressed unless a bounce can be sent. @ text @d3 17 a19 3 --- configure.in.orig Sun Jan 31 01:17:37 1999 +++ configure.in Tue Feb 2 14:40:01 1999 @@@@ -398,7 +398,7 @@@@ @ 1.3 log @"i18n.h" and both define a macro "_". the one in i18n is the one we want, so include i18n.h second. @ text @d3 11 a13 29 --- imap.c~ Fri Dec 4 10:26:39 1998 +++ imap.c Mon Dec 28 16:58:58 1998 @@@@ -14,7 +14,6 @@@@ #endif #include "fetchmail.h" #include "socket.h" -#include "i18n.h" #ifdef KERBEROS_V4 #ifdef KERBEROS_V5 @@@@ -30,6 +29,9 @@@@ #endif #include #endif +#ifdef _ +#undef _ +#endif #endif /* KERBEROS_V4 */ #ifdef GSSAPI @@@@ -40,6 +42,8 @@@@ #if OPIE #include #endif /* OPIE */ + +#include "i18n.h" #ifndef strstr /* glibc-2.1 declares this as a macro */ extern char *strstr(); /* needed on sysV68 R3V7.1. */ @ 1.2 log @Upgrade to 4.5.1. @ text @d1 9 a9 5 --- fetchmail.h.orig Sun Jan 18 18:39:32 1998 +++ fetchmail.h Sat Feb 28 12:21:24 1998 @@@@ -28,6 +28,7 @@@@ #define USERNAMELEN 40 /* max POP3 arg length (RFC1939) */ #define IDLEN 128 /* max length of UID (RFC1939) */ d11 21 a31 4 +#undef MSGBUFSIZE #define MSGBUFSIZE 2048 /* size of message read buffer */ #define PASSWORDLEN 64 /* max password length */ #define DIGESTLEN 33 /* length of MD5 digest */ @ 1.1 log @Adapt this package to NetBSD. @ text @@