Hi, sfeed 1.8 was released.
sfeed is a tool to convert RSS or Atom feeds from XML to a TAB-separated file. It can be found at: * git://git.codemadness.org/sfeed * gopher://codemadness.org/1/git/sfeed * https://codemadness.org/releases/sfeed/ * gopher://codemadness.org/1/releases/sfeed/ sfeed has the following changes compared to 1.7: Fixes: * sfeed_update: fail early if creating a temporary directory or status file fails. * sfeed_atom, sfeed_json, sfeed_mbox: Fix reading past the buffer with an escaped NUL byte (\ NUL). Note that this could not happen with output from sfeed itself. Only if it was manipulated. * sfeed_curses: fix (very hard to trigger) memleak when getline() returns EOF for lazyloaded items. * sfeed parser: * Improve parsing RFC2822 obsolete short year. * Use errno ENOMEM instead of EOVERFLOW. This matches the behaviour of setting errno for malloc/calloc on the following systems too: glibc, musl libc, OpenBSD libc. * date to unix timestamp: fix incorrect int type to long. Found while testing sfeed on 16-bit MS-DOS with Open Watcom (for "fun" :)). * Makefile: remove duplicate CPPFLAGS for sfeed_curses Features: * sfeed_json: add JSON output format tool. This formats the TSV data to JSON. It uses a subset of JSON Feed 1.1: https://www.jsonfeed.org/version/1.1/ Optimizations: * sfeed_atom: save a few bytes in the output by removing the type="text" attribute, because for Atom the default for the type is text. * Slightly reduce stack size for translating XML entities. A numeric entity could use 5 bytes, so use a round number of 8 bytes. Misc: * sfeed: simplify time calculation and make it slightly easier to read. * Remove the sfeed name in some outputs ("branding"). * Documentation improvements. Patch below: diff --git a/www/sfeed/Makefile b/www/sfeed/Makefile index 8c2a615cfe3..d0df3b75d2a 100644 --- a/www/sfeed/Makefile +++ b/www/sfeed/Makefile @@ -1,5 +1,5 @@ COMMENT = RSS/Atom newsreader and formatting programs -DISTNAME = sfeed-1.7 +DISTNAME = sfeed-1.8 CATEGORIES = www HOMEPAGE = https://codemadness.org/sfeed.html diff --git a/www/sfeed/distinfo b/www/sfeed/distinfo index 951d8bb5ace..9014ab51a54 100644 --- a/www/sfeed/distinfo +++ b/www/sfeed/distinfo @@ -1,2 +1,2 @@ -SHA256 (sfeed-1.7.tar.gz) = xRiUUqLtbYwWrpAlsZ8e/4WbAfR6hQYuaXN3VzIlVaw= -SIZE (sfeed-1.7.tar.gz) = 66263 +SHA256 (sfeed-1.8.tar.gz) = Fzz/rueFEQpzx+AoIteo3hAwfoojUfyhfuv9uUg6x7M= +SIZE (sfeed-1.8.tar.gz) = 67335 diff --git a/www/sfeed/pkg/PLIST b/www/sfeed/pkg/PLIST index 028a660c37f..a41aa3131a4 100644 --- a/www/sfeed/pkg/PLIST +++ b/www/sfeed/pkg/PLIST @@ -7,6 +7,7 @@ bin/sfeed_content @bin bin/sfeed_frames @bin bin/sfeed_gopher @bin bin/sfeed_html +@bin bin/sfeed_json bin/sfeed_markread @bin bin/sfeed_mbox bin/sfeed_opml_export @@ -23,6 +24,7 @@ bin/sfeed_update @man man/man1/sfeed_frames.1 @man man/man1/sfeed_gopher.1 @man man/man1/sfeed_html.1 +@man man/man1/sfeed_json.1 @man man/man1/sfeed_markread.1 @man man/man1/sfeed_mbox.1 @man man/man1/sfeed_opml_export.1 -- Kind regards, Hiltjo
