From 022ebb7bf48e49dfbc01d2ae46f25fce5636d9e3 Mon Sep 17 00:00:00 2001 From: schmonz Date: Tue, 7 Apr 2009 04:41:18 +0000 Subject: Update to 2.65. From the changelog: * Fixed warnings caused by Python v2.6 (using hashlib, removing mimify, etc.) * Deprecated QP_REQUIRED option as this is more than likely no longer needed and part of what triggered Python warnings * Fixed unicode errors in certain post headers * Attempted to incorporate Debian/Ubuntu patches into the mainstream release * Support img type enclosures * No file locking for SunOS * Gracefully handle missing charsets * Friendlier and more useful message if sendmail isn't installed --- mail/rss2email/patches/patch-ad | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'mail/rss2email/patches') diff --git a/mail/rss2email/patches/patch-ad b/mail/rss2email/patches/patch-ad index ffd1838469c..1b969c4206c 100644 --- a/mail/rss2email/patches/patch-ad +++ b/mail/rss2email/patches/patch-ad @@ -1,20 +1,8 @@ -$NetBSD: patch-ad,v 1.5 2008/02/19 10:33:05 schmonz Exp $ +$NetBSD: patch-ad,v 1.6 2009/04/07 04:41:19 schmonz Exp $ ---- rss2email.py.orig 2008-02-13 16:47:25.000000000 -0500 +--- rss2email.py.orig 2009-04-05 13:43:25.000000000 -0400 +++ rss2email.py -@@ -188,6 +188,11 @@ def send(sender, recipient, subject, bod - i, o = os.popen2(["/usr/sbin/sendmail", recipient]) - i.write(msg_as_string) - i.close(); o.close() -+ pid, status = os.wait() -+ if status != 0: -+ print >>warn, "" -+ print >>warn, ('Fatal error: sendmail exited with code %s' % status) -+ sys.exit(1) - del i, o - return None - -@@ -230,6 +235,7 @@ import mimify; from StringIO import Stri +@@ -270,6 +270,7 @@ for e in ['error', 'gaierror']: import feedparser feedparser.USER_AGENT = "rss2email/"+__version__+ " +http://www.aaronsw.com/2002/rss2email/" -- cgit v1.2.3