Commit graph

64 commits

Author SHA1 Message Date
wiz
bb579283d0 *: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
2022-01-04 20:53:26 +00:00
nia
f413f7fded mail: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles were unfetchable (possibly fetched
conditionally?):

./mail/qmail/distinfo netqmail-1.05-TAI-leapsecs.patch
2021-10-26 10:53:53 +00:00
nia
be020196fe mail: Remove SHA1 hashes for distfiles 2021-10-07 14:25:11 +00:00
schmonz
5638e515f0 Update to 3.13.1. From the changelog:
* Fix crash on html-mail entries with no URL
2021-05-16 05:53:19 +00:00
schmonz
8f87a2a9eb Update to 3.13. From the changelog:
* Drop support for Python 3.5, add support for Python 3.9
* Switch to feedparser 6
* Switch to poetry instead of requirements.txt
* Make the `verbose` flag in the config file actually have an impact,
  and have it default to `info`
* Improve log messages
* Remove documentation of `smtp-ssl-protocol` as this option was
  dropped in 2016
* Stop forging SMTP and sendmail envelope sender (#134)
* Add sendmail_config option
* Log sendmail output
* Support multipart/alternative emails with both HTML and plain text
  parts with option `multipart-html`
* Add inline-links option, allowing links to be sent to the bottom of
  the paragraph
* Add wrap-links option, preventing links from be wrapped over
  multiple lines
* Stop looking in $XDG_DATA_DIRS for the database, and only look in
  $XDG_DATA_HOME
* Warnings about HTTP content-type being unexpected now properly display
* Make the proxy parameter also affect https connections
* Add a --clean argument on the run command to reduce the database size
* Set body element attribute dir=auto in HTML mail
* Store the lock file in XDG_RUNTIME_DIR instead of /tmp
2021-04-03 18:43:32 +00:00
schmonz
b6ec64e6b3 Update to 3.12.3. From the changelog:
* Make dependency on feedparser have an upper bound so that `pip install`
  works again
2021-03-21 08:38:41 +00:00
nia
f6dd9d2f87 Revbump packages with a runtime Python dep but no version prefix.
For the Python 3.8 default switch.
2020-12-04 20:44:57 +00:00
schmonz
87f45bf5c0 Move the final 2.7-compatible py-feedparser to py-feedparser5. 2020-10-13 12:16:38 +00:00
schmonz
1b572c4e99 Update to 3.12.2. From the changelog:
* Fix bug `AttributeError: 'NoneType' object has no attribute 'close'` (#126)
2020-09-01 21:28:41 +00:00
schmonz
b301b44dcb Update to 3.12.1. From the changelog:
* Fix calling opmlexport without arguments
2020-08-03 07:57:43 +00:00
schmonz
44bda70a95 Update to 3.12. From the changelog:
* Drop support for EOL Python 3.4, add support for Python 3.8
* Add List_ID and List_Post headers to the generated emails
* Add a new `reply-changes` setting
* Improve configurability of text wrapping for the emails
* Use `platform.node()` instead of "dev.null.invalid" in
  "Message-ID" header
* Improve locking support for when multiple rss2email instances are run
  in parallel
* Fix handling of __VERSION__ and __URL__ in user-agent strings
* Fix opmlexport
2020-08-02 20:59:09 +00:00
schmonz
d5c542a658 Update to 3.11. From the changelog:
- Add new `user-agent` attribute for configuring email User-Agent
2019-11-04 00:28:25 +00:00
schmonz
6975c29218 Update to 3.10. From the changelog:
* Catch and warn for invalid Content-Types
* Add a manually extracted list of config options to r2e.1
* Add a redirect post-process module
* Follow symlinks of datafiles
* Add zsh completion
* Add support for maildir
* Fix `r2e new` overwriting an existing config
* Add new `feed-name` and `feed-url` attributes for the `name-format` setting
* Change logging format
* Allow multiple SMTP recipients
* Fix SMTP security issues
* Fix test suite
* Drop support for Python 3.2 and 3.3
* Remove `__contributors__` from the `rss2email` module
* Stop using deprecated `html2text.unescape`
* Fix locking issues when data file is on NFS
* Add `same-server-fetch-interval` setting for rate-limiting fetches to a server
* Update setup.py to setuptools

pkgsrc changes: simplify GITHUB_*, from leot@.
2019-09-07 18:58:02 +00:00
schmonz
7617c15a62 Fix WRKSRC definition. 2019-08-29 09:20:25 +00:00
schmonz
8fd6c68937 Switch to new upstream, and apply its patch to work around html2text
having gotten rid of unescape(). Mollify pkglint. Bump PKGREVISION.
2019-08-28 19:44:48 +00:00
schmonz
29416fd6ee It's been six years. Remove MESSAGE about 2.x -> 3.x transition. 2019-08-14 03:48:06 +00:00
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