Subject: pkg/22007: Update mail/getmail
To: None <gnats-bugs@gnats.netbsd.org>
From: Toru TAKAMIZU <ttaka@earth.email.ne.jp>
List: netbsd-bugs
Date: 06/29/2003 18:30:07
>Number: 22007
>Category: pkg
>Synopsis: Update mail/getmail
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Jun 29 09:31:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Toru TAKAMIZU
>Release: NetBSD 1.6.1_STABLE
>Organization:
>Environment:
System: NetBSD localhost 1.6.1_STABLE NetBSD 1.6.1_STABLE (MIWA) #30: Wed Jun 25 21:41:35 JST 2003 toru@localhost:/usr/src/sys/arch/i386/compile/MIWA i386
Architecture: i386
Machine: i386
>Description:
The attached patch provides the update to the latest (3.1.7) release.
The patch also makes 1) Makefile less verbose and 2) stop
using ${INSTALL_MAN_DIR} and use ${MKDIR} instead, because
the former sets the wrong permission.
Other than the tweaks above, the patch is quite simple: only the
version in "Makefile" is changed.
Below is from CHANGELOG
Version 3.1.7
29 May 2003
-getmail_mbox.py was missing an import for the string module. Thanks to Emily
Jackson for the report. This was introduced in 3.1.6.
Version 3.1.6
28 May 2003
-Argh; my change to getmail_mbox was incomplete -- not only would getmail
not put duplicate From_ lines in, it would escape the single one that it
did. This fixes it, so don't bother filing a bug report about this one.
Version 3.1.5
28 May 2003
-Fredrik Steen reported that getmail was adding a duplicate From_ line
when using getmail_mbox to deliver to mbox files. Fixed.
-Added -q and --quiet flags to getmail_mbox to suppress warning message.
Version 3.1.4
27 May 2003
-removed the experimental message_filter code; it was unworkable. If you
want to filter messages, use a filtering MDA. getmail works fine with
maildrop, procmail, and other MDAs. Thanks to Dan Hensley for experimenting
with the message_filter functionality.
Version 3.1.3
23 April 2003
-message logging inconsistently used local time; changed to GMT for
consistency. Thanks to Markus Vetter for the report.
Version 3.1.2
3 April 2003
-address_no_brackets couldn't handle empty strings. Fixed; thanks to
Fredrik Steen for the report.
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /pub/NetBSD-CVS/pkgsrc/mail/getmail/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile 2003/03/22 03:39:48 1.9
+++ Makefile 2003/06/29 09:07:24
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.9 2003/03/22 03:39:48 wiz Exp $
#
-DISTNAME= getmail-3.1.1
+DISTNAME= getmail-3.1.7
CATEGORIES= mail
MASTER_SITES= http://www.qcc.ca/~charlesc/software/getmail-3.0/ \
http://www.qcc.ca/~charlesc/software/getmail-3.0/old-versions/
@@ -24,16 +24,16 @@
OWN_DIRS+= ${PREFIX}/libexec/getmail
post-patch:
- ${SED} "s,/usr/lib,${PREFIX}/libexec," ${WRKSRC}/getmail \
+ @${SED} "s,/usr/lib,${PREFIX}/libexec," ${WRKSRC}/getmail \
> ${WRKSRC}/getmail.done1
- ${SED} "s,\`which python\`,${PYTHONBIN}," <${WRKSRC}/getmail.done1 \
+ @${SED} "s,\`which python\`,${PYTHONBIN}," <${WRKSRC}/getmail.done1 \
> ${WRKSRC}/getmail.done2
- ${MV} ${WRKSRC}/getmail.done2 ${WRKSRC}/getmail
- ${MV} ${WRKSRC}/getmail_maildir ${WRKSRC}/getmail_maildir.tmp
- ${SED} "s,/usr/lib,${PREFIX}/libexec," ${WRKSRC}/getmail_maildir.tmp \
+ @${MV} ${WRKSRC}/getmail.done2 ${WRKSRC}/getmail
+ @${MV} ${WRKSRC}/getmail_maildir ${WRKSRC}/getmail_maildir.tmp
+ @${SED} "s,/usr/lib,${PREFIX}/libexec," ${WRKSRC}/getmail_maildir.tmp \
> ${WRKSRC}/getmail_maildir
- ${MV} ${WRKSRC}/getmail_mbox ${WRKSRC}/getmail_mbox.tmp
- ${SED} "s,/usr/lib,${PREFIX}/libexec," ${WRKSRC}/getmail_mbox.tmp \
+ @${MV} ${WRKSRC}/getmail_mbox ${WRKSRC}/getmail_mbox.tmp
+ @${SED} "s,/usr/lib,${PREFIX}/libexec," ${WRKSRC}/getmail_mbox.tmp \
> ${WRKSRC}/getmail_mbox
do-install:
@@ -45,7 +45,7 @@
getmail_maildir getmail_mbox getmail_mbox.py \
${PREFIX}/libexec/getmail
${INSTALL_SCRIPT} ${WRKSRC}/getmail ${PREFIX}/bin
- ${INSTALL_MAN_DIR} ${PREFIX}/man/man1
+ ${MKDIR} ${PREFIX}/man/man1 || ${TRUE}
${INSTALL_MAN} ${WRKSRC}/getmail.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/getmail
cd ${WRKSRC} && \
Index: distinfo
===================================================================
RCS file: /pub/NetBSD-CVS/pkgsrc/mail/getmail/distinfo,v
retrieving revision 1.6
diff -u -r1.6 distinfo
--- distinfo 2003/03/22 03:39:48 1.6
+++ distinfo 2003/06/29 09:07:24
@@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.6 2003/03/22 03:39:48 wiz Exp $
-SHA1 (getmail-3.1.1.tar.gz) = a4c3290b90d8b530850671a903647511e56b7448
-Size (getmail-3.1.1.tar.gz) = 64046 bytes
+SHA1 (getmail-3.1.7.tar.gz) = 8b4adc2c8edd4e29c53f0197f94165a260cd644c
+Size (getmail-3.1.7.tar.gz) = 64569 bytes
>Release-Note:
>Audit-Trail:
>Unformatted: