Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 2010 21:40:02 +0200 (CEST)
From:      Frederic Culot <frederic@culot.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/149946: Update port: mail/archivemail
Message-ID:  <201008241940.o7OJe2ap066662@0xd0.org>
Resent-Message-ID: <201008241950.o7OJo2Zj052374@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         149946
>Category:       ports
>Synopsis:       Update port: mail/archivemail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 24 19:50:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Frederic Culot
>Release:        FreeBSD 8.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD 0xd0.org 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Update to 0.8.0:
- USE_PYTHON variable updated to explicitely require at least python v2.3
- NEWS file added to DOCS variable (appeared with archivemail version 0.8.0)
- EXAMPLES updated (py extension removed by vendor from script name)
- NOPORTEXAMPLES test introduced to conditionally install example scripts
- files/patch-archivemail not needed anymore
- pkg-plist updated

Changes: http://archivemail.git.sourceforge.net/git/gitweb.cgi?p=archivemail/archivemail;a=blob;f=CHANGELOG;hb=HEAD
>How-To-Repeat:
>Fix:
diff -ruN archivemail.bak/Makefile archivemail/Makefile
--- archivemail.bak/Makefile	2010-08-24 20:59:31.283463904 +0200
+++ archivemail/Makefile	2010-08-24 21:23:14.167701147 +0200
@@ -6,24 +6,25 @@
 #
 
 PORTNAME=	archivemail
-PORTVERSION=	0.7.2
-PORTREVISION=	1
+PORTVERSION=	0.8.0
 CATEGORIES=	mail
 MASTER_SITES=	SF
 
 MAINTAINER=	miwi@FreeBSD.org
 COMMENT=	Archive or delete mail older than N days
 
-USE_PYTHON=	yes
+USE_PYTHON=	2.3+
 NO_BUILD=	yes
 
-DOCS=		CHANGELOG FAQ README TODO archivemail.sgml
-EXAMPLES=	test_archivemail.py examples/archivemail_all
+DOCS=		CHANGELOG FAQ NEWS README TODO archivemail.sgml
+EXAMPLES=	test_archivemail examples/archivemail_all
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/archivemail ${PREFIX}/bin/archivemail
+.if !defined(NOPORTEXAMPLES)
 	@${MKDIR} ${EXAMPLESDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
+	cd ${WRKSRC} && ${INSTALL_SCRIPT} ${EXAMPLES} ${EXAMPLESDIR}
+.endif
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
diff -ruN archivemail.bak/distinfo archivemail/distinfo
--- archivemail.bak/distinfo	2010-08-24 20:59:31.283463904 +0200
+++ archivemail/distinfo	2010-08-24 21:00:10.180396894 +0200
@@ -1,3 +1,3 @@
-MD5 (archivemail-0.7.2.tar.gz) = e444424688e6ec063e829176e4eb62e2
-SHA256 (archivemail-0.7.2.tar.gz) = 0bd8072dc4f1f470fbd9797d599357bac24b5218031eaee29d2497f932e1b894
-SIZE (archivemail-0.7.2.tar.gz) = 46070
+MD5 (archivemail-0.8.0.tar.gz) = 9708680537d1e6802d4e0960b68cd09b
+SHA256 (archivemail-0.8.0.tar.gz) = d43ebf065445e514dac8bea232b8d274721fe4a5f1971cd3597a4ba400e4b117
+SIZE (archivemail-0.8.0.tar.gz) = 56638
diff -ruN archivemail.bak/files/patch-archivemail archivemail/files/patch-archivemail
--- archivemail.bak/files/patch-archivemail	2010-08-24 20:59:31.282449529 +0200
+++ archivemail/files/patch-archivemail	1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
---- archivemail.orgi	2009-01-31 21:50:02.000000000 +0100
-+++ archivemail	2009-01-31 21:50:22.000000000 +0100
-@@ -1271,7 +1271,7 @@
-         original = mailbox.MHMailbox(mailbox_name)
-     else:
-         unexpected_error("unknown type: %s" % type)        
--    assert(original)
-+
- 
-     cache = IdentityCache(mailbox_name)
- 
diff -ruN archivemail.bak/pkg-plist archivemail/pkg-plist
--- archivemail.bak/pkg-plist	2010-08-24 20:59:31.282449529 +0200
+++ archivemail/pkg-plist	2010-08-24 21:15:16.644374020 +0200
@@ -2,10 +2,11 @@
 bin/archivemail
 %%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
 %%PORTDOCS%%%%DOCSDIR%%/FAQ
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/TODO
 %%PORTDOCS%%%%DOCSDIR%%/archivemail.sgml
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%EXAMPLESDIR%%/archivemail_all
-%%EXAMPLESDIR%%/test_archivemail.py
-@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/archivemail_all
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_archivemail
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008241940.o7OJe2ap066662>