Mon May 17 11:01:35 2021 UTC ()
news/flnews: Update to 1.0.0

1.0.0  2021-05-09  Release
--------------------------

Important notes:
- The new configuration data format is not compatible with versions 0.x
  (indicated by the major number bump)!
  A script is provided to automatically convert existing configuration
  data to the new format. Read "migration/README" for details.
- Because the location of the configuration has changed (see new XDG
  module below), the configuration for versions 0.x is preserved.
- It is still possible to downgrade flnews to 0.x, the preserved old
  configuration data is used again in this case.
- Now the release version contains 3 numbers "x.y.z"
  Major (x) indicates compatibility with configuration data
  Minor (y) is incremented for new features
  Patch (z) is incremented for bug fixes

Bug fixes:
- CORE: Request for group information is no longer rejected with error
  if the group list is empty.
- GUI: After unsubscribing the last group, the article tree/list was not
  cleared and the user can click on articles for which the associated
  data no longer exists. Such operations will crash the program
  (reported by Martin Schnitkemper).
- CORE: Line length limit (998 octets) is now checked before injection.
- GUI: On macOS with system menu bar the status updates to menu entry
  "Group->Sort by article number" work now (patch from Dennis Preiser).
  The required method update() is not available with old FLTK 1.3
  libraries, the option CFG_COCOA_SYS_MENUBAR now requires FLTK 1.4.
- ENC: URI percent encoder for scheme <news> fixed: The characters
  defined as <gen-delims> (RFC 3986 Section 2.2) are now encoded
  (reported by Marcel Logen).
- GUI: The URI parser now accepts empty <host> for scheme <news>.
- GUI: The current group selection is now restored after a click into
  the empty space below the group list (reported by Christian
  Schumacher).
- GUI: The article list/tree is now cleared after selecting an empty
  group (formerly articles of an unrelated group may still be visible).
- GUI: Some FLTK versions accept selection of deactivated items. There
  is now a workaround implemented to make such selections nonfatal.
- GUI: Horizontal scrolling to highlighted result of search fixed.
- GUI: Use FLTK default forground color for group subscription window
  too. This should make the content readable with dark background
  (reported by Christian Schumacher).
- NLS: German translation "Artikel herunterladen fehlgeschlagen" fixed
  (reported by Marcel Logen).
- GUI: If there are multiple signature separators ("-- ") present, now
  the last one is used according to "Usenet Best Practice" draft 01
  (reported by Marcel Logen).

New features and improvements:
- XDG: Moved default configuration directory to location defined by XDG
  Base Directory Specification 0.7 ("$XDG_CONFIG_HOME/$CFG_NAME").
  Other modules now ask the XDG module for the configuration path.
- MAIN: The new command line option "-confprefix" can be used to
  override the configuration directory (proposed by Helmut Waitzmann).
- GUI: It is now possible to mark all articles in all groups as read
  (menu entry "Group->Mark all groups as read").
- MAIN: New command line option "-debug" to enable debug mode early.
- CONF: configfile entry "domain" replaced with "fqdn". Some users
  saw the hostname field in Message-ID algorithm A1 as privacy problem.
  A <dot-atom> can be configured for the new entry "fqdn" (should be a
  fully qualified domain name, but without root domain). It is used as
  <id-right> element when a Message-ID is created with algorithm A2.
- Support for SOURCE_DATE_EPOCH Specification 1.1 added to build system.
  Reproducible build option CFG_REPRODUCIBLE removed from CONFIG.
  The SOURCE_DATE_EPOCH variable from the environment now overrides the
  dates in the GUI, the output of the "-v" command line option and the
  man pages (original patch from Bernhard M. Wiedemann).
- Support for target "install-strip" added to build system. The target
  "install" no longer strips unnecessary symbols from binaries
  (proposed by Martin Schnitkemper).
- EXT: Support for external inews added.
  Pathname can be specified with the new "inews" entry in configfile.
- TLS: Protocol versions 1.0 and 1.1 are now disabled as required by
  RFC 8996. Both versions are still available in "weak" encryption mode.
- GUI: New menu entry "Group->Mark subthread as read".
- GUI: If there is only one entity to display for a MIME multipart
  message (e.g. the selected one with multipart/alternative), the
  entity header is now displayed too.
- GUI: An initial greeting phrase can now be specified with the new
  "initial_greeting" entry in configfile. It is inserted into articles
  that start a new thread (proposed by Wolfgang Bauer).
- FUTIL: Function added to create (multiple) missing directories of a
  path.
- FILTER: New scorefile syntax to eliminate the workaround with type
  "extended". All score rules now have a wildmat in the first field.
- FILTER: Simplified default regex for test group detection to
  "\.test$|^test$", removing the ".*" part at the beginning (proposed by
  Urs Jan��en).
- POSIX: Support for POSIX.1-2008 and SUSv4 added.
  No local replacement functions are used anymore on modern operating
  systems. snprintf() replacement function now uses SUSv4 semantics.
- ENC: MIME encoded-words are now generated with "US-ASCII" charset
  declaration if there is no 8-bit data to encode in the header field
  (e.g. to represent words like " =?-?= " in a RFC 2049 conformant way).
  This follows the "lowest common denominator" principle decribed in
  RFC 2046 Section 4.1.2.
- TLS: Deprecated functions from OpenSSL 3 API are no longer used.
- GUI: Modified question popup windows to handle pressing ESC key as
  "No" or "Reject" respectively.
- GUI: Some entries moved from menu "Article" to "Group".


(micha)
diff -r1.11 -r1.12 pkgsrc/news/flnews/Makefile
diff -r1.4 -r1.5 pkgsrc/news/flnews/distinfo
diff -r1.4 -r1.5 pkgsrc/news/flnews/files/CONFIG

cvs diff -r1.11 -r1.12 pkgsrc/news/flnews/Makefile (expand / switch to unified diff)

--- pkgsrc/news/flnews/Makefile 2020/11/09 12:02:25 1.11
+++ pkgsrc/news/flnews/Makefile 2021/05/17 11:01:34 1.12
@@ -1,33 +1,36 @@ @@ -1,33 +1,36 @@
1# $NetBSD: Makefile,v 1.11 2020/11/09 12:02:25 micha Exp $ 1# $NetBSD: Makefile,v 1.12 2021/05/17 11:01:34 micha Exp $
2 2
3FLNEWS_VERSION= 0.18 3FLNEWS_VERSION= 1.0.0
4 4
5DISTNAME= flnews-${FLNEWS_VERSION} 5DISTNAME= flnews-${FLNEWS_VERSION}
6CATEGORIES= news 6CATEGORIES= news
7MASTER_SITES= http://micha.freeshell.org/flnews/src/ 7MASTER_SITES= http://micha.freeshell.org/flnews/src/
8MASTER_SITES+= http://www.ybtra.de/flnews-mirror/src/ 8MASTER_SITES+= http://www.ybtra.de/flnews-mirror/src/
9MASTER_SITES+= http://www.southcity.de/flnews/src/ 9MASTER_SITES+= http://www.southcity.de/flnews/src/
10EXTRACT_SUFX= .tar.bz2 10EXTRACT_SUFX= .tar.bz2
11 11
12MAINTAINER= micha@NetBSD.org 12MAINTAINER= micha@NetBSD.org
13HOMEPAGE= https://micha.freeshell.org/flnews/ 13HOMEPAGE= https://micha.freeshell.org/flnews/
14COMMENT= Fast and lightweight USENET newsreader with GUI 14COMMENT= Fast and lightweight USENET newsreader with GUI
15LICENSE= modified-bsd AND 2-clause-bsd AND unicode 15LICENSE= modified-bsd AND 2-clause-bsd AND unicode
16 16
17USE_LANGUAGES= c c++ 17USE_LANGUAGES= c c++
18 18
19TEST_TARGET= test 19TEST_TARGET= test
20 20
 21# https://reproducible-builds.org/specs/source-date-epoch/
 22CONFIGURE_ENV+= SOURCE_DATE_EPOCHE=1620580800
 23
21# Bug report contact address used for GUI 24# Bug report contact address used for GUI
22FLNEWS_MAINTAINER= ${MAINTAINER} 25FLNEWS_MAINTAINER= ${MAINTAINER}
23 26
24.include "options.mk" 27.include "options.mk"
25 28
26# Prepare CONFIG file 29# Prepare CONFIG file
27SUBST_CLASSES+= edit-config 30SUBST_CLASSES+= edit-config
28SUBST_STAGE.edit-config= pre-configure 31SUBST_STAGE.edit-config= pre-configure
29SUBST_MESSAGE.edit-config= Preparing CONFIG file ... 32SUBST_MESSAGE.edit-config= Preparing CONFIG file ...
30SUBST_FILES.edit-config= CONFIG 33SUBST_FILES.edit-config= CONFIG
31SUBST_SED.edit-config= -e 's,@VERSION@,${FLNEWS_VERSION},g' 34SUBST_SED.edit-config= -e 's,@VERSION@,${FLNEWS_VERSION},g'
32SUBST_VARS.edit-config= PREFIX 35SUBST_VARS.edit-config= PREFIX
33SUBST_SED.edit-config+= -e 's,@MAINT@,${FLNEWS_MAINTAINER},g' 36SUBST_SED.edit-config+= -e 's,@MAINT@,${FLNEWS_MAINTAINER},g'

cvs diff -r1.4 -r1.5 pkgsrc/news/flnews/distinfo (expand / switch to unified diff)

--- pkgsrc/news/flnews/distinfo 2020/11/09 12:02:25 1.4
+++ pkgsrc/news/flnews/distinfo 2021/05/17 11:01:34 1.5
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.4 2020/11/09 12:02:25 micha Exp $ 1$NetBSD: distinfo,v 1.5 2021/05/17 11:01:34 micha Exp $
2 2
3SHA1 (flnews-0.18.tar.bz2) = c045d6674c0abf982bd6fc3fa2fbac4aad160fb3 3SHA1 (flnews-1.0.0.tar.bz2) = 3d4db97be262302277aa87b84879d82e29a14b90
4RMD160 (flnews-0.18.tar.bz2) = 97a082cc065e9beaa833f13025dc1c9e72ca2dd7 4RMD160 (flnews-1.0.0.tar.bz2) = d6420d6b68a2a55cd343aaa0e5ec60866b1e0bb8
5SHA512 (flnews-0.18.tar.bz2) = f0b03834587d8566db831aa6653eec18845a6902225309a44e0e1fcc97898bc21b3903d10c3ea585f514e9498c54c09c08aa29d21d5bb0ec5b99b90f5a060a39 5SHA512 (flnews-1.0.0.tar.bz2) = 097a9edaa2b628e0c74008fc2b38df236a5a785e80b25a90a4c1ff621403faba9ed9e3b4dd9dccdddadabd24e0b2b5f886560f825885916bd6b9e4196ef5770b
6Size (flnews-0.18.tar.bz2) = 1100419 bytes 6Size (flnews-1.0.0.tar.bz2) = 1170870 bytes

cvs diff -r1.4 -r1.5 pkgsrc/news/flnews/files/CONFIG (expand / switch to unified diff)

--- pkgsrc/news/flnews/files/CONFIG 2020/11/09 12:02:25 1.4
+++ pkgsrc/news/flnews/files/CONFIG 2021/05/17 11:01:34 1.5
@@ -44,34 +44,35 @@ CFG_TLS_WARNING_DISABLE=1 @@ -44,34 +44,35 @@ CFG_TLS_WARNING_DISABLE=1
44# The TLS module can use CRLs to check for revoked X.509 certificates 44# The TLS module can use CRLs to check for revoked X.509 certificates
45# Usage and update interval can be configured via configfile (see manual page) 45# Usage and update interval can be configured via configfile (see manual page)
46# CRLs are downloaded automatically and must be available via HTTP protocol 46# CRLs are downloaded automatically and must be available via HTTP protocol
47# (CRL distribution point entries in certificates) 47# (CRL distribution point entries in certificates)
48# Note: Not all CAs provide CRL distribution points in their certificates 48# Note: Not all CAs provide CRL distribution points in their certificates
49# Set this to 0 to check the whole chain for revoked certificates 49# Set this to 0 to check the whole chain for revoked certificates
50CFG_TLS_CRLS_DISABLE=0 50CFG_TLS_CRLS_DISABLE=0
51 51
52# Disable XDG support 52# Disable XDG support
53# Set this to 0 to install XDG conformant desktop entries and icon themes 53# Set this to 0 to install XDG conformant desktop entries and icon themes
54CFG_XDG_DISABLE=@XDG@ 54CFG_XDG_DISABLE=@XDG@
55 55
56# [For Apple macOS only] FLTK library must be compiled to use Cocoa backend 56# [For Apple macOS only] FLTK library must be compiled to use Cocoa backend
 57# Note: This option requires FLTK 1.4 (is ignored for FLTK 1.3)
57# Setting this to 1 moves the menu bar to top of desktop 58# Setting this to 1 moves the menu bar to top of desktop
58CFG_COCOA_SYS_MENUBAR=0 59CFG_COCOA_SYS_MENUBAR=0
59 60
60# Allow NNTP AUTHINFO USER/PASS client authentication without TLS 61# Allow NNTP AUTHINFO USER/PASS client authentication without TLS
61# The default is 0 and requires TLS encryption for authentication 62# The default is 0 and requires TLS encryption for authentication
62# You can set this to 1 to use a local stunnel for the encryption 63# You can set this to 1 to use a local stunnel for the encryption
63# !!! Attention: Setting this to 1 may reveal your login data to the public !!! 64# !!! Attention: Setting this to 1 may reveal your login data to the public !!!
64# !!! An external program must encrypt the network connection !!! 65# !!! An external program must encrypt the network connection !!!
65CFG_NNTP_AUTH_UNENCRYPTED=0 66CFG_NNTP_AUTH_UNENCRYPTED=0
66# ============================================================================== 67# ==============================================================================
67 68
68 69
69# Force usage of REQUIRED facilities that system reports as not available 70# Force usage of REQUIRED facilities that system reports as not available
70# ============================================================================== 71# ==============================================================================
71# Force usage of POSIX.1b realtime extension, timers (TMR) option even if system 72# Force usage of POSIX.1b realtime extension, timers (TMR) option even if system
72# reports TMR option as not available 73# reports TMR option as not available
73# Set this to 1 if your system report no sufficient TMR option, but you want to 74# Set this to 1 if your system report no sufficient TMR option, but you want to
74# try anyway 75# try anyway
75CFG_FORCE_TMR=1 76CFG_FORCE_TMR=1
76 77
77# Force usage of POSIX.1c thread (THR) extension even if system reports THR 78# Force usage of POSIX.1c thread (THR) extension even if system reports THR
@@ -177,20 +178,20 @@ CFG_LICENSE_PATH="$CFG_PREFIX/share/$CFG @@ -177,20 +178,20 @@ CFG_LICENSE_PATH="$CFG_PREFIX/share/$CFG
177# The FHS defines "/usr[/local]/share/nls" for NLS catalogs but the whole 178# The FHS defines "/usr[/local]/share/nls" for NLS catalogs but the whole
178# hierarchy below "share" is dedicated to files that are portable between 179# hierarchy below "share" is dedicated to files that are portable between
179# architectures - what our NLS catalogs are not! 180# architectures - what our NLS catalogs are not!
180CFG_NLS_PATH="$CFG_PREFIX/lib/$CFG_NAME/nls" 181CFG_NLS_PATH="$CFG_PREFIX/lib/$CFG_NAME/nls"
181 182
182# Installation path for desktop files 183# Installation path for desktop files
183# (must be an absolute path without trailing slash) 184# (must be an absolute path without trailing slash)
184CFG_XDG_DESKTOP_PATH="$CFG_PREFIX/share/applications" 185CFG_XDG_DESKTOP_PATH="$CFG_PREFIX/share/applications"
185 186
186# Installation path for icons 187# Installation path for icons
187# (must be an absolute path without trailing slash) 188# (must be an absolute path without trailing slash)
188CFG_XDG_ICON_THEME_PATH="$CFG_PREFIX/share/icons" 189CFG_XDG_ICON_THEME_PATH="$CFG_PREFIX/share/icons"
189 190
190# If you need reproducible builds for a binary package of a distribution, 191# Reproducible builds
191# set this to '1'. 192# The SOURCE_DATE_EPOCH specification 1.1 is supported:
192CFG_REPRODUCIBLE=1 193# https://reproducible-builds.org/specs/source-date-epoch/
193# ============================================================================== 194# ==============================================================================
194 195
195 196
196# EOF 197# EOF