Commit graph

48 commits

Author SHA1 Message Date
maya
f34a8c24a3 PKGREVISION bump for anything using python without a PYPKGPREFIX.
This is a semi-manual PKGREVISION bump.
2019-04-25 07:32:34 +00:00
leot
1a93dec838 Add a patch to properly honor html2text options via rss2email's configuration
file.

While here also simplify MASTER_SITES (convert it to MASTER_SITE_GITHUB)
and delete DIST_SUBDIR and WRKSRC that are no longer needed with
that change.

Bump PKGREVISION

Discussed with <schmonz>
2017-05-22 17:51:12 +00:00
agc
ddbf6ddecd Add SHA512 digests for distfiles for mail category
Problems found locating distfiles:
	Package mutt: missing distfile patch-1.5.24.rr.compressed.gz
	Package p5-Email-Valid: missing distfile Email-Valid-1.198.tar.gz
	Package pine: missing distfile fancy.patch.gz
	Package postgrey: missing distfile targrey-0.31-postgrey-1.34.patch
	Package qmail: missing distfile badrcptto.patch
	Package qmail: missing distfile outgoingip.patch
	Package qmail: missing distfile qmail-1.03-realrcptto-2006.12.10.patch
	Package qmail: missing distfile qmail-smtpd-viruscan-1.3.patch
	Package thunderbird24: missing distfile enigmail-1.7.2.tar.gz
	Package thunderbird31: missing distfile enigmail-1.7.2.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 23:27:00 +00:00
rodent
a7b568d574 Removing python26. EOL'd quite some ago and discussed a couple times on
tech-pkg@ and pkgsrc-users@.
2015-04-13 23:12:40 +00:00
schmonz
80ca6d91f3 Remove 34 from PYTHON_VERSIONS_INCOMPATIBLE, as suggested by Jean-Yves
Moulin (and agreed by the README).
2014-09-03 13:25:36 +00:00
schmonz
39c1d3c205 Update to 3.9. From the changelog:
* Catch and error out if a user adds a feed with a duplicate name.
* Split sender into both sendmail's -F and -f.
* Fix an error with SMTPConnectionError inhertence order ("does not
  take keyword arguments").
* Add a new `smtp-ssl-protocol` setting, to select acceptable
  protocols for SMTP connections.
* Fix non-compliant User-Agent header for HTTP/1.1.
* Fix an error in the NoToEmailAddress invocation.
* Add a new `trust-link` setting, to prefer the `link` attribute
  over the `id` attribute for identifying entries.
2014-09-02 00:33:45 +00:00
wiz
3faf991a33 Bump applications PKGREVISIONs for python users that might be using
python3, since the default changed from python33 to python34.

I probably bumped too many. I hope I got them all.
2014-05-17 16:10:41 +00:00
schmonz
72b0557486 Depend on latest py-html2text to make patching unnecessary. Bump PKGREVISION. 2014-04-20 01:45:18 +00:00
wiz
aa67e11089 Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE=  33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.

Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.

Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.

Whitespace cleanups and other nits corrected, where necessary.
2014-01-25 10:29:56 +00:00
schmonz
f96844673b Update to 3.8. From the changelog:
* Sluggify feed names on opmlimport.
* Allow Unicode letters and digits in feed names, instead of just
  ASCII lettters and digits.
2014-01-19 19:54:47 +00:00
schmonz
ade3eb3331 Update to 3.7. From the changelog:
* Fix fallback for titles that contain malformed HTML.
* Fix atomic saves to avoid garbling config and data files if the disk is full.
* Convert the `friendly-name` boolean to the new `name-format`
  setting. This allow users to customize how the friendly name is
  constructed.
* Demote guessed encodings logs from 'error' to 'warning'.
2013-10-11 17:16:44 +00:00
schmonz
b353d9c618 Update to 3.6. From the changelog:
* Fix missing port argument for IMAPAuthenticationError.
* Fix `<div id="entry>` syntax error in HTML mail.
2013-09-10 21:36:32 +00:00
schmonz
ae937b7ddf Provide slightly more correct upgrade instructions. 2013-07-25 16:32:20 +00:00
schmonz
a2f74bdd50 Update to 3.5 (new upstream). From the changelog:
v3.5 (2013-06-05)

* Added digest generation and post-processing hooks.
* Fix html2text configuration (ignored since 2012-10-04).
* Fix opmlexport crash due to orphaned feed data.
* Use feed names in OPML 'text' attributes.

v3.4 (2013-05-14)

* Added post-processing hooks for user-specified message manipulation.
* Added settings for IMAP delivery. The old `use-smtp` boolean has
  been replaced by a new `email-protocol` setting. Non-IMAP users
  should adjust their configuration to set `email-protocol` to
  either `sendmail` or `smtp`.

v3.3 (2013-04-13)

* Fix SMTP message submission logic.
* Fix error inheritence (super() calls).
* Convert html2text parsing errors to `ProcessingError`s.
* Cleanup html2text error handling.
* Drop Google Reader rel-via manipulation.
* Drop the wrapping <table> elements from HTML mail

v3.2 (2013-03-13)

* Use extended interpolation in configuration files, to allow percent signs (%).
* Added .as_string() fallback to email flattening (only used if
  `use-smtp = False` and `use-8bit = True`).
* Added sendmail configuration option. Change this if you want to
  use an alternative, sendmail-compatible mailer.

v3.1 (2013-02-14)

* Import __url__, __author__, and __email__ in rss2email.error,
  which fixes bugs in formatting a number of errors.

v3.0 (2013-02-13)

* Changed project email (rss2email@tremily.us) and homepage
  (http://github.com/wking/rss2email).
* Split static configuration parameters into a ConfigParser-read
  config file (rss2email.cfg). Data that depends on the feed state
  is recorded using JSON (rss2email.json).
* Use the XDG Base Directory Specification for standardized
  configuration and data file locations.
* Converted the command line interface to argparse, with some
  restructuring along the way.
* Added the r2e.1 man page (based on one from the Debian package).
* Added setup.py and a PyPI page for simpler installation
  (http://pypi.python.org/pypi/rss2email).
* Added Message-ID headers to outgoing email.
* Added a test suite.
* Upgraded to Python 3.2 to take advantage of cleaner Unicode
  handling and argparse.
* Require Signed-off-by lines in new commit messages, following the
  Linux and Git projects.
2013-07-02 01:13:30 +00:00
schmonz
3206d9983a Document how to prep for upgrade to 3.x, and bump PKGREVISION. 2013-06-07 02:13:39 +00:00
asau
d70c8e374b Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. 2012-10-08 12:19:01 +00:00
wiz
3a0eae089e Remove duplicate part of man page. Bump PKGREVISION. 2012-04-04 14:27:41 +00:00
obache
2cd654bab6 Bump PKGREVISION from default python to 2.7. 2012-03-15 11:53:20 +00:00
schmonz
1f147ed266 Update to 2.71. From the changelog:
* Potentially safer method for writing feeds.dat on UNIX
* Handle via links with no title attribute
* Handle attributes more cleanly with OVERRIDE_EMAIL and DEFAULT_EMAIL
2011-06-09 06:21:58 +00:00
schmonz
a40118d4a6 Fix not-really-a-parse-error when OVERRIDE_EMAIL and DEFAULT_EMAIL
aren't set to anything fancy. Bump PKGREVISION.
2011-02-12 14:11:42 +00:00
schmonz
74d0b1fa17 Update to 2.70. From the changelog:
2.70 (2010-12-21)
* Improved handling of given feed email addresses to prevent mail
    servers rejecting poorly formed Froms
* Added X-RSS-TAGS header that lists any tags provided by an entry,
    which will be helpful in filtering incoming messages

2.69 (2010-11-12)
* Added support for connecting to SMTP server via SSL, see SMTP_SSL option
* Improved backwards compatibility by fixing issue with listing
    feeds when run with older Python versions
* Added selective feed email overrides through OVERRIDE_EMAIL and
    DEFAULT_EMAIL options
* Added NO_FRIENDLY_NAME to from from address only without the friendly name
* Added X-RSS-URL header in each message with the link to the original item

2.68 (2010-10-01)
* Added ability to pause/resume checking of individual feeds through
    pause and unpause commands
* Added ability to import and export OPML feed lists through
    importopml and exportopml commands

2.67 (2010-09-21)
* Fixed entries that include an id which is blank (i.e., an empty
    string) were being resent
* Fixed some entries not being sent by email because they had bad From headers
* Fixed From headers with HTML entities encoded twice
* Compatibility changes to support most recent development versions
    of feedparser
* Compatibility changes to support Google Reader feeds

2.66 (2009-12-21)
* Complete packaging of all necessary source files (rss2email,
    html2text, feedparser, r2e, etc.) into one bundle
* Included a more complete config.py with all options
* Default to HTML mail and CSS results
* Added 'reset' command to erase history of already seen entries
* Changed project email and homepage
* Made exception and error output text more useful
* Added X-RSS-Feed and X-RSS-ID headers to each email for easier filtering
* Improved enclosure handling
* Fixed MacOS compatibility issues
2011-01-28 01:41:52 +00:00
joerg
3a06eb96bf Bump revision for PYTHON_VERSION_DEFAULT change. 2010-02-10 19:17:31 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
schmonz
022ebb7bf4 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
2009-04-07 04:41:18 +00:00
joerg
3c645bb7fc Switch to Python 2.5 as default. Bump revision of all packages that have
changed runtime dependencies now.
2009-02-09 22:56:21 +00:00
schmonz
712eee3e1e Update to 2.63. From the changelog:
* Licensed under GPL 2 & 3 now
* Display feed number in warning and error message lines
* Fix for unicode handling problem with certain entry titles
2008-07-18 20:28:34 +00:00
joerg
a77e7015fe Update PYTHON_VERSIONS_COMPATIBLE
- assume that Python 2.4 and 2.5 are compatible and allow checking for
fallout.
- remove PYTHON_VERSIONS_COMPATIBLE that are obsoleted by the 2.3+
default. Modify the others to deal with the removals.
2008-04-25 20:39:06 +00:00
jlam
a80fd13efc Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-04 17:57:17 +00:00
rillig
9256929c63 Fixed pkglint warnings. 2008-02-28 12:12:20 +00:00
schmonz
cd365015bd Update to 2.62. From the changelog:
* Local feeds (/home/user/file.xml) should work
* Now really compatible with SunOS
* Don't wrap long subject headers
* New parameter CHARSET_LIST to override or supplement the order
    in which charsets are tried against an entry
* Don't use blank content to generate id
* Using GMail as mail server should work
2008-02-19 10:33:05 +00:00
schmonz
2bf93faf1c Update to 2.60. From the changelog:
* Now compatible with SunOS
* Correctly handle international character sets in email From

Plus changes from Debian:

* Document more options in config.py
* Flesh out manual page
* Check exit status of sendmail, and die if it fails
* Use fcntl even on non-Sunos-Unix
2007-01-19 00:57:03 +00:00
schmonz
cec9d16c0c Instead of creating files from patches, place them readably in
${FILESDIR} for easier tracking of external changes (e.g., Debian,
whence they came). No functional change.
2007-01-18 23:08:24 +00:00
rillig
2829e658f2 Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.
2007-01-07 09:13:46 +00:00
schmonz
c9904bebf8 Update to 2.59. From the changelog:
- Total rewrite of email code that should fix encoding problems

- Added configurable timeout for nonresponsive feeds

- Fixed incorrectly using text summary_detail instead of html content

- Fixed bug with deleting feed 0 if no default email was set

- Print name of feed that is being deleted

- Finally added oft-requested support for enclosures. Any enclosures,
    such as a podcast MP3, will be listed under the entry URL

- Made feed timeout compatible with Python versions 2.2 and higher,
    instead of v2.4 only

- Added optional, configurable CSS styling to HTML mail. Set
    USE_CSS_STYLING=1 in your config.py to enable this. If you want
    to tweak the look, modify STYLE_SHEET.

- Improved empty feed checking

- Improved invalid feed messages

- Unfortunately, rss2email is no longer compatible with Python v2.1.
    Two of the most serious lingering issues with rss2email were
    waiting forever for non-responsive feeds and its inablility to
    properly handle feeds with international characters. To properly
    fix these once and for all, rss2email now depends on functionality
    that was not available until Python v2.2. Hopefully this does
    not unduly inconvenience anyone that has not yet upgraded to a
    more current version of Python.
2006-07-01 19:32:40 +00:00
schmonz
8746ca937d Update to 2.57. From the changelog:
* Merge various patches for reliability
* Clean up error messages and typos
* Only log into SMTP server once
* SMTP AUTH
* Windows support
* HTML in titles
2006-04-09 17:01:55 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
schmonz
a446183f71 Depend on py-html2text rather than downloading our own copy. Bump
PKGREVISION.
2005-12-03 00:49:36 +00:00
schmonz
1d290df283 The r2e shell script now has a versioned filename. No user-visible change. 2005-08-06 20:25:54 +00:00
schmonz
0504617212 Update to rss2email 2.55 (fixed datetime parsing). While here,
update to html2text 2.23 (fix for Python 2.1).
2005-08-03 17:19:26 +00:00
jlam
81edaaa606 Create directories before installing files into them. 2005-06-16 06:57:37 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
8758983939 Add RMD160 digests. 2005-02-24 09:59:20 +00:00
schmonz
436c14a14a Update to 2.54 (and html2text-2.21). Bug fixes. 2004-08-28 07:50:24 +00:00
schmonz
2e549301c8 Update to 2.53 (and to html2text 2.2).
Changes in 2.52:

Fixes include better error handling and support for HTML descriptions,
Unicode headers, and Python 2.1. The most notable new feature is
that textwrapping is back. To turn it on:

echo "BODY_WIDTH = 78" >> config.py

Other new options include BONUS_HEADER (for mailing lists) and
OVERRIDE_FROM. (Check the top of rss2email.py for details on usage.)

Thanks to Peter Vangorp, Lars Wizenius, Martin "Joey" Schulze,
Ricardo Reyes, and everyone else who contributed a suggestion or
bug report.

Changes in 2.53:

Fix a mistake left in 2.52 by accident.
2004-08-27 04:46:29 +00:00
schmonz
5f691e20da Update to 2.511. From the changelog:
* Typo bug with emails.
2004-07-07 18:38:12 +00:00
schmonz
43cbae3a52 "r2e" distfile changed. Update checksum and patch, riding the recent update. 2004-06-30 20:34:19 +00:00
schmonz
c99fb73652 Update to 2.51. From the changelog for 2.5:
* An HTML mail option.
* SMTP support.
* html2text 2.0.
* A gaggle of bug fixes.
* A gaggle of small improvements.

And for 2.51:

* Fixes a crash in older versions of Python on slow feeds.

pkgsrc changes:

* Set the versions of rss2email.py and html2text.py in one place.
2004-06-30 20:19:35 +00:00
schmonz
82f39c2142 Import rss2email 2.32.
rss2email is a simple Python script that lets you subscribe to a
list of XML newsfeeds and get new items sent to you by email.

The man page and sample config file are from the Debian package.
2004-06-27 23:00:34 +00:00