Commit graph

18 commits

Author SHA1 Message Date
leot
a342a1434a fdm: Add a comment about patch-shm-mmap.c 2019-03-24 14:41:05 +00:00
leot
d8b9706606 fdm: Adjust mremap(2) usage on NetBSD
MREMAP_MAYMOVE flag is the default behaviour on NetBSD and by
adjusting the single mremap() call it can be used on NetBSD too
(remove CONFIGURE_ENV injection kludge).

Thanks to <joerg> and <kamil> respectively for kindly pointing out
that and suggestions! (possible regressions are mine!)
2019-03-18 10:53:40 +00:00
leot
23ce3c60b2 fdm: limit mremap(2) related CONFIGURE_ENV injection to NetBSD
mremap(2) usage is not compatible due MREMAP_MAYMOVE flag not available on
NetBSD.

While here also sort bl3 inclusion (NFC).

PKGREVISION++
2019-03-17 21:33:03 +00:00
leot
ea1dbc145d fdm: Update to 2.0
pkgsrc changes:
 - Remove no longer needed patches

Changes:
2.0
---
 - Remove Courier support
 - Add `ignore-errors' flag to ignore possible delivery errors and continue to
   the next mail
 - Add a `lock-timeout' option to customize default 10 seconds timeout
 - Add support for STARTTLS on IMAP and POP3
 - Disable OpenSSL insecure stuff enabled by default and introduce a `insecure'
   flag to replace `no-tls1'
 - Add support for newer OpenSSL
 - Use SNI extension (fixes some servers when OpenSSL supports TLS 1.3)
 - Misc bug fixes and improvements
2019-02-13 11:08:02 +00:00
leot
6d5e211989 fdm: Backport patch to use SNI extension
When TLS 1.3 is used at least imap.gmail.com requires SNI extension
otherwise fails as follow:

 certificate verification failed: self signed certificate

(This can happen with OpenSSL 1.1.1.)

Bump PKGREVISION
2018-12-02 00:48:46 +00:00
leot
b12afb7281 fdm: Fix the build with OpenSSL 1.1.0 and minor cosmetic changes
- Fix the build with OpenSSL 1.1.0 backporting a patch from upstream.
- Minor mostly cosmetic changes (pointed out by pkglint)
- Take MAINTAINERship

Bump PKGREVISION
2018-05-04 15:33:22 +00:00
jperkin
17661ff9a5 Bump PKGREVISION for security/openssl ABI bump. 2016-03-05 11:27:40 +00:00
joerg
a4b2c85be4 Fix race condition. 2015-11-06 20:34:00 +00:00
agc
ddbf6ddecd Add SHA512 digests for distfiles for mail category
Problems found locating distfiles:
	Package mutt: missing distfile patch-1.5.24.rr.compressed.gz
	Package p5-Email-Valid: missing distfile Email-Valid-1.198.tar.gz
	Package pine: missing distfile fancy.patch.gz
	Package postgrey: missing distfile targrey-0.31-postgrey-1.34.patch
	Package qmail: missing distfile badrcptto.patch
	Package qmail: missing distfile outgoingip.patch
	Package qmail: missing distfile qmail-1.03-realrcptto-2006.12.10.patch
	Package qmail: missing distfile qmail-smtpd-viruscan-1.3.patch
	Package thunderbird24: missing distfile enigmail-1.7.2.tar.gz
	Package thunderbird31: missing distfile enigmail-1.7.2.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 23:27:00 +00:00
leot
d6d5f7d6f3 Update mail/fdm to fdm-1.9.
pkgsrc changes:
 o Update MASTER_SITES and HOMEPAGE to current reality.
 o Convert the package in order to use GNU_CONFIGURE and add aclocal,
   auto{conf,make} to USE_TOOLS (the configure is not provided by upstream
   and need to be generated).
 o Avoid mremap(2) usage. The NetBSD's mremap(2) isn't compatible (and probably
   also other systems does not have it) so use mmap(2) instead.

Changes:
 o Add support for STARTTLS on IMAP and POP3, from Markus Bachmann.
 o Add "lock-wait" option to make fdm wait the global lock (lock-file option)
   rather than exiting with an error immediately. Also add "lock-time" option
   for the lock file timeout rather than a fixed 10 seconds. Requested by
   Todd C. Miller.
 o Add "ignore-errors" flag to instruct fdm to ignore delivery errors and
   continue to the next mail, requested by Todd C. Miller.
 o Delete Courier support.
 o Delete regress/*
 o Convert fdm to use autoconf and automake
 o Various misc bug fixes
2015-09-25 13:08:44 +00:00
mef
f3f37aefde Based on PR pkg/49537 by Leonardo Taccari,
Update 1.7 to 1.8
(pkgsrc)
  - Remove post-build: target in Makefile
    (not necessary now)
(upstream)
  - No immediate ChangeLog, Release note found other than
    1.8 is released on 2014-12-03
2015-01-05 13:56:46 +00:00
tron
73d05e2276 Recursive PKGREVISION bump for OpenSSL API version bump. 2014-02-12 23:17:32 +00:00
joerg
0de1e064b5 Don't use -I-. 2013-10-15 14:44:18 +00:00
obache
9e85afe06d Update fdm to 1.7.
Based on PR pkg/48254 by Leonardo Taccari.

pkgsrc changes:
 * add options.mk: now fdm supports "debug" and "pcre" options (previously the
   PCRE support was always included).

Changes:
 * Add mbox tags for messages fetched from a mbox
 * Detect GMail's XYZZY capability for IMAP and use it to try and workaround
   some of their broken behaviour (incorrectly reported message sizes).
 * Print a warning on missing maildirs when fetching from them rather than
   crashing or giving an error. Reported by Frank Terbeck.
 * Introduce a configure script and tidy up build infrastructure.
 * GMail IMAP doesn't correctly set the \Seen flag after UID FETCH BODY[], so
   explicitly set it with STORE when mail is kept. Reported by Patrice Clement.
 * Properly count mails when polling multiple folders on a single IMAP server,
   reported by Claudio M. Alessi.
 * Support user and pass on NNTP, requested by Michael Hamann.
 * Escape . properly when delivering to SMTP.
 * Don't be as strict about format at the end of messages when using IMAP -
   accept additional information as well as FLAGS. Reported by rivo nurges.
2013-10-03 11:12:43 +00:00
jperkin
becd113253 PKGREVISION bumps for the security/openssl 1.0.1d update. 2013-02-06 23:20:50 +00:00
asau
d70c8e374b Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. 2012-10-08 12:19:01 +00:00
marino
70eeb6c300 mail/fdm: Fix non-privileged build and MAXNAMLEN
- The patch was added to define the non-posix MAXNAMLEN macro if it was
  not already defined.
- The Makefile had to patched and then inline-replaced to fix the
  invocation of the install program.  Without this, non-root builds fail.
2012-08-23 18:04:12 +00:00
seb
c252d30d8f Initial import of fdm version 1.6 in the NetBSD Packages Collection.
fdm is a program to fetch mail and deliver it in various ways
depending on a user-supplied ruleset. Mail may be fetched from
stdin, IMAP or POP3 servers, or from local maildirs, and filtered
based on whether it matches a regexp, its size or age, or the output
of a shell command.  It can be rewritten by an external process,
dropped, left on the server or delivered into maildirs, mboxes, to
a file or pipe, or any combination.

fdm is designed to be lightweight but powerful, with a compact but
clear configuration syntax. It is primarily designed for single-user
uses but may also be configured to deliver mail in a multi-user
setup. In this case, it uses privilege separation to minimise the
amount of code running as the root user.
2012-08-17 17:45:40 +00:00