Subject: pkg/19707: Update package mail/getmail
To: None <gnats-bugs@gnats.netbsd.org>
From: Toru TAKAMIZU <ttaka@earth.email.ne.jp>
List: netbsd-bugs
Date: 01/06/2003 16:23:15
>Number:         19707
>Category:       pkg
>Synopsis:       Update package mail/getmail
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 05 23:24:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Toru TAKAMIZU
>Release:        NetBSD 1.6_STABLE
>Organization:
>Environment:
System: NetBSD localhost 1.6_STABLE NetBSD 1.6_STABLE (MIWA) #20: Mon Dec 16 16:01:23 JST 2002 toru@localhost:/usr/src/sys/arch/i386/compile/MIWA i386
Architecture: i386
Machine: i386
>Description:
The patch below provides the update to the latest version (2.3.10),
which is more compliant with the Maildir standard and faster, with many
bug fixes.

>How-To-Repeat:
>Fix:

diff -uNr getmail/Makefile getmail-mine/Makefile
--- getmail/Makefile	Wed Sep 25 00:50:41 2002
+++ getmail-mine/Makefile	Mon Jan  6 04:43:50 2003
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.8 2002/09/21 23:46:52 jlam Exp $
 #
 
-DISTNAME=	getmail-2.1.3
+DISTNAME=	getmail-2.3.10
 CATEGORIES=	mail
 MASTER_SITES=	http://www.qcc.sk.ca/~charlesc/software/getmail-2.0/
 
@@ -12,7 +12,7 @@
 NO_CONFIGURE=	YES
 NO_BUILD=	YES
 
-PYTHON_PATCH_SCRIPTS=	ConfParser.py getmail.py
+PYTHON_PATCH_SCRIPTS=	ConfParser.py getmail.py getmail_classes.py
 
 post-patch:
 	${SED} "s,/usr/lib,${PREFIX}/libexec," ${WRKSRC}/getmail	\
@@ -23,16 +23,21 @@
 
 do-install:
 	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/getmail
+	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/getmail
 	cd ${WRKSRC} &&							\
 	${INSTALL_DATA} TODO BUGS CHANGELOG getmailrc-example faq.txt	\
 		getmail.txt docs.txt COPYING ${PREFIX}/share/doc/getmail
+	cd ${WRKSRC} &&							\
+	${INSTALL_DATA} docs.html faq.html ${PREFIX}/share/doc/html/getmail
 	${INSTALL_DATA} ${WRKSRC}/getmailrc-example 			\
 		${PREFIX}/share/examples/getmailrc
 	${INSTALL_SCRIPT_DIR} ${PREFIX}/libexec/getmail
 	cd ${WRKSRC} &&							\
 	${INSTALL_SCRIPT} ConfParser.py timeoutsocket.py getmail.py	\
-		${PREFIX}/libexec/getmail
+		getmail_classes.py ${PREFIX}/libexec/getmail
 	${INSTALL_SCRIPT} ${WRKSRC}/getmail ${PREFIX}/bin
+	${INSTALL_MAN_DIR} ${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/getmail.1 ${PREFIX}/man/man1
 
 .include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"
diff -uNr getmail/PLIST getmail-mine/PLIST
--- getmail/PLIST	Thu Nov  1 10:00:10 2001
+++ getmail-mine/PLIST	Mon Jan  6 04:48:01 2003
@@ -2,7 +2,11 @@
 bin/getmail
 libexec/getmail/ConfParser.py
 libexec/getmail/getmail.py
+libexec/getmail/getmail_classes.py
 libexec/getmail/timeoutsocket.py
+man/man1/getmail.1
+share/doc/html/getmail/docs.html
+share/doc/html/getmail/faq.html
 share/doc/getmail/BUGS
 share/doc/getmail/CHANGELOG
 share/doc/getmail/COPYING
@@ -14,3 +18,4 @@
 share/examples/getmailrc
 @dirrm libexec/getmail
 @dirrm share/doc/getmail
+@dirrm share/doc/html/getmail
diff -uNr getmail/distinfo getmail-mine/distinfo
--- getmail/distinfo	Wed Aug 15 11:27:59 2001
+++ getmail-mine/distinfo	Mon Jan  6 04:01:51 2003
@@ -1,4 +1,4 @@
 $NetBSD: distinfo,v 1.5 2001/08/07 14:42:27 zuntum Exp $
 
-SHA1 (getmail-2.1.3.tar.gz) = 9cc98662d819bb15c1035e659e9e1f3d5a3d8932
-Size (getmail-2.1.3.tar.gz) = 39447 bytes
+SHA1 (getmail-2.3.10.tar.gz) = 497e1fca544c19c10d81d3e344df11f28b2e175d
+Size (getmail-2.3.10.tar.gz) = 74907 bytes
>Release-Note:
>Audit-Trail:
>Unformatted: