From 3db39aa116906b8650dde268daee57fa1109e9fd Mon Sep 17 00:00:00 2001 From: obache Date: Sat, 23 Aug 2014 10:05:58 +0000 Subject: Update news/tin to 2.2.1. PR pkg/49126 by Leonardo Taccari. pkgsrc changes: o Add more mirrors to MASTER_SITES (from http://www.tin.org/mirrors.html) Changes: -- 2.2.1 release 20140504 "" -- 004) Dennis Preiser BUG. don't stop utf8 validation on first \n BUG. possible buffer overrun in build_gline(). BUG. missing check for art->refptr in build_tline(). ADD. handle space-stuffing from RFC 2646 4.4 ADD. tweak URL_REGEX, dont stop befor closing ) if there was an opening ( in the url. ADD. allow editing of captured URL befor spwaning viewer FIX. cook.c, misc.c, page.c, rfc2046.c, select.c, thread.c, rfc2046.h tin.h 003) Matt Anton ADD. updated french translation FIX. fr.po 002) Toomas Soome ADD. updated estonian translation FIX. et.po 001) Urs Janssen ADD. config.guess, config.sub update ADD. updated german translation ADD. no-c-format hint for xgettext BUG. hypothetic 1 byte buffer overrun in read_newsrc_active_file() with newsgoup names longer than 511 bytes (RFC 3977 guarantees them to be 497 bytes max). BUG. hypothetic out of bounds write in msg_add_header() if more than MAX_MSG_HEADERS are added automatically BUG. don't null strings will illegal multibyte sequences, just replace eveything after the fist illegal sequence with ? FIX. active.c, config.c, feed.c, lang.c, page.c, post.c, read.c, rfc2046.c, string.c, config.guess, config.sub, de.po -- 2.2.0 release 20131224 "Lochindaal" -- U025) Joe Hansen ADD. updated danish translation FIX. da.po U024) Thomas E. Dickey ADD. update configure macros FIX. aclocal.m4, configure.in U023) Dennis Preiser BUG. do not truncate long subjects in group level if they fit on the screen FIX. group.c U022) Matt Anton ADD. updated french translation FIX. fr.po U021) Urs Janssen ADD. removed some useless initializations ADD. config.guess update BUG. don't give error message for manually aborted saves BUG. fixed a possible free(NULL) if linked against libgsasl BUG. forged cancels (-DFORGERY) didn't include all original headers in the body as it was done before tin 2.0.0 BUG. memleak in pos_group_in_newsrc() when moving a group to new position FIX. active.c, auth.c, curses.c, feed.c, group.c, inews.c, lang.c, mail.c main.c, misc.c, newsrc.c, page.c, post.c, prompt.c, save.c, select.c string.c, thread.c, xref.c, config.guess U020) Toomas Soome ADD. updated estonian translation FIX. et.po -- 2.1.5 release 20131126 "Meadowburn" -- U019) Dennis Preiser BUG. possible dereference null return value BUG. fixed various uncritical resource leeks BUG. possible wrong position of %U and %f with user defined screen layout FIX. select.c, string.c, tin.h U018) Matt Anton ADD. updated french translation FIX. fr.po U017) Urs Janssen ADD. updated german translation ADD. remove FWS from Newsgroups and Followup-To when posting a followup ADD. allow new gTLDs xn--ngbc5azd, xn--80asehdb, xn--80aswg, xn--unup4y ADD. allow new IDN ccTLD of Iran ADD. allow new gTLDs graphics, contractors, gallery, sexy, construction tattoo, technology, estate, land, bike, ventures, camera, clothing lighting, singles, voyage, guru, holdings, equipment ADD. make the filter debug output somewhat more readable ADD. more verbose "LIST OVERVIEW.FMT" debugging ADD. updated mbox and mmdf manpage ADD. set default of disable_gnksa_domain_check to TRUE ADD. mention mailaddress on the posting summary screen for mailgroups BUG. in mailgroups the posting summary screen wasn't updated after editing the article BUG. fixed various uncritical resource leeks BUG. fixed various hypothetic buffer overruns BUG. removed some dead code BUG. in -n case a valid group could be treated as invalid on RFC 3977 servers FIX. active.c, art.c, config.c, debug.c, feed.c, filter.c, getline.c group.c, header.c, help.c, inews.c, init.c, keymap.c, lang.c, lock.c main.c, memory.c, misc.c, my_tmpfile.c, newsrc.c, nntplib.c, page.c pgp.c, post.c, read.c, refs.c, rfc1524.c rfc2046.c, rfc2047.c save.c, search.c, select.c, sigfile.c, version.c, xface.c, xref.c extern.h, policy.h, proto.h, de.po, mbox.5, mmdf.5 U016) Toomas Soome ADD. updated estonian translation FIX. et.po -- 2.1.4 release 20131019 "Killarow" -- U015) Dennis Preiser ADD. user defined screen layout at selection, group and thread level (debian bug #63877) BUG. the code for genetaring initials (used for quote_chars) was not multibyte safe FIX. attrib.c, config.c, group.c, init.c, lang.c, memory.c, misc.c options_menu.c, page.c, post.c, save.c, screen.c, select.c, string.c thread.c, tincfg.tbl, extern.h, proto.h, tin.h, tinrc.h, version.h tin.1, tin.5 U014) Urs Janssen BUG. off by one error when checking for valid ISO2ASC settings BUG. current article was not recooked if changing news_headers_to_display and/or news_headers_to_not_display in the attributes menu BUG. used 'K' instead of 'k' as kilo SI suffix when shortening large numbers ADD. skip "Can't find base article" message if not running in DEBUG_FILTER or DEBUG_REFS mode ADD. allow new IDN ccTLD of Mongolia ADD. allow gTLD post. ADD. tweaked manpage ADD. make traget install_nls_man for translated manpages ADD. config.guess update FIX. charset.c, config.c, init.c, options_menu.c, string.c, policy.h Makefile, Makefile.in, tin.1, tin.5, config.guess -- 2.1.3 release 20130812 "Scarabus" -- U013) Dennis Preiser BUG. contents of Supersedes header was shown mime decoded in pager FIX. cook.c U012) Wei-Lun Chao ADD. updated chinese translation FIX. zh_TW.po UO11) Dennis Grevenstein BUG. used strdup() instead of my_strdup() (strdup is not mandatory in ANSI-C) FIX. art.c U010) Joe Hansen ADD. updated danish translation FIX. da.po U009) Toomas Soome ADD. updated estonian translation FIX. et.po U008) Urs Janssen BUG. interactive prompting for username/password in batch-mode BUG. don't generate Cancel-Lock if cancel secret is empty BUG. used strdup() instead of my_strdup() ADD. prefer $XDG_RUNTIME_DIR over $HOME for fifos used by xface ADD. allow new IDN ccTLD of Ukraine ADD. allow new ccTLD of Sint Maarten ADD. config.guess, config.sub update ADD. avoid charset conversion if the local charset is the same as the network charset ADD. mention $TIN_NOVFILENAME in man pages FIX. auth.c, debug.c, lang.c, misc.c, post.c, prompt.c, xface.c, bool.h extern.h, policy.h, Makefile, config.guess, config.sub, tin.[15] -- 2.1.2 release 20121224 "Langholm" -- U007) Vincent Lefevre BUG. doubled % in some description strings where single % are needed (debian bug #684587) FIX. lang.c U006) Urs Janssen BUG. possible printf with null pointer in check_moderated() when trying to post an article to a non existent group ADD. config.guess, config.sub update ADD. allow new IDN ccTLDs of Oman and Malaysia BUG. username and password wasn't converted to UTF-8 for SASL AUTH PLAIN BUG. missing square brackets in gsasl.h check FIX. auth.c, post.c, policy.h, configure[.in], config.guess, config.sub U005) Matt Anton ADD. updated french translation FIX. fr.po -- 2.1.1 release 20120623 "Mulindry" -- 007) Urs Janssen ADD. allow new IDN ccTLD of Kazakhstan and new ccTLD of Curacao FIX. policy.h 006) Wei-Lun Chao ADD. chinese translation FIX. zh_TW.po 005) Dennis Preiser BUG. in read groups with show_only_unread_arts base article was invalid but should be displayed after 'M'enu FIX. group.c, options_menu.c, page.c, post.c, select.c, thread.c, proto.h U004) Thomas E. Dickey ADD. update configure macros ADD. --enable-heapsort configure switch ADD. 'M'enu option for sort_function if --enable-heapsort FIX. art.c, config.c, heapsort.c, init.c, lang.c, options_menu.c tcurses.c, tincfg.tbl, extern.h, proto.h, tin.h, tinrc.h configure[.in], autoconf.h[in], aclocal.m4 U003) Urs Janssen ADD. config.guess, config.sub update ADD. heapsort.c fallback ADD. compile heapsort.c and xface.c conditionaly ADD. configure check for libunistring if libicuuc is not found ADD. configure check for setvbug ADD. prefer libicuuc for idna2003 decoding over libidn ADD. use NFC instead of NFKC as default normalization if possible ADD. swapped args for append_file() to match order of copy_fp() BUG. creation of several temporary files could fail if $TMPDIR didn't end with / BUG. doubled % in some description strings where single % are needed BUG. used strftime() instead of my_strftime() in debug.c BUG. cached overview wasn't converted to undeclared_charset if set for the group and post_8bit_header was active FIX. art.c, config.c, debug.c, heapsort.c, inews.c, init.c, lang.c mail.c, misc.c, nntplib.c, pgp.c, post.c, refs.c, select.c string.c extern.h, proto.h, tin.h, autoconf.h[in], configure[.in] config.guess, config.sub, Makefile, tin.1, tin.5, *.po -- 2.1.0 release 20111224 "Bridgend" -- 004) Matt Anton ADD. updated french translation FIX. fr.po 003) Toomas Soome ADD. updated estonian translation FIX. et.po U002) Dennis Preiser ADD. support for article numbers > 2^31 (--enable-long-article-numbers) ADD. reduce memory usage if getart_limit is set ADD. store superseds in posted_articles_file FIX. active.c, art.c, debug.c, group.c, lang.c, mail.c, memory.c newsrc.c, page.c, post.c, rfc2046.c, save.c, screen.c, select.c string.c, thread.c, xref.c, extern.h, proto.h, tin.h, autoconf.h[in] configure[.in] 002) Dennis Preiser BUG. buggy error-message for attributes with no scope BUG. abbreviated group names might get unnecessary cut off BUG. OPT_MONO_* options were shown in menu when use_color is enabled BUG. in some cases huge article numbers might get corrupted due to the use of atoi() BUG. possible uninitialized ext_color member in cchar_t (new in ncurses6) FIX. art.c, attrib.c, lang.c, options_menu.c, select.c, tcurses.c extern.h, tincfg.tbl U001) Urs Janssen ADD. some more debugging output ADD. timestamps to debugging output ADD. configure check for libidnkit (IDNA 2008) ADD. configure check for clock_gettime(2) ADD. updated german translation, switch to UTF-8 encoding ADD. configure check for inet_ntoa in libnsl ADD. configure check for idna_strerro in libidn ADD. use range in LISTGROUP if getart_limit is set FIX. active.c, art.c, debug.c, filter.c, group.c, lang.c, mail.c, misc.c nntplib.c, screen.c, signal.c, xref.c, proto.h, tin.h, tin.1, tin.5 Makefile[.in], configure[.in] autoconf.h[in], aclocal.m4, de.po 001) Urs Janssen ADD. config.guess, config.sub update BUG. crash when entering scope menu without active group FIX. select.c, config.guess, config.sub --- news/tin/Makefile | 24 ++++++++++++++---------- news/tin/PLIST | 3 ++- news/tin/distinfo | 8 ++++---- 3 files changed, 20 insertions(+), 15 deletions(-) (limited to 'news') diff --git a/news/tin/Makefile b/news/tin/Makefile index 838593ce300..d136b14b466 100644 --- a/news/tin/Makefile +++ b/news/tin/Makefile @@ -1,11 +1,16 @@ -# $NetBSD: Makefile,v 1.58 2014/05/29 23:37:13 wiz Exp $ +# $NetBSD: Makefile,v 1.59 2014/08/23 10:05:58 obache Exp $ # -DISTNAME= tin-2.0.1 -PKGREVISION= 9 +DISTNAME= tin-2.2.1 CATEGORIES= news MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/stable/ \ - ftp://ftp.cs.tu-berlin.de/pub/net/news/tin/stable/ + ftp://ftp.funet.fi/pub/unix/news/tin-unoff/ \ + ftp://ftp.lip6.fr/pub/unix/news/readers/tin-unoff/ \ + ftp://ftp.akk.uni-karlsruhe.de/pub/news/clients/tin/stable/ \ + ftp://ftp.cs.tu-berlin.de/pub/net/news/tin/stable/ \ + ftp://ftp.cuhk.edu.hk/pub/packages/news/tin/stable/ \ + ftp://sunsite.icm.edu.pl/pub/unix/news/tin/stable/ \ + ftp://ftp.sunet.se/pub/news/readers/tin/stable/ EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@NetBSD.org @@ -14,7 +19,7 @@ COMMENT= TIN newsreader (termcap based) # See src/nntplib.c, vms/vms.c LICENSE= tin-license -RESTRICTED= Profit from use, sale, trade, or reproduction disallowed +RESTRICTED= Profit from use, sale, trade, or reproduction disallowed NO_SRC_ON_CDROM= ${RESTRICTED} NO_BIN_ON_CDROM= ${RESTRICTED} @@ -32,14 +37,13 @@ BUILD_TARGET= build CONFIGURE_ARGS+= --with-nntp-default-server=news CONFIGURE_ARGS+= --with-mime-default-charset=ISO-8859-1 -CONFIGURE_ARGS+= --enable-forgery CONFIGURE_ARGS+= --enable-break-long-lines CONFIGURE_ARGS+= --with-gpg=${PREFIX}/bin/gpg CONFIGURE_ARGS+= --with-ispell=${PREFIX}/bin/ispell CONFIGURE_ARGS+= --with-metamail=${PREFIX}/bin/metamail CONFIGURE_ARGS+= --with-pcre=${BUILDLINK_PREFIX.pcre} CONFIGURE_ARGS+= --disable-mime-strict-charset -CONFIGURE_ARGS+= --with-defaults-dir=${PREFIX}/etc +CONFIGURE_ARGS+= --with-defaults-dir=${PKG_SYSCONFDIR} CONFIGURE_ARGS+= --enable-mh-mail-handling CONFIGURE_ARGS+= --with-coffee @@ -47,11 +51,11 @@ SUBST_CLASSES+= tin SUBST_STAGE.tin= pre-configure SUBST_MESSAGE.tin= Adjusting path to the configuration directory. SUBST_FILES.tin= doc/tin.1 -SUBST_SED.tin= -e 's:/etc/nntpserver:${PREFIX}/etc/nntp/server:' +SUBST_SED.tin= -e 's:/etc/nntpserver:${PKG_SYSCONFDIR}/nntp/server:' post-configure: - ${ECHO} '#define NNTP_SERVER_FILE "${PREFIX}/etc/nntp/server"' >>${WRKSRC}/include/autoconf.h - ${ECHO} '#define SMTP_SERVER_FILE "${PREFIX}/etc/smtpserver"' >>${WRKSRC}/include/autoconf.h + ${ECHO} '#define NNTP_SERVER_FILE "${PKG_SYSCONFDIR}/nntp/server"' >>${WRKSRC}/include/autoconf.h + ${ECHO} '#define SMTP_SERVER_FILE "${PKG_SYSCONFDIR}/smtpserver"' >>${WRKSRC}/include/autoconf.h post-install: ${INSTALL_DATA} ${WRKSRC}/doc/WHATSNEW ${DESTDIR}${PREFIX}/share/doc/tin diff --git a/news/tin/PLIST b/news/tin/PLIST index d3a19ea4cb0..84a034c7173 100644 --- a/news/tin/PLIST +++ b/news/tin/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.9 2011/11/30 21:22:41 wiz Exp $ +@comment $NetBSD: PLIST,v 1.10 2014/08/23 10:05:58 obache Exp $ bin/metamutt bin/opt-case.pl bin/rtin @@ -23,3 +23,4 @@ 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 diff --git a/news/tin/distinfo b/news/tin/distinfo index 5f37f36e5e0..0565491118a 100644 --- a/news/tin/distinfo +++ b/news/tin/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.20 2012/01/28 15:56:04 wiz Exp $ +$NetBSD: distinfo,v 1.21 2014/08/23 10:05:58 obache Exp $ -SHA1 (tin-2.0.1.tar.bz2) = bf54c04c114a194d54431240f31e3c7b80b0d790 -RMD160 (tin-2.0.1.tar.bz2) = 744ef16c7ce83971213b2ae2d26fac3c48a91eaa -Size (tin-2.0.1.tar.bz2) = 1758848 bytes +SHA1 (tin-2.2.1.tar.bz2) = aed9f2d4fc17c08c0f9d8d4b6ed38e5b070763a2 +RMD160 (tin-2.2.1.tar.bz2) = c19d85ea2a4bcfd0453b17130a1465d163303c98 +Size (tin-2.2.1.tar.bz2) = 1834572 bytes SHA1 (patch-aa) = a3d40ff4e38230bcf8a3814c92ec2a75f85bf44e SHA1 (patch-ab) = 34794d259ae4fb81888184ded9876ab5874d8731 SHA1 (patch-am) = 958f7c158e599f17525bc6ada366e25276571b9b -- cgit v1.2.3