pkgsrc-Changes archive

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

CVS commit: pkgsrc/news/tin



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Sep  3 09:39:27 UTC 2018

Modified Files:
        pkgsrc/news/tin: Makefile PLIST distinfo options.mk
Added Files:
        pkgsrc/news/tin/patches: patch-Makefile patch-configure
            patch-include_tin.h patch-src_Makefile.in
Removed Files:
        pkgsrc/news/tin/patches: patch-aa patch-ab patch-am

Log Message:
tin: update to 2.4.2.

>From Michael Bäuerle via pkgsrc-wip.

New features and changes since tin-2.2.0

New features
------------
- simplified Chinese translation
- handle RFC 2231 parameter value continuation
- skip over RFC 2231 language parameters
- RFC 2231 decoding of non us-ascii MIME-parameter values
- options to color external quotes (extquote_handling, extquote_regex,
  col_extquote)
- LookupMessage ('L') in select level if reading via NNTP

Changes
-------
The gTLD list is no longer actively maintained (too many new gTLD recently),
disable_gnksa_domain_check=OFF might result in false positives.

--enable-heapsort is now default during configure (sort_function in tinrc
still needs to be set accordingly if you like to use heapsort instead of
qsort)

--enable-ipv6 is now default during configure

--enable-break-long-lines is now default during configure

sigfile=!/path/to/command no longer passes the name of the current
newsgroup to command. One can specify %G which will be replaced by
the name of the current newsgroup.
To match the old behaviour: 'sigfile=!/path/to/command %G'.

--enable-cancel-locks requires libcanlock-3 (which is included, but
some distros (e.g. debian) are linking against a shared lib which may
be too old).

Retired Features
----------------
. groupname_max_length, can now be set via user defined screen layout at
  select level


To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 pkgsrc/news/tin/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/news/tin/PLIST
cvs rdiff -u -r1.22 -r1.23 pkgsrc/news/tin/distinfo
cvs rdiff -u -r1.17 -r1.18 pkgsrc/news/tin/options.mk
cvs rdiff -u -r0 -r1.1 pkgsrc/news/tin/patches/patch-Makefile \
    pkgsrc/news/tin/patches/patch-configure \
    pkgsrc/news/tin/patches/patch-include_tin.h \
    pkgsrc/news/tin/patches/patch-src_Makefile.in
cvs rdiff -u -r1.3 -r0 pkgsrc/news/tin/patches/patch-aa
cvs rdiff -u -r1.4 -r0 pkgsrc/news/tin/patches/patch-ab
cvs rdiff -u -r1.2 -r0 pkgsrc/news/tin/patches/patch-am

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

Modified files:

Index: pkgsrc/news/tin/Makefile
diff -u pkgsrc/news/tin/Makefile:1.80 pkgsrc/news/tin/Makefile:1.81
--- pkgsrc/news/tin/Makefile:1.80       Wed Aug 22 09:46:09 2018
+++ pkgsrc/news/tin/Makefile    Mon Sep  3 09:39:27 2018
@@ -1,26 +1,23 @@
-# $NetBSD: Makefile,v 1.80 2018/08/22 09:46:09 wiz Exp $
+# $NetBSD: Makefile,v 1.81 2018/09/03 09:39:27 wiz Exp $
 
-DISTNAME=      tin-2.2.1
-PKGREVISION=   18
+DISTNAME=      tin-2.4.2
 CATEGORIES=    news
 MASTER_SITES=  ftp://ftp.tin.org/pub/news/clients/tin/stable/
 MASTER_SITES+= ftp://ftp.funet.fi/pub/unix/news/tin-unoff/
 MASTER_SITES+= ftp://ftp.lip6.fr/pub/unix/news/readers/tin-unoff/
-MASTER_SITES+= ftp://ftp.akk.uni-karlsruhe.de/pub/news/clients/tin/stable/
-MASTER_SITES+= ftp://ftp.cs.tu-berlin.de/pub/net/news/tin/stable/
 MASTER_SITES+= ftp://ftp.cuhk.edu.hk/pub/packages/news/tin/stable/
 MASTER_SITES+= ftp://sunsite.icm.edu.pl/pub/unix/news/tin/stable/
-EXTRACT_SUFX=  .tar.bz2
+EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://www.tin.org/
-COMMENT=       TIN newsreader (termcap based)
+COMMENT=       USENET newsreader (termcap based)
 # See src/nntplib.c, vms/vms.c
 LICENSE=       tin-license
 
 RESTRICTED=            Profit from use, sale, trade, or reproduction disallowed
-NO_SRC_ON_CDROM=       ${RESTRICTED}
 NO_BIN_ON_CDROM=       ${RESTRICTED}
+NO_SRC_ON_CDROM=       ${RESTRICTED}
 
 GNU_CONFIGURE= yes
 USE_PKGLOCALEDIR=yes
@@ -62,7 +59,6 @@ post-install:
 
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../converters/uulib/buildlink3.mk"
-.include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/libidn/buildlink3.mk"
 .include "../../devel/pcre/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/news/tin/PLIST
diff -u pkgsrc/news/tin/PLIST:1.11 pkgsrc/news/tin/PLIST:1.12
--- pkgsrc/news/tin/PLIST:1.11  Sun Mar  5 12:05:23 2017
+++ pkgsrc/news/tin/PLIST       Mon Sep  3 09:39:27 2018
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2017/03/05 12:05:23 wiz Exp $
+@comment $NetBSD: PLIST,v 1.12 2018/09/03 09:39:27 wiz Exp $
 bin/metamutt
 bin/opt-case.pl
 bin/rtin
@@ -12,15 +12,17 @@ man/man1/tin.1
 man/man1/tinews.pl.1
 man/man1/url_handler.pl.1
 man/man1/w2r.pl.1
+man/man5/rtin.5
 man/man5/tin-mmdf.5
 man/man5/tin.5
 share/doc/tin/WHATSNEW
-share/locale/da/LC_MESSAGES/tin.mo
-share/locale/de/LC_MESSAGES/tin.mo
-share/locale/en_GB/LC_MESSAGES/tin.mo
-share/locale/et/LC_MESSAGES/tin.mo
-share/locale/fr/LC_MESSAGES/tin.mo
-share/locale/ru/LC_MESSAGES/tin.mo
-share/locale/sv/LC_MESSAGES/tin.mo
-share/locale/tr/LC_MESSAGES/tin.mo
-share/locale/zh_TW/LC_MESSAGES/tin.mo
+${PLIST.nls}share/locale/da/LC_MESSAGES/tin.mo
+${PLIST.nls}share/locale/de/LC_MESSAGES/tin.mo
+${PLIST.nls}share/locale/en_GB/LC_MESSAGES/tin.mo
+${PLIST.nls}share/locale/et/LC_MESSAGES/tin.mo
+${PLIST.nls}share/locale/fr/LC_MESSAGES/tin.mo
+${PLIST.nls}share/locale/ru/LC_MESSAGES/tin.mo
+${PLIST.nls}share/locale/sv/LC_MESSAGES/tin.mo
+${PLIST.nls}share/locale/tr/LC_MESSAGES/tin.mo
+${PLIST.nls}share/locale/zh_CN/LC_MESSAGES/tin.mo
+${PLIST.nls}share/locale/zh_TW/LC_MESSAGES/tin.mo

Index: pkgsrc/news/tin/distinfo
diff -u pkgsrc/news/tin/distinfo:1.22 pkgsrc/news/tin/distinfo:1.23
--- pkgsrc/news/tin/distinfo:1.22       Mon Nov  2 23:49:48 2015
+++ pkgsrc/news/tin/distinfo    Mon Sep  3 09:39:27 2018
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.22 2015/11/02 23:49:48 agc Exp $
+$NetBSD: distinfo,v 1.23 2018/09/03 09:39:27 wiz Exp $
 
-SHA1 (tin-2.2.1.tar.bz2) = aed9f2d4fc17c08c0f9d8d4b6ed38e5b070763a2
-RMD160 (tin-2.2.1.tar.bz2) = c19d85ea2a4bcfd0453b17130a1465d163303c98
-SHA512 (tin-2.2.1.tar.bz2) = fa1a7cf5db91add3de6d502efbc68d33d9b9c8514980c682808480b6b0fc5aed9903d3d9ccda6e63798e54bdf16403ab0685190de613365400222561f482bd30
-Size (tin-2.2.1.tar.bz2) = 1834572 bytes
-SHA1 (patch-aa) = a3d40ff4e38230bcf8a3814c92ec2a75f85bf44e
-SHA1 (patch-ab) = 34794d259ae4fb81888184ded9876ab5874d8731
-SHA1 (patch-am) = 958f7c158e599f17525bc6ada366e25276571b9b
+SHA1 (tin-2.4.2.tar.xz) = 675004c453548e926a261a071e0715e23a05c609
+RMD160 (tin-2.4.2.tar.xz) = e691275597cb1886ae9e66343493cf96acbd2bfe
+SHA512 (tin-2.4.2.tar.xz) = 70a9957d5bf5af1bb182a3f4e62795cd5862b7282b7fc0c231c3bd02d83950cdbdd502d8a2cc5eae20b29af584e4f794f03378742b47ed93fc5c61ac5bbb01b6
+Size (tin-2.4.2.tar.xz) = 1491388 bytes
+SHA1 (patch-Makefile) = 5dfed6b037755fd632d71fd5c58b5982b24a598e
+SHA1 (patch-configure) = dd738e58ffe3b39396928ebb881b7b269bf21315
+SHA1 (patch-include_tin.h) = 557a75eeff1114018dca247e15eceddf70af8b91
+SHA1 (patch-src_Makefile.in) = f65cfcc6da2be21edf80317b94a98e1512e086a0

Index: pkgsrc/news/tin/options.mk
diff -u pkgsrc/news/tin/options.mk:1.17 pkgsrc/news/tin/options.mk:1.18
--- pkgsrc/news/tin/options.mk:1.17     Wed Jan 11 02:15:56 2017
+++ pkgsrc/news/tin/options.mk  Mon Sep  3 09:39:27 2018
@@ -1,15 +1,20 @@
-# $NetBSD: options.mk,v 1.17 2017/01/11 02:15:56 roy Exp $
+# $NetBSD: options.mk,v 1.18 2018/09/03 09:39:27 wiz Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.tin
 PKG_OPTIONS_REQUIRED_GROUPS=   display
 PKG_OPTIONS_GROUP.display=     curses wide-curses termcap
-PKG_SUPPORTED_OPTIONS=         icu inet6 tin-use-inn-spool
-PKG_SUGGESTED_OPTIONS=         inet6 termcap # see PR #51819
+PKG_SUPPORTED_OPTIONS=         canlock icu inet6 nls tin-use-inn-spool
+PKG_SUGGESTED_OPTIONS=         canlock inet6 nls termcap # see PR #51819
 # untested
 #PKG_SUPPORTED_OPTIONS+=       socks
 
 .include "../../mk/bsd.options.mk"
 
+.if !empty(PKG_OPTIONS:Mcanlock)
+.include "../../news/libcanlock/buildlink3.mk"
+CONFIGURE_ARGS+=       --enable-cancel-locks
+.endif
+
 .if !empty(PKG_OPTIONS:Mcurses) || !empty(PKG_OPTIONS:Mwide-curses)
 .include "../../mk/curses.buildlink3.mk"
 CONFIGURE_ARGS+=       --with-screen=${CURSES_TYPE}
@@ -22,8 +27,17 @@ CONFIGURE_ARGS+=     --with-curses-dir=${BUI
 .include "../../textproc/icu/buildlink3.mk"
 .endif
 
-.if !empty(PKG_OPTIONS:Minet6)
-CONFIGURE_ARGS+=       --enable-ipv6
+.if empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+=       --disable-ipv6
+.endif
+
+PLIST_VARS+=   nls
+.if !empty(PKG_OPTIONS:Mnls)
+PLIST.nls=     yes
+.include "../../devel/gettext-lib/buildlink3.mk"
+CONFIGURE_ARGS+=       --enable-nls
+.else
+CONFIGURE_ARGS+=       --disable-nls
 .endif
 
 .if !empty(PKG_OPTIONS:Mtin-use-inn-spool)
@@ -37,7 +51,7 @@ CONFIGURE_ARGS+=      --with-inews-dir=${PREF
 CONFIGURE_ARGS+=       --enable-nntp-only
 .endif
 
-.if !empty(PKG_OPTIONS:Msocks)
-.include "../../net/dante/buildlink3.mk"
-CONFIGURE_ARGS+=       --with-socks=${BUILDLINK_PREFIX.dante}
-.endif
+#.if !empty(PKG_OPTIONS:Msocks)
+#.include "../../net/dante/buildlink3.mk"
+#CONFIGURE_ARGS+=      --with-socks=${BUILDLINK_PREFIX.dante}
+#.endif

Added files:

Index: pkgsrc/news/tin/patches/patch-Makefile
diff -u /dev/null pkgsrc/news/tin/patches/patch-Makefile:1.1
--- /dev/null   Mon Sep  3 09:39:27 2018
+++ pkgsrc/news/tin/patches/patch-Makefile      Mon Sep  3 09:39:27 2018
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2018/09/03 09:39:27 wiz Exp $
+
+Do not ignore error for missing src/Makefile.
+
+--- Makefile.orig      2007-02-01 13:11:14.000000000 +0000
++++ Makefile
+@@ -400,7 +400,7 @@ all:
+       @$(ECHO) " "
+ 
+ build:
+-      @-if $(TEST) -r $(SRCDIR)/Makefile ; then $(CD) $(SRCDIR) && $(MAKE) ; else $(ECHO) "You need to run configure first - didn't you read README?" ; fi
++      @if $(TEST) -r $(SRCDIR)/Makefile ; then $(CD) $(SRCDIR) && $(MAKE) ; else $(ECHO) "You need to run configure first - didn't you read README?" ; fi
+ 
+ install:
+       @$(CD) $(SRCDIR) && $(MAKE) install
Index: pkgsrc/news/tin/patches/patch-configure
diff -u /dev/null pkgsrc/news/tin/patches/patch-configure:1.1
--- /dev/null   Mon Sep  3 09:39:27 2018
+++ pkgsrc/news/tin/patches/patch-configure     Mon Sep  3 09:39:27 2018
@@ -0,0 +1,16 @@
+$NetBSD: patch-configure,v 1.1 2018/09/03 09:39:27 wiz Exp $
+
+Skip missing include directories.
+
+--- configure.orig     2017-12-24 11:52:06.000000000 +0000
++++ configure
+@@ -9202,6 +9202,9 @@ echo "$ac_t""$cf_cv_ncurses_h2" 1>&6
+ if test -n "$cf_1st_incdir" ; then
+   for cf_add_incdir in $cf_1st_incdir
+   do
++    if ! [ -d $cf_add_incdir ]; then
++      continue;
++    fi
+       while test $cf_add_incdir != /usr/include
+       do
+         if test -d $cf_add_incdir
Index: pkgsrc/news/tin/patches/patch-include_tin.h
diff -u /dev/null pkgsrc/news/tin/patches/patch-include_tin.h:1.1
--- /dev/null   Mon Sep  3 09:39:27 2018
+++ pkgsrc/news/tin/patches/patch-include_tin.h Mon Sep  3 09:39:27 2018
@@ -0,0 +1,15 @@
+$NetBSD: patch-include_tin.h,v 1.1 2018/09/03 09:39:27 wiz Exp $
+
+Use system libcanlock.
+
+--- include/tin.h.orig 2017-12-08 07:52:23.000000000 +0000
++++ include/tin.h
+@@ -2366,7 +2366,7 @@ extern struct tm *localtime(time_t *);
+ 
+ /* libcanlock */
+ #ifdef USE_CANLOCK
+-#     include "../libcanlock/include/canlock.h"
++#     include <libcanlock-3/canlock.h>
+ #endif /* USE_CANLOCK */
+ 
+ /* gsasl */
Index: pkgsrc/news/tin/patches/patch-src_Makefile.in
diff -u /dev/null pkgsrc/news/tin/patches/patch-src_Makefile.in:1.1
--- /dev/null   Mon Sep  3 09:39:27 2018
+++ pkgsrc/news/tin/patches/patch-src_Makefile.in       Mon Sep  3 09:39:27 2018
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_Makefile.in,v 1.1 2018/09/03 09:39:27 wiz Exp $
+
+Do not link internal static libcanlock.
+Do not install mbox manpage.
+
+--- src/Makefile.in.orig       2017-12-08 07:55:34.000000000 +0000
++++ src/Makefile.in
+@@ -209,7 +209,7 @@ EXTRAOBJS = @EXTRAOBJS@
+ EXTRA_INTLLIBS = @INTLDIR_MAKE@ @INTLLIBS@
+ EXTRA_PCREHDRS = @PCREDIR_MAKE@ ../pcre/pcre.h
+ EXTRA_PCRELIBS = @PCREDIR_MAKE@ ../pcre/$(PRELIB)pcre.a
+-EXTRA_CANLIBS = @CANDIR_MAKE@ ../libcanlock/$(PRELIB)canlock.a
++#EXTRA_CANLIBS = @CANDIR_MAKE@ ../libcanlock/$(PRELIB)canlock.a
+ EXTRALIBS = $(EXTRA_INTLLIBS) $(EXTRA_PCRELIBS) $(EXTRA_CANLIBS)
+ 
+ OFILES        = @ALLOCA@ $(EXTRAOBJS) \
+@@ -341,7 +341,6 @@ install_manpage : $(DESTDIR)$(INS_MANUAL
+       @-$(RM) -f $(DESTDIR)$(INS_MANUAL_DIR)5/r$(PROJECT).5
+       @$(ECHO) ".so $(INS_MANUAL_DIR)5/$(PROJECT).5" > $(DESTDIR)$(INS_MANUAL_DIR)5/r$(PROJECT).5
+       @$(CHMOD) 444 $(DESTDIR)$(INS_MANUAL_DIR)5/r$(PROJECT).5
+-      @-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
+       @-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
+ 
+ uninstall_manpage :



Home | Main Index | Thread Index | Old Index