Commit graph

784 commits

Author SHA1 Message Date
dholland
320986e2eb Remove Dragonfly hack and use tradcpp for cpp'ing the makefiles.
Should fix Solaris build; the Solaris compiler's cpp is crashing.
2014-01-02 08:00:32 +00:00
wiz
8b460e067b Add patches from joerg to fix build with clang/libc++.
Bump PKGREVISION.
2014-01-01 12:10:00 +00:00
spz
ab7e1ebcce another time_t on 32bit system issue, a less fatal one. 2013-12-11 09:45:14 +00:00
spz
06a92fe52e leave a hint about overview issues 2013-11-27 10:10:37 +00:00
spz
980bfacda9 a small issue with 64bit time_t that leads to crashes in
news.daily, respectively on 'ctlinnd name ""' when peers are connected.
2013-11-27 10:02:55 +00:00
jperkin
d7e54c42ec Fix build on SunOS. Patch from Thomas Merkel. 2013-10-24 09:38:24 +00:00
adam
63c018902c Revbump after updating textproc/icu 2013-10-19 09:06:55 +00:00
christos
d31944e7f4 prefer terminfo/termcap before curses 2013-10-15 16:06:18 +00:00
ryoon
3fba1a52dd Recursive revbump from pango-1.36.0 2013-10-10 14:41:44 +00:00
adam
d2cb6dec32 Revbump after cairo update 2013-09-02 19:50:38 +00:00
wiz
bc09d604ba This commit breaks pan completely -- it dies during startup.
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.
2013-07-17 07:41:44 +00:00
jperkin
b091c2f172 Bump PKGREVISION of all packages which create users, to pick up change of
sysutils/user_* packages.
2013-07-12 10:44:52 +00:00
wiz
81d7c61770 Use more common pattern in dependency. 2013-06-16 21:42:00 +00:00
wiz
166d83a7cc Fix build with perl-5.18. 2013-06-16 21:38:51 +00:00
joerg
053000f22f ISO C++ is explicit that deque requires a fully defined type, so it is
not portable to embeded a deque in the same type.
2013-06-16 20:44:24 +00:00
wiz
e0b49a2fed Bump PKGREVISION for libXft changes for NetBSD native X support on
NetBSD 6, requested by tron.
2013-06-06 12:53:40 +00:00
tron
a36fb86593 Try to fix the fallout caused by the fix for PR pkg/47882. Part 3:
Recursively bump package revisions again after the "freetype2" and
"fontconfig" handling was fixed.
2013-06-04 22:15:37 +00:00
wiz
53745b22ea Bump freetype2 and fontconfig dependencies to current pkgsrc versions,
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
2013-06-03 10:05:17 +00:00
wiz
d2ca14a3f1 Bump all packages for perl-5.18, that
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.
2013-05-31 12:39:57 +00:00
mlelstv
87971cbd91 Fix config to use termios instead of COMPAT_43 functionality. 2013-05-18 11:15:00 +00:00
adam
1ab43a036f Massive revbump after updating graphics/ilmbase, graphics/openexr, textproc/icu. 2013-05-09 07:39:04 +00:00
rodent
7009872d91 "Please write NetBSD.org instead of netbsd.org" 2013-04-06 13:09:24 +00:00
dholland
190ae10c0d Fix compiled-in default path to sendmail; it should be /usr/sbin/sendmail
on essentially all even halfway modern systems. This regressed since 0.98,
although I'm not sure where/why.
2013-02-18 23:29:23 +00:00
wiz
d1b820f37b Recursive bump for png-1.6. 2013-02-16 11:18:58 +00:00
christos
fcc4c1b735 PR/47550: Rhialto: new patches for news/trn 2013-02-09 18:30:14 +00:00
jperkin
becd113253 PKGREVISION bumps for the security/openssl 1.0.1d update. 2013-02-06 23:20:50 +00:00
adam
f4c3b89da7 Revbump after graphics/jpeg and textproc/icu 2013-01-26 21:36:13 +00:00
obache
64deda1dc9 recursive bump from cyrus-sasl libsasl2 shlib major bump. 2012-12-16 01:51:57 +00:00
joerg
3353bdc2f4 Fix return type confusion. 2012-11-19 03:00:14 +00:00
adam
3f2cc57b2b Revbump after updating graphics/pango 2012-10-08 23:00:34 +00:00
asau
d70c8e374b Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. 2012-10-08 12:19:01 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
tron
14215633d2 Mass recursive bump after the dependence fix of the "cairo" package
requested by Thomas Klausner.
2012-10-02 17:10:28 +00:00
obache
c38c120ee5 recursive bump from libffi shlib major bump
(additionaly, reset PKGREVISION of qt4-* sub packages from base qt4 update)
2012-09-15 10:03:29 +00:00
adam
b15c922bcc Revbump after updating graphics/cairo 2012-09-07 19:16:05 +00:00
spz
af9289fddd Update from 2.5.2 to 2.5.3 (fixes CVE-2011-0411).
While we are touching it, fix PR/45986 with the patch supplied therein
(thanks)

Changes from 2.5.2 to 2.5.3:

  * When HDR/XHDR/XPAT were used on a new article coming into a newsgroup,
    requesting a header not present in the overview database, the first
    subsequent OVER/XOVER command did not show that article.  A remap of
    the overview data file was missing in nnrpd.  Thanks to Sam
    Varshavchik for the bug report.

  * When a header field appeared more than once in an article, it was
    missing from the overview data.  OVER/XOVER, as well as HDR/XHDR/XPAT
    using the overview, were therefore returning an empty field.  The
    content of the first occurrence is now returned, in accordance with
    RFC 3977.

    Perl and Python filters for innd now also properly initialize their
    header variables with the first occurrence of header fields.  (It is
    still the last occurrence for the Perl filter for nnrpd.)

  * Fixed a possible plaintext command injection during the negotiation of
    a TLS layer.  The vulnerability detailed in CVE-2011-0411 affects the
    STARTTLS and AUTHINFO SASL commands.  nnrpd now resets its read buffer
    upon a successful negotiation of a TLS layer.  It prevents malicious
    commands, sent unencrypted, from being executed in the new encrypted
    state of the session.

  * Fixed a regression that occurred in INN 2.5.0 when leading whitespace
    characters have been made significant in header field bodies.  It
    could lead INN to drop articles and throttle itself when running as a
    slave because Xref: header fields generated by other news servers, or
    even INN 2.4.6, could contain (valid) leading whitespace.  Thanks to
    Matija Nalis for having caught this bug.

  * Fixed an invalid 431 response to CHECK commands when innd is paused:
    the message-ID of the article to defer was missing.  Also fixed
    another issue in the messages innd replied; when an error occurred
    during a write on a channel, a trailing extra junk byte was added to
    the reply.  Thanks to River Tarnell for these bug reports.

  * It is now possible to properly generate daily statistics with
    sendinpaths thanks to the new -k and -r flags that permit to control
    the interval of days for processing dump files.  The new -c flag
    permits to send a copy of the generated e-mail to the newsmaster.

    Also fixed an issue with statistics that could be missing or
    duplicated for a couple of days when monthly sent.

    The documentation has been updated and mentions a preferred daily run
    of sendinpaths.  This script is a complete rewrite in Perl, and is
    based on Mohan Kokal's initial work.

  * cnfsheadconf now properly recognizes continuation lines in
    cycbuff.conf, that is to say lines ending with a backslash ("\").
    Thanks to John F. Morse for the bug report.

  * The order of CNFS buffers in a metacycbuff is now properly read and
    written by cnfsheadconf.  There previously was a confusion between
    hexadecimal and decimal values.  Thanks again to John F. Morse.

  * When the -l flag is given to cnfsstat, the cycbuff.conf and
    storage.conf files are now reloaded if they have been modified since
    the previous output of cnfsstat.

  * A single header field line is limited to 998 bytes, per RFC 5536.
    innd was previously accepting, and also generating Xref: header field
    lines, up to 1022 bytes.  Now, nnrpd (acting as an injecting agent)
    rejects articles which contain header field lines whose length exceeds
    998 bytes.  And innd (acting as a relaying or serving agent) no longer
    checks that.

  * nnrpd advertises the COUNTS, DISTRIBUTIONS, MODERATORS, MOTD and
    SUBSCRIPTIONS variants of the LIST command in response to
    CAPABILITIES.  These commands already existed in nnrpd but RFC 6048
    had not yet been published.

  * Add support for LIST MOTD in innd.  Consequently, the motd.news
    configuration file which was previously used only by nnrpd is renamed
    to motd.nnrpd (innupgrade takes care of the rename).  innd uses the
    new motd.innd file in *pathetc* for its message of the day.

  * Fixed an issue at configure time that made INN wrongly assume that
    OpenBSD (4.6) didn't support Unix-domain sockets.  Thanks to Wim Lewis
    for the patch.

  * Fixed an issue on systems which do not have a working flock(2)
    function (Solaris, for instance).  mailpost and pullnews are reported
    not to be usable on such systems.  Many thanks to Dennis Davis for the
    bug report.

    A wrapper around shlock is now called in Perl scripts.  The
    INN::Utils::Shlock module has been added for that use.

  * Fixed an issue in the Python access hook for nnrpd:  it has not been
    working since Python 2.5 on 64-bit platforms, owing to a change to
    Python's C API, using a new Py_ssize_t type definition instead of int.
    Thanks to Raphael Barrois for the patch.

  * Improve the stability of the Perl filters for innd and nnrpd: properly
    save and restore the stack pointer when needed.

  * The Injection-Date: header, when present, is now used by innd and
    makehistory to determine the posting date of an article.  Otherwise,
    the Date: header is used.

  * controlchan now imposes a date cutoff on processing control articles.
    The *artcutoff* parameter set in inn.conf is used.  Otherwise, without
    that cutoff, old control articles could be maliciously reinjected into
    Usenet, and replayed.  (An unsigned Injection-Date: header field could
    be added to an article that only had a Date: header field.)  A new -c
    flag has been added to controlchan to disable the cutoff check, if
    needed (usually when manually invoking the program).

  * nnrpd no longer adds or updates the Path: header field when an article
    is forwarded to a moderator.  It could otherwise lead to rejects at
    injection time when the article was approved by the moderator.

  * The X-Trace: header field was not properly generated when an article
    was locally posted.  The field mentioning the IP address was skipped,
    resulting in a wrong syntax for this header.  The local "127.0.0.1" IP
    address is now used.  Besides, "localhost" is now mentioned instead of
    an obscure "stdin" in injection header fields.

  * Fixed a bug in the frequency innfeed logs its status:  too many
    useless lines were written to news.notice.  Thanks to Florian
    Schlichting for the fix.

  * When unset in innfeed.conf, the *dynamic-method* parameter now
    properly defaults to 3 (instead of 0) and *use-mmap* to false (instead
    of true).  These two values were already the recommended ones in the
    documentation and the sample file.  Note that *use-mmap* is only used
    when innfeed is given file names to send instead of storage API
    tokens, which is a fairly rare use case.

  * innfeed no longer generates an error message (logged in news.err) when
    a parameter is not defined in innfeed.conf.  All the parameters have a
    default value, so there is no need to warn the user if they are not
    present in innfeed.conf.  Thanks to Dieter Stussy for having reported
    this problem.

  * Implement an upper limit to the number of file descriptors innd can
    handle.  At most (FD_SETSIZE-1) file descriptors can be used.  This
    upper limit now overrides any superior number set with *rlimitnofile*
    in inn.conf.  Thanks to Steve Crook for the bug report.

  * A default timeout on outgoing sockets (using NNTPconnect) has been
    added by Florian Schlichting.  For a long time, there have been
    occasional problems with actsync (and probably other programs) that
    would hang until manually killed or restarted.

  * The flag -S has been added to innd by Florian Schlichting.  When used,
    innd reports the errors found in incoming.conf and exits.

  * pullnews no longer stops processing newsgroups when an error occur
    during its run (for instance when a newsgroup mentioned in the
    configuration file is removed from an upstream server).  Besides, it
    can now use authentication when posting to the downstream server.

    A few other minor bugs have been fixed as for the way pullnews counts
    the articles.

  * Fixed the way innreport handles leap years.  It now properly generates
    HTML reports; dates were assumed to be relative to the current year,
    which may break their computation during for instance the whole 2012
    leap year.  Please note that no HTML reports have been lost, and that
    they will appear when INN is updated to this new version.

  * A new parameter has been added to inn.conf to determine whether the
    status file that innd can write out (depending on the value of the
    *status* parameter) is plain text or wrapped in HTML.  It previously
    only was a compile-time option, set to true by default.  Florian
    Schlichting added the *htmlstatus* parameter to provide a configurable
    behaviour.

  * It is now possible to run a script at the end of the execution of
    innshellvars scripts.  If a file named innshellvars.local,
    innshellvars.pl.local or innshellvars.tcl.local is present and
    executable in *pathetc*, then it will be executed by the corresponding
    innshellvars script (respectively shell, INN::Config Perl module, and
    Tcl).  A typical use is to add or override variables.

  * Add support for wire-formatted articles in scanspool.

  * A lot of work on cleaning old perl4-style code has been done by
    Florian Schlichting.

  * inncheck now generates a proper non-zero exit value when errors are
    found, and allows quiet mode with the -q flag.  Florian Schlichting
    has greatly improved this script in many regards, especially with a
    config-syntax parser for incoming.conf, innfeed.conf, readers.conf and
    storage.conf.

  * inncheck now properly finds the boundaries of substituted variables in
    newsfeeds thanks to Alexander Bartolich.

  * docheckgroups no longer uses awk.  On a few systems, the script was
    failing because of the presence of an old version of awk that has a
    limit in the size of the input it can handle.  Processing large
    newsgroups files was consequently impossible.  docheckgroups now uses
    Perl instead of awk, which solves the issue reported by John F. Morse.

  * Other minor bug fixes and documentation improvements.  In particular,
    the *debug-shrinking*, *fast-exit* and *initial-sleep* keys in
    innfeed.conf are now documented.  The function "filter_end()", called
    when Perl filtering is turned off, is also documented for the innd and
    nnrpd Perl filters.
2012-08-23 19:00:41 +00:00
gdt
96917850df Reset MAINTAINER, comment out HOMEPAGE.
Thomas Mueller reports that the homepage doesn't work and that mail to
the maintainer bounced.
2012-07-18 11:52:28 +00:00
marino
be58cbe9ca news/pan: break caused by NetBSD iconv patch
There have been several packages with patches that directly change an
iconv function without the use of a __NetBSD__ macro.  This is a NetBSD-
specific modification and changing iconv to match the NetBSD prototype
breaks the package on other platforms.
2012-07-13 08:15:59 +00:00
wiz
4450c8142d Update to 0.139:
0.139 "Sexual Chocolate"
* std::logic_error thrown ("basic_string::_S_construct null not valid")
  (Heinrich Müller, #678445)
* added error popup for posting to a disabled server (max connections 0)
  (Heinrich Müller)
* Patches to SSL socket handling (Steve Davies)
* clear last-visited (group/article) on middle-click (Heinrich Müller)
* Updated translations: Spanish (Daniel Mustieles), Slovenian (Martin Srebotnjak,
  Andrej Žnidaršič, Matej Urbančič).
2012-07-12 21:11:06 +00:00
sbd
4897e3b020 Add missing ncurses buildlink.
Bump PKGREVISION.
2012-07-08 10:16:32 +00:00
sbd
c16a62288c Add missing termcap buildlink.
Bump PKGREVISION.
2012-07-08 10:11:44 +00:00
dholland
02dfea16c6 Hack: put libraries in LDFLAGS.SunOS instead of LIBS.SunOS because the
package ignores LIBS.
2012-06-23 23:02:58 +00:00
tron
7beeb76e96 Add a hack to work around a compiler bug under Mac OS X Lion. 2012-06-17 00:10:40 +00:00
wiz
c5ca642482 Update to 0.138:
0.138 "Der Geraet"
* Hotkey for showing/hiding signatures in the article body. (Heinrich Müller,
  #350496)
* Keep position on selected item on re-order. (Heinrich Müller, #443702)
* Remember last read post. (Heinrich Müller, #448416)
* Open url in browser. (Heinrich Müller, #464335)
* Signature printed double when line needs to be wrapped. (Heinrich Müller,
  #533178)
* Tasks marked "Stopped" should also remain stopped when pan restarted.
  (Heinrich Müller, #543319)
* "Save at" options other then %g and %G. (Heinrich Müller, #550007)
* Filter Cross-posters. (Heinrich Müller, #587585)
* 136 using secure ssl and get continuous popups for certs but no connection.
  (Heinrich Müller, #673927)
* PO message very difficult to translate. (Heinrich Müller, #675953)
* Pan crashes while fetching new headers. (Heinrich Müller, #677741)
* Updated translations: Spanish (Daniel Mustieles), French (Bruno Brouard),
  Czech (Petr Kovar), Slovenian (Martin Srebotnjak, Andrej Žnidaršič, Matej
  Urbančič).
2012-06-15 13:40:00 +00:00
wiz
f98e8b0585 Add inet6 to default suggested options. It's 2012. 2012-06-12 15:45:54 +00:00
dholland
584e5f8b4e LIBS.SunOS+=-lsocket -lnsl 2012-06-01 00:16:02 +00:00
wiz
f0cac43d6d Update to 0.137:
0.137 "The Mattel and Mars Bar Quick Energy Chocobot Hour"
* Bugfix release for errors regarding segfaults etc. with thread handling.
* Colorize group names. (Heinrich Müller)
* Fix three-horizontal-pane layout between sessions. (Heinrich Müller)
* Stop tasks when there is no space left on device. (Heinrich Müller)
* Honour default attachments folder setting if group folder is not set. (Heinrich Müller)
2012-05-29 14:14:29 +00:00
dholland
a8ecfdafec Add more missing includes. I think these are the last; should finally
fix the build with gcc 4.5.
2012-05-10 02:04:36 +00:00
dholland
ee89f14722 Another missing header. These are only failing on some of my boxes... 2012-05-09 06:27:05 +00:00
dholland
b052c31623 Add another missing header, 2012-05-09 06:13:33 +00:00