Commit graph

343 commits

Author SHA1 Message Date
Corey Halpin
6eadb13dd5 mail/fetchmail{,conf}: update to 6.4.37
pstream changelog entries:

fetchmail-6.4.37 (released 2023-02-26, 31710 LoC):

* sr:    Мирослав Николић (Miroslav Nikolić) [Serbian]

PR:		270122
2023-03-14 00:06:38 +01:00
Corey Halpin
ea5d1716d2 mail/fetchmail: update to 6.4.36
PR:		269424
Reported by:	chalpin@cs.wisc.edu (maintainer)
2023-02-10 11:36:41 +01:00
Matthias Andree
7c97aaed10 mail/fetchmail: update to 6.4.34 (critical fix)
= CRITICAL BUG FIXES:
* When an SMTP receiver refuses delivery, a message would be deleted from
  the mail store in spite of a softbounce option that is enabled.
  Bug report, analysis and patch by Horváth Zsolt. Gitlab, fixes #50.

= BUILD NOTE:
* If you are reusing config.cache from prior builds, this may cause
  issues with finding Python or some libraries.  In case of trouble,
  remove config.cache and retry.

= TRANSLATIONS: language translations were updated by this fine person:
* sr:    Мирослав Николић (Miroslav Nikolić) [Serbian]
2022-10-16 10:30:25 +02:00
Cy Schubert
07a0cf6fe9 mail/fetchmail: Chase src 0aa2700123e2: Put OPIE to rest
As of src 0aa2700123e2 OPIE has been removed from 14-CURRENT. When
building on a 14-CURRENT machine with __FreeBSD_version > 1400071
avoid linking libopie else this will result a build failure or if
built the following runtime error:

ld-elf.so.1: Shared object "libopie.so.8" not found, required by "fetchmail"
2022-10-02 21:09:05 -07:00
Stefan Eßer
fb16dfecae Remove WWW entries moved into port Makefiles
Commit b7f05445c0 has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2022-09-07 23:58:51 +02:00
Stefan Eßer
b7f05445c0 Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
2022-09-07 23:10:59 +02:00
Matthias Andree
e5026dcbab mail/fetchmail: update to 6.4.33
Contributed code updates:
* contrib/fetchsetup improvements by Matěj Cepl
* contrib/runfetchmail improvements by Matěj Cepl

Translation updates:
(in alphabetical order of language codes so as not to prefer people):
* cs:    Petr Pisar [Czech]
* es:    Cristian Othón Martínez Vera [Spanish]
* fr:    Frédéric Marchal [French]
* ja:    Takeshi Hamasaki [Japanese]
* pl:    Jakub Bogusz [Polish]
* ro:    Remus-Gabriel Chelu [Romanian]
* sq:    Besnik Bleta [Albanian]
* sv:    Göran Uddeborg [Swedish]

PR:		266061
Approved by:	Corey Halpin (maintainer)
2022-08-28 08:29:02 +02:00
Tobias C. Berner
b587cc2b4d mail: remove 'Created by' lines
A big Thank You to the original contributors of these ports:

  *  <ashish@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Adam David <adam@FreeBSD.org>
  *  Adam McDougall <mcdouga9@egr.msu.edu>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alex Deiter <tiamat@komi.mts.ru>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alex Dupre <sysadmin@alexdupre.com>
  *  Alex Perel <veers@disturbed.net>
  *  Alexander Kriventsov <avk@vl.ru>
  *  Alexander Logvinov <info@logvinov.com>
  *  Alexander Moisseev <moiseev@mezonplus.ru>
  *  Alexander Wittig <alexander@wittig.name>
  *  Alexander Zhuravlev <zaa@zaa.pp.ru>
  *  Alexandre Biancalana <ale@biancalanas.net>
  *  Alexey V. Degtyarev
  *  Alexey V. Degtyarev <alexey@renatasystems.org>
  *  Ali Mashtizadeh <ali@mashtizadeh.org>
  *  Anders Nordby <anders@FreeBSD.org>
  *  Anders Nordby <anders@fix.no>
  *  Andrea Venturoli <freebsd@netfence.it>
  *  Andrew J. Caines <A.J.Caines@halplant.com>
  *  Andrew Pantyukhin <infofarmer@FreeBSD.org>
  *  Andrew Stevenson <andrew@ugh.net.au>
  *  Andrey Slusar <anray@FreeBSD.org>
  *  Andrey V. Pevnev <andrey@mgul.ac.ru>
  *  Andrey Zakhvatov
  *  Andy Gilligan
  *  Anthony Kim
  *  Anton Berezin <tobez@FreeBSD.org>
  *  Anton Berezin <tobez@tobez.org>
  *  Anton Karpov <toxa@toxahost.ru>
  *  Anton Lysenok <bart@tapolsky.net.ua>
  *  Anton Yuzhaninov <citrin@rambler-co.ru>
  *  Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
  *  Ashish SHUKLA <ashish@FreeBSD.org>
  *  Attila Nagy <bra@fsn.hu>
  *  Autrijus Tang <autrijus@autrijus.org>
  *  Axel Steiner <ast@treibsand.com>
  *  Ben Smithurst <ben@FreeBSD.org>
  *  Bernard Spil <brnrd@FreeBSD.org>
  *  Bernard Spil <brnrd@freebsd.org>
  *  Bill Brinzer <bill.brinzer@gmail.com>
  *  Cheng-Lung Sung <clsung@FreeBSD.org>
  *  Cheng-Lung Sung <clsung@dragon2.net>
  *  Chifeng QU <chifeng@gmail.com>
  *  Chris D. Faulhaber <jedgar@fxp.org>
  *  Chris Piazza <cpiazza@FreeBSD.org>
  *  Christer Edwards <christer.edwards@gmail.com>
  *  Christian Laursen <xi@borderworlds.dk>
  *  Christopher Elkins <chrise@scardini.com>
  *  Clement Laforet <sheepkiller@cultdeadsheep.org>
  *  Craig Leres <leres@FreeBSD.org>
  *  Cyril Guibourg
  *  CyrilM <cyrilm@tower.pp.ru>
  *  Dan Langille <dvl@FreeBSD.org>
  *  Daniel Roethlisberger <daniel@roe.ch>
  *  Dario Freni <saturnero@gufi.org>
  *  Darren Pilgrim <ports.maintainer@evilphi.com>
  *  DarwinSurvivor <darwinsurvivor@gmail.com>
  *  David Bushong <david+ports@bushong.net>
  *  David O'Brien (obrien@NUXI.com)
  *  David Siebörger <drs@rucus.ru.ac.za>
  *  Dean Hollister <dean@odyssey.apana.org.au>
  *  Dmitry Liakh <dliakh@ukr.net>
  *  Dmitry Sivachenko <demon@FreeBSD.org>
  *  Dominic Marks <dom@wirespeed.org.uk>
  *  Eivind Eklund <eivind@FreeBSD.org>
  *  Emanuel Haupt <ehaupt@FreeBSD.org>
  *  Emanuel Haupt <ehaupt@critical.ch>
  *  Emmanuel Vadot <manu@FreeBSD.org>
  *  Eric Freeman <freebsdports@chillibear.com>
  *  Erwin Lansing <erwin@FreeBSD.org>
  *  Eugene M. Kim <ab@astralblue.net>
  *  Fukang Chen <loader@FreeBSD.org>
  *  Gea-Suan Lin (gslin@ccca.nctu.edu.tw)
  *  Gea-Suan Lin <gslin@gslin.org>
  *  George Reid <greid@ukug.uk.freebsd.org>
  *  Gerhard Gonter <g.gonter@ieee.org>
  *  Gerrit Beine <gerrit.beine@gmx.de>
  *  Giel van Schijndel <me@mortis.eu>
  *  Glen Barber <gjb@FreeBSD.org>
  *  Glenn Johnson <gljohns@bellsouth.net>
  *  Gregory Sutter <gsutter@zer0.org>
  *  Gustau Perez <gustau.perez@gmail.com>
  *  Guy Antony Halse <guy@rucus.ru.za.za>
  *  Hajimu UMEMOTO <ume@FreeBSD.org>
  *  Harry Newton
  *  Hirohisa Yamaguchi <umq@ueo.co.jp>
  *  Hsin-Han You <hhyou@cs.nctu.edu.tw>
  *  Ion-Mihai "IOnut" Tetcu <itetcu@FreeBSD.org>
  *  Issei Suzuki <issei@jp.FreeBSD.org>
  *  J.R. Oldroyd <fbsd@opal.com>
  *  Jaap Akkerhuis <jaap@NLnetLabs.nl>
  *  James FitzGibbon <jfitz@FreeBSD.org>
  *  James Raftery <james@now.ie>
  *  Jan-Peter Koopmann <j.koopmann@seceidos.de>
  *  Janne Snabb <snabb@epipe.com>
  *  Jean Milanez Melo <jmelo@FreeBSD.org>
  *  Jean-Baptiste Quenot <jb.quenot@caraldi.com>
  *  Jeremy Norris <ishmael27@home.com>
  *  Jim Mock <jim@FreeBSD.org>
  *  Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>
  *  Joe Marcus Clarke <marcus@FreeBSD.org>
  *  Johann Visagie <wjv@FreeBSD.org>
  *  Johannes Meixner <johannes@perceivon.net>
  *  John Oxley <john@yoafrica.com>
  *  John Prather
  *  Josh Gilliam <josh@quick.net>
  *  Jun-ichiro Hagino <itojun@itojun.org>
  *  Justin Stanford <jus@security.za.net>
  *  KIMURA Yasuhiro <yasu@utahime.org>
  *  Kay Abendroth <kay.abendroth@raxion.net>
  *  Keith Gaughan <k@stereochro.me>
  *  Kelly Yancey <kbyanc@FreeBSD.org>
  *  Kevin Golding <ports@caomhin.org>
  *  Kimura Fuyuki <fuyuki@mj.0038.net>
  *  Kirill Ponomarew <ponomarew@oberon.net>
  *  Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
  *  Konstantinos Konstantinidis <kkonstan@daemon.gr>
  *  Koop Mast <kwm@FreeBSD.org>
  *  Krzysztof Stryjek <ports@bsdserwis.com>
  *  Larry Rosenman <ler@FreeBSD.org>
  *  Lars Koeller <Lars_Koeller@odie.physik2.uni-rostock.de>
  *  Lars Thegler <lars@thegler.dk>
  *  Lars Thegler <lth@FreeBSD.org>
  *  Lasse L. Johnsen (lasse@freebsdcluster.org)
  *  Lefteris Chatzibarbas <lefcha@hellug.gr>
  *  Lukasz Wasikowski <lukasz@wasikowski.net>
  *  MANTANI Nobutaka <nobutaka@nobutaka.com>
  *  Marcelo Araujo <araujobsd@gmail.com>
  *  Marco Broeder <marco.broeder@posteo.eu>
  *  Marcus Alves Grando <mnag@FreeBSD.org>
  *  Marijn Meijles <marijn@stack.nl>
  *  Mario S F Ferreira <lioux@FreeBSD.org>
  *  Mario S F Ferreira <lioux@linf.unb.br>
  *  Mario S F Ferreira <lioux@linf.unb.br> # Created by Matthias Andree
  *  Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
  *  Mark Felder <feld@FreeBSD.org>
  *  Mark Starovoytov <mark_sf@kikg.ifmo.ru>
  *  Martin Blapp
  *  Martin Matuska <mm@FreeBSD.org>
  *  Martin Wilke (miwi@FreeBSD.org)
  *  Martin Wilke <miwi@FreeBSD.org>
  *  Martti Kuparinen <martti.kuparinen@ericsson.com>
  *  Masafumi NAKANE <max@FreeBSD.org>
  *  Masafumi Otsune <info@otsune.com>
  *  Masaki TAGAWA <masaki@club.kyutech.ac.jp>
  *  Matt Emmerton <matt@gsicomp.on.ca>
  *  Matthew Luckie <mjl@luckie.org.nz>
  *  Matthew N. Dodd <mdodd@FreeBSD.org>
  *  Matthew Seaman
  *  Matthew Seaman <matthew@FreeBSD.org>
  *  Matthias Andree <mandree@FreeBSD.org>
  *  Matthias Andree <matthias.andree@gmx.de>
  *  Matthias Fechner <mfechner@FreeBSD.org>
  *  Max Laier <max@love2party.net>
  *  Maxim Sobolev <sobomax@FreeBSD.org>
  *  Maxim Tulyuk <mt@primats.org.ua>
  *  Meno Abels <meno.abels@adviser.com>
  *  Michael L. Hostbaek (mich@freebsdcluster.org)
  *  Michael Ranner <michael@ranner.eu>
  *  Miguel Mendez <flynn@energyhq.es.eu.org>
  *  Mij <mij@bitchx.it>
  *  Mikhail T. (m.tsatsenko@gmail.com)
  *  Mikhail Teterin
  *  Miroslav Lachman
  *  Mohammad S. Babaei <info@babaei.net>
  *  Murilo Opsfelder <mopsfelder@gmail.com>
  *  Nagy, Attila <bra@fsn.hu>
  *  Nate Underwood <natey@natey.com>
  *  Neil Blakey-Milner
  *  Neil Blakey-Milner <nbm@FreeBSD.org>
  *  Neil Blakey-Milner <nbm@rucus.ru.ac.za>
  *  Neil Darlow <neil@darlow.co.uk>
  *  Nemo Liu <nemoliu@FreeBSD.org>
  *  Netherby <netherby@dancingfortune.com>
  *  Nick Hilliard <nick@foobar.org>
  *  Nils Vogels <nivo+kw+ports.bfa274@is-root.com>
  *  Oliver Braun
  *  Oliver Braun <obraun@FreeBSD.org>
  *  Oliver Eikemeier
  *  Oliver Eikemeier <eik@FreeBSD.org>
  *  Oliver Eikemeier <eikemeier@fillmore-labs.com>
  *  Olivier Cochard-Labbe <olivier@FreeBSD.org>
  *  Olivier Girard <Olivier.Girard@univ-angers.fr>
  *  Omer Faruk Sen <ofsen@enderunix.org>
  *  Ozkan KIRIK <ozkan@enderunix.org>
  *  Pav Lucistnik <pav@FreeBSD.org>
  *  Pawel Pekala <c0rn@o2.pl>
  *  Pawel Pekala <pawel@FreeBSD.org>
  *  Pawel Pekala <pawel@freebsd.org>
  *  Pete Fritchman <petef@databits.net >
  *  Peter Hollaubek <fifteen@inext.hu>
  *  Peter Kieser <peter@kieser.ca>
  *  Peter Pentchev <roam@FreeBSD.org>
  *  Peter Wemm <peter@FreeBSD.org>
  *  Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  R.I.Pienaar <rip@devco.net>
  *  Radim Kolar
  *  RicardoSSP <ricardo.katz@gmail.com>
  *  Rob Evers <rob@debank.tv>
  *  Robert Felber <robtone@ek-muc.de>
  *  Robert Nelson <robertn@the-nelsons.org>
  *  Romain Tartiere <romain@blogreen.org>
  *  Rozhuk Ivan <rozhuk.im@gmail.com>
  *  Ryan Steinmetz <zi@FreeBSD.org>
  *  Sahil Tandon <sahil@tandon.net>
  *  Satoru Suzuki <xsuzu@yokohama.riken.jp>
  *  Scott Blachowicz <scott+ports@sabami.seaslug.org>
  *  Scott Lambert <lambert@lambertfam.org>
  *  Sean Chittenden <seanc@FreeBSD.org>
  *  Sergei Kolobov <sergei@FreeBSD.org>
  *  Sergei Kolobov <sergei@kolobov.com>
  *  Sergey A. Osokin <osa@FreeBSD.org>
  *  Sergey Matveychuk <sem@FreeBSD.org>
  *  Sergey Samoyloff <gonza@techline.ru>
  *  Sergey Skvortsov <skv@FreeBSD.org>
  *  Sergey Skvortsov <skv@protey.ru>
  *  Shaun Amott <shaun@FreeBSD.org>
  *  Sheldon Hearn <sheldonh@FreeBSD.org>
  *  Simon 'corecode' Schubert <corecode@corecode.ath.cx>
  *  Simon Barner <barner@in.tum.de>
  *  Simon Dick <simond@irrelevant.org>
  *  Stefan A. Deutscher (sad@mailaps.org)
  *  Stefan Bethke <stb@lassitu.de>
  *  Stephen Roznowski <sjr1@flash.net>
  *  Stephon Chen <stephon@pixnet.tw>
  *  Steve Wills <swills@FreeBSD.org>
  *  Steven Kreuzer <skreuzer@f2o.org>
  *  Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Sylvio Cesar <sylvio@FreeBSD.org>
  *  TAKAHASHI Kaoru <kaoru@kaisei.org>
  *  TAKATSU Tomonari <tota@rtfm.jp>
  *  Talal Al-Dik <tad@vif.com>
  *  Ted Faber <faber@isi.edu>
  *  Terry Sposato
  *  The Anarcat <anarcat@anarcat.ath.cx>
  *  Thierry Thomas (<thierry@pompo.net>)
  *  Thomas Abthorpe <thomas@goodking.ca>
  *  Thomas Gellekum <tg@FreeBSD.org>
  *  Thomas Lotterer <thomas.lotterer@cw.com>
  *  Thomas Seck <tmseck@netcologne.de>
  *  Tim Bishop <tim@bishnet.net>
  *  Tom Hukins <tom@eborcom.com>
  *  Tom Judge <tj@FreeBSD.org>
  *  Tom McLaughlin <tmclaugh@sdf.lonestar.org>
  *  Tomasz Paszkowski <ns88@k.pl>
  *  Torsten Blum <torstenb@FreeBSD.org>
  *  Torsten Zuehlsdorff <ports@toco-domains.de>
  *  Trish Lynch <trish@bsdunix.net>
  *  Tsung-Han Yeh <snowfly@yuntech.edu.tw>
  *  Tuc <freebsd-ports@t-b-o-h.net>
  *  Udo Schweigert
  *  Udo Schweigert <ust@cert.siemens.de>
  *  Uffe Jakobsen <uffe@uffe.org>
  *  Victor Balada Diaz <victor@bsdes.net>
  *  Vidar Karlsen <vidar@karlsen.tech>
  *  Ville Eerola <ve@sci.fi>
  *  Vivek Khera <vivek@khera.org>
  *  Vladimir Kondratiev <wulf@mail.mipt.ru>
  *  Vsevolod Lobko <seva@sevasoft.kiev.ua>
  *  Vsevolod Stakhov <vsevolod@highsecure.ru>
  *  Wei-chun Chao
  *  Wen Heping <wen@FreeBSD.org>
  *  Will Andrews <will@FreeBSD.org>
  *  Xavier Beaudouin <kiwi@oav.net>
  *  Yarema <yds@CoolRat.org>
  *  Yasuhiro KIMURA <yasu@utahime.org>
  *  Yen-Ming Lee <leeym@FreeBSD.org>
  *  Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
  *  Yen-Ming Lee <leeym@leeym.com>
  *  Yoshiro MIHIRA <sanpei@yy.cs.keio.ac.jp>
  *  Yoshisato YANAGISAWA
  *  Zak Johnson <zakj@nox.cx>
  *  Zane C. Bowers
  *  Zeus Panchenko <zeus@gnu.org.ua>
  *  Zhen REN <bg1tpt@gmail.com>
  *  ache
  *  ache@FreeBSD.org
  *  arensb@ooblick.com
  *  bremner@unb.ca
  *  brett@peloton.physics.montana.edu
  *  bsam
  *  chinsan
  *  chris
  *  chris@shagged.org
  *  clive
  *  clsung
  *  clsung@dragon2.net
  *  dchapes@zeus.leitch.com
  *  delphij@FreeBSD.org
  *  delphij@FreeBSD.org.cn
  *  dhagan@cs.vt.edu
  *  dliakh
  *  dlowe
  *  dm
  *  eivind
  *  fluffy
  *  gahr
  *  gmarco@scotty.masternet.it
  *  gmc@sonologic.nl
  *  ijliao
  *  ismail@enderunix.org
  *  itojun@itojun.org
  *  janos.mohacsi@bsd.hu
  *  johnpupu <johnpupu@gmail.com>
  *  kaz
  *  krion
  *  liamfoy@sepulcrum.org
  *  markm@FreeBSD.org
  *  matusita@FreeBSD.org
  *  mich@freebsdcluster.org
  *  mwest@uct.ac.za
  *  n_hibma@qubesoft.com
  *  nbm
  *  nork@FreeBSD.org
  *  ofsen@enderunix.org
  *  pat
  *  petef
  *  petef@FreeBSD.org
  *  pst
  *  punkt.de Hosting Team <mops@punkt.de>
  *  rea@FreeBSD.org
  *  roam@FreeBSD.org
  *  sheldonh@FreeBSD.org
  *  shigeri <shigeri@m10.alpha-net.ne.jp>
  *  snowchyld
  *  tobez@tobez.org
  *  torstenb
  *  trevor
  *  v.velox@vvelox.net
  *  vanilla
  *  will
  *  wolpert

With hat:	portmgr
2022-07-20 16:22:19 +02:00
Matthias Andree
64c438d3f9 mail/fetchmail: update to 6.4.31.
Since the distro was built with a newer autoconf, the patch-configure
no longer applies and has been converted to a post-patch REINPLACE_CMD,
also to avoid future breakage.

This also adds one upstream Git patch to fix the version and date tags
in the manual page.

PR:		265251
Approved by:	Corey Halpin (maintainer)
2022-07-18 22:06:13 +02:00
Matthias Andree
726c185cd8 mail/fetchmail: update to 6.4.30.
FreeBSD ports relevant changes since 6.4.28:

Translation updates for:
* ro:    Remus-Gabriel Chelu [Romanian]
* vi:    Trần Ngọc Quân [Vietnamese]

PR:		263595
Approved by:	Corey Halpin (maintainer)
MFH:		2022Q2
2022-04-27 23:57:24 +02:00
Matthias Andree
e1839db543 mail/fetchmail: update to 6.4.28
BREAKING CHANGES:
* Bump wolfSSL minimum required version to 5.1.1 to pull in security fix.

FIXES:
* When using wolfSSL 5.0.0, work around a bug that appears to hit wolfSSL when
  receiving handshake records while still in SSL_peek(). Workaround is to read
  1 byte and cache it, then call SSL_peek() again.
  This affects only some servers. https://github.com/wolfSSL/wolfssl/issues/4593

TRANSLATIONS: language translations were updated by this fine people:
* es:    Cristian Othón Martínez Vera [Spanish]
* ro:    Remus-Gabriel Chelu [Romanian]
* sr:    Мирослав Николић (Miroslav Nikolić) [Serbian]

MFH:		2022Q1
2022-03-06 16:03:58 +01:00
Matthias Andree
a1be1173a3 mail/fetchmail: update 6.4.25, add WOLFSSL support
WOLFSSL is a GPLv2+ licensed SSL library with OpenSSL compatibility
layer. This is to permit shipping fetchmail under a clean GPLv2+
license with OpenSSL 1.1.1.
2021-12-10 23:48:02 +01:00
Matthias Andree
997bacb528 mail/fetchmail: update to 6.4.24 and block LibreSSL.
Now really 6.4.24 and not a 6.4.25 WIP.

fetchmail cannot legally be linked with LibreSSL,
because there is no GPLv2 clause 2b exemption for
LibreSSL, only for OpenSSL.

Correct LICENSE and remove LICENSE_COMB.
Add comment on FSF dynamic linking dynamically
suggested by Corey Halpin in the approval.

Remove LibreSSL patch.

Related to:
PR:             259214

Update:
PR:             259945
MFH:		2021Q4

Approved by:	chalpin@cs.wisc.edu (maintainer)
2021-11-20 23:55:58 +01:00
Matthias Andree
1b50e97082 Revert "mail/fetchmail: update to 6.4.24 and block LibreSSL."
This reverts commit 30e97245f9.
That wasn't the approved patch, but a later WIP one. Fixing up.
2021-11-20 23:51:30 +01:00
Matthias Andree
30e97245f9 mail/fetchmail: update to 6.4.24 and block LibreSSL.
fetchmail cannot legally be linked with LibreSSL,
because there is no GPLv2 clause 2b exemption for
LibreSSL, only for OpenSSL.

Correct LICENSE and remove LICENSE_COMB.
Remove LibreSSL patch.

Add FSF comment suggested by Corey Halpin in PR.

Related to:
PR:             259214

Update:
PR:             259945
MFH:		2021Q4

Approved by:	chalpin@cs.wisc.edu (maintainer)
2021-11-20 23:45:48 +01:00
Bernard Spil
145c527f0c mail/fetchmail: fix restart with "service -R"
PR:		258207
Approved by:	chalpin cs wisc edu (maintainer)
2021-10-24 07:56:29 +00:00
Bernard Spil
0c86d31161 mail/fetchmail: Fix build with LibreSSL 3.4
PR:		259214
Approved by:	Corey Halpin <chalpin cs wisc edu> (maintainer)
2021-10-23 17:08:00 +00:00
Matthias Andree
33bfcd6f29 mail/fetchmail: update to 6.4.22 release.
This contains documentation updates, and one code change to the IMAP
client: IMAP: fix error code when LOGIN fails

    This recently printed 'we've run out of authentication methods'
    instead of the actual authentication failure.

This also formally adds OpenSSL 3.0.0 support.

PR:		258486
Approved by:	Corey Halpin (maintainer)
2021-09-14 16:37:12 +02:00
Matthias Andree
1e6092d181 mail/fetchmail: update to 6.4.22.rc3
This fixes an IMAP protocol issue affecting all but the first IMAP
server in a run. It also updates translations.

PR:		258146
MFH:		2021Q3
Approved by:	Corey Halpin (maintainer)
2021-08-30 02:13:54 +02:00
Matthias Andree
c2b9bf3fe6 mail/fetchmail: security update to 6.4.22.rc2
MFH:		2021Q3
URL:            https://www.fetchmail.info/fetchmail-SA-2021-02.txt
Changelog:	https://gitlab.com/fetchmail/fetchmail/-/blob/SNAPSHOT_6-4-22-rc2/NEWS#L87
Security:       CVE-2021-39272
Security:       1d6410e8-06c1-11ec-a35d-03ca114d16d6
PR:		258071
Approved by:	Corey Halpin (maintainer)
2021-08-27 23:24:53 +02:00
Corey Halpin
b2dcb60ae5 mail/fetchmail: Update to 6.4.21
PR:		257739
2021-08-10 16:46:34 -04:00
Matthias Andree
dd81af38c7 mail/fetchmail: security update to 6.4.20
Security: 	cbfd1874-efea-11eb-8fe9-036bd763ff35
Security: 	CVE-2021-36386
Approved by: 	Corey Halpin (maintainer)
PR:		257480
MFH:		2021Q3
2021-07-29 22:45:20 +02:00
Matthias Andree
9bf40d7c50 mail/fetchmail: update to 6.4.19
* CHANGE: fetchmailconf: properly catch and report option parsing errors

* BUG FIX: LMTP: do not try to validate the last component of a
  UNIX-domain LMTP socket as though it were a TCP port.  Reported by
  Christoph Heitkamp, Gitlab issue #33.

* TRANSLATION UPDATE: This fine person has contributed an updated
  translation:
- sr:    Мирослав Николић (Miroslav Nikolić) [Serbian]

PR:		256242
Approved by:	Corey Halpin (maintainer)
2021-06-01 18:46:05 +02:00
Mathieu Arnold
135fdeebb9
all: Remove all other $FreeBSD keywords. 2021-04-06 16:31:13 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Matthias Andree
ea20e3149e mail/fetchmail: update to 6.4.18 (includes mail/fetchmailconf)
fetchmail-6.4.18 (released 2021-03-27, 30011 LoC):

# REGRESSION FIX:
* fetchmailconf: fetchmail 6.4.16 added --sslcertfile to the configuration dump,
  but fetchmailconf support was incomplete in Git 7349f124 and it could not
  parse sslcertfile, thus the user settings editor came up empty with console
  errors printed.  Fix configuration parser in fetchmailconf.

# ROBUSTNESS FIXES:
* fetchmailconf: do not require fetchmail for -V. do not require Tk (Tkinter)
  for -d option. This is to fail more gracefully on incomplete installs.
* TLS code: remove OPENSSL_NO_DEPRECATED macros to avoid portability issues
  with OpenSSL v3 - these are for development purposes, not production.
* TLS futureproofing: use SSL_use_PrivateKey_file instead of
  SSL_use_RSAPrivateKey_file, the latter will be deprecated with OpenSSL v3,
  and the user's key file might be something else than RSA.

# TRANSLATION UPDATE:
  This fine person has contributed an updated translation:
* fi:    Lauri Nurmi [Finnish]

PR:		254619
Submitted by:	mandree@
Approved by:	Corey Halpin (maintainer)
2021-03-28 21:02:48 +00:00
Matthias Andree
d4c713d909 mail/fetchmail: fetchmailconf: update to 6.4.17 (minor fixes, Japanese translation)
# BUG FIXES
* IMAP client: plus memory leaks for username and password when trying
  the LOGIN (password-based) authentication and encountered a timeout situation.
* dist-tools/getstats.py: also counts lines in *.py files [for NEWS file]

# CHANGES
* fetchmail.man: now mentions that you may need to add --ssl when specifying
  a TLS-wrapped port.
* fetchmailconf: --version (-V) now prints the Python version in use.

# TRANSLATION UPDATE
* ja:    Takeshi Hamasaki [Japanese]

PR:		254208
Approved by:	Corey Halpin (maintainer)
MFH:		2021Q1
2021-03-11 22:17:07 +00:00
Neel Chauhan
63e89621a4 mail/fetchmail and mail/fetchmailconf: Update to 6.4.16
PR:		253423
Submitted by:	Corey Halpin <chalpin AT cs.wisc DOT edu> (maintainer)
2021-02-11 02:13:42 +00:00
Juraj Lutter
b75fef6475 mail/fetchmail: Update to 6.4.14
PR:		251979
Submitted by:	Neel Chauhan <neel@neelc.org> (maintainer)
Reviewed by:	osa (mentor)
Approved by:	osa (mentor)
Differential Revision:	https://reviews.freebsd.org/D27689
2020-12-28 10:35:33 +00:00
Matthias Andree
c141f24e91 mail/fetchmail: mail/fetchmailconf: Update to 6.4.13 [1], fix rcfile bug [2]
Update mail/fetchmail{,conf} to 6.4.13 and fix rc script to work correctly
when root's shell does not include /usr/local/bin in $PATH.

mail/fetchmail passes 'poudriere testport' on both i386 and amd64 under
11.4 and 12.1 for the following configurations:
  - Default settings
  - Default settings, build as non-root
  - ssl=base, GSSAPI_MIT
  - ssl=base, GSSAPI_NONE
  - ssl=openssl
  - ssl=openssl with SSL2 and SSL3 disabled
  - ssl=openssl, GSSAPI_NONE
  - ssl=libressl
  - ssl=libressl, GSSAPI_NONE

mail/fetchmailconf passes 'poudriere testport' on both i386 and amd64 under
11.4 and 12.1 with default settings

Additionally, passes bulk -tC on 12.1-arm64.

PR:		250925 [1]
Submitted by:	Corey Halpin (maintainer)
PR:		250691 [2, comments #14, #15]
Reported by:	Brian Biskeborn [2], Andrey Kiryanov [2]
2020-11-08 10:58:42 +00:00
Matthias Andree
b03fc003c7 mail/fetchmail: Fix shell's 'Bad -c option' in rcscript.
Turns out that our fetchmail_dump_config() function needs to add
one more level of quoting because it's being unquoted and word split
twice, once by su's shell, and again by sh.

While here, change sh to /bin/sh to make the intention clearer.

Bump PORTREVISION to get the fix out onto the systems.

PR:		250691
Reported by:	Helmut Ritter <freebsd-ports@charlieroot.de>
Approved by:	chalpin@cs.wisc.edu
MFH:		2020Q4 (blanket, one-line tested working fix, 4-eyes principle)
2020-11-01 19:38:58 +00:00
Matthias Andree
69c372bb8c mail/fetchmail: fix rcscript regression from _1 that broke global mode
In a situation where fetchmail is to be started globally with the
configuration in $LOCALBASE/etc, the rc.d file would try to run
fetchmail for the wrong user.

Simplify script more, avoiding recursive call in single-user mode.

Submitted by:	Corey Halpin (maintainer, direct mail to mandree@)
Reported by:	Armin Tüting
2020-10-06 23:09:39 +00:00
Matthias Andree
a53a4d6751 mail/fetchmail: avoid rc.conf overriding daemon interval, many other fixes
Authors: CH = Corey Halpin, MA = Matthias Andree

- fetchmail's rc script now queries the daemon interval from the
  configuration, and falls back to the rc.conf value if given. [CH]
- Similarly, the logging facility will be taken from the configuration [MA]
- Add documentation to the rcfile's header comments. [MA]
- Drop support for fetchmail_home_prefix in rc.conf, and query the
  respective users' home directories with getent instead. [MA]
- In the rc scripts, redirect input from /dev/null so it will not ask
  for passwords. [MA]
- Add support for the typical 12.1 rc.conf ${name}_... keywords. [MA]
- Make script execution easier to follow by simplifying if...else logic. [CH]
- Fix rcscript's exit code to be 1 if one of the per-user calls fails. [CH]
- Add relevant notes to UPDATING. [MA]

PR:		249860
Submitted by:	Corey Halpin (maintainer)
Reported by:	Chris James (on fetchmail-users mailing list)
Approved by:	Corey Halpin (maintainer)
2020-10-05 19:09:17 +00:00
Matthias Andree
3db218bad2 mail/fetchmail: update to 6.4.12 (regression fixes)
Fixes these regressions:
- Misleading false complaints that TLSv1.3 support were missing from the
  system but still auto-negotiating it (broken in 6.4.9, fixed in 6.4.11).
- README contained NEWS fragments (broken since c. 1 year/c. 6.4.2,
  fixed in 6.4.12) instead of the actual contents.
  (This was also the reason to skip 6.4.11).

For the potential MFH 6.4.8 -> 6.4.12, 6.4.9 also
adds to the manual page which has is used for fingerprints, MD5,
and adds a Romanian-language translation by Florentina Musat.

PR:		249009
Approved by:	Corey Halpin (maintainer)
MFH:		2020Q3 (manpage, README fixes, added translation)
2020-09-04 16:04:52 +00:00
Matthias Andree
1f4ac50a50 mail/fetchmail: update to 6.4.10
while here, switch distfile back to xz format and update
the > 2^31 "long long" fix so it patches the right place of the NEWS file.

- adds Romanian translation
- minor manual page fix to add "MD5" hash to sslfingerprint documentation

PR:		248954
Approved by:	Corey Halpin (maintainer)
2020-08-28 14:42:13 +00:00
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