Commit Graph

308 Commits

Author SHA1 Message Date
Matthias Andree
9833a8dba6 mail/fetchmail: update to 6.4.8, adds Serbian translation, ...
and updates a few other translations:
Czech, French, Japanese, Polish, Albanian, Swedish, Chinese/simplified,
Esperanto.

PR:		247261
Approved by:	chalpin@cs.wisc.edu (Corey Halpin, maintainer)
MFH:		2020Q2 (translation updates)
2020-06-15 07:53:04 +00:00
Matthias Andree
381c2fa5ff mail/fetchmail: update to 6.4.4 (updates Japanese translation and version)
No code changes.

PR:		245927
Approved by:	chalpin@cs.wisc.edu (Corey Halpin, maintainer)
MFH:		2020Q2 (only translation update for ja (Japanese))
2020-04-26 16:54:02 +00:00
Matthias Andree
abe77bfa0c mail/fetchmail, fetchmailconf: update from -rc2 to release (translations)
Update from fetchmail-6.4.3-rc2 to fetchmail-6.4.3, with these relevant changes.
None affect code files, it's only translations and documentation.

* 02c92e99 2020-04-05 | po/: Record 'make distcheck' changes for release. (tag: RELEASE_6-4-3) [Matthias Andree]
* 0b175aec 2020-04-05 | configure.ac, NEWS: Bump version for 6.4.3 release. [Matthias Andree]
* 0b143cf8 2020-04-04 | NEWS: Mention Esperanto update. [Matthias Andree]
* 54577a4d 2020-04-03 | Update <eo> Esperanto translation to fetchmail 6.4.3-rc2  [Felipe Castro]
* cd34cf8f 2020-04-02 | NEWS: Add translations so far. [Matthias Andree]
* 5ed4bb4c 2020-04-01 | Update <sv> Swedish translation to fetchmail 6.4.3-rc2 [Göran Uddeborg]
* 117ecd06 2020-03-31 | Update <zh_CN> Chinese (simplified) translation to fetchmail 6.4.3-rc2 [Boyuan Yang]
* 13600873 2020-03-31 | Update <sq> Albanian translation to fetchmail-6.4.3-rc2 [Besnik Bleta]
* c83a5ae9 2020-03-31 | Update <pl> Polish translation to fetchmail 6.4.3-rc2 [Jakub Bogusz]
* 741ae779 2020-04-01 | Update <fr> French translation to fetchmail-6.4.3-rc2 [Frédéric Marchal]
* 744af877 2020-03-31 | Update <cs> Czech translation to fetchmail 6.4.3-rc2 [Petr Pisar]

There is no documentation/translation-update blanket.

PR:		245371
Approved by:	Corey Halpin (maintainer)
MFH:		2020Q2 (only documentation and translation updates, please approve)
2020-04-05 19:59:08 +00:00
Matthias Andree
7b8456ed12 mail/fetchmail, fetchmailconf: update to 6.4.3-rc2 (bug fixes)
Add a patch to document --sslproto tls1.3+ and tls1.3 through the manpage,
which hasn't made 6.4.3-rc2 but works since 6.4.0 assuming that the SSL library
supports TLSv1.3.

Remove fetchmailconf patch that is now part of the upstream code.

Switch to .lz downloads, a tiny bit smaller.

Upstream changelog:
## BUGFIXES:
* Plug memory leaks when parts of the configuration (defaults, rcfile, command
  line) override one another.
* fetchmail terminated the placeholder command string too late and included
  garbage from the heap at the end of the string. Workaround: don't use place-
  holders %h or %p in the --plugin string. Bug added in 6.4.0 when merging
  Gitlab merge request !5 in order to fix an input buffer overrun.
  Faulty commit 418cda65f752e367fa663fd13884a45fcbc39ddd.
  Reported by Stefan Thurner, Gitlab issue #16.
* Fetchmail now checks for errors when trying to read the .idfile,
  Gitlab issue #3.

## CHANGES:
* Fetchmail documentation was updated to require OpenSSL 1.1.1.
  OpenSSL 1.0.2 reached End Of Life status at the end of the year 2019.
  Fetchmail will tolerate, but warn about, 1.0.2 for now on the assumption that
  distributors backport security fixes as the need arises.
  Fetchmail will also warn if another SSL library that is API-compatible
  with OpenSSL lacks TLS v1.3 support.
* If the trust anchor is missing, fetchmail refers the user to README.SSL.

PR:		245187
Submitted by:	mandree@
Approved by:	Corey Halpin (maintainer)
2020-03-31 15:43:00 +00:00
Greg Lewis
befd7bcc6c Fix the build with the latest krb5 port
PR:		244228
Submitted by:	Corey Halpin <chalpin@cs.wisc.edu> (maintainer)
2020-02-22 18:24:30 +00:00
Matthias Andree
62f20915eb mail/fetchmail: mail/fetchmailconf: update to 6.4.2, make Python 3 compatible
Fetchmail updated to new revision 6.4.2
- one bugfix
- manual page updates
- update of Chinese (simplified) translation
- massive fetchmailconf overhaul
  + Python 3 compatible (requires py-future)
  + Supports IPv6 and SSL probing
- remove two patches for fetchmail that are in the upstream release
- add a smoke test to fetchmailconf's post-install,
  and a patch to support that running without X11 $DISPLAY.

PR:		244130
Submitted by:	mandree@
Reviewed by:	Corey Halpin <chalpin@cs.wisc.edu> (maintainer)
Approved by:	Corey Halpin <chalpin@cs.wisc.edu> (maintainer)
MFH:		2020Q1 (bugfixes and fetchmailconf update and Python3 compat.)
2020-02-20 00:01:58 +00:00
Matthias Andree
5438810ac7 Unbreak fetch of fetchmailconf...
...which inherits MASTER_SITES through .including fetchmail/Makefile
2020-02-14 22:18:57 +00:00
Matthias Andree
32e15489c3 mail/fetchmail: update for new caroot infrastructure in base
PR:		243613
Submitted by:	Helge Oldach <freebsd@oldach.net>
Approved by:	Corey Halpin <chalpin@cs.wisc.edu> (maintainer)
2020-02-14 21:23:19 +00:00
Matthias Andree
a697aa2467 mail/fetchmail: cat(1) test-suite.log from build
This is to assist with build error diagnosis,
after PRs 240914 and 241032.

Submitted by:	mandree@
Approved by:	Corey Halpin (maintainer)
(obtained by e-mail outside Bugzilla)
2019-10-09 23:06:05 +00:00
Matthias Andree
82ea4cbc55 fetchmail: Fix manpage rendering w/ groff, fix t.smoke failure
PR:		240914
PR:		241032
Submitted by:	Corey Halpin (maintainer)
Reported by:	Helge Oldach, Konstantin Belousov
2019-10-09 17:15:29 +00:00
Baptiste Daroussin
0be2ce42f1 Drop the ipv6 virtual category for m* category as it is not relevant anymore 2019-10-09 12:06:22 +00:00
Matthias Andree
5248b5aaa3 Limit USES+=compiler:c11 to powerpc* and FreeBSD < 13.
MIPS regressed in r513614 because it does not have a C11
compiler. Fetchmail 6.4.1 is C89 code, one patch we provide
makes it C99 (it requires the long long int type).

The base compiler on powerpc 11/12 does not yield an executable,
but MIPS on the other hand does not offer a C11 compiler,
so for now, revert anything but powerpc before FreeBSD 13
to use its base compiler.  FreeBSD 13 is exempt and also uses
the base compiler, because the ARCH guys intend to merge LLVM 9
soon.

PR:		241031
Reviewed by:	pkubaj@
Approved by:	blanket (fix recent regression from r513614)
2019-10-03 13:46:23 +00:00
Piotr Kubaj
573da79dd7 mail/fetchmail: fix build on GCC architectures
Base GCC miscompiles binaries, one test fails:
FAIL: t.smoke
SKIP: t.validate-xhtml10
SKIP: t.validate-xhtml
PASS: t.x509_name_match
============================================================================
Testsuite summary for fetchmail 6.4.1
============================================================================
# TOTAL: 4
# PASS:  1
# SKIP:  2
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

Approved by:	mentors (implicit approval)
2019-10-02 19:41:21 +00:00
Matthias Andree
1ecd682659 mail/fetchmail: update to 6.4.1.
Release notes: https://sourceforge.net/projects/fetchmail/files/branch_6.4/

While here, remove fetchmail64 port, now no longer needed.

PR:		240908
Submitted by:	chalpin@cs.wisc.edu (maintainer)
2019-09-28 21:29:28 +00:00
Matthias Andree
d58f89ff4f Chase MASTER_SITES directory rename.
Approved by: portmgr (blanket)
2019-09-27 18:18:13 +00:00
Matthias Andree
844707a445 Resolve conflicts and fix portlint warnings around USES= placement. 2019-08-19 22:09:56 +00:00
Mathieu Arnold
558224994b onvert to UCL & cleanup pkg-message (categories l-m) 2019-08-13 22:29:42 +00:00
Matthias Andree
69c071117a Fixup minor oversights from r490780 mail/fetchmail*
* Update comment in mail/fetchmail/files/fetchmailrc.sample
* Remove mail/fetchmail/files/fetchmail.in that got copied
  to mail/fetchmailconf/files/
2019-01-20 11:28:49 +00:00
Matthias Andree
f7cd8bfb78 mail/fetchmail depends overhaul, new fetchmailconf port
* Bring back SNI (server name indication) support for TLS connections,
  lost in 6.3.26_10 (PORTREVISION=10) as a regression over _9.
  Pointy hat: mandree@
* Drop the X11 option, remove the Python dependency, and create a new
  mail/fetchmailconf slave port/package that installs the fetchmailconf
  configurator. Note that the _DEPENDS of the ports reflects a technical
  dependence (fetchmailconf needs fetchmail), and we cannot keep an
  X11 option that depends on fetchmailconf, since that would create
  a circular dependency, which we must avoid.
* Patch configure instead of configure.ac with Cy's Kerberos fix, drop
  autoreconf from USES, and add a new configure check directly to set
  HAVE_DECL_SSLV3_CLIENT_METHOD to cover the various TLS providers
  (currently five, base, openssl, openssl111, libressl, libressl-devel)
* Add -Wl,--as-needed to LDFLAGS so as not to pull in unneeded .so
  libraries, for instance, libcom_err when compiling under GSSAPI_NONE.
* Bump PORTREVISION.

Very fruitful and nice collaboration with and
Approved by:	chalpin@cs.wisc.edu (maintainer)
2019-01-20 11:25:07 +00:00
Matthias Andree
56147f1c5d Fix GSSAPI-based, and NLS-less, builds.
This was also tested on a live 12.0 amd64 machine,
11.2-arm64 and 11.2-i386 poudriere boxes with base GSSAPI.

PR:		234740
Reported by:	Peter Putzer (Bugzilla), Alex V. Petrov (e-mail)
Approved by:	Corey Halpin (maintainer)
2019-01-11 06:36:28 +00:00
Conrad Meyer
d4148ae4d2 mail/fetchmail: backport less-old TLS support from Fedora
Allows options like 'sslproto "TLS1.2+"', for example.

PR:		233247
Submitted by:	Corey Halpin <chalpin@cs.wisc.edu> (maintainer)
Approved by:	koobs
2019-01-06 07:21:24 +00:00
Koichiro Iwao
390129ae6b mail/fetchmail: backport SNI support from upstream
This affects some servers such as Gmail.

See also bugs on Linux distributions.
* https://bugzilla.redhat.com/show_bug.cgi?id=1611815
* https://bugs.launchpad.net/ubuntu/+source/fetchmail/+bug/1798786

PR:		233078
Submitted by:	fuyuhiko.maruyama@gmail.com
Approved by:	Corey Halpin <chalpin@cs.wisc.edu> (maintainer), mentors (implicit)
Obtained from:	9b8b634312
MFH:		2018Q4
2018-11-22 01:52:39 +00:00
Ollivier Robert
56b6a5eafc mail/fetchmail:
- Ensure the fetchmail script returns 1 if fetchmail is not running.
- Bump PORTREVISION.

PR:		ports/219051
2018-11-06 14:52:43 +00:00
Mathieu Arnold
8dcaabcd6e Add PY_FLAVOR to Python module dependencies.
Sponsored by:	Absolight
2018-05-22 13:15:13 +00:00
Matthias Andree
9c9c191d6e Fix build with openssl-devel, remove BROKEN_SSL.
Approved by: (blanket approval for unbreaking builds)
2018-05-11 11:23:42 +00:00
Cy Schubert
77630214c4 Correctly link to MIT KRB5 libraries when selected.
This was discovered while working through issues relating to an
exp-run using base with private Heimdal, part of the project to
make a) Heimdal in base private and b) import MIT into base (PR 222745).

PR:		227680
Submitted by:	cy@
Approved by:	Corey Halpin <chalpin@cs.wisc.edu> (maintainer)
MFH:		2018Q2
2018-04-28 17:49:37 +00:00
Sunpoet Po-Chuan Hsieh
d6ce2929ef Use BROKEN_SSL
Approved by:	portmgr (blanket)
2018-02-17 12:00:18 +00:00
Dmitry Marakasov
e868ce4730 - Fix depends: always require python since fetchmailconf.py is always installed
Approved by:	portmgr blanket
2017-10-24 09:23:32 +00:00
Mathieu Arnold
a28f0f7f7f Remove all USE_OPENSSL occurrences.
Sponsored by:	Absolight
2017-03-15 14:45:30 +00:00
Mathieu Arnold
8b4093cba5 Do not use post-stage. Use post-install instead.
The only reason to use post-stage is because the port needs to do
"things" at a later time, like some plist manipulation.
While there, fold post-install in do-install targets when they are
defined.

PR:		214780
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-12-02 11:58:21 +00:00
Mathieu Arnold
703ff6d361 Mark some ports as not openssl-devel ready.
Sponsored by:	Absolight
2016-11-29 18:46:21 +00:00
Kevin Lo
5c1bdd2acf Fix pkg-plist when X11 option is on.
PR:	210757
Submitted by:	Ting-Wei Lan <lantw44@gmail.com>
Approved by:	Corey Halpin <chalpin@cs.wisc.edu> (maintainer)
2016-07-31 14:16:55 +00:00
Bernard Spil
0917233fb0 mail/fetchmail: Fix build without SSLv3
- Fix build with OpenSSL 1.1 and LibreSSL
  - Stop using pkg-install/pkg-deinstall scripts
  - Use pkg-plist keywords
  - Use GSSAPI ports framework
  - Change X11, POP2 options to use options framework

PR:             210130
Submitted by:	freebsd-ports@charlieroot.de
Reviewed by:	Corey Halpin <chalpin@cs.wisc.edu> (maintainer)
Approved by:	Corey Halpin <chalpin@cs.wisc.edu> (maintainer)
2016-06-21 06:14:41 +00:00
Matthias Andree
9f0bacf50c Disable SSLv2, to fix new/from-ports OpenSSL builds.
Newer and ports-based builds define the SSLv2_client_method() in the
headers unless OPENSSL_NO_SSL2, or, depending on version,
OPENSSL_NO_SSL2_METHOD is defined, however newer OpenSSL versions in
FreeBSD no longer provide the implementation in the library.

Preload the autoconf (configure) cache to pretend SSLv2_client_method()
were universally _un_available, effectively disabling SSLv2 altogether.

PR:		209596
Submitted by:	peter@ [first proposal], mandree@ [committed proposal]
Reported by:	peter@
Approved by:	chalpin@cs.wisc.edu (maintainer)
2016-05-24 20:32:55 +00:00
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Dmitry Marakasov
67971bd0fb Improve shebangfix framework
- Support multiple values in *_OLD_CMD, i.e. we can now fix both "/usr/bin/python" and "/usr/bin/env python" at the same time
- Default *_OLD_CMD values are now always appended, so you don't need to specify them in individual ports
- Add lua support (depends on USES=lua)
- Add more default values, such as "/usr/bin/env foo" for python, perl, bash, ruby and lua
- Shebangfix now matches whole words, e.g. we will no longer (erroneously) replace "/usr/bin/perl5.005" with "${perl_CMD}5.005" (but "/usr/bin/perl -tt" is still (correctly) replaced with "${perl_CMD} -tt")

Note that *_OLD_CMD items containing spaces must now be quoted (e.g. perl_OLD_CMD=/bin/perl /usr/bin/perl "/usr/bin/env perl")

Update shebangfix usage according to new rules in many ports:

- Remove *_OLD_CMD for patterns now replaced by default
- Quote custom *_OLD_CMD which contain spaces

Fix shebangfix usage in many ports (irrelevant to infrastructure change):

- Remove redundant SHEBANG_LANG (no need to duplicate default langs)
- Remove redundant *_CMD (such as python_CMD=${LOCALBASE}/bin/python${PYTHON_VER} when USES=python is present)
- Never use *_OLD_CMD in REINPLACE_CMD matchers, these should always look for exact string

Approved by:	portmgr (bapt)
Differential Revision:	D3756
2015-10-19 14:50:52 +00:00
Dmitry Marakasov
d69a343aec - Switch to options helpers
- Switch to @sample

Approved by:	portmgr blanket
2015-09-04 21:33:19 +00:00
Dmitry Marakasov
b3be5eadcc - Correct python dependency to fix build with X11 enabled
PR:		201131
Submitted by:	lantw44@gmail.com
Approved by:	chalpin@cs.wisc.edu (maintainer)
2015-06-30 16:28:56 +00:00
Dmitry Marakasov
21c66239b2 - Add CPE info
Approved by:	portmgr blanket
2015-04-05 00:53:36 +00:00
Matthias Andree
fb9ba05e24 Update URLs that pointed to the defunct berlios.de site. 2014-11-04 00:24:44 +00:00
Marcus von Appen
306e66af5d - Convert ports of mail/ to new USES=python
Approved by:	portmgr (implicit)
2014-10-21 17:10:06 +00:00
John Marino
b2cc91b7be mail/fetchmail: Fix on F10 when system is built without Kerberos
PR:		191978
Submitted by:	Jeremy Chadwick
Approved by:	maintainer (Corey Halpin)
2014-08-12 11:22:02 +00:00
Adam Weinberger
99afccd1ce Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS. 2014-07-15 16:14:15 +00:00
Mathieu Arnold
cf28d260c6 Remove the last @comment $FreeBSD$ from plists.
With hat:	portmgr
Sponsored by:	Absolight
2014-04-24 16:26:48 +00:00
Rene Ladan
cf9f93a285 Fix typo in pkg-install.in and bump PORTREVISION
Submitted by:	Takefu <takefu@airport.fm>
2014-04-23 11:09:09 +00:00
Rene Ladan
0a060a4471 - Add license information [1]
- Fix shebang for fetchmailconf.py [1]
- Convert POP2 knob into an option [1]
- Use option helpers [1]
- Fix staging of documentation and X11 files [1]
- Simplify post-install target and pkg-plist
- Replace USE_GMAKE and USE_XZ by their USES equivalents
- Do not display pkg-message in post-install
- Do not create /var/run/fetchmail in pkg-plist

PR:		ports/185572 [1]
Submitted by:	Takefu <takefu@airport.fm>
Approved by:	maintainer timeout (<chalpin@cs.wisc.edu>)
2014-04-22 16:10:50 +00:00
Baptiste Daroussin
e04b632220 Fix properties on pkg-plist 2014-01-21 23:40:21 +00:00
Baptiste Daroussin
fd61959c15 Add NO_STAGE all over the place in preparation for the staging support (cat: mail) 2013-09-20 19:59:12 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Alex Kozlov
e159824929 - Convert USE_GETTEXT to USES (part 3)
Approved by:	portmgr (bapt)
2013-04-24 18:10:30 +00:00