Commit graph

250 commits

Author SHA1 Message Date
Cy Schubert
9dd8c627df Update 6.3.20 --> 6.3.21
PR:		165459
Approved by:	Maintainer (Corey Halpin <chalpin@cs.wisc.edu>)
2012-02-24 23:56:18 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Matthias Andree
cb650d8b1d Fix critical fetchmail-embeds-NULs bug found by Antoine Levitt. 2011-08-21 14:03:18 +00:00
Matthias Andree
f12c178ff0 Assorted minor fixes and touch-ups:
- Fix:     rcfile: export FETCHMAILUSER=$fetchmail_user [1]

- Fix:     when installing from source, make /var/run/fetchmail directory
           so that a global fetchmail installation won't break after port
           upgrades

- Change:  compile GSSAPI support by default (it's in base)

- Cleanup: rcfile: drop support for fetchmail.sh script name

- Cleanup: rcfile: don't mix backtick with apostrophe in comments, they don't
           match

Reported by:  thierry, Victor Balada Diaz <victor@bsdes.net> [1]
Suggested by: Victor Balada Diaz <victor@bsdes.net> [1]
PR:           ports/151783
Approved by:  maintainer timeout [1]
2011-08-15 20:13:21 +00:00
Chris Rees
0d9a711a4e Use USERS and GROUPS
PR:		ports/157613
Submitted by:	crees (me)
Approved by:	rene (mentor, implicit), Corey Halpin (maintainer)
2011-07-09 10:07:49 +00:00
Matthias Andree
2ef6e5665b Security update to new upstream release 6.3.20.
Changes:     http://developer.berlios.de/project/shownotes.php?group_id=1824&release_id=18583
Security:    CVE-2011-1947
             http://www.vuxml.org/freebsd/f7d838f2-9039-11e0-a051-080027ef73ec.html
Approved by: Corey Halpin (maintainer)
PR:          ports/157661
2011-06-06 14:54:42 +00:00
Matthias Andree
d626429de1 Update to new upstream release 6.3.19.
Approved by:  Corey Halpin (maintainer)
Submitted by: mandree
PR:           ports/152999
2010-12-11 22:27:06 +00:00
Rene Ladan
ddbb0b2377 Fix build by skipping the validation of the XHTML 1.1 document
Mailbox-Names-UTF7.html

PR:		ports/152067
Submitted by:	Matthias Andree [matthias.andree gmx.de]
Approved by:	maintainer
2010-11-14 15:44:43 +00:00
Matthias Andree
37ee1acaa5 Update to new upstream release 6.3.18.
Approved by: Corey Halpin (maintainer)
PR: ports/151686
2010-10-25 07:15:38 +00:00
Sunpoet Po-Chuan Hsieh
d1354ee8fe - Correct previous commit
- Bump PORTREVISION

Reported by:	Alexander Milanov <a@amilanov.com>
Approved by:	pgollucci (mentor, implicit)
2010-10-20 14:39:41 +00:00
Sunpoet Po-Chuan Hsieh
b24252f906 - Change PREFIX/etc/fetchmailrc.sample permission from 644 to 600
- Bump PORTREVISION

PR:		ports/151515
Submitted by:	Alexander Milanov <a@amilanov.com>
Approved by:	Corey Halpin <chalpin@cs.wisc.edu> (maintainer), pgollucci (mentor, implicit)
2010-10-19 08:07:39 +00:00
Ade Lovett
8d837132c7 Bounce PORTREVISION for gettext-related ports. Have fun, ya'll. 2010-05-31 02:01:56 +00:00
Sylvio Cesar Teixeira
a72c1fdbf5 - Fix when run fetchmail with apop access.
PR:		ports/146002
Submitted by:	mkgt00@gmail.com
Approved by:	maintainer (timeout > 14days)
2010-05-23 14:40:19 +00:00
Martin Wilke
6e49083cdb - Update to 6.3.17
PR:		146589
Submitted by:	Corey Halpin <chalpin@cs.wisc.edu> (maintainer)
2010-05-22 04:36:31 +00:00
Matthias Andree
3e7180ed8c Security fix for CVE-2010-1167.
This unbreaks the build, since this vulnerability is listed
at http://www.vuxml.org/freebsd/09910d76-4c82-11df-83fb-0015587e2cc1.html.

Add the recommended upstream patch.

Bump PORTREVISION.

PR: ports/145857
Approved by: Corey Halpin (maintainer)
Approved by: garga (mentor)
2010-04-22 19:13:24 +00:00
Matthias Andree
459a4fe196 Update to new upstream version.
Approved by: Corey Halpin (maintainer)
Approved by: garga@ (mentor)
2010-04-07 18:20:20 +00:00
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