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 Aug 21 13:07:15 UTC 2023

Modified Files:
        pkgsrc/news/sfeed: Makefile distinfo

Log Message:
sfeed: Update to 1.9

Changes:
1.9
---
Features:
* sfeed_{curses,frames,gopher,html,plain}: add $SFEED_NEW_MAX_SECS

  By introducing the new environment variable $SFEED_NEW_MAX_SECS in some
  sfeed_* utilities marking feeds as new based on comparing their age, it is now
  possible to override this age limit. The default limit was the last day (86400
  seconds).

  This allows, for example, to be notified about new feeds within the last
  hour with by prefixing new items with " N ":

        SFEED_NEW_MAX_SECS=3600 sfeed_plain ~/.sfeed/feeds/*

  While creating a web report for last week's news by:

        SFEED_NEW_MAX_SECS=604800 sfeed_html ~/.sfeed/feeds/*

  This marks the items of the last week as bold in HTML.

  Based on the initial patch by Alvar Penning, thanks!

* sfeed_update/sfeedrc: add url a as parameter to the filter() and order()
  function This makes it easier to set filters or ordering by pattern matching on
  a group of feeds by the feed URL. For example for Youtube or Reddit feeds.

* sfeed_curses: move one line down when marking an item as read or unread.
  I don't mind either behaviour, but it has been suggested by a few people. For
  example the mutt mail client also has this behaviour.

Fixes:
* Improve to use proper includes.
  Reduce using some of the unneeded sys/* headers too. Using the C99 includes.
* sfeed_atom: for gmtime_r() make the error message consistent with sfeed_mbox.
* Makefile: change Gentoo commented example from -lcurses to -lncurses.
* sfeed_markread: fail early if creating a temporary file failed.

Code-cleaning / pedantic fixes:
* sfeed: datetounix: code-style, change , to separate lines (-Wcomma).
* sfeed_curses: make struct urls static like the other variables.
* sfeed_gopher: reduce scope and shadowing of a variable (no effective change though).
* xml.h: _XML_H_: macro name with an underscore is a reserved identifier.

Documentation:
* Improve note about CDNs and HTTP User-Agent blocking and change the example
  in sfeedrc.5 by setting a User-Agent.
* sfeedrc.example: add comment to reference to the man pages and README file.
* README: RSS 0.90+ is supported (not 0.91+).
* Typo fixes, consistency and structure fixes and some rewording.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/news/sfeed/Makefile
cvs rdiff -u -r1.25 -r1.26 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.26 pkgsrc/news/sfeed/Makefile:1.27
--- pkgsrc/news/sfeed/Makefile:1.26     Fri Apr 28 13:42:00 2023
+++ pkgsrc/news/sfeed/Makefile  Mon Aug 21 13:07:14 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2023/04/28 13:42:00 leot Exp $
+# $NetBSD: Makefile,v 1.27 2023/08/21 13:07:14 leot Exp $
 
-DISTNAME=      sfeed-1.8
+DISTNAME=      sfeed-1.9
 CATEGORIES=    news
 MASTER_SITES=  https://codemadness.org/releases/sfeed/
 
@@ -17,5 +17,8 @@ MAKE_FLAGS+=          CC=${CC:Q}
 
 REPLACE_SH+=           sfeed_markread sfeed_opml_export sfeed_update
 
+# Needed for cur_term
+LDFLAGS.NetBSD+=       -lterminfo
+
 .include "../../mk/curses.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/news/sfeed/distinfo
diff -u pkgsrc/news/sfeed/distinfo:1.25 pkgsrc/news/sfeed/distinfo:1.26
--- pkgsrc/news/sfeed/distinfo:1.25     Fri Apr 28 13:42:00 2023
+++ pkgsrc/news/sfeed/distinfo  Mon Aug 21 13:07:14 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.25 2023/04/28 13:42:00 leot Exp $
+$NetBSD: distinfo,v 1.26 2023/08/21 13:07:14 leot Exp $
 
-BLAKE2s (sfeed-1.8.tar.gz) = fcb91a7ae23f898171c6ce2f25401b55b65b08eb64ff86c0cb862873dfd23e44
-SHA512 (sfeed-1.8.tar.gz) = 7a57108ace21813de9d80e7ebcc9ffed37580f52f08313ddcf86f2ee0df54d733631cba6936921623aa34c41a06dba43778cedbf557738db009d91f961fc9af7
-Size (sfeed-1.8.tar.gz) = 67335 bytes
+BLAKE2s (sfeed-1.9.tar.gz) = fdfb93fdd5b48ef6217423c4747722d5c9f499684303046c5d97340328686efb
+SHA512 (sfeed-1.9.tar.gz) = 714ce9526ce6a37cdc5777e279512b611f9e329ed0d7d1e9fd8efe8c981a69fe19c6622685d0ac2e16eef1f699096262e616e5b4f5ba81e44624ae99d10de749
+Size (sfeed-1.9.tar.gz) = 67718 bytes



Home | Main Index | Thread Index | Old Index