diff options
author | Sergei Kolobov <sergei@FreeBSD.org> | 2004-04-11 21:53:02 +0000 |
---|---|---|
committer | Sergei Kolobov <sergei@FreeBSD.org> | 2004-04-11 21:53:02 +0000 |
commit | d06d1b91f735f3af32195430efe9dac2fe6d3d91 (patch) | |
tree | 566efadbb9755fca276e8c56fcc72c883cfcba5a /mail/archivemail | |
parent | Add horde-passwd 2.2.1, a password changing module for Horde. (diff) |
- This fixes the following warning when you run archivemail with Python 2.3:
/usr/local/bin/archivemail:760: SyntaxWarning: assignment to None
(None, last_dir) = os.path.split(os.path.dirname(message.fp.name))
The patch was also submitted to upstream (using SF's bug tracking system).
PR: ports/64354
Submitted by: Simon Barner <barner@in.tum.de>
- Use DOCSDIR/EXAMPLESDIR macros in pkg-plist
- Bump PORTREVISION
Notes
Notes:
svn path=/head/; revision=106741
Diffstat (limited to 'mail/archivemail')
-rw-r--r-- | mail/archivemail/Makefile | 2 | ||||
-rw-r--r-- | mail/archivemail/files/patch-archivemail | 11 | ||||
-rw-r--r-- | mail/archivemail/pkg-plist | 17 |
3 files changed, 21 insertions, 9 deletions
diff --git a/mail/archivemail/Makefile b/mail/archivemail/Makefile index bf729b0848ca..5b4929d7e463 100644 --- a/mail/archivemail/Makefile +++ b/mail/archivemail/Makefile @@ -7,7 +7,7 @@ PORTNAME= archivemail PORTVERSION= 0.6.1 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/mail/archivemail/files/patch-archivemail b/mail/archivemail/files/patch-archivemail new file mode 100644 index 000000000000..95a3c1a1daac --- /dev/null +++ b/mail/archivemail/files/patch-archivemail @@ -0,0 +1,11 @@ +--- archivemail.orig Wed Mar 17 01:31:23 2004 ++++ archivemail Wed Mar 17 01:46:48 2004 +@@ -757,7 +757,7 @@ + + # files in the maildir 'cur' directory are no longer new, + # they are the same as messages with 'Status: O' headers in mbox +- (None, last_dir) = os.path.split(os.path.dirname(message.fp.name)) ++ (foo, last_dir) = os.path.split(os.path.dirname(message.fp.name)) + if last_dir == "cur": + status = status + "O" + diff --git a/mail/archivemail/pkg-plist b/mail/archivemail/pkg-plist index 185972d7dfce..82cb9eece6a1 100644 --- a/mail/archivemail/pkg-plist +++ b/mail/archivemail/pkg-plist @@ -1,9 +1,10 @@ +@comment $FreeBSD$ bin/archivemail -%%PORTDOCS%%share/doc/archivemail/CHANGELOG -%%PORTDOCS%%share/doc/archivemail/FAQ -%%PORTDOCS%%share/doc/archivemail/README -%%PORTDOCS%%share/doc/archivemail/TODO -%%PORTDOCS%%@dirrm share/doc/archivemail -share/examples/archivemail/archivemail_all -share/examples/archivemail/test_archivemail.py -@dirrm share/examples/archivemail +%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG +%%PORTDOCS%%%%DOCSDIR%%/FAQ +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%EXAMPLESDIR%%/archivemail_all +%%EXAMPLESDIR%%/test_archivemail.py +@dirrm %%EXAMPLESDIR%% |