Commit graph

233 commits

Author SHA1 Message Date
Martin Wilke
8843e9971d - Update to 6.3.14
PR:		145298
Submitted by:	Corey Halpin <chalpin@cs.wisc.edu> (maintainer)
2010-04-02 18:49:00 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Matthias Andree
dd5c15ff3f Update to new upstream release 6.3.14. Changes:
# SECURITY FIXES
* SSL/TLS certificate information is now also reported properly on computers
  that consider the "char" type signed. Fixes malloc() buffer overrun.
  Workaround for older versions: do not use verbose mode.  CVE-2010-0562
  See fetchmail-SA-2010-01.txt for details, including a minimal patch.

# BUG FIXES
* The IMAP client no longer skips messages from several IMAP servers including
  Dovecot if fetchmail's "idle" is in use.  Causes were that fetchmail (a)
  ignored some untagged responses when it should not (b) relied on EXISTS
  messages in response to EXPUNGE, which aren't mandated by RFC-3501 (the IMAP
  standard) and aren't sent by Dovecot either.
    Fix by Sunil Shetye (the fix also consolidates IMAP response handling,
  improving overall robustness of the IMAP client), bug report and testing by
  Matt Doran, with further hints from Timo Sirainen.
* The SMTP client now recovers from errors (such as servers dropping the
  connection after errors) when sending an RSET command.
    Fix by Sunil Shetye. Report by James Moe.
* The IMAP client now uses "SEARCH UNSEEN" rather than "SEARCH UNSEEN NOT
  DELETED" again on IMAP2, to fix a regression in fetchmail 6.2.5 reported by
  Will Stringer in June 2004. (Sunil Shetye)
* The IMAP client now uses "SEARCH UNSEEN UNDELETED" on IMAP4 and IMAP4r1
  servers (Sunil Shetye).
* Workaround: The IMAP client now falls back to "FETCH n:m FLAGS" if the server
  does not support "SEARCH". (Sunil Shetye)
* The IMAP client now requests message numbers in batches of 1,000 to avoid
  problems if there are more than 1860 unseen messages. (Sunil Shetye)
    Note that this wasn't security relevant because fetchmail would only read up
  to the maximum buffer size and leave the remainder of the string unread, going
  out of synch afterwards.
* Stricter validation of IMAP responses containing byte or message counts.

# CHANGES
* Only include gssapi.h if we're not including gssapi/gssapi.h, to fix a FreeBSD
  compiler warning about gssapi.h being obsolete.

# DOCUMENTATION
* The README.SSL document was revised for grammar, spelling, and clarity.
  Courtesy of Robert Mullin.

# TRANSLATION UPDATES
* [it]    Italian, by Vincenzo Campanella
----------

Approved by:	Corey Halpin (port maintainer)
Approved by:	miwi@ (mentor)
2010-02-12 09:54:07 +00:00
Martin Wilke
a3a756d06e - Update to 6.3.13 (updates translations and supports SMTP multiline replies)
- Remove Kerberos IV support, insecure and obsolete
- Mark BROKEN if KRB5_HOME is set and invalid
- Kill pre-configure, no longer needed
- Kill obsolete POP2 from make config menu, still available if given on make
  command line
- Auto-detect KRB5_HOME if it's $LOCALBASE or /usr
- MARK_JOBS_SAFE=yes
- Cease messing with @cwd in pkg-plist
- Reduce asterisks on pkg-message.in, to avoid screen clutter on long $PREFIX
  Rely on krb-config instead.

PR:		140100
Submitted by:	Matthias Andree <matthias.andree@gmx.de>
Approved by:	maintainer
2009-11-04 10:47:33 +00:00
Wesley Shields
82c4b96e97 - Add a patch to fix segfault on startup.
PR:		ports/137972
Submitted by:	Christian Ludwig <chrissicool@chrissicool.net>
Approved by:	Corey Halpin <chalpin@cs.wisc.edu> (maintainer)
2009-09-08 15:12:21 +00:00
Dmitry Marakasov
9b5d944bdc - Update to 6.3.11
PR:		137604
Submitted by:	Corey Halpin <chalpin@cs.wisc.edu> (maintainer)
http://www.freebsd.org/ports/portaudit/5179d85c-8683-11de-91b9-0022157515b2.html
2009-08-11 15:27:11 +00:00
Dmitry Marakasov
d0ff441f6c - Update to 6.3.10
- Portlint

PR:		136774
Submitted by:	Corey Halpin <chalpin@cs.wisc.edu> (maintainer)
2009-07-15 23:02:52 +00:00
Martin Wilke
9cf1cf3916 - Pass maintainership to submitter
PR:		134189
Submitted by:	Corey Halpin <chalpin@cs.wisc.edu> (maintainer)
2009-05-04 23:09:15 +00:00
Mark Linimon
a325795c3a Reset barner@FreeBSD.org due to several months of inactivity.
Hat:		portmgr
2009-03-23 01:01:14 +00:00
Mark Linimon
c9f4fe8d04 Add http://homepages.uni-paderborn.de to MASTER_SITES. The sunsite
mirrors appear to be behind.  Also (temporarily?) remove home.leo.org,
as the site seems to have been rearranged.

PR:		ports/130301
Submitted by:	Matthias Andree <matthias dot andree at gmx dot de>
Hat:		portmgr
2009-01-12 00:59:26 +00:00
Pav Lucistnik
9a45bddce5 - Update to 6.3.9
PR:		ports/129755
Submitted by:	Matthias Andree <matthias.andree@gmx.de>
Approved by:	maintainer timeout (barner; 20 days)
2009-01-08 12:12:44 +00:00
Rong-En Fan
741aa71483 Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
2008-08-21 06:18:49 +00:00
Simon Barner
a227f4d511 - Use revised patch for CVE-2008-2711
- Bump port revision

Security:	http://fetchmail.berlios.de/fetchmail-SA-2008-01.txt
Security:	http://www.vuxml.org/freebsd/1e8e63c0-478a-11dd-a88d-000ea69a5213.html
2008-07-01 16:35:50 +00:00
Simon Barner
e71d8331aa - Security fix: potential crash in -v -v verbose mode.
- Bump port revision

PR:		ports/124718
Submitted by:	Matthias Andree <matthias.andree@gmx.de>
Security:	http://www.vuxml.org/freebsd/168190df-3e9a-11dd-87bc-000ea69a5213.html
Security:	CVE-2008-2711
2008-06-20 07:46:50 +00:00
Edwin Groothuis
090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00
Simon Barner
ea8075abbd - Fix installation as non-root user
Submitted by:	Stefan Sperling
PR:		ports/122269
2008-04-06 09:08:28 +00:00
Edwin Groothuis
81cd10f8d2 Remove always-false/true conditions based on OSVERSION 500000 2007-10-04 01:53:45 +00:00
Simon Barner
3017d8ada2 - Fix for CVE-2007-4565 [1]
- Manually include bsd.python.mk if WITH_X11 is set (after bsd.port.pre.mk) [2]

Security:	http://www.vuxml.org/freebsd/45500f74-5947-11dc-87c1-000e2e5785ad.html
Security:	http://fetchmail.berlios.de/fetchmail-SA-2007-02.txt
Submitted by:	Matthias Andree <matthias.andree@gmx.de> [1]
PR:		ports/116011 [1]
Submitted by:	Jacula Modyun <jacula@gmail.com> [2]
PR:		ports/115714 [2]
2007-09-03 19:22:28 +00:00
Simon Barner
c375630850 - security/ca-roots is deprecated, switch to security/ca_roots_nss for
SSL certificates.
2007-08-13 14:31:54 +00:00
Rong-En Fan
f935a609c5 - Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
2007-07-23 09:36:51 +00:00
Simon Barner
ccb2a8b340 - Actually respect the `fetchmail_user' variable in single daemon
mode
- Document that above variable is ignored in the per-user daemon mode
- Bump port revision

Requested by:	Graham Menhennitt <graham@menhennitt.com.au>
PR:		ports/114701
2007-07-22 11:20:19 +00:00
Simon Barner
c119f2af3c - Remove circular dependency in rcorder by removing the (unnessary) constraint
that fetchmail is started "BEFORE LOGIN". "REQUIRE mail" (which in turn
  requires LOGIN) is enough.
- Bump PORTREVISION

PR:		ports/114294
Submitted by:	Alson van der Meulen <alson@flutnet.org>
2007-07-06 07:10:44 +00:00
Simon Barner
7da518ccdd Install fetchmailrc with 640 since it may contain passwords.
The fetchmailrc.sample file is still installed 644.
2007-06-06 19:37:23 +00:00
Simon Barner
7a833eebc9 - Add pkg-message pointing to documenation in rc script.
- Add pointers to fetchmail documentation to rc script.
2007-05-31 20:09:30 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Simon Barner
12a78b2f2a - Make fetchable
- Remove home.pages.de master site
- Add sunsite mirror

PR:		ports/111443
Submitted by:	Matthias Andree
2007-04-10 19:37:00 +00:00
Rong-En Fan
04820b18ff - Fix fetch, MASTER_SITE_BERLIOS already contains %SUBDIR% 2007-04-10 14:10:12 +00:00
Simon Barner
f7c5c4e2a3 - Update to 6.3.8
- Fix insecure APOP authentication (minor)

Security: http://fetchmail.berlios.de/fetchmail-SA-2007-01.txt
Security: http://www.vuxml.org/freebsd/f1c4d133-e6d3-11db-99ea-0060084a00e5.html
ChangeLog: https://developer.berlios.de/project/shownotes.php?group_id=1824&release_id=12610
2007-04-09 20:04:05 +00:00
Simon Barner
8f15fe580d - Update to 6.3.7
- Regression fixes for KPOP and repoll after server disconnect (TLS)
  Details: https://lists.berlios.de/pipermail/fetchmail-announce/2007-February/000047.html
2007-02-20 08:13:17 +00:00
Simon Barner
6f120f8e03 - Update to 6.3.6
- Fixes two security issues, one of which is a longstanding password disclosure bug.
- Several robustness fixes and other improvements

Release notes:	https://developer.berlios.de/project/shownotes.php?group_id=1824&release_id=11977
Security:	http://www.vuxml.org/freebsd/5238ac45-9d8c-11db-858b-0060084a00e5.html
Security:	http://www.vuxml.org/freebsd/37e30313-9d8c-11db-858b-0060084a00e5.html
Reported by:	Matthias Andree (upstream author)
2007-01-06 14:38:42 +00:00
Simon Barner
b0ecc0f5bc - Update to fetchmail 6.3.5. See here for the release notes:
http://developer.berlios.de/project/shownotes.php?group_id=1824&release_id=11358
- OPTIONize [1]
- GSSAPI support (requires Kerberos). [1]
- Removed POP2 from port's default configuration [1]

Requested by:	Stefan Thurner <thurners@nicsys.de> [1]
2006-11-02 16:05:29 +00:00
Simon Barner
14e22ed87e - Add new rc.conf option "fetchmail_logging_facility" which can be used
to specify where fetchmail logs to. Default: --syslog (as hardcoded
  before). [1]
- Use marco for cp [2]
- Try to remove directories not listed in mtree [2]
- No portrevision bump since the default behaviour remains the same, and
  a new fetchmail version is to be exspected soon anyway.

Requested by:	Gerard Seibert <gerard@seibercom.net> [1]
Submitted by:	Stanislav Sedov <ssedov@mbsd.msk.ru> [2]
PR:		ports/101517
2006-08-30 11:56:13 +00:00
Simon Barner
df85b83a62 Make prefix clean.
PR:			ports/97977
Submitted by:		Esa Karkkainen <ejk@iki.fi>
Big shiny pointy hat:	me
2006-05-26 22:18:57 +00:00
Simon Barner
2e39d08eeb - Use %%RC_SUBR%% [1]
- Fix typo in Makefile [1]
- Fix recursive calls of rc script on older systems (requested in [2])
- Bump PORTREVISION

PR:			97876 [1], 97335 [2]
Submitted by:		Jeremy Chadwick <freebsd@jdc.parodius.com> [1],
			Veselin Slavov <vess@slavof.net> [2]
2006-05-25 16:26:50 +00:00
Simon Barner
125dd5c19c - Fix PID file for system-wide daemon mode
- Fix package: Create /var/run/fetchmail in pkg-install instead of
  post-install target.
- Bump PORTREVISION

PR:		ports/97283
Submitted by:	Martin Jackson <mhjacks@swbell.net>
2006-05-15 21:18:40 +00:00
Simon Barner
f9884d1c0e - Update to 6.3.4 [1]
- Add rcNG script. See $PREFIX/etc/rc.d/fetchmail for
  instructions. Inspired by [2] and ports/www/apache22.

PR:		ports/96987 [1], ports/96079
Submitted by:	Rob MacGregor <freebsd.macgregor@blueyonder.co.uk> [1],
		Martin Jackson <mhjacks@swbell.net>
2006-05-12 16:58:48 +00:00
Edwin Groothuis
efe7d5f7f4 Remove USE_REINPLACE from ports starting with M 2006-05-10 22:37:39 +00:00
Simon Barner
3cd0edaa2b - Prevent fetchmail from crashing if the .netrc file does not contain
a password for a particular account.

- Bump PORTREVISION

Submitted by:	Craig Leres via Matthias Andree
2006-01-30 12:47:53 +00:00
Simon Barner
bf66bc15d1 - Update to 6.3.2
- Changes:
  * Fixes a denial of service bug/fetchmail crash after sending a bounce
  * Adds a Maillennium (Comcast) workaround
  * ChangeLog: https://lists.berlios.de/pipermail/fetchmail-announce/2006-January/000022.html
Security:	http://fetchmail.berlios.de/fetchmail-SA-2006-01.txt
Security:	CVE-2006-0321
Security:	http://www.vuxml.org/freebsd/f11d3b22-88c6-11da-a7b2-0060084a00e5.html
2006-01-23 15:14:27 +00:00
Simon Barner
49b949d3f9 Update to 6.3.1
* Fix null pointer dereference w/ headerless message in
   multi-drop mode [1]
 * Removed patches are in the upstream distribution now
 * ChangeLog: https://lists.berlios.de/pipermail/fetchmail-announce/2005-December/000017.html

Security: http://www.vuxml.org/freebsd/f7eb0b23-7099-11da-a15c-0060084a00e5.html
Security: http://fetchmail.berlios.de/fetchmail-SA-2005-03.txt
Security: CVE-2005-4348
2005-12-19 15:21:53 +00:00
Simon Barner
1583170408 - Fix a null pointer dereference in multi-drop mode [1]
- Fix packaging if python is not present at compile time [2]
- Sort targets in Makefile
- Fix variable in the WITH_X11 case
- Bump PORTREVISION (for [1])

Submitted by:	Andreas Haakh <bugReporter@Haakh.de> [1]
Reviewed by:	Matthias Andree <matthias.andree@gmx.de>
                (upstream maintainer) [1]
Reported by:	pointyhat via kris [2]
2005-12-11 21:24:18 +00:00
Simon Barner
a6b600d08c - Add RUN_DEPENDS on security/ca-roots, so the certificate check really
succeeds (if the servers certificate is signed by one of those authorites)

- Bump PORTREVISON, since a failing certiciate check spams the port users'
  maillog.
2005-12-10 19:58:31 +00:00
Simon Barner
d55a49e9d5 - Use USE_OPENSSL [1]
- Remove obsolete --enable-inet6 configure argument [1]
- Don't try to enable Kerberos IV and V at the same time [1]
- Add WITH_NTLM knob. Inform port user about other knobs
  (WITH_X11, WITHOUT_NLS) [1]
- Correct man page patch [1]
- Fix default OpenSSL certificate path [1] [2]
- Fix plist [1] [3]
- Bump PORTREVISON

Submitted by:	Matthias Andree <matthias.andree@gmx.de> [1]
Reported by:	Dieter Rauschenberger <dr@d-ra.de> [2]
PR:		ports/90084 [2]
Reported by:	kris via pointyhat [3]
2005-12-10 16:09:13 +00:00
Simon Barner
e92788bd72 - Update to fetchmail 6.3.0
- From the announcement:

  fetchmail 6.3.0 has been released on 2005-11-30. More than two years
  after the previous formal 6.2.5 release, this collects several dozen
  bug fixes, documentation, portability and IPv6 improvements and marks
  the beginning of a new "stable" 6.3.X branch that will not change,
  except for bug fixes and documentation updates.

- files/patch-pop2.c contributed by Stanislav Brabec <sbrabec@suse.cz>
  via Matthias Andree <matthias.andree@gmx.de> (upstream maintainer)
2005-12-06 21:08:15 +00:00
Simon Barner
f50a6c5196 Add SHA256 for my ports (that don't already have it). 2005-11-24 14:08:01 +00:00
Simon Barner
2025cb1d96 - Fix a bug introduced with fetchmail-6.2.5.2_3, where it would sometimes
leave some messages on an IMAP server, i.e. this is the correct fix
  for the following bug (as described Makefile:1.161 and
  files/patch-imap.c:1.1):

  fix IMAP client timeout bug with upstream servers that do not send updated
  EXISTS counts after acknowledging EXPUNGE see <http://bugs.debian.org/314509>

- Bump PORTREVISION to 4

PR:			ports/88850
Submitted by:		Vasil Dimov
Patch provided by:	Matthias Andree (upstream maintainer)
Patch tested by:	barner, Vasil Dimov
2005-11-14 11:48:53 +00:00
Simon Barner
64a4c95d67 Add private backup master site.
Requested by:	Diane Bruce <db@db.net>
PR:		ports/88787
2005-11-10 16:30:32 +00:00
Simon Barner
265245fa11 - fix IMAP client timeout bug with upstream servers that do not send updated
EXISTS counts after acknowledging EXPUNGE see <http://bugs.debian.org/314509>

- add fetchmailconf wrapper check for _tkinter.so (if python was installed but
  not Tkinter, the wrapper would still try to run fetchmailconf.bin, which
  gives a less clear error message to the user than was intended)

- let fetchmailconf wrapper pass command line arguments to fetchmailconf.bin
  (it supports -d and -f FILE)

- replace PREFIX with LOCALBASE where appropriate

- bump PORTREVISION

Submitted by:	Matthias Andree <matthias.andree@gmx.de>
PR:		ports/88444
2005-11-10 10:29:33 +00:00
Simon Barner
2ea4704e11 Don't indent comment added in last commit by one tab, so it is not printed. 2005-10-30 23:05:06 +00:00
Simon Barner
3f6af8cdca - Use fetchmailconf-1.43.2 in order to fix a password exposure caused by
insecure file creation.

- While here, move berlios.de to the top of the MASTERSITEs, since
  development takes place there.

- Bump PORTREVISION

Security:	CVE-2005-3088
Security:	http://fetchmail.berlios.de/fetchmail-SA-2005-02.txt
2005-10-30 19:06:46 +00:00