ports/139164: update port: mail/rss2email to version 2.65
Timothy Beyer
beyert at cs.ucr.edu
Sat Sep 26 23:40:02 UTC 2009
>Number: 139164
>Category: ports
>Synopsis: update port: mail/rss2email to version 2.65
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Sep 26 23:40:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Timothy Beyer
>Release: FreeBSD 7.2-RELEASE i386
>Organization:
no organization
>Environment:
System: FreeBSD aeonserv.aeonnet 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Thu Sep 24 02:00:22 PDT 2009 root at aeonserv.aeonnet:/usr/src/sys/i386/compile/CUSTOM i386
>Description:
These patches make the following changes:
-Updates rss2email to the latest version (this upgrade is important, as older versions such as 2.61 give annoying warnings when run in python 2.6, whereas the author fixed this problem in recent versions)
-Makes according changes to distinfo
-adds patch for files/ path, (files/patch-rss2email.py) needed for current version
>How-To-Repeat:
I need to upload the tarball "rss2email-2.65.tar.bz2" to "http://bsd.cenkes.org/myports/" (a custom tarball was used in past versions, presumably because rss2email.py is not versioned. Therefore, I have continued this). If anyone can me in contact with someone running a FreeBSD distfile mirror such as cenkes, I would appreciate it.
-Apply the patches
-I will upload the custom tarball "rss2email-2.65.tar.bz2" as appropriate
>Fix:
The included patches
--- Makefile.diff begins here ---
--- Makefile.orig 2009-02-17 03:38:15.000000000 -0800
+++ Makefile 2009-08-28 20:28:51.000000000 -0700
@@ -6,7 +6,7 @@
#
PORTNAME= rss2email
-PORTVERSION= 2.61
+PORTVERSION= 2.65
CATEGORIES= mail python
MASTER_SITES= CENKES
# http://rss2email.infogami.com/rss2email.py
--- Makefile.diff ends here ---
--- distinfo.diff begins here ---
--- distinfo.orig 2007-12-13 00:47:16.000000000 -0800
+++ distinfo 2009-08-28 20:32:40.000000000 -0700
@@ -1,3 +1,3 @@
-MD5 (rss2email-2.61.tar.bz2) = 9abe3b85ff59188209b60cc754e25b98
-SHA256 (rss2email-2.61.tar.bz2) = 3ec9c4b338f0b739b525bfa0b55a5148d6adccef51ae89999f6bebdf8fb2c1a1
-SIZE (rss2email-2.61.tar.bz2) = 10802
+MD5 (rss2email-2.65.tar.bz2) = 1212e0f6d6d39901157624edbe7f7000
+SHA256 (rss2email-2.65.tar.bz2) = c5bc4bf87c88bafecea8a8b6abadb09830a2de8ec27a71f9cd40689815775b74
+SIZE (rss2email-2.65.tar.bz2) = 10859
--- distinfo.diff ends here ---
--- files/patch-rss2email.py begins here ---
--- rss2email.py.orig 2009-01-05 11:15:15.000000000 -0800
+++ rss2email.py 2009-08-28 17:12:10.000000000 -0700
@@ -254,8 +254,7 @@
try:
import fcntl
# A pox on SunOS file locking methods
- if (sys.platform.find('sunos') == -1):
- unix = 1
+ unix = 1
except:
pass
@@ -270,6 +269,7 @@
import feedparser
feedparser.USER_AGENT = "rss2email/"+__version__+ " +http://www.aaronsw.com/2002/rss2email/"
+sys.path.append("@LOCALBASE@/share/html2text")
import html2text as h2t
h2t.UNICODE_SNOB = UNICODE_SNOB
--- files/patch-rss2email.py ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list