pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/news/sfeed



Module Name:    pkgsrc
Committed By:   leot
Date:           Mon Dec 29 12:50:34 UTC 2025

Modified Files:
        pkgsrc/news/sfeed: Makefile distinfo

Log Message:
sfeed: Update to 2.3

Changes:
2.3
For this release if you use sfeed_mbox: because of some changes the Message-ID
value will be different. This may be important for example if you use this
header for filtering duplicate messages.

See below for detailed information.

Fixes:
* sfeed_update: when merging a record: change the default to use the last record
  In many cases it makes sense to use the last record (merged by default based
  on the combination id, title, link).
  Thanks Ivo Cicchese for the feedback!
* sfeed_mbox:
  * The To header could contain characters that are invalid.
  * The Message-ID field could contain spaces or invalid characters. Now it is
    "@newsfeed.local".
* Documentation: sfeed_update/sfeedrc example: use $basename variable name:
  $filename was incorrectly used as it is set in the global scope.
  Use the intended $basename in the scope of the fetch() function.

Features
* sfeed_gopher: improve output and nicer formatting of the index file.
  * Prefix feeds with new items with "N " at the start of the line.
  * Right align item counts, similar to the (left) feed sidebar in sfeed_curses.
* sfeed_mbox:
  * Header changes:
    This allows more convenient filtering in many mail clients.
    Add mail headers, they are now only set headers when they have a value and are
    non-empty.
    These headers are used by the rss2email program also:
    - X-RSS-ID: the item ID.
    - X-RSS-TAGS: the category tags, '|' in sfeed(5) is replaced by ','.
    - X-RSS-URL: the item link / URL.
    Also added:
    - X-RSS-Author: the item author.
    - X-RSS-Enclosure: the first enclosure.
    One can further manipulate the headers using mail tools or awk or a sed
    expression for example.  For example changing X-Feedname to X-Label etc.
   * Change the default From and To header. It does not use the system hostname or
     $USER anymore.
     Add environment variables to override the From and To header with defaults:
            $SFEED_MBOX_FROM: <anonymous@localhost>
            $SFEED_MBOX_TO:   <anonymous@localhost>
   * Set the author as the displayed name (if it is set), but do not use the
     feed name anymore.
     Some unsafe characters are now removed from the author name (e-mail quoting
     and text encoding).
* Various small code cleanups and documentation improvements:
  * xml.c: validate numeric entities more strictly.
  * Handle unlikely case argc < 1 in programs.
  * Fix some pedantic warnings suggested by cppcheck.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 pkgsrc/news/sfeed/Makefile
cvs rdiff -u -r1.29 -r1.30 pkgsrc/news/sfeed/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/news/sfeed/Makefile
diff -u pkgsrc/news/sfeed/Makefile:1.30 pkgsrc/news/sfeed/Makefile:1.31
--- pkgsrc/news/sfeed/Makefile:1.30     Mon Aug 25 16:27:31 2025
+++ pkgsrc/news/sfeed/Makefile  Mon Dec 29 12:50:34 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.30 2025/08/25 16:27:31 leot Exp $
+# $NetBSD: Makefile,v 1.31 2025/12/29 12:50:34 leot Exp $
 
-DISTNAME=      sfeed-2.2
+DISTNAME=      sfeed-2.3
 CATEGORIES=    news
 MASTER_SITES=  https://codemadness.org/releases/sfeed/
 

Index: pkgsrc/news/sfeed/distinfo
diff -u pkgsrc/news/sfeed/distinfo:1.29 pkgsrc/news/sfeed/distinfo:1.30
--- pkgsrc/news/sfeed/distinfo:1.29     Mon Aug 25 16:27:31 2025
+++ pkgsrc/news/sfeed/distinfo  Mon Dec 29 12:50:34 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.29 2025/08/25 16:27:31 leot Exp $
+$NetBSD: distinfo,v 1.30 2025/12/29 12:50:34 leot Exp $
 
-BLAKE2s (sfeed-2.2.tar.gz) = c0835f652fe7065c4843d9a984fe2905dba6771f4ba254c2d579f7f66c60552f
-SHA512 (sfeed-2.2.tar.gz) = d9ac4856583478f9ab9358d5f0b6b9001338b5c2be3a55184e2dd9fb6e9cc1bac23c9a8254d172e3d302682b4726521d7a7a10bc788f2be3cdccfb166b2b8f1a
-Size (sfeed-2.2.tar.gz) = 68969 bytes
+BLAKE2s (sfeed-2.3.tar.gz) = 542264ce8af6676c5988088c2586c277c4cfad4d822f5a626bf142b3c818f30d
+SHA512 (sfeed-2.3.tar.gz) = 63e4308654c326e5e93205c1578fdbac43a72e061c377f588539d2cc47eae241ef04ed9fe7bf97672505e454b7eda8fec91cfd0acc9ef350a41f3f20ec6ac0e2
+Size (sfeed-2.3.tar.gz) = 70031 bytes



Home | Main Index | Thread Index | Old Index