65 Commits

Author SHA1 Message Date
naddy
348a3e29c5 drop RCS Ids 2022-03-11 19:34:31 +00:00
kn
e7411f37c1 Remove RCSIDs from ports I maintain 2022-03-10 12:03:30 +00:00
kn
fbeacf0585 Unbreak ports-clang builds by switching to ports-gcc
On at least sparc64 there are problems with ports-clang defaulting to
-no-integrated-as.

Feedback OK jca
2022-01-11 09:51:58 +00:00
bket
3b448c2922 Update to isync-1.4.4
Fixes a heap overflow (CVE-2021-44143), and multiple buffer overflows
(CVE-2021-3657).

OK kn@ (maintainer)
2021-12-03 14:44:33 +00:00
kn
35a3d7fe98 Update to mbsync 1.4.3
- limit maildir nesting depth
- enable embedding arbitrarily long strings into IMAP commands
2021-08-03 04:55:18 +00:00
kn
8e360a21b2 Update to isync/mbsync 1.4.2
This is a maintenance & security release.

- fixed CVE-2021-3578: possible remote code execution
- fixed crash on invalid CAPABILITY response code
- tolerate INBOX mis-casing in Path setting

OK msg
2021-07-01 12:35:12 +00:00
kn
a3be5a947b Restore our local patch to pledge *after* reading config files
I messed this up when updating the patch from 1.3.x to 1.4.x,
found by anton the hard way.

While here, account for UserCmd the same way as for PassCmd.
2021-03-13 14:20:55 +00:00
kn
77a089e158 Update to isync^Wmbsync 1.4.1
- The 'isync' compatibility wrapper was removed.
- Added support for disabling TLS v1.3 - adjust SSLVersions if you set it.
- Removed support for obsolete/insecure SSL v3.
- The IMAP '$Forwarded' / Maildir 'P' (passed) flag is supported now.
- Support for configuring a TLS cipher string was added.
- IMAP mailbox subscriptions are supported now.
- The IMAP user query can be scripted now.
- Added built-in support for macOS Keychain.
- Messages excluded by MaxSize will now result in placeholders.
- The use of Master/Slave terminology has been deprecated.

OK remi
2021-03-11 12:58:20 +00:00
bket
595ef4d155 Update to isync-1.3.5
Fixes CVE-2021-20247: reject funny mailbox names from IMAP LIST/LSUB in
particular, '..' in the name could be used to escape the Path/Inbox of a
Maildir Store, which could be exploited for stealing or deleting data,
or staging a (mild) DoS attack.

OK kn@ (maintainer)
2021-02-22 18:50:53 +00:00
kn
09843d86a6 Update to isync 1.3.3
A minor maintenance release:
- fixed PassCmd for even bigger XOAUTH2 tokens
- fixed crash on syncing multiple Channels which refer to different
  Stores which use a common IMAPAccount
- fixed crash on IMAP connection breaking down while using -Dd
2020-08-17 10:18:21 +00:00
kn
9c11c3e41d Provide debug package 2020-08-17 10:14:03 +00:00
kn
b744057bc7 Update to isync 1.3.2
also tested by bket and Caspar Schutijser
2020-07-13 00:08:10 +00:00
kn
0ed803b446 Add the bloody patch that used to be on the attic 2020-01-18 11:24:49 +00:00
kn
fa9ff64f77 Do not crash when using Tunnel in an IPv6-enabled build
Cherry-picked 7607e53d56f9470ee221cd5b644dda829f54b005,
from Caspar Schutijser, thanks.
2020-01-18 11:13:46 +00:00
sthen
3318ced016 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:46:54 +00:00
kn
3765687256 Update to isync 1.3.1
maintainence release containing various fixes, see
https://sourceforge.net/projects/isync/files/isync/1.3.1/.

Removed patches are all merged upstream.

OK remi
2019-06-13 11:42:37 +00:00
kn
4a044aaefe Fix CopyArrivalDate for timestamps with single digit day of the month
On timestamps such as " 4-Mar-2018 16:49:25 -0500", mbsync would abort if
the Channel option `CopyArrivalDate' was set.

The IMAP protocol specifies a date format beginning with a day-of-month
space-padded to two characters.  The "%d" specifier in glibc's strptime(3)
will consume a space-padded day of month, but OpenBSD's "%d" only accepts
leading zeroes.

Prodded by this issue, our strptime(3) now strips leading spaces with "%e"
as of lib/libc/time/strptime.c r1.25.

Found, analysed and patch (using "%n%d" instead of "%e") from
Evan Silberman <evan at jklol dot net>, thanks!
2019-02-21 19:22:27 +00:00
sthen
deff80e0c0 extend the pledge with "fattr" to allow utimes(), which is used with CopyArrivalDate
reported by Arnaud Brand, ok kn@ (maintainer)
2018-11-08 11:05:32 +00:00
jca
7a692eb6a1 Exit if pledge(2) fails
sys_error() doesn't exit, so do it by hand.  pledge(2) errors should be
fatal.  ok kn@
2018-05-22 21:24:08 +00:00
kn
fd96296f12 Add missing "tty" promise.
Only required for password prompting when neither `Pass' nor `PassCmd' is
specified but added unconditionally for the sake of simplicity as suggested
by jca.

OK jca
2018-05-22 20:15:03 +00:00
jca
fd600705fe Better LIBRESSL_VERSION_NUMBER check
LibreSSL 2.7.1 started providing X509_OBJECT_get0_X509 and
X509_STORE_get0_objects, so use them.

While here fix a format string warning (%hu vs %d).

ok kn@ (maintainer)
2018-05-12 14:37:36 +00:00
jca
43a61df6fb Correctly print time_t
Fixes a latent problem on 32 bits archs.  ok kn@, bump in next commit.
2018-05-12 14:33:50 +00:00
kn
25425a32ab Use pledge, take MAINTAINER
With input from jca, deraadt and sthen. While here, drop -g from CFLAGS
(covered in DEBUG) and update license marker.

OK anton, jca
2018-05-08 22:07:42 +00:00
naddy
93deb26dec switch COMPILER from the old, confusing shortcuts to the more explicit format;
unclear whether these all match the author's intent
2017-11-17 00:22:39 +00:00
danj
211ebd719a Update to isync-1.3.0
From Klemens Nanni, rm'ing MESSAGE discussed with sthen@ and remi@
2017-10-17 17:24:14 +00:00
danj
790bc6baf6 Update to isync-1.2.2
Based on a diff from Klemens Nanni, ok dcoppa@ jca@
2017-08-10 15:08:54 +00:00
jasper
e40089f0a0 update to isync-1.2.1 2015-12-20 09:59:22 +00:00
edd
87afee3c62 Fix a crash in mail/isync.
Previously it would crash if there was no network connectivity. Now it
exits gracefully.

Patch from upstream git.

OK sthen@
2015-09-27 21:12:15 +00:00
czarkoff
f5b65c7850 bump revision
In case anyone already built the port between update to 1.2.0 and patch addition.
2015-04-04 04:24:37 +00:00
czarkoff
54251429dc use memmove(3) instead of memcpy(3)
Forgot to add this patch while updating isync to 1.2.0.
2015-04-03 20:08:10 +00:00
czarkoff
a2d20c42df update to isync 1.2.0
OK edd@, sthen@
2015-04-03 18:51:46 +00:00
czarkoff
f4e698c88f update to isync-1.1.2
OK gsoares@, sthen@
2015-04-01 08:26:03 +00:00
espie
0662a4e9d6 PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:20:26 +00:00
sthen
cfeb576100 SECURITY update to isync 1.0.6
CVE-2013-0289 - does not verify hostnames from SSL certificates
2013-03-02 12:39:56 +00:00
gonzalo
390ea93e76 Update for iSync to 1.0.5:
- don't crash if neither host nor tunnel are specified
- give the implicitly created imap account config the name of the store
- handle failure to store messages
- don't hang after failed start_tls
- deal with UIDVALIDITY of 0 properly
- fix memory access error (used memcpy for overlapping regions)

While here, GROFF is not needed and the patch was applyed upstream.

Ok giovanni@
2012-10-12 13:43:00 +00:00
sthen
88ea72915d Change SEPARATE_BUILD=(concurrent|simple) to Yes; bsd.port.mk doesn't
make a distinction between these.  ok aja@ dcoppa@
2012-03-29 13:38:12 +00:00
espie
e820071495 normalize pkgpath 2011-09-16 10:31:20 +00:00
naddy
1e2bbe8777 bump all (sub)packages that depend on db/v4; requested by and help from espie@ 2011-09-12 18:02:34 +00:00
espie
be2f93f11d since db/v4 has db->=4,<5 as default, no need to specify it explicitly 2010-11-26 14:50:09 +00:00
espie
bc8dc9adb1 new depends 2010-11-19 07:23:05 +00:00
espie
f7782d7391 a few email WANTLIBs 2010-11-11 10:54:02 +00:00
espie
3cb03e4598 typoes, thx Alexandr Shadchin 2010-10-18 21:17:11 +00:00
espie
051dfa8362 USE_GROFF=Yes 2010-10-18 19:59:15 +00:00
sthen
bbfbc3a38d fix depends 2009-03-16 17:52:52 +00:00
ajacoutot
95e343fe4c - remove Dan Harnett from MAINTAINER per his request
- bump
2008-07-01 16:41:19 +00:00
pyr
2d293a0b44 typo. 2008-05-14 08:24:14 +00:00
pyr
5ef78cc5a7 Update to isync 1.0.4.
Advice and ok ajacoutot@
2008-05-14 07:52:53 +00:00
merdely
8b76ad71d8 Remove surrounding quotes in COMMENT*/PERMIT_* 2007-09-16 00:17:04 +00:00
espie
9eafbbfb35 base64 checksums. 2007-04-05 16:19:55 +00:00
naddy
a8817eabcc SIZE 2005-01-05 16:50:35 +00:00