- Performance optimization, reported by Gary R. Schmidt.
- Fix a file descriptor leak in fetchnews.c's getbody_newno function
- When complaining that we are unable to switch the user ID, report the
current real and effective user IDs to ease debugging.
- Leafnode now enables IPv6 support by default. Use --without-ipv6 to disable.
- Leafnode now supports detecting if a peer is in a local network also
for IPv6 global addresses, providing that the host OS provides getifaddrs().
This comprises Linux, NetBSD, FreeBSD, but not, for instance, Solaris 10.
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 <dennis@d--p.de>
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 <tin@syrius.org>
ADD. updated french translation
FIX. fr.po
002) Toomas Soome <Toomas.Soome@microlink.ee>
ADD. updated estonian translation
FIX. et.po
001) Urs Janssen <urs@tin.org>
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 <joedalton2@yahoo.dk>
ADD. updated danish translation
FIX. da.po
U024) Thomas E. Dickey <dickey@invisible-island.net>
ADD. update configure macros
FIX. aclocal.m4, configure.in
U023) Dennis Preiser <dennis@d--p.de>
BUG. do not truncate long subjects in group level if they
fit on the screen
FIX. group.c
U022) Matt Anton <tin@syrius.org>
ADD. updated french translation
FIX. fr.po
U021) Urs Janssen <urs@tin.org>
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 <Toomas.Soome@microlink.ee>
ADD. updated estonian translation
FIX. et.po
-- 2.1.5 release 20131126 "Meadowburn" --
U019) Dennis Preiser <dennis@d--p.de>
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 <tin@syrius.org>
ADD. updated french translation
FIX. fr.po
U017) Urs Janssen <urs@tin.org>
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 <Toomas.Soome@microlink.ee>
ADD. updated estonian translation
FIX. et.po
-- 2.1.4 release 20131019 "Killarow" --
U015) Dennis Preiser <dennis@d--p.de>
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 <urs@tin.org>
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 <dennis@d--p.de>
BUG. contents of Supersedes header was shown mime decoded in pager
FIX. cook.c
U012) Wei-Lun Chao <chaoweilun@gmail.com>
ADD. updated chinese translation
FIX. zh_TW.po
UO11) Dennis Grevenstein <dennis@pcde.inka.de>
BUG. used strdup() instead of my_strdup() (strdup is not mandatory
in ANSI-C)
FIX. art.c
U010) Joe Hansen <joedalton2@yahoo.dk>
ADD. updated danish translation
FIX. da.po
U009) Toomas Soome <Toomas.Soome@microlink.ee>
ADD. updated estonian translation
FIX. et.po
U008) Urs Janssen <urs@tin.org>
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 <vincent@vinc17.net>
BUG. doubled % in some description strings where single % are needed
(debian bug #684587)
FIX. lang.c
U006) Urs Janssen <urs@tin.org>
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 <tin@syrius.org>
ADD. updated french translation
FIX. fr.po
-- 2.1.1 release 20120623 "Mulindry" --
007) Urs Janssen <urs@tin.org>
ADD. allow new IDN ccTLD of Kazakhstan and new ccTLD of Curacao
FIX. policy.h
006) Wei-Lun Chao <chaoweilun@gmail.com>
ADD. chinese translation
FIX. zh_TW.po
005) Dennis Preiser <dennis@d--p.de>
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 <dickey@invisible-island.net>
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 <urs@tin.org>
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 <tin@syrius.org>
ADD. updated french translation
FIX. fr.po
003) Toomas Soome <Toomas.Soome@microlink.ee>
ADD. updated estonian translation
FIX. et.po
U002) Dennis Preiser <dennis@d--p.de>
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 <dennis@d--p.de>
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 <urs@tin.org>
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 <urs@tin.org>
ADD. config.guess, config.sub update
BUG. crash when entering scope menu without active group
FIX. select.c, config.guess, config.sub
Based on PR pkg/49129 by Leonardo Taccari.
Changes since 1.0.0
1. An issue with the wrap_width variable was fixed.
Changes since 0.9.9p1
1. src/charset.c: Avoid using CODESET if it is not defined.
2. doc/slrn.1: Remove blank line at top of file. (Ignatios Souvatzis)
3. src/Makefile.in: /bin/sh on solaris does not like empty lists in a
for loop causing make install to fail. Workaround added
(Petr Sumbera).
4. src/mime.c: rewrote much of the email address encoding/decoding so
that only comment fields in email addresses are encoded/decoded.
slrn is also smarted in encoding/decoding other headers (based on
patch from Robert Grimm).
5. autoconf/Makefile.in: Added dependencies such that if the
Makefile.in and config.in files have been modified, the user is
told to re-run the configure script.
6. Updated the copyright years to 2009.
7. src/mime.c: Omit the mime headers if the content is pure 7bit.
Also, if mime-headers already exist, do not add append additional
ones.
8. configure: Added the configuration option --with-non-gnu-iconv that
can be used to indicate that local version of iconv is not
compatible with GNU iconv (Piotr 'aniou' Meyer).
9. src/charset.c: Upon failure, slrn_test_convert_lines will return the line
that caused it to fail.
10. src/charset.c: If the --debug option is given, slrn will write the
strings that iconv failed to convert to the log file.
11. src/post.c: Skip long line checks between verbatim marks. (Robert
Grimm).
12. src/nntplib.h: Removed duplicate declarations of nntp_server_cmd
and nntp_server_vcmd. (Li Hong).
13. src/decode.c: If an output file already exists, create a new one
by appending an integer to the name.
14. src/slrn.c: work around a SLang_getkey bug that arises when the
underlying read system call is interrupted, and the interrupt hook
creates a different read descriptor.
15. src/misc.c: All error messages (including slang tracebacks) are
logged to the --debug output file.
16. src/art.c,etc: If an article has invalid headers, clear the error
but give the article an initial score of -1000. This number may
be customized using the "invalid_header_score" variable.
17. src/mime.c: In slrn_mime_process_article, decode headers even if
Content-Type is not understood and metamail is needed.
18. src/art.c: Avoid a buffer overflow when reconstructing huge
threads. Thanks to Robert Grimm for finding the problem.
19. src/version.c: %d format was used to print a long integer.
20. src/nntplib.c: slrn user "narke" discovered that his server will
disconnect if an attempt is made to post an empty body. slrn does
this after authenticating with the server to verify that posting
is possible. As a work-around, the response comment from the
AUTHINFO command is parsed.
21. src/sltcp.c: Add support for gnutls logging functions.
22. src/chkslang.c: Fixed a sscanf format issue involving long long
integers.
23. src/sltcp.c: Change 21 needed #ifdef SLTCP_HAS_GNUTLS_SUPPORT.
24. src/nntplib.c: A comparison in #20 should have used != instead of
==.
25. doc/slrn.rc: "utf8" changed to "utf-8" (Thomas Wiegner).
26. src/art_misc.c: Increased the search range for a pgp signature.
27. src/misc.c: The rline_update callback function was not handling
the case where no prompt (prompt==NULL) was associated with the
readline object. (M. G. Berberich)
28. src/vfile.c: Add explicit void* to char* cast for better C++
compliance.
29. doc/tm/: Updated the Makefile and rebuilt the docs
30. src/interp.c, art.c: Added support for an optional argument to the
replace_article function that dictates if the article should be
mime processed.
31. src/*: Updated copyright year and trimmed extra whitespace.
32. macros/mime.sl: Added initial support for multipart mime messages.
See macros/mime.sl for additional information.
33. macros/mime.sl;src/*.c: More support for processing multipart mime
messages, including the ability to save/view the various parts of
a message.
34. src/misc.c:generic_read_input: If point is negative, regard it as
an offset from the end of the string. Changes were also made to
the callers of this function accordingly.
35. macros/mailcap.sl: If an executable does not exist on the search
path, skip the mailcap entry.
36. src/interp.c: Added "replace_cooked_article", which is like
to "replace_article", but does not affect the raw lines. mime.sl
was updated to use this.
37. macros/mime.sl: Added an option to the browse menu that permits
the full raw article to be viewed.
38. macros/mime.sl: Added a more informative message when a mime
article is encountered.
39. src/mime.c: A couple of strncmp calls used the wrong length (Patched
by Thomas Wiegner).
40. macros/mime.sl: The boundary subkeyword was not being detected in a
case-insensitive way. Also the wrong filename was mentioned in
the usage comments. (Christian Ebert)
41. macros/mime.sl: Add an option to view all parts of a mime
multipart message.
42. Added a top-level win32 directory containing scripts for building
slrn using MinGW on a Windows system. See doc/INSTALL.w32 for
details.
43. src/*.c: Various win32-specific tweaks to avoid some warnings
generated by MinGW's gcc.
44. win32/msinstall.sl: Use $prefix/share/man instead of $prefix/man
for the directory where man pages are installed.
45. doc/THANKS updated.
46. updated autoconf/config.guess and autoconf/config.sub
47. doc/THANKS rearranged.
48. src/art_misc.c: New config variable: "wrap_width", which sets the
width that will trigger wrapping.
49. doc/: Updated txt docs from slrn doc project's svn repos.
50. Version 1.0 released [Dec 21, 2012].
Changes in 2.5.4
* An up-to-date control.ctl file is provided with this release. You
should manually update your control.ctl file with the new information
recorded about Usenet hierarchies.
* A test has been improved in innwatch.ctl so that innwatch no longer
throttles innd when no overview directory exists. You should manually
update your innwatch.ctl file to get this improvement.
* Fixed a long-standing limitation on how controlchan and pgpverify were
checking the signer of control messages. They now properly handle the
case of several UIDs being defined on a single PGP key, as well as the
presence of spaces into UIDs. In previous versions of INN, a few
valid control messages got ignored because of that limitation
(fido.ger.* and grisbi.* were for instance impacted).
* As the name of the radius.conf configuration file shipped with INN for
the nnrpd authenticator against a RADIUS server conflicts with the
libradius package, this file is renamed to inn-radius.conf (innupgrade
takes care of the rename during the update).
* The attributes hash is now accessible to nnrpd Perl posting filter.
As a result, filter_nnrpd.pl can make use of it. Only authentication
and access Perl hooks could previously use the attributes hash.
Thanks to Steve Crook for this addition.
* INN now properly builds fine with flex 2.5.36 (this version introduced
a change of type for a variable used by INN).
* When using funnel feeds, innfeed log files were open forever, which
resulted in empty log files, once rotated by scanlogs. innfeed now
reopens its log files upon receiving a HUP signal; this signal is in
particular sent by scanlogs during log rotation. Thanks to Florian
Schlichting for the patch.
* Exploder and process channels are now reopened when "ctlinnd
flushlogs" is used. Otherwise, they could hold open an already
deleted errlog file. The issue affected in particular controlchan or
ninpaths, running as such channels.
* Fixed a buffer overflow when using imapfeed with more than a million
commands during the same IMAP session. Thanks to David Binderman for
the bug report.
* Fixed a segfault occurring in innd on systems where time_t is a 64-bit
integer. Thanks to S.P. Zeidler for the patch.
* Fixed a segfault occurring in nnrpd when a res block was used in
readers.conf without the program: key.
* Fixed an issue where users were denied posting because of an
overlapping buffer copy in a check nnrpd was doing. Thanks to Florian
Schlichting for the patch.
* Fixed a regression that occurred in INN 2.5.3 regarding the path used
by default by pullnews for its configuration file. Instead of looking
in the running user's home directory, it was looking in the *pathnews*
directory set in inn.conf. Thanks to Tony Evans for the bug report.
* When neither wget nor ncftpget nor ncftp was found at configure time,
the path to the simpleftp substitution program shipped with INN was
not properly set in innshellvars, innshellvars.pl, and the
"INN::Config" Perl module. Thanks to Christian Garbs for the bug
report.
* ckpasswd no longer tries to use the ndbm compatibility layer provided
by Berkeley DB if Berkeley DB has been built without ndbm support.
Also add support for gdbm libraries in ckpasswd.
* Fixed a Perl warning in inncheck; using "defined(@array)" has been
deprecated since Perl 5.16.
* Fixed the occurrence of an unexpected "cant select" error generated by
innd. Thanks to Paul Tomblin for having caught that long-standing
issue.
* When building INN with Berkeley DB support, no longer add -L/usr/lib
to the linker include flags; unconditionally adding it may break the
build on systems using lib32 and lib64 directories.
* On a fresh INN install, motd.innd and motd.nnrpd are no longer
installed by default. Instead, samples for these files are provided
in *pathetc*, named differently so that their default contents are not
displayed to news clients before they get customised.
* Other minor bug fixes and documentation improvements (like the
addition in the readers.conf man page of the log: and program:
parameters in res blocks, and the include directive).
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.
Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.
Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.
Whitespace cleanups and other nits corrected, where necessary.
Revert it. Bump PKGREVISION.
Module Name: pkgsrc
Committed By: joerg
Date: Sun Jun 16 20:44:24 UTC 2013
Modified Files:
pkgsrc/news/pan: Makefile distinfo
Added Files:
pkgsrc/news/pan/patches: patch-pan_data-impl_article-filter.cc
patch-pan_data-impl_groups.cc patch-pan_data-impl_rules-filter.cc
patch-pan_general_log.cc patch-pan_general_log.h
patch-pan_general_macros.h patch-pan_gui_header-pane.cc
patch-pan_gui_log-ui.cc patch-pan_usenet-utils_filter-info.cc
patch-pan_usenet-utils_filter-info.h
patch-pan_usenet-utils_rules-info.cc
patch-pan_usenet-utils_rules-info.h
patch-pan_usenet-utils_scorefile.cc
Log Message:
ISO C++ is explicit that deque requires a fully defined type, so it is
not portable to embeded a deque in the same type.
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.
While doing that, also bump freetype2 dependency to current pkgsrc
version.
Suggested by tron in PR 47882
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.