Commit graph

61 commits

Author SHA1 Message Date
Mikhail Pchelin
ddb184fe07 - update from 7.0.3 to 7.1.4
Approved by:	jpaetzel (mentor)
2017-12-02 11:57:58 +00:00
Mathieu Arnold
551be3c723 Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
  current python flavor.  It can be used in dependency lines when the
  port itself is not python flavored.  For example, deskutils/calibre.

  By default, all the flavors are generated.  To only generate flavors
  for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
  BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.

  In all the ports with Python dependencies, the *_DEPENDS entries MUST
  end with the flavor so that the framework knows which to build/use.
  This is done by appending '@${PY_FLAVOR}' after the origin (or
  @${FLAVOR} if in a Python module with Python flavors, as the content
  will be the same).  For example:

    RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}

PR:		223071
Reviewed by:	portmgr, python
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D12464
2017-11-30 15:50:30 +00:00
Mikhail Pchelin
685c4b1e64 - update from 7.0.12 to 7.0.13
Approved by:	jpaetzel (implicit)
2017-01-28 22:18:11 +00:00
Mikhail Pchelin
1b78b95685 - update from 7.0.9 to 7.0.12
Approved by:	wg (co-mentor)
2016-12-16 17:26:09 +00:00
Mikhail Pchelin
2920d7801b - update from 7.0.8 to 7.0.9
PR:		214241
Submitted by:	mp39590@gmail.com (maintainer)
Approved by:	jpaetzel (mentor)
2016-11-28 18:40:59 +00:00
Kurt Jaeger
559bbd70f4 mail/offlineimap: update 6.5.7 -> 7.0.8
PR:		213672
Changes:	http://www.offlineimap.org/doc/Changelog.html
Submitted by:	mp39590@gmail.com (maintainer)
2016-10-23 17:50:38 +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
Mathieu Arnold
009403d474 - update from 6.5.5 to 6.5.7
- add py-sqlite3 as a run dependency
- simplify the port

PR:		201402
Submitted by:	mp39590 gmail com
Sponsored by:	Absolight
2015-10-13 07:56:33 +00:00
Mathieu Arnold
07da776842 Update ports in the [i-m]* category to not use GH_COMMIT.
With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
2015-05-07 16:32:43 +00:00
Antoine Brodin
8e556b93ae Cleanup plist 2014-11-22 18:42: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
Renato Botelho
9db8a6698f Support stage
Approved by:	portmgr (blanket)
2014-03-28 13:34:44 +00:00
Baptiste Daroussin
e04b632220 Fix properties on pkg-plist 2014-01-21 23:40:21 +00:00
Rene Ladan
50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +00:00
Eygene Ryabinkin
7a564f36eb Upgrade OfflineIMAP to 6.5.5
Changes since 6.5.4:

 * Avoid lockups for IMAP synchronizations running with the
   "-1" command-line switch (X-Ryl669 <boite.pour.spam@gmail.com>)
 * Dump stacktrace for all threads on SIGQUIT: ease debugging
   of threading and other issues
 * SIGHUP is now handled as the termination notification rather than
   the signal to reread the configuration (Dmitrijs Ledkovs)
 * Honor the timezone of emails (Tobias Thierer)
 * Allow mbnames output to be sorted by a custom sort key by specifying
   a 'sort_keyfunc' function in the [mbnames] section of the config.
 * Support SASL PLAIN authentication method.  (Andreas Mack)
 * Support transport-only tunnels that requre full IMAP authentication.
   (Steve Purcell)
 * Make the list of authentication mechanisms to be configurable.
   (Andreas Mack)
 * Allow to set message access and modification timestamps based
   on the "Date" header of the message itself.  (Cyril Russo)
 * "peritem" format string for [mbnames] got new expansion key
   "localfolders" that corresponds to the same parameter of the
   local repository for the account being processed.
 * [regression] pass folder names to the foldersort function,
   revert the documented behaviour
 * Fix handling of zero-sized IMAP data items (GitHub#15).
 * Updated bundled imaplib2 to 2.35:
   - fix for Gmail sending a BYE response after reading >100 messages
     in a session;
   - includes fix for GitHub#15: patch was accepted upstream.
 * Updated bundled imaplib2 to 2.36: it includes support for SSL
   version override that was integrated into our code before,
   no other changes.
 * Fixed parsing of quoted strings in IMAP responses: strings like "\\"
   were treated as having \" as the escaped quote, rather than treating
   it as the quoted escaped backslash (GitHub#53).
 * Execute pre/post-sync hooks during synchronizations
   toggled by IMAP IDLE message processing. (maxgerer@gmail.com)
 * Catch unsuccessful local mail uploads when IMAP server
   responds with "NO" status; that resulted in a loss of such
   local messages. (Adam Spiers)
 * Don't create folders if readonly is enabled.
 * Learn to deal with readonly folders to properly detect this
   condition and act accordingly.  One example is Gmail's "Chats"
   folder that is read-only, but contains logs of the quick chats. (E.
   Ryabinkin)
 * Fix str.format() calls for Python 2.6 (D. Logie)
 * Remove APPENDUID hack, previously introduced to fix Gmail, no longer
   necessary, it might have been breaking things. (J. Wiegley)
 * Improve regex that could lead to 'NoneType' object has no attribute
   'group' (D. Franke)
 * Improved error throwing on repository misconfiguration

Port changes:

 * adopted to USE_GITHUB;
 * fixed spacing and capitalization in pkg-descr.

QA page: http://codelabs.ru/fbsd/ports/qa/mail/offlineimap/6.5.5
2013-10-05 18:36:06 +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
Baptiste Daroussin
7117487ddb Convert to new options framework 2013-06-04 10:32:49 +00:00
Eygene Ryabinkin
dc4f0db179 mail/offlineimap: add patch for proper handling of read-only folders
PR:		176079
QA page:	http://codelabs.ru/fbsd/ports/qa/mail/offlineimap/6.5.4_1
Submitted by:	Matthew West <ports@r.zeeb.org>
Feature safe:	yes
2013-03-01 19:41:33 +00:00
Eygene Ryabinkin
68dba16b26 mail/offlineimap: upgrade to 6.5.4
Changes since 6.5.3.1:

 - Bump bundled imaplib2 library 2.29 --> 2.33
 - Actually perform the SSL fingerprint check (reported by J. Cook)
 - Curses UI, don't use colors after we shut down curses already
   (C.H"oger)
 - Document that '%' needs encoding as '%%' in *.conf
 - Fix crash when IMAP.quickchanged() led to an Error
   (reported by sharat87)
 - Implement the createfolders setting to disable folder propagation
   (see docs)

Changes since 6.5.3:

 - Don't fail if no dry-run setting exists in offlineimap.conf
   (introduced in 6.5.3)

Changes since 6.5.2.1:

 - --dry-run mode protects us from performing any actual action.
   It will not precisely give the exact information what will happen.
   If e.g. it would need to create a folder, it merely outputs "Would
   create folder X", but not how many and which mails it would
   transfer.
 - Internal code changes to prepare for Python3
 - Improve user documentation of nametrans/folderfilter
 - Fixed some cases where invalid nametrans rules were not caught and
   we would not propagate local folders to the remote repository. (now
   tested in test03)
 - Revert "* Slight performance enhancement uploading mails to an IMAP
   server in the common case." It might have led to instabilities.
 - Revamped documentation structure. make in the docs dir or make doc
   in the root dir will now create the 1) man page and 2) the user
   documentation using sphinx (requiring python-doctools, and sphinx).
   The resulting user docs are in docs/html. You can also only create
   the man pages with make man in the docs dir.
 - -f command line option only works on the untranslated remote
   repository folder names now. Previously folderfilters had to match
   both the local AND remote name which caused unwanted behavior in
   combination with nametrans rules. Clarify in the help text.
 - Some better output when using nonsensical configuration settings
2012-06-19 08:41:42 +00:00
Eygene Ryabinkin
5ff66f4b86 mail/offlineimap: update to 6.5.2.1
OfflineIMAP changed its maintainer again, now it is
Sebastian Spaeth.  There are too many changes since
6.4.0, so they won't be listed here for this update.

Feature safe: yes
2012-02-22 14:40:43 +00:00
Eygene Ryabinkin
817339f522 mail/offlineimap: upgrade to 6.4.0
Changelog since 6.3.4:
{{{
OfflineIMAP v6.4.0 (2011-09-29)

This is the first stable release to support the forward-compatible
per-account locks and remote folder creation that has been introduced
in the 6.3.5 series.

 - Various regression and bug fixes from the last couple of RCs

OfflineIMAP v6.3.5-rc3 (2011-09-21)
Changes

 - Refresh server capabilities after login, so we know that Gmail
   supports UIDPLUS (it only announces that after login, not before).
   This prevents us from adding custom headers to Gmail uploads.

Bug Fixes

 - Fix the creation of folders on remote repositories, which was still
   botched on rc2.

OfflineIMAP v6.3.5-rc2 (2011-09-19)
New Features

 - Implement per-account locking, so that it will possible to sync
   different accounts at the same time. The old global lock is still
   in place for backward compatibility reasons (to be able to run old
   and new versions of OfflineImap concurrently) and will be removed
   in the future. Starting with this version, OfflineImap will be
   forward-compatible with the per-account locking style.

 - Implement RFC 2595 LOGINDISABLED. Warn the user and abort when we
   attempt a plaintext login but the server has explicitly disabled
   plaintext logins rather than crashing.

 - Folders will now also be automatically created on the REMOTE side
   of an account if they exist on the local side. Use the
   folderfilters setting on the local side to prevent some folders
   from migrating to the remote side. Also, if you have a nametrans
   setting on the remote repository, you might need a nametrans
   setting on the local repository that leads to the original name
   (reverse nametrans).

Changes

 - Documentation improvements concerning 'restoreatime' and some code
   cleanup

 - Maildir repositories now also respond to folderfilter=
   configurations.

Bug Fixes

 - New emails are not created with "-rwxr-xr-x" but as "-rw-r--r--"
   anymore, fixing a regression in 6.3.4.

OfflineIMAP v6.3.5-rc1 (2011-09-12)
Notes

Idle feature and SQLite backend leave the experimental stage! ,-)

New Features

 - When a message upload/download fails, we do not abort the whole
   folder synchronization, but only skip that message, informing the
   user at the end of the sync run.

 - If you connect via ssl and 'cert_fingerprint' is configured, we
   check that the server certificate is actually known and identical
   by comparing the stored sha1 fingerprint with the current one.

Changes

 - Refactor our IMAPServer class. Background work without user-visible
   changes.

 - Remove the configurability of the Blinkenlights statuschar. It
   cluttered the main configuration file for little gain.

 - Updated bundled imaplib2 to version 2.28.

Bug Fixes

 - We protect more robustly against asking for inexistent messages
   from the IMAP server, when someone else deletes or moves messages
   while we sync.

 - Selecting inexistent folders specified in folderincludes now throws
   nice errors and continues to sync with all other folders rather
   than exiting offlineimap with a traceback.
}}}

Patch files/patch-docs-MANUAL.rst got its path to the upstream.

QA page: http://codelabs.ru/fbsd/ports/qa/mail/offlineimap/6.4.0
Feature safe: yes
2011-12-03 19:38:15 +00:00
Eygene Ryabinkin
9eefa54fcd Grab maintainership of OfflineIMAP
Sergei was inactive for the last year and there were some maintainer
timeouts.

Approved-by: portmgr (linimon)
2011-09-12 06:33:36 +00:00
Eygene Ryabinkin
94b08c8e01 OfflineIMAP: upgrade to 6.3.4
- removed applied upstream patch;
 - added patch for MANUAL.rst that eliminates RST -> HTML
   translation error.

Relevant changelog entries since 6.3.3:

OfflineIMAP v6.3.4 (2011-08-10)
===============================

* CHANGE: Handle when UID can't be found on saved messages.

OfflineIMAP v6.3.4-rc4 (2011-07-27)
===================================

* CHANGE: Manual improved.

OfflineIMAP v6.3.4-rc3 (2011-07-07)
===================================

* NEW FEATURE: Added StartTLS support, it will automatically be used
  if the server supports it.

* BUG FIX: We protect more robustly against asking for inexistent
  messages from the IMAP server, when someone else deletes or moves
  messages while we sync.

OfflineIMAP v6.3.4-rc2 (2011-06-15)
===================================

* NEW FEATURE: Implement experimental IDLE feature.

* CHANGE: Maildirs use less memory while syncing.

* BUG FIX: Saving to Maildirs now checks for file existence without
  race conditions.

* BUG FIX: A bug in the underlying imap library has been fixed
  that could potentially lead to data loss if the server interrupted
  responses with unexpected but legal server status responses.
  This would mainly occur in folders with many thousands of emails.
  Upgrading from the previous release is strongly recommended.

NOTE: the latter bug fix was already integrated into FreeBSD port
version 6.3.3_1.

OfflineIMAP v6.3.4-rc1 (2011-05-16)
===================================

* NEW FEATURE: Begin sphinx-based documentation for the code.

* NEW FEATURE: Enable 1-way synchronization by settting a
  [Repository ...] to readonly = True. When e.g. using offlineimap
  for backup purposes you can thus make sure that no changes in your
  backup trickle back into the main IMAP server.

* NEW FEATURE: Optional: experimental SQLite-based backend for the
  LocalStatus cache. Plain text remains the default.

* CHANGE: Start a enhanced error handling background system. This is
  designed to not stop a whole sync process on all errors (not much
  used, yet).

* CHANGE: Documentation improvements: the FAQ wins new entries and add
  a new HACKING file for developers.

* CHANGE: Lot of code cleanups.

* CHANGE: Reduced our sync logic from 4 passes to 3 passes
  (integrating upload of "new" and "existing" messages into one
  function). This should result in a slight speedup.

* CHANGE: No whitespace is stripped from comma-separated arguments
  passed via the -f option.

* CHANGE: Give more detailed error when encountering a corrupt UID
  mapping file.

* BUG FIX: Drop connection if synchronization failed. This is needed
  if resuming the system from suspend mode gives a wrong connection.

* BUG FIX: Fix the offlineimap crash when invoking debug option 'thread'.

* BUG FIX: Make 'thread' command line option work.

PR: ports/159815
Approved-by: sergei (maintainer timeout)
Feature-safe: yes
2011-09-11 20:20:55 +00:00
Eygene Ryabinkin
6058c4adc7 OfflineIMAP: respect NOPORTEXAMPLES and build HTML documentation on-demand
Also parametrize GitHub user name to avoid repeating ourselves
and mirror distfile locally on CodeLabs and FreeBSD.

PR: ports/158862
Hints-from: Pan Tsu <inyaoo@gmail.com>
Approved-by: garga (mentor), maintainer timeout (1 month)
Feature-safe: yes
2011-08-15 22:01:14 +00:00
Ulrich Spörlein
e56561204e Fix a possible data loss bug
Submitted by:	Fredrik Andersson <fredrik@glyph.se>
Obtained from:	520e39d355
2011-07-02 11:21:40 +00:00
Ulrich Spörlein
71398f5f1c Update to 6.3.3
This fixes offlineimap to work with Python 2.7 again

PR:		ports/154085, ports/157447
Submitted by:	Anonymous <swell.k@gmail.com>, Pan Tsu <inyaoo@gmail.com>,
		Mark Felder <feld@feld.me>
Approved by:	Maintainer timeout
2011-07-01 20:13:06 +00:00
Sergei Kolobov
09bc41a336 - Update to version 6.2.0.2
- Project moved to GitHub - update MASTER_SITES accordingly
- Tk.Blinkenlights is long gone, no need to depend on Tkinter anymore

PR:		ports/146366
Submitted by:	Anonymous <swell.k@gmail.com>
2010-08-08 21:31:40 +00:00
Sergei Kolobov
f2d5da124b Use $SUB_FILES to dynamically adjust pkg-message
PR:		ports/142769
Submitted by:	Sevan Janiyan <venture37@geeklan.co.uk>
2010-08-08 20:43:54 +00:00
Sergei Kolobov
5e124fa6ec - Update to 6.0.3
- Use author's website as a primary MASTER_SITE
- Use MASTER_SITE_LOCAL/sergei as a backup
- Take back maintainership of this port
2009-01-26 14:59:34 +00:00
Tilman Keskinoz
5af5321a24 Update to 6.0.0
PR:		125649
Submitted by:	Chess Griffin <chess@chessgriffin.com>
2008-07-27 19:12:24 +00:00
Mark Linimon
189bb010c0 Reset sergei@ due to maintainer-timeouts and no response to email.
Hat:		portmgr
2008-07-27 04:30:53 +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
Sergei Kolobov
3511a99b71 - The primary URL at the author's site is Gopher over HTTP at port 70.
Thus, some sites have problems downloading the software due to port 70
  being blocked. Switch to another URL - HTTP at port 80.
- Moreover, downloading from the primary URL is still painfully slow
  (averaging 600 Bps), so keep MASTER_SITE_LOCAL in front of the list.
  Update my public_distfiles with the latest tarball to make it work.

PR:		ports/89585
Submitted by:	Toni Schmidbauer <toni at stderror dot at>
2005-11-28 14:41:36 +00:00
Sergei Kolobov
dfb7a9fc22 - Update to 4.0.11
Submitted by:	Toni Schmidbauer <toni at stderror dot at> (in private e-mail)
Committed from:	EuroBSDcon 2005
2005-11-25 15:49:59 +00:00
Sergei Kolobov
a66a28cbd3 - Add SHA256 checksums to my ports 2005-11-25 14:05:38 +00:00
Sergei Kolobov
d7aa5b35a8 - Update to 4.0.8 2004-12-01 11:42:31 +00:00
Sergei Kolobov
7fe65f2933 - Update to 4.0.6
- Unbreak fetching: put in MASTER_SITE_LOCAL
2004-08-26 05:19:45 +00:00
Kris Kennaway
d0e7992781 BROKEN: Unfetchable 2004-08-14 21:46:28 +00:00
Kris Kennaway
cda9f15314 Back out previous, port was recently fixed
Pointy hat to:	kris
2004-07-02 08:42:44 +00:00
Kris Kennaway
74b0fae0ef BROKEN: Unfetchable 2004-07-02 08:19:00 +00:00
Sergei Kolobov
ab8162bc43 - Unbreak by upgrading to 4.0.4 (previous version was removed
from the master site due to a discovered bug):
  * Reverted the header insertion point patch applied in 4.0.3.
    It has apparently caused header corruption.

Pointed out by:	pointyhat (via kris)
2004-06-16 21:11:17 +00:00
Kris Kennaway
8a92e214d8 BROKEN: Unfetchable 2004-06-15 11:04:06 +00:00
Sergei Kolobov
abc12d2526 - Update to 4.0.3 2004-06-10 20:44:12 +00:00
Sergei Kolobov
ee6478c3fc SIZE *DOES* MATTER. 2004-01-30 16:03:29 +00:00
Sergei Kolobov
6cca0a9fde - Allow user to avoid py-tkinter dependency by using WITHOUT_X11=yes knob 2003-12-16 23:27:10 +00:00
Sergei Kolobov
b5ac288585 Change to my @FreeBSD.org address.
Approved by:	krion
2003-10-23 05:42:49 +00:00
Tilman Keskinoz
8968cf25ad Update to 4.0.0
PR:		54709
Submitted by:	 Sergei Kolobov <sergei@kolobov.com>
2003-07-22 08:41:57 +00:00
Erwin Lansing
6af501b472 - Add x11-toolkits/py-tkinter to RUN_DEPENDS to make Tk.Blinkenlights
interface actually usable
- Bump PORTREVISION

PR:		53589
Submitted by:	maintainer
2003-06-22 14:54:58 +00:00
Erwin Lansing
b504beb366 - Update to 3.99.18:
- Made a fix for Python2.3 compatibility.
  - Removed warning when thread debug is specified.  Closes: #195739.
  - New option -l to log debug info to a file without having it spew
    on-screen.
  - New debug type "thread".

PR:		52903
Submitted by:	maintainer
Approved by:	edwin (mentor)
2003-06-07 17:45:01 +00:00
Pete Fritchman
66ecea4cba - update to 3.99.17
- write pkg-message in ${WRKDIR}

PR:		51926
Submitted by:	maintainer
2003-05-16 02:01:14 +00:00