Update to 1.99.08.
Changes:
	- use flock() on disk images to avoid accidents
	- improve gdb interface to treat CPUs as "threads"
	- rework tty handling; now behaves when backgrounded
	- change disk image names in sample config to match OS/161 usage
	- rework timing code and fix bug with bogus large idle counts
	- rework and retune main loop; much faster
	- use more gcc warnings
emulators/sys161
adjust PLIST to support dtrace option
Prevent libfi to be linked with libintl.
Gettext is just used in flex tool, not in library.

Bump PKGREVISION.
Updated devel/flex to 2.5.39nb2
Update slrn to 1.0.1.
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].
Updated news/slrn to 1.0.1
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 <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
Updated news/tin to 2.2.1
Changes 1.6.6:
Security fixes:
* Issue: reverse() can generate URLs pointing to other hosts (CVE-2014-0480)
* Issue: file upload denial of service (CVE-2014-0481)
* Issue: RemoteUserMiddleware session hijacking (CVE-2014-0482)
* Issue: data leakage via querystring manipulation in admin (CVE-2014-0483)
Changes 1.4.14:
Security fixes:
* Issue: reverse() can generate URLs pointing to other hosts (CVE-2014-0480)
* Issue: file upload denial of service (CVE-2014-0481)
* Issue: RemoteUserMiddleware session hijacking (CVE-2014-0482)
* Issue: data leakage via querystring manipulation in admin (CVE-2014-0483)
Updated www/py-django to 1.6.6; www/py-django14 to 1.4.14
Fixes for:
CVE-2014-2326 Unspecified HTML Injection Vulnerability
CVE-2014-2328 Unspecified Remote Command Execution Vulnerability
CVE-2014-2708 Unspecified SQL Injection Vulnerability
CVE-2014-2709 Unspecified Remote Command Execution Vulnerability
Squelch commit warning with wiki.n.o's unusual (scheme-less) $config{url}.
Bump PKGREVISION.
Rename readme.sr to README.sr so all opsys have the same PLIST.
Hope this works on case-insensitive file systems. If not, let's
just rm this thing.

Bump PKGREVISION.

XXX: Why is this package "destdir" and not "user-destdir"?
Updated mail/mailman to 2.1.18.1nb1
Add bug report URL.
SunOS needs explicit -lnsl and -socket as well as XPG6 for libptytty