[Python-apps-commits] r1763 - in packages/archivemail/trunk (16 files)

sez-guest at users.alioth.debian.org sez-guest at users.alioth.debian.org
Sun Sep 7 22:21:20 UTC 2008


    Date: Sunday, September 7, 2008 @ 22:21:19
  Author: sez-guest
Revision: 1763

initial import

Added:
  packages/archivemail/trunk/debian/
  packages/archivemail/trunk/debian/changelog
  packages/archivemail/trunk/debian/clean
  packages/archivemail/trunk/debian/compat
  packages/archivemail/trunk/debian/control
  packages/archivemail/trunk/debian/copyright
  packages/archivemail/trunk/debian/docs
  packages/archivemail/trunk/debian/examples
  packages/archivemail/trunk/debian/manpage.refs
  packages/archivemail/trunk/debian/patches/
  packages/archivemail/trunk/debian/patches/00list
  packages/archivemail/trunk/debian/patches/add-archive-name-switch.dpatch
  packages/archivemail/trunk/debian/patches/empty-mailbox-objects-fix.dpatch
  packages/archivemail/trunk/debian/patches/fix-path-in-example.dpatch
  packages/archivemail/trunk/debian/rules
  packages/archivemail/trunk/debian/watch

Added: packages/archivemail/trunk/debian/changelog
===================================================================
--- packages/archivemail/trunk/debian/changelog	                        (rev 0)
+++ packages/archivemail/trunk/debian/changelog	2008-09-07 22:21:19 UTC (rev 1763)
@@ -0,0 +1,243 @@
+archivemail (0.7.2-5) unstable; urgency=low
+
+  * New maintainer. Closes: #489448.
+  * Fix watch file.
+  * Move non-debian-specific patches from diff.gz to debian/patches.
+  * Document --archive-name switch in manpage; add docbook and docbook-utils
+    in build-deps.
+  * Remove obsolete ${misc:Depends}.
+  * Set Standards-Version to 3.8.0 (no changes required).
+
+ -- Serafeim Zanikolas <serzan at hellug.gr>  Sun, 06 Jul 2008 18:36:12 +0100
+
+archivemail (0.7.2-4) unstable; urgency=low
+
+  * Orphaned the package.
+
+ -- Joey Hess <joeyh at debian.org>  Sat, 05 Jul 2008 17:29:40 -0400
+
+archivemail (0.7.2-3) unstable; urgency=low
+
+  * debhelper v7, rules file minimisation
+  * In python 2.5, mailbox objects evaluate to false when empty.
+    Avoid an assertian when this happens. Closes: #476806
+
+ -- Joey Hess <joeyh at debian.org>  Sat, 26 Apr 2008 01:17:31 -0400
+
+archivemail (0.7.2-2) unstable; urgency=low
+
+  * Improved description. Closes: #458196
+
+ -- Joey Hess <joeyh at debian.org>  Mon, 10 Mar 2008 15:57:26 -0400
+
+archivemail (0.7.2-1) unstable; urgency=low
+
+  * New upstream release
+    - Fixes IMAP message flag conversion, with a patch from Christian Brabandt
+      Closes: #434807
+    - Add --copy option. Closes: #434798
+    - Expand tilde in argument of long option --pwfile. (Thanks Christian
+      Brabandt) Closes: #434813
+    - Supports autodetecting the IMAP folder separator. Closes: #368112
+    - Several fixes already applied to the Debian package.
+  * Dropped some old patches that I hope are no longer necessary.
+  * Added usage help for --archive-name, a patch I've been carrying in
+    the Debian package for too long unmerged.
+  * Use debhelper v5.
+  * Add Homepage field.
+
+ -- Joey Hess <joeyh at debian.org>  Thu, 15 Nov 2007 19:18:02 -0500
+
+archivemail (0.7.0-3) unstable; urgency=low
+
+  * Apply a patch from Christian Brabandt to fix archiving mails from an imap
+    server when using the --warn-duplicate switch. Closes: #434786
+
+ -- Joey Hess <joeyh at debian.org>  Thu, 26 Jul 2007 15:45:03 -0400
+
+archivemail (0.7.0-2) unstable; urgency=low
+
+  * Apply patch for upstream bug #1670422, python 2.5 does not have
+    message.fp.name and should instead use message.fp._file.name.
+
+ -- Joey Hess <joeyh at debian.org>  Sun, 06 May 2007 16:30:16 -0400
+
+archivemail (0.7.0-1) unstable; urgency=low
+
+  * New upstream release, with many fixes, including these fixes to Debian
+    bugs:
+    - Fixed IMAP --delete which didn't work at all.  (Thanks Anand)
+      Closes: #203282
+    - Terminate each message in newly written mbox with an empty line if the
+      message source is not an mbox-format folder.  (Thanks  Chung-chieh Shan)
+      Closes: #250410
+    - Mangle From_ in message body if the message source is not an mbox-format
+      folder.  (Thanks Chung-chieh Shan)  Closes: #250402
+    - Also merges most of my changes to the Debian package.
+  * Re-enable test suite which works again.
+
+ -- Joey Hess <joeyh at debian.org>  Fri, 10 Nov 2006 17:09:28 -0500
+
+archivemail (0.6.2-5) unstable; urgency=low
+
+  * Switch to using python-support, although there are no library files for it
+    to deal with.
+
+ -- Joey Hess <joeyh at debian.org>  Sun,  1 Oct 2006 12:56:28 -0400
+
+archivemail (0.6.2-4) unstable; urgency=low
+
+  * Man page update from Nikolaus Schulz to document --pwfile and
+    --filter-append and SSL/IMAPS support. Closes: #386907
+  * Patch from Nikolaus Schulz to fix the --pwfile and --filter-append
+    option parsing. Closes: #386908
+  * Patch from Nikolaus Schulz to fix issues in IMAP authentication
+    introduced in 0.6.2. Closes: #386903
+
+ -- Joey Hess <joeyh at debian.org>  Sun, 10 Sep 2006 21:23:09 -0400
+
+archivemail (0.6.2-3) unstable; urgency=low
+
+  * Fix a regression in CRLF conversion for IMAP messages introduced in 0.6.2.
+    Thanks, Nikolaus Schulz. Closes: #386858
+
+ -- Joey Hess <joeyh at debian.org>  Sun, 10 Sep 2006 14:27:56 -0400
+
+archivemail (0.6.2-2) unstable; urgency=HIGH
+
+  * Fix a number of temporary file security holes in archivemail and its
+    test suite. CVE-2006-4245 Closes: #385253
+
+ -- Joey Hess <joeyh at debian.org>  Wed, 30 Aug 2006 00:09:13 -0400
+
+archivemail (0.6.2-1) unstable; urgency=low
+
+  * New upstream release.
+  * SSL support. Closes: #368117
+  * Alternative fix for #297732.
+  * Disabled the test suite, which was not updated to follow changes to
+    --suffix behavior, and which also seems to have race conditions. 
+    For example, some code in it calulates a date N days ago, does some
+    operations with that date, then constructs a file based on a date N
+    days ago -- which can be a different day if run around midnight!
+
+ -- Joey Hess <joeyh at debian.org>  Tue, 25 Jul 2006 23:38:18 -0400
+
+archivemail (0.6.1-7) unstable; urgency=low
+
+  * Patch from Nikolaus Schulz to fix code that is used (in some cases)
+    to generate the From_ header for a mbox. Closes: #367017
+  * Patch from Nikolaus Schulz to fix CRLF conversion from IMAP.
+    Closes: #367033
+
+ -- Joey Hess <joeyh at debian.org>  Wed, 24 May 2006 18:42:09 -0400
+
+archivemail (0.6.1-6) unstable; urgency=low
+
+  * Patch from Falko Trojahn to break up deletion of IMAP mail into multiple
+    commands, to avoid problems with line length on some IMAP server. 
+    Closes: #297732
+
+ -- Joey Hess <joeyh at debian.org>  Fri,  3 Feb 2006 15:10:31 -0500
+
+archivemail (0.6.1-5) unstable; urgency=low
+
+  * Switch watchfile to sf.net redirector.
+
+ -- Joey Hess <joeyh at debian.org>  Sun, 17 Jul 2005 16:50:17 +0300
+
+archivemail (0.6.1-4) unstable; urgency=low
+
+  * Patch from Brian Thomas Sniffen to fix comparisons of rfc822.message
+    objects, which fixes problems with maildirs appearing empty. 
+    Closes: #305902
+
+ -- Joey Hess <joeyh at debian.org>  Thu, 26 May 2005 19:41:31 -0400
+
+archivemail (0.6.1-3) unstable; urgency=low
+
+  * Move deps from build-depends-indep to build-depends, to meet current
+    policy.
+  * Don't assign to None. Closes: #206397
+
+ -- Joey Hess <joeyh at debian.org>  Tue, 30 Sep 2003 15:00:26 -0400
+
+archivemail (0.6.1-2) unstable; urgency=low
+
+  * Use dh_python.
+
+ -- Joey Hess <joeyh at debian.org>  Thu, 21 Nov 2002 00:17:53 -0500
+
+archivemail (0.6.1-1) unstable; urgency=low
+
+  * New upstream release (no changes).
+
+ -- Joey Hess <joeyh at debian.org>  Thu, 31 Oct 2002 13:46:28 -0500
+
+archivemail (0.6.0-4) unstable; urgency=low
+
+  * Turned off failing weird_headers test (patch from upstream). 
+    Closes: #167088
+
+ -- Joey Hess <joeyh at debian.org>  Thu, 31 Oct 2002 13:26:00 -0500
+
+archivemail (0.6.0-3) unstable; urgency=low
+
+  * Don't qualify archivemail in archivemail_all. Closes: #165647
+
+ -- Joey Hess <joeyh at debian.org>  Wed, 30 Oct 2002 11:09:05 -0500
+
+archivemail (0.6.0-2) unstable; urgency=low
+
+  * Updated package description to mention IMAP.
+
+ -- Joey Hess <joeyh at debian.org>  Fri, 11 Oct 2002 15:55:50 -0400
+
+archivemail (0.6.0-1) unstable; urgency=low
+
+  * New upstream release with IMAP support.
+
+ -- Joey Hess <joeyh at debian.org>  Sun,  6 Oct 2002 11:48:41 -0400
+
+archivemail (0.5.1-1) unstable; urgency=low
+
+  * New upstream release fixing tempfile bug. Closes: #152024, #162047
+
+ -- Joey Hess <joeyh at debian.org>  Mon, 23 Sep 2002 20:01:09 -0400
+
+archivemail (0.4.9-1) unstable; urgency=low
+
+  * New upstream release, with more robust directory name support.
+    Closes: #156267
+
+ -- Joey Hess <joeyh at debian.org>  Sun, 18 Aug 2002 12:16:49 -0400
+
+archivemail (0.4.8-1) unstable; urgency=low
+
+  * New upstream release, with better temp file creation. Closes: #146594
+
+ -- Joey Hess <joeyh at debian.org>  Tue, 21 May 2002 21:53:24 -0400
+
+archivemail (0.4.7-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Joey Hess <joeyh at debian.org>  Thu,  9 May 2002 12:30:20 -0400
+
+archivemail (0.4.5-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Joey Hess <joeyh at debian.org>  Wed,  1 May 2002 20:39:05 -0400
+
+archivemail (0.4.3-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Joey Hess <joeyh at debian.org>  Thu, 25 Apr 2002 14:14:30 -0400
+
+archivemail (0.4.0-1) unstable; urgency=low
+
+  * First release.
+
+ -- Joey Hess <joeyh at debian.org>  Wed, 17 Apr 2002 11:45:33 -0400

Added: packages/archivemail/trunk/debian/clean
===================================================================
--- packages/archivemail/trunk/debian/clean	                        (rev 0)
+++ packages/archivemail/trunk/debian/clean	2008-09-07 22:21:19 UTC (rev 1763)
@@ -0,0 +1,3 @@
+archivemail.py
+archivemail.pyc
+manpage.refs

Added: packages/archivemail/trunk/debian/compat
===================================================================
--- packages/archivemail/trunk/debian/compat	                        (rev 0)
+++ packages/archivemail/trunk/debian/compat	2008-09-07 22:21:19 UTC (rev 1763)
@@ -0,0 +1 @@
+7

Added: packages/archivemail/trunk/debian/control
===================================================================
--- packages/archivemail/trunk/debian/control	                        (rev 0)
+++ packages/archivemail/trunk/debian/control	2008-09-07 22:21:19 UTC (rev 1763)
@@ -0,0 +1,18 @@
+Source: archivemail
+Section: mail
+Priority: optional
+Maintainer: Serafeim Zanikolas <serzan at hellug.gr>
+Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 7.0.2), python, python-dev, docbook, docbook-utils, python-support (>= 0.4), dpatch
+Standards-Version: 3.8.0
+Homepage: http://archivemail.sourceforge.net/
+
+Package: archivemail
+Architecture: all
+Depends: ${python:Depends}
+Description: archive and compress or delete your old email
+ Archivemail moves old mail out of a mailbox (in Maildir, MH, or
+ mbox format, or via IMAP) and archives it in a compressed mbox-format
+ mailbox file. It is well suited to be run from cron for automatic
+ archiving of your old mail. Archivemail can also just delete old mail
+ so it is useful for cleaning up mailing list or spam mailboxes.

Added: packages/archivemail/trunk/debian/copyright
===================================================================
--- packages/archivemail/trunk/debian/copyright	                        (rev 0)
+++ packages/archivemail/trunk/debian/copyright	2008-09-07 22:21:19 UTC (rev 1763)
@@ -0,0 +1,26 @@
+This is a Debian prepackaged version of the archivemail utility.
+
+This package was put together by Joey Hess <joeyh at debian.org> and is currently
+maintained by Serafeim Zanikolas <serzan at hellug.gr>, using sources from:
+	http://prdownloads.sourceforge.net/archivemail/
+
+The following copyright applies to this package:
+
+# Copyright (C) 2002  Paul Rodger <paul at paulrodger.com>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+On Debian systems, the complete text of the GPL is in
+/usr/share/common-licenses/GPL.

Added: packages/archivemail/trunk/debian/docs
===================================================================
--- packages/archivemail/trunk/debian/docs	                        (rev 0)
+++ packages/archivemail/trunk/debian/docs	2008-09-07 22:21:19 UTC (rev 1763)
@@ -0,0 +1 @@
+README TODO FAQ

Added: packages/archivemail/trunk/debian/examples
===================================================================
--- packages/archivemail/trunk/debian/examples	                        (rev 0)
+++ packages/archivemail/trunk/debian/examples	2008-09-07 22:21:19 UTC (rev 1763)
@@ -0,0 +1 @@
+examples/*

Added: packages/archivemail/trunk/debian/manpage.refs
===================================================================
--- packages/archivemail/trunk/debian/manpage.refs	                        (rev 0)
+++ packages/archivemail/trunk/debian/manpage.refs	2008-09-07 22:21:19 UTC (rev 1763)
@@ -0,0 +1,4 @@
+{
+  '' => '',
+  '' => ''
+}

Added: packages/archivemail/trunk/debian/patches/00list
===================================================================
--- packages/archivemail/trunk/debian/patches/00list	                        (rev 0)
+++ packages/archivemail/trunk/debian/patches/00list	2008-09-07 22:21:19 UTC (rev 1763)
@@ -0,0 +1,3 @@
+add-archive-name-switch.dpatch
+empty-mailbox-objects-fix.dpatch
+fix-path-in-example.dpatch

Added: packages/archivemail/trunk/debian/patches/add-archive-name-switch.dpatch
===================================================================
--- packages/archivemail/trunk/debian/patches/add-archive-name-switch.dpatch	                        (rev 0)
+++ packages/archivemail/trunk/debian/patches/add-archive-name-switch.dpatch	2008-09-07 22:21:19 UTC (rev 1763)
@@ -0,0 +1,68 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## add-archive-name-switch.dpatch by  <serzan at hellug.gr>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Adds command line switch to specify whole archive name (overrides
+## DP: suffix), and documents it in the manpage.
+--- archivemail-0.7.2.orig/archivemail
++++ archivemail-0.7.2/archivemail
+@@ -172,6 +172,7 @@
+ class Options:
+     """Class to store runtime options, including defaults"""
+     archive_suffix       = "_archive"
++    archive_name         = None
+     days_old_max         = 180
+     date_old_max         = None
+     delete_old_mail      = 0
+@@ -210,6 +211,7 @@
+             opts, args = getopt.getopt(args, '?D:S:Vd:hno:F:P:qs:uv', 
+                              ["date=", "days=", "delete", "dry-run", "help",
+                              "include-flagged", "no-compress", "output-dir=",
++			     "archive-name=",
+                              "filter-append=", "pwfile=", "dont-mangle",
+                              "preserve-unread", "quiet", "size=", "suffix=",
+                              "verbose", "version", "warn-duplicate", "copy"])
+@@ -262,6 +264,8 @@
+                 self.mangle_from = 0
+             if o in ('-v', '--verbose'):
+                 self.verbose = 1
++            if o in ('--archive-name'):
++                self.archive_name = os.path.expanduser(a)
+             if o == '--copy':
+                 if self.delete_old_mail: 
+                     user_error("found conflicting options --copy and --delete")
+@@ -663,6 +667,7 @@
+   -P, --pwfile=FILE     file to read imap password from (default: None)
+   -F, --filter-append=STRING  append arbitrary string to the IMAP filter string
+   -s, --suffix=NAME     suffix for archive filename (default: '%s')
++      --archive-name=NAME  specify whole archive filename, overrides suffix
+   -S, --size=NUM        only archive messages NUM bytes or larger
+   -n, --dry-run         don't write to anything - just show what would be done
+   -u, --preserve-unread never archive unread messages
+@@ -1102,6 +1107,8 @@
+         final_archive_name = mailbox_name.split('/')[-1] + parsed_suffix
+     else:
+         final_archive_name = mailbox_name + parsed_suffix
++    if options.archive_name:
++	final_archive_name = options.archive_name
+     if options.output_dir:
+         final_archive_name = os.path.join(options.output_dir, 
+                 os.path.basename(final_archive_name))
+--- archivemail-0.7.2.orig/archivemail.sgml	2007-11-07 21:22:35.000000000 +0000
++++ archivemail-0.7.2/archivemail.sgml	2008-06-05 23:55:27.000000000 +0100
+@@ -238,6 +238,15 @@
+ 
+ <VarListEntry>
+ <Term>
++    <Option>--archive-name</Option>
++</Term>
++<ListItem><Para>
++Specify whole archive filename, overrides suffix.
++</Para></ListItem>
++</VarListEntry>
++
++<VarListEntry>
++<Term>
+     <Option>-S <Replaceable/NUM/, --size=<Replaceable/NUM/</Option>
+ </Term>
+ <ListItem><Para>Only archive messages that are <Replaceable/NUM/ bytes or


Property changes on: packages/archivemail/trunk/debian/patches/add-archive-name-switch.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/archivemail/trunk/debian/patches/empty-mailbox-objects-fix.dpatch
===================================================================
--- packages/archivemail/trunk/debian/patches/empty-mailbox-objects-fix.dpatch	                        (rev 0)
+++ packages/archivemail/trunk/debian/patches/empty-mailbox-objects-fix.dpatch	2008-09-07 22:21:19 UTC (rev 1763)
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## empty-mailbox-objects-fix.dpatch by  <serzan at hellug.gr>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: In python 2.5, mailbox objects evaluate to false when empty.  Avoid an
+## DP: assertion when this happens. Closes: #476806.
+--- archivemail-0.7.2.orig/archivemail
++++ archivemail-0.7.2/archivemail
+@@ -1271,7 +1278,7 @@
+         original = mailbox.MHMailbox(mailbox_name)
+     else:
+         unexpected_error("unknown type: %s" % type)        
+-    assert(original)
++    #assert(original)
+ 
+     cache = IdentityCache(mailbox_name)
+ 
+


Property changes on: packages/archivemail/trunk/debian/patches/empty-mailbox-objects-fix.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/archivemail/trunk/debian/patches/fix-path-in-example.dpatch
===================================================================
--- packages/archivemail/trunk/debian/patches/fix-path-in-example.dpatch	                        (rev 0)
+++ packages/archivemail/trunk/debian/patches/fix-path-in-example.dpatch	2008-09-07 22:21:19 UTC (rev 1763)
@@ -0,0 +1,16 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix-path-in-example.dpatch by  <serzan at hellug.gr>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Removes absolute path to archivemail in example script.
+--- archivemail-0.7.2.orig/examples/archivemail_all
++++ archivemail-0.7.2/examples/archivemail_all
+@@ -10,7 +10,7 @@
+ #
+ set -e
+ 
+-ARCMAIL="/usr/local/bin/archivemail --quiet --output-dir=$HOME/Mail/Archive/ "
++ARCMAIL="archivemail --quiet --output-dir=$HOME/Mail/Archive/ "
+ 
+ $ARCMAIL --days 14 $HOME/Mail/debian-user \
+                    $HOME/Mail/linux-kernel \


Property changes on: packages/archivemail/trunk/debian/patches/fix-path-in-example.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/archivemail/trunk/debian/rules
===================================================================
--- packages/archivemail/trunk/debian/rules	                        (rev 0)
+++ packages/archivemail/trunk/debian/rules	2008-09-07 22:21:19 UTC (rev 1763)
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpatch/dpatch.make
+
+%:
+	dh $@
+
+clean: unpatch
+	dh clean
+
+build: build-stamp
+build-stamp: patch-stamp
+	dh build
+	ln -sf archivemail archivemail.py
+	./test_archivemail.py
+	docbook2man archivemail.sgml -o debian/
+	touch build-stamp
+
+binary-indep: build
+	dh binary-indep --before dh_auto_install
+	mv archivemail.1 archivemail.1.orig
+	mv debian/archivemail.1 .
+	dh_auto_install -- --install-data=usr/share
+	dh binary-indep --remaining
+	mv archivemail.1.orig archivemail.1
+
+binary: binary-indep binary-arch


Property changes on: packages/archivemail/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/archivemail/trunk/debian/watch
===================================================================
--- packages/archivemail/trunk/debian/watch	                        (rev 0)
+++ packages/archivemail/trunk/debian/watch	2008-09-07 22:21:19 UTC (rev 1763)
@@ -0,0 +1,2 @@
+version=3
+http://qa.debian.org/watch/sf.php/archivemail/archivemail-(.*).tar.gz




More information about the Python-apps-commits mailing list