Mon Jan 4 15:30:47 2021 UTC ()
news/tin: Update to 2.4.5

Removed POSIX shell patch (merged upstream).
Removed libcanlock patches (now supported via pkg-config).

-- 2.4.5 release 20201224 "Glen Albyn" --

 022) Dennis Preiser <dennis@d--p.de>
      BUG. 'B'ody and '/'article search with wildcard matching (wildcard=0)
           didn't work
      BUG. convert_tex2iso with UTF-8 as local charset did map "O to wrong
           char
      BUG. missing termination of conversion table for convert_tex2iso
      BUG. avoid possible endless loop in search_group
      BUG. tin_ltoa in some cases returned an error where it shouldn't
      BUG. 'T'ag all parts of multipart message didn't work with thread_arts
           4 (multipart) or 5 (percentage)
      BUG. hung on empty (lone '.') positive (220) response to ARTICLE command
      ADD. make {Group,Thread}TagParts 'T' toggle like 't'ag
      ADD. don't show mime parse error for missing end marker if not running
           in debug mode
      ADD. increase hash-table sizes
      ADD. speed up multipart threading
      ADD. multipart tagging ThreadTagParts 'T' to thread level
      ADD. reduce memory usage by struct reordering to avoid padding
      ADD. GNKSA_MISSING_REALNAME return code for filtering
      REM. redundant conde
      FIX. art.c, charset.c, group.c, hashstr.c, help.c, keymap.c, lang.c
           misc.c, page.c, refs.c, rfc2046.c, screen.c, search.c, string.c
           tags.c, thread.c, wildmat.c, extern.h, keymap.h, proto.h, tin.h
           tin.[15]

 021) Thomas E. Dickey <dickey@invisible-island.net>
      ADD. update configure macros
      ADD. fallback to the bundled pcre if required
      ADD. prefer systemwide libcanlock over bundled one
      FIX. aclocal.m4, configure[.in], Makefile.[in], tin.h

 020) Urs Janssen <urs@tin.org>
      ADD. config.guess, config.sub update
      ADD. document strip_re_regex, strip_was_regex and col_message in manpage
      ADD. configure check for fchmod(2) and fallback to chmod(2) if system
           lacks it (e.g. Interactive UNIX)
      ADD. speed up filter on Path:-header
      ADD. allow abortion of subject/author search in group level
      ADD. allow abortion of filtering
      ADD. raise default max length for numbers in prompts from 6 to 10 digits
      ADD. restrict multipart detection to messages with more than 1 part
      ADD. show an error message if append_mail() fails
      ADD. allow path for posted_articles_file
      ADD. document gnksa-parser return codes in tin(5)
      ADD. center_line() now does BiDi
      ADD. don't fail on GNKSA_MISSING_REALNAME when posting
      ADD. GNKSA_RANGLE_MISSING (104) error code to gnksa-filter
      BUG. when $TIN_INDEX_NEWSDIR was used INDEX_NEWSDIR was
           automatically appended to the string, but for the '-I' cmd.line it
           wasn't, now '-I' behaves exactly like $TIN_INDEX_NEWSDIR
      REM. redundant condition
      FIX. art.c, attrib.c, config.c, debug.c, filter.c, getline.c, inews.c
           init.c, lang.c, main.c, makecfg.c, memory.c, misc.c, newsrc.c
           nrctbl.c, options_menu.c, post.c, read.c, save.c, screen.c
           search.c, tags.c, thread.c, tmpfile.c, extern.h, proto.h, tin.h
           tin.[15], configure[.in], autoconf.h[in], config.guess, config.sub
           en_GB.po, keymap.sample

 019) Matt Anton <tin@lv223.org>
      ADD. updated french translation
      FIX. fr.po

 018) Toomas Soome <tsoome@me.com>
      ADD. updated estonian translation
      FIX. et.po


(micha)
diff -r1.92 -r1.93 pkgsrc/news/tin/Makefile
diff -r1.27 -r1.28 pkgsrc/news/tin/distinfo
diff -r1.2 -r1.3 pkgsrc/news/tin/patches/patch-Makefile
diff -r1.2 -r1.3 pkgsrc/news/tin/patches/patch-configure
diff -r1.2 -r1.3 pkgsrc/news/tin/patches/patch-src_Makefile.in
diff -r1.2 -r0 pkgsrc/news/tin/patches/patch-include_tin.h
diff -r1.2 -r0 pkgsrc/news/tin/patches/patch-pcre_configure.in

cvs diff -r1.92 -r1.93 pkgsrc/news/tin/Makefile (expand / switch to unified diff)

--- pkgsrc/news/tin/Makefile 2020/11/05 09:08:58 1.92
+++ pkgsrc/news/tin/Makefile 2021/01/04 15:30:46 1.93
@@ -1,42 +1,41 @@ @@ -1,42 +1,41 @@
1# $NetBSD: Makefile,v 1.92 2020/11/05 09:08:58 ryoon Exp $ 1# $NetBSD: Makefile,v 1.93 2021/01/04 15:30:46 micha Exp $
2 2
3DISTNAME= tin-2.4.4 3DISTNAME= tin-2.4.5
4PKGREVISION= 4 
5CATEGORIES= news 4CATEGORIES= news
6MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/stable/ 5MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/stable/
7MASTER_SITES+= http://ftp.funet.fi/pub/unix/news/tin-unoff/ 6MASTER_SITES+= http://ftp.funet.fi/pub/unix/news/tin-unoff/
8MASTER_SITES+= ftp://ftp.lip6.fr/pub/unix/news/readers/tin-unoff/ 7MASTER_SITES+= ftp://ftp.lip6.fr/pub/unix/news/readers/tin-unoff/
9MASTER_SITES+= ftp://ftp.cuhk.edu.hk/pub/packages/news/tin/stable/ 8MASTER_SITES+= ftp://ftp.cuhk.edu.hk/pub/packages/news/tin/stable/
10MASTER_SITES+= ftp://sunsite.icm.edu.pl/pub/unix/news/tin/stable/ 9MASTER_SITES+= ftp://sunsite.icm.edu.pl/pub/unix/news/tin/stable/
11EXTRACT_SUFX= .tar.xz 10EXTRACT_SUFX= .tar.xz
12 11
13MAINTAINER= pkgsrc-users@NetBSD.org 12MAINTAINER= pkgsrc-users@NetBSD.org
14HOMEPAGE= http://www.tin.org/ 13HOMEPAGE= http://www.tin.org/
15COMMENT= USENET newsreader (termcap based) 14COMMENT= USENET newsreader (termcap based)
16# See src/nntplib.c, vms/vms.c 15# See src/nntplib.c, vms/vms.c
17LICENSE= tin-license 16LICENSE= tin-license
18 17
19RESTRICTED= Profit from use, sale, trade, or reproduction disallowed 18RESTRICTED= Profit from use, sale, trade, or reproduction disallowed
20NO_BIN_ON_CDROM= ${RESTRICTED} 19NO_BIN_ON_CDROM= ${RESTRICTED}
21NO_SRC_ON_CDROM= ${RESTRICTED} 20NO_SRC_ON_CDROM= ${RESTRICTED}
22 21
23GNU_CONFIGURE= yes 22GNU_CONFIGURE= yes
24USE_PKGLOCALEDIR= yes 23USE_PKGLOCALEDIR= yes
25 24
26INSTALLATION_DIRS= share/doc/tin 25INSTALLATION_DIRS= share/doc/tin
27 26
28# for tinews.pl 27# for tinews.pl
29USE_TOOLS+= msgfmt perl:run yacc 28USE_TOOLS+= msgfmt perl:run pkg-config yacc
30REPLACE_PERL= tools/*.pl 29REPLACE_PERL= tools/*.pl
31BUILD_TARGET= build 30BUILD_TARGET= build
32 31
33.include "options.mk" 32.include "options.mk"
34 33
35CONFIGURE_ARGS+= --with-nntp-default-server=news 34CONFIGURE_ARGS+= --with-nntp-default-server=news
36CONFIGURE_ARGS+= --with-mime-default-charset=ISO-8859-1 35CONFIGURE_ARGS+= --with-mime-default-charset=ISO-8859-1
37CONFIGURE_ARGS+= --enable-break-long-lines 36CONFIGURE_ARGS+= --enable-break-long-lines
38CONFIGURE_ARGS+= --with-gpg=${PREFIX}/bin/gpg 37CONFIGURE_ARGS+= --with-gpg=${PREFIX}/bin/gpg
39CONFIGURE_ARGS+= --with-ispell=${PREFIX}/bin/ispell 38CONFIGURE_ARGS+= --with-ispell=${PREFIX}/bin/ispell
40CONFIGURE_ARGS+= --with-metamail=${PREFIX}/bin/metamail 39CONFIGURE_ARGS+= --with-metamail=${PREFIX}/bin/metamail
41CONFIGURE_ARGS+= --with-pcre=${BUILDLINK_PREFIX.pcre} 40CONFIGURE_ARGS+= --with-pcre=${BUILDLINK_PREFIX.pcre}
42CONFIGURE_ARGS+= --disable-mime-strict-charset 41CONFIGURE_ARGS+= --disable-mime-strict-charset

cvs diff -r1.27 -r1.28 pkgsrc/news/tin/distinfo (expand / switch to unified diff)

--- pkgsrc/news/tin/distinfo 2020/04/20 14:47:34 1.27
+++ pkgsrc/news/tin/distinfo 2021/01/04 15:30:46 1.28
@@ -1,11 +1,9 @@ @@ -1,11 +1,9 @@
1$NetBSD: distinfo,v 1.27 2020/04/20 14:47:34 micha Exp $ 1$NetBSD: distinfo,v 1.28 2021/01/04 15:30:46 micha Exp $
2 2
3SHA1 (tin-2.4.4.tar.xz) = 7f4c1869cdcac4ac49bb70c6448538691fc19b4a 3SHA1 (tin-2.4.5.tar.xz) = 1abe3f78e5dcd4c468ef0b0b3597114670ef4ec8
4RMD160 (tin-2.4.4.tar.xz) = dbb0b44f3365059f155ec53874d283a18da9e0b1 4RMD160 (tin-2.4.5.tar.xz) = 8c4f20ab8de2816b939f057643815e0a8bc007c3
5SHA512 (tin-2.4.4.tar.xz) = d9e907b5f8e43b21f348145264f6aeb64e021f1f2e6a2dbfd2d129a571f72690baf318aeea5a6c22a6dd62e4760ce2ea886ab2f3dbeb5b89fd7659df58352142 5SHA512 (tin-2.4.5.tar.xz) = 4ec1c4990ce8d9a46204c0064f19c5c2b99848201c37562f8df76de5be84fdd2bcd35cbc3e9f20233f636522e086ac031a5a9cb65bd22a53eda619dcce86adbc
6Size (tin-2.4.4.tar.xz) = 1545016 bytes 6Size (tin-2.4.5.tar.xz) = 1559164 bytes
7SHA1 (patch-Makefile) = 7f9048d31e70d9630ba6511d834db5d0c60a7de1 7SHA1 (patch-Makefile) = cb55674fbb02a1ba1be823332b325b0ac164dd4d
8SHA1 (patch-configure) = 02f6c943c7e6cbf8552f163c8ff4922413c9c340 8SHA1 (patch-configure) = 6fdeb045df9e61bba6195eae3c3d2fd8b6e7a0e8
9SHA1 (patch-include_tin.h) = 75a933e15128e7e102598c311ff292caf9c49041 9SHA1 (patch-src_Makefile.in) = f6fbe7aee324cd844ed6e1870d3c871c247e06ce
10SHA1 (patch-pcre_configure.in) = 8bd7a8353c280a9ec4199bc43fb234f52f6ca7b1 
11SHA1 (patch-src_Makefile.in) = 412f1cd6b01618e64d6a3f713f3758d5a563e79e 

cvs diff -r1.2 -r1.3 pkgsrc/news/tin/patches/patch-Makefile (expand / switch to unified diff)

--- pkgsrc/news/tin/patches/patch-Makefile 2019/01/15 15:48:17 1.2
+++ pkgsrc/news/tin/patches/patch-Makefile 2021/01/04 15:30:46 1.3
@@ -1,15 +1,15 @@ @@ -1,15 +1,15 @@
1$NetBSD: patch-Makefile,v 1.2 2019/01/15 15:48:17 wiz Exp $ 1$NetBSD: patch-Makefile,v 1.3 2021/01/04 15:30:46 micha Exp $
2 2
3Do not ignore error for missing src/Makefile. 3Do not ignore error for missing src/Makefile.
4 4
5--- Makefile.orig 5--- Makefile.orig
6+++ Makefile 6+++ Makefile
7@@ -407,7 +407,7 @@ all: 7@@ -408,7 +408,7 @@ all:
8 @$(ECHO) " " 8 @$(ECHO) " "
9  9
10 build: 10 build:
11- @-if $(TEST) -r $(SRCDIR)/Makefile ; then $(CD) $(SRCDIR) && $(MAKE) ; else $(ECHO) "You need to run configure first - didn't you read README?" ; fi 11- @-if $(TEST) -r $(SRCDIR)/Makefile ; then $(CD) $(SRCDIR) && $(MAKE) ; else $(ECHO) "You need to run configure first - didn't you read README?" ; fi
12+ @if $(TEST) -r $(SRCDIR)/Makefile ; then $(CD) $(SRCDIR) && $(MAKE) ; else $(ECHO) "You need to run configure first - didn't you read README?" ; fi 12+ @if $(TEST) -r $(SRCDIR)/Makefile ; then $(CD) $(SRCDIR) && $(MAKE) ; else $(ECHO) "You need to run configure first - didn't you read README?" ; fi
13  13
14 install: 14 install:
15 @$(CD) $(SRCDIR) && $(MAKE) install 15 @$(CD) $(SRCDIR) && $(MAKE) install

cvs diff -r1.2 -r1.3 pkgsrc/news/tin/patches/Attic/patch-configure (expand / switch to unified diff)

--- pkgsrc/news/tin/patches/Attic/patch-configure 2019/01/15 15:48:17 1.2
+++ pkgsrc/news/tin/patches/Attic/patch-configure 2021/01/04 15:30:46 1.3
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1$NetBSD: patch-configure,v 1.2 2019/01/15 15:48:17 wiz Exp $ 1$NetBSD: patch-configure,v 1.3 2021/01/04 15:30:46 micha Exp $
2 2
3Skip missing include directories. 3Skip missing include directories.
4 4
5--- configure.orig 5--- configure.orig
6+++ configure 6+++ configure
7@@ -11429,6 +11429,9 @@ echo "$ac_t""$cf_cv_ncurses_h2" 1>&6 7@@ -13015,6 +13015,9 @@ echo "$ac_t""$cf_cv_ncurses_h2" 1>&6
8 if test -n "$cf_1st_incdir" ; then 8 if test -n "$cf_1st_incdir" ; then
9 for cf_add_incdir in $cf_1st_incdir 9 for cf_add_incdir in $cf_1st_incdir
10 do 10 do
11+ if ! [ -d $cf_add_incdir ]; then 11+ if ! [ -d $cf_add_incdir ]; then
12+ continue; 12+ continue;
13+ fi 13+ fi
14 while test $cf_add_incdir != /usr/include 14 while test $cf_add_incdir != /usr/include
15 do 15 do
16 if test -d $cf_add_incdir 16 if test -d $cf_add_incdir

cvs diff -r1.2 -r1.3 pkgsrc/news/tin/patches/patch-src_Makefile.in (expand / switch to unified diff)

--- pkgsrc/news/tin/patches/patch-src_Makefile.in 2019/01/15 15:48:17 1.2
+++ pkgsrc/news/tin/patches/patch-src_Makefile.in 2021/01/04 15:30:46 1.3
@@ -1,24 +1,14 @@ @@ -1,24 +1,14 @@
1$NetBSD: patch-src_Makefile.in,v 1.2 2019/01/15 15:48:17 wiz Exp $ 1$NetBSD: patch-src_Makefile.in,v 1.3 2021/01/04 15:30:46 micha Exp $
2 2
3Do not link internal static libcanlock. 
4Do not install mbox manpage. 3Do not install mbox manpage.
5 4
6--- src/Makefile.in.orig 5--- src/Makefile.in.orig 2020-12-01 10:52:35.000000000 +0000
7+++ src/Makefile.in 6+++ src/Makefile.in
8@@ -208,7 +208,7 @@ EXTRAOBJS = @EXTRAOBJS@ 7@@ -345,7 +345,6 @@ install_manpage : $(DESTDIR)$(INS_MANUAL
9 EXTRA_INTLLIBS = @INTLDIR_MAKE@ @INTLLIBS@ 
10 EXTRA_PCREHDRS = @PCREDIR_MAKE@ ../pcre/pcre.h 
11 EXTRA_PCRELIBS = @PCREDIR_MAKE@ ../pcre/$(PRELIB)pcre.a 
12-EXTRA_CANLIBS = @CANDIR_MAKE@ ../libcanlock/$(PRELIB)canlock.a 
13+#EXTRA_CANLIBS = @CANDIR_MAKE@ ../libcanlock/$(PRELIB)canlock.a 
14 EXTRALIBS = $(EXTRA_INTLLIBS) $(EXTRA_PCRELIBS) $(EXTRA_CANLIBS) 
15  
16 OFILES = @ALLOCA@ $(EXTRAOBJS) \ 
17@@ -340,7 +340,6 @@ install_manpage : $(DESTDIR)$(INS_MANUAL 
18 @-$(RM) -f $(DESTDIR)$(INS_MANUAL_DIR)5/r$(PROJECT).5 8 @-$(RM) -f $(DESTDIR)$(INS_MANUAL_DIR)5/r$(PROJECT).5
19 @$(ECHO) ".so $(INS_MANUAL_DIR)5/$(PROJECT).5" > $(DESTDIR)$(INS_MANUAL_DIR)5/r$(PROJECT).5 9 @$(ECHO) ".so $(INS_MANUAL_DIR)5/$(PROJECT).5" > $(DESTDIR)$(INS_MANUAL_DIR)5/r$(PROJECT).5
20 @$(CHMOD) 444 $(DESTDIR)$(INS_MANUAL_DIR)5/r$(PROJECT).5 10 @$(CHMOD) 444 $(DESTDIR)$(INS_MANUAL_DIR)5/r$(PROJECT).5
21- @-if test ! -f $(DESTDIR)$(INS_MANUAL_DIR)5/mbox.5 ; then $(INSTALL) -m 444 $(DOCDIR)/mbox.5 $(DESTDIR)$(INS_MANUAL_DIR)5/mbox.5 ; else $(ECHO) " ... skipping $(DESTDIR)$(INS_MANUAL_DIR)5/mbox.5 - file already exists" ; fi 11- @-if test ! -f $(DESTDIR)$(INS_MANUAL_DIR)5/mbox.5 ; then $(INSTALL) -m 444 $(DOCDIR)/mbox.5 $(DESTDIR)$(INS_MANUAL_DIR)5/mbox.5 ; else $(ECHO) " ... skipping $(DESTDIR)$(INS_MANUAL_DIR)5/mbox.5 - file already exists" ; fi
22 @-if test ! -f $(DESTDIR)$(INS_MANUAL_DIR)5/mmdf.5 ; then $(INSTALL) -m 444 $(DOCDIR)/mmdf.5 $(DESTDIR)$(INS_MANUAL_DIR)5/mmdf.5 ; else $(ECHO) " ... skipping $(DESTDIR)$(INS_MANUAL_DIR)5/mmdf.5 - file already exists" ; fi 12 @-if test ! -f $(DESTDIR)$(INS_MANUAL_DIR)5/mmdf.5 ; then $(INSTALL) -m 444 $(DOCDIR)/mmdf.5 $(DESTDIR)$(INS_MANUAL_DIR)5/mmdf.5 ; else $(ECHO) " ... skipping $(DESTDIR)$(INS_MANUAL_DIR)5/mmdf.5 - file already exists" ; fi
23  13
24 uninstall_manpage : 14 uninstall_manpage :

File Deleted: pkgsrc/news/tin/patches/Attic/patch-include_tin.h

File Deleted: pkgsrc/news/tin/patches/Attic/patch-pcre_configure.in