Commit graph

698 commits

Author SHA1 Message Date
obache
792111c143 Update pan to 0.135.
Based on maintainer update request by PR#45075,
* set LICENSE=gnu-gpl-v2
* add handling desktop db.

0.135 "Tomorrow I'll Wake Up and Scald Myself with Tea"
* Improve URI detection in the body pane. (K. Haley)
* Make highlighting of URIs in the body pane optional. (K. Haley)
* Add a newsrc autosave timer. (K. Haley)
* Fix mailto URI encoding. (K. Haley, #648375)
* Create a NZB file from the list of articles. (Heinrich Mueller)
* Optional compatibility with GTK+ 3. (K. Haley)
* Fix the text-massager-test failure. (K. Haley, #642746)
* Support format=flowed in text-massager. (K. Haley)
* Guess deliberate line breaks. (K. Haley)
* Saving articles from the NZB file no longer causes articles to be queued
  multiple times. (K. Haley)
* Separate line length check for each quote level. Should only be for quoted
  levels. (K. Haley)
* Add the wrap selected option to the post editor. (K. Haley)
* Slightly improve Pan.ico. (Petr Kovar, #499214)
* Updated translations: Spanish (Jorge Gonzalez, Daniel Mustieles), Swedish
  (Daniel Nylander), German (Mario Blättermann), Danish (Joe Hansen), Czech
  (Petr Kovar)

0.134 "Wait for Me"
* Fix compilation with GCC 4.4. (Charles Kerr, #573722)
* WARNING: setting an adjustment with non-zero page size is deprecated.
  (Charles Kerr, #579753)
* No window icon when running in NZB-mode. (Charles Kerr, #574419)
* Remove deprecated glib/gdk/gtk calls to prepare for GNOME 3.
  (Charles Kerr, #596648)
* Use GRegex instead of PCRE. (Charles Kerr, #596653)
* Tooltips missing from two 'Post Article' toolbar buttons.
  (Charles Kerr, #548860)
* Infinite loop with server that doesn't support LIST NEWSGROUPS.
  (Charles Kerr, #545220)
* 'Add port to server dialog' -- apply commits 862da67, af30418 from
  lostcoder. (K. Haley, Charles Kerr, #527313)
* Support 64 bit article numbers. (Charles Kerr, #549655)
* Don't queue xover for 0 connections. (Charles Kerr, #596682)
* Make wrapping honor changes in compose-wrap pref. (Charles Kerr, #596680)
* Change nzb task saving delay & add pref. (Charles Kerr, #596683)
* Port to GMime 2.4. (K. Haley, #541676)
* Spawn editor asynchronously. (K. Haley, #465763)
* Change allocation buffer for article tree. (K. Haley)
* Save some more memory by re-ordering a few variables. (K. Haley)
* Don't save files as executable. (K. Haley)
* Fix handling of multibyte spaces in text-massager. (K. Haley)
* Re-write multipart handling for viewing. (K. Haley)
* Change default mime-type for incoming attachments. (K. Haley, #135734)
* Add some additional mime types. (K. Haley)
* Add memchunk.h to Makefile.am. (K. Haley)
* GTK+ 2.16 required. (K. Haley)
* Fix bug in multipart article mids. (K. Haley)
* Add console support for windows. (K. Haley)
* Update filter-info and scorefile-test to support non-overview headers.
  (K. Haley)
* Skip non-overview test if not cached. (K. Haley)
* Make ArticleCache::get_message const. (K. Haley)
* Allow scoring article on all headers. (K. Haley)
* Promote rescore_articles to data interface. (K. Haley)
* Update score when article is cached. (K. Haley)
* Add regex support to search. (Jack Cuyler, K. Haley, #351196)
* Additional info for about & User-Agent. (K. Haley, #424083)
* Add support for compiling with gmime-2.5. (K. Haley)
* Allow subject line use in save path. (K. Haley, #403797)
* Improve regexes used for squashing subject line. (K. Haley)
* Reduce memory allocation for multiparts. (K. Haley)
* Allow newsrc paths relative to PAN_HOME. (K. Haley)
* Save tasks on exit. (K. Haley, #609355)
* Always show full revision info in UA hdr. (K. Haley)
* Remember size of post window. (K. Haley)
* Add tests for subject line. (K. Haley)
* Make separator user configurable. (K. Haley)
* Replace deprecated gdk_pixmap_create_from_data. (K. Haley)
* Add support for Face header. (K. Haley)
* Fix crash possibly due to change in cairo. (K. Haley)
* Change from GdkPixmap to GdkPixbuf. (K. Haley)
* Remove deprecated function through gtk 2.18. (K. Haley)
* Compatibility with -std=c++0x. (K. Haley)
* Fix crash in gio_func on OSX. (K. Haley)
* Updated translations: Arabic (Djihed Afifi), Brazilian Portuguese (Flamarion
  Jorge), Spanish (Jorge Gonzalez), Portuguese (Duarte Loreto), French (Claude
  Paroz, Bruno Brouard), Catalan (Joan Duran), German (Mario Blättermann,
  Andreas Kuhlen), Basque (Inaki Larranaga Murgoitio), Swedish (Daniel
  Nylander), Czech (Petr Kovar), Slovenian (Andrej Žnidaršič), Danish (Joe
  Hansen), Simplified Chinese (Aron Xu)
2011-06-17 13:07:53 +00:00
wiz
1601de112c Fix build on NetBSD-current with getline(). 2011-06-14 13:13:14 +00:00
obache
b2484e235c Relax PYTHON_VERSION_ACCEPTED from x11/py-kiwi changes.
Bump PKGREVISION, default acceptable python changed.
2011-06-14 10:51:08 +00:00
obache
9297f1831d recursive bump from icu shlib major bump. 2011-06-10 21:57:06 +00:00
cheusov
3d07d2b7a8 DESCR_SRC now contains full paths to DESCR files 2011-05-28 10:15:14 +00:00
cheusov
00df08c0c3 add heirloom-news, oked by sponsors 2011-05-28 08:38:49 +00:00
cheusov
90336b8255 heirloom part 2011-05-28 08:38:09 +00:00
obache
1d9df3258a recursive bump from gettext-lib shlib bump. 2011-04-22 13:41:54 +00:00
shattered
f89ba78e75 PR/38525 -- Add support for SSL (nntps://) and support for decoding
binaries using uulib.
2011-03-23 21:44:24 +00:00
wiz
e2f84ad43f Reset maintainer for retired developers. 2011-02-28 14:52:37 +00:00
wiz
f09b8dbca6 Let's assume for now that everything that worked with python-2.6 also
works with python-2.7.
2011-02-25 09:47:18 +00:00
wiz
3e49e18e84 Remove HOMEPAGE and MASTER_SITES, it is gone. 2011-02-14 19:32:12 +00:00
tron
3ddc2e75b5 Fix build with png-1.5. 2011-01-15 19:16:00 +00:00
asau
41f5315c3c Option's name is "trn-inn". Fix building with non-default option. 2011-01-14 16:58:26 +00:00
wiz
af3596f984 png shlib name changed for png>=1.5.0, so bump PKGREVISIONs. 2011-01-13 13:36:05 +00:00
dsainty
1f40f3a084 Mechanically replace references to graphics/jpeg with the suitable
alternative from mk/jpeg.buildlink3.mk

This allows selection of an alternative jpeg library (namely the x86 MMX,
SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and
follows the current standard model for alternatives (fam, motif, fuse etc).

The mechanical edits were applied via the following script:

#!/bin/sh
for d in */*; do
  [ -d "$d" ] || continue
  for i in "$d/"Makefile* "$d/"*.mk; do
    case "$i" in *.orig|*"*"*) continue;; esac
    out="$d/x"
    sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \
        -e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \
        < "$i" > "$out"
    if cmp -s "$i" "$out"; then
      rm -f "$out"
    else
      echo "Edited $i"
      mv -f "$i" "$i.orig" && mv "$out" "$i"
    fi
  done
done
2010-12-23 11:44:24 +00:00
chuck
0d333ffbf9 fix compiler warnings on macox (missing prototype for inet_ntoa and
account for strcpy being a macro).
2010-12-15 03:14:51 +00:00
is
cb6fb4d53f add LICENSE=gnu-gpl-v2. 2010-12-09 15:32:10 +00:00
is
1efb49216d No, (%%) and (%$) in prototypes are not doing what somebody thought
a few years ago. (Un-,?)fortunately, the first % just grabs all
parameters on a sub call in a way that shift inside it can get at
them, so the 2nd % and the $ were ignored. Until some warning was
added to perl recently.
2010-12-09 14:59:37 +00:00
abs
8309c642a4 Beat some tests with a (non python literate) stick so we run under
python 2.6. Bump pkgrevision
2010-11-27 13:51:24 +00:00
abs
9987fa4b3a PKGREVISION bumps for changes to gtk2, librsvg, libbonobo and libgnome 2010-11-15 22:56:08 +00:00
wiz
ce9192c689 Remove 24 from accepted python versions, because the py-kiwi dependency
does not support it. Part 3 of PR 44062 by Aleksey Cheusov.
2010-11-08 01:05:25 +00:00
wiz
d181a9e465 Reset maintainer. 2010-11-01 00:08:09 +00:00
wiz
200e3c4a04 Bump dependency on pixman to 0.18.4 because cairo-1.10 needs that
version, and bump all depends.

Per discussion on pkgsrc-changes.
2010-09-14 11:00:44 +00:00
seb
c3f1e700ad Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.

sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
2010-08-21 16:32:42 +00:00
dholland
af738078f4 For options ncurses and ncursesw, set USE_NCURSES=yes, on the assumption
that explicitly forcing ncurses does not mean "use builtin curses anyway"
unless the builtin curses is *really* ncurses.

(Yes, the ncursesw builtin.mk responds to USE_NCURSES and not USE_NCURSESW;
whether that's a bug is for someone else to decide.)
2010-07-26 06:52:52 +00:00
joerg
908a1d62ce Needs user/group early in installation 2010-06-19 12:45:37 +00:00
wiz
e8d8834f6a Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
2010-06-13 22:43:46 +00:00
spz
5a5e0e4ec2 update from 2.5.1 -> 2.5.2
Vendor update message (excerpt):

Many thanks to Julien ÉLIE for preparing this release.

Special notes:

The way checkpoints are handled by innreport for innd and innfeed has totally changed to provide more accurate daily statistics. The first Usenet report after an upgrade to INN 2.5.2 will probably contain incorrect statistics for incoming and outgoing articles because the beginning of the log files that will be used was generated by a previous version of INN.

A new version of innreport.conf is shipped with INN 2.5.2 but, in order to preserve any local changes, will not be automatically installed with make update. The changes are minor and not mandatory for the upgrade.

Changes from 2.5.1 to 2.5.2

    * Julien Elie has implemented in innd the new version of the NNTP protocol described in RFC 3977, RFC 4643 and RFC 4644, and innd now recognizes the CAPABILITIES command. Despite these standards, three commands (IHAVE, CHECK and TAKETHIS) will continue, for interoperability reasons, to return a reject code (respectively 435, 438, and 439) when the command contains a syntax error instead of 501. The mandatory username argument for authenticated peers is not enforced in INN 2.5.2 but will be be enforced by INN 2.6.0 when it is released.

Major improvements are:

    * innd now has a decent parser for NNTP commands. The parser is more correct (commands like "IHAVEZ<>", without a space between the command and its argument, are no longer valid) and allows leading and trailing whitespaces in commands. innd also now checks the length of the NNTP command sent by the client. If the command contains more than 512 bytes (or 497 bytes for an argument), an error is returned and the command is discarded. After ten unrecognized commands, innd closes the connection with the appropriate code (400 instead of 500).
    * The output of the HELP command specifies the arguments expected by NNTP commands, similar to nnrpd's HELP command.
    * LIST ACTIVE, LIST ACTIVE.TIMES and LIST NEWSGROUPS now allow an optional wildmat argument to restrict the results of those commands to specific newsgroups.
    * When using HEAD or STAT with an article number or a range, 412 (no group selected) is now returned instead of 501 (syntax error).
    * Jeffrey M. Vinocur has implemented support in both innd and nnrpd for whitespace in usernames/passwords provided with AUTHINFO USER/PASS. They were previously treated as invalid arguments or incorrectly parsed. innd and nnrpd now treat everything after the first whitespace character following AUTHINFO USER/PASS, up to, but not including, the final CRLF, as the username/password, in conformity with RFC 4643.
    * The syntax of message-IDs is now based on RFC 5536 (USEFOR) instead of RFC 1036. The major change is that quoted-pairs have been removed from the syntax.
    * The Perl and Python filters for innd now check the message-ID of articles arriving through TAKETHIS. Only CHECK and IHAVE commands previously used them.
    * Case-insensitive matches are now used for distributions, path identities, IMAP commands, header names, and control commands. (Newsgroups are still matched case-sensitively.) Message-IDs are case-sensitively matched, except for history hashes.
    * The new Archive:, Archive-At:, Comments:, and Summary: header fields defined in RFC 5064 and RFC 5536 can be used in innd filters. nnrpd now checks at injection time that an article does not contain an Injection-Info: header, that an Injection-Date: header (if provided) is valid, and that the Path: header does not contain ".POSTED". Note that INN does not yet generate these two injection fields or include the new Path: header field ".POSTED" keyword. These new features will be in the next major release of INN.
    * LIST SUBSCRIPTIONS now accepts an optional wildmat argument to restrict the results of this command to specific newsgroups.
    * nnrpd now supports a new LIST variant named COUNTS. LIST COUNTS is a combination of LIST ACTIVE and GROUP. It returns the same result as LIST ACTIVE except that the number of articles in a newsgroup is inserted before its status.
    * A new flag has been added to newsfeeds entries: "Aj", when present, says to feed articles accepted and filed in "junk" (due to *wanttrash*) to peers based on their newsfeeds feed patterns applied to the Newsgroups: header as though the article were accepted and all those groups were locally carried. This is useful if you want to run INN with a minimal active file and propagate all posts. Thanks to Andrew Gierth for the patch.
    * A new parameter has been added to inn.conf: *logtrash* defines whether a line for articles posted to groups not locally carried by the news server should be added in the news log file to report unwanted newsgroups. The default is true but it can be useful to set it to false (especially when *wanttrash* is also used).
    * The procbatchdir keyword has been added to news.daily to specify the backlog directory of innfeed. This is useful when several instances of innfeed are running or when its configuration file is not the default one.
    * sm now supports a new flag, -c, which shows a decoded form of the storage API token. This was previously done by the contrib showtoken script developed by Olaf Titz and Marco d'Itri.
    * The O flag in newsfeeds now relies on the contents of the Injection-Info: header field if it is present to determine the origin of an article. It falls back on X-Trace: if there is no Injection-Info: header field.
    * A new "unsigned long" type bas been added to the configuration parser. It will properly warn the news administrator when a variable supposed to be positive contains a negative integer. It will prevent INN from crashing due to misconfiguration at several places where it did not expect negative values.
    * innxbatch and innxmit now recognize the new 403 code introduced by RFC 3977 for a problem preventing the requested action from being taken.
    * HDR and OVER commands now return the correct 423 code (instead of 420) when the current article number is used but the article no longer exists.
    * actsync, inews, innxbatch, innxmit, nntpget and rnews can now authenticate to news servers which only expect a username, without password, conforming to RFC 4643.
    * The keyword generation code now generates a Keywords: header only if the original article does not already have one. The generated Keywords: header no longer begins with a comma. If keyword generation is set to true in inn.conf but the Keywords: header is not stored in the overview, the news administrator is warned and keyword generation deactivated, since it exists only to populate the overview data.
    * Two segfaults in keyword generation were fixed. The first occurred when an article already had a Keywords: header longer than the *keylimit* parameter. The second was caused by a possible invalid pointer beyond the newly allocated Keywords: header.
    * Fixed innd handling of empty lines. innd was not properly discarding an empty command and was closing the connection when it received only whitespace in a command.
    * Fixed a bug in how innd responded to reader commands when readers were not allowed. A superfluous blank line was sent in its response.
    * Fixed a bug in innd's response to TAKETHIS when authentication is required. Previously, 480 code was returned immediately without accepting the multi-line data block first, which broke synchronization in the NNTP protocol.
    * Fixed a bug in recognizing the article terminator when empty articles were fed to innd via IHAVE or TAKETHIS, leading to treating subsequent NNTP commands as part of the article.
    * When innd could not provide information for LIST ACTIVE.TIMES and LIST NEWSGROUPS, it was returning an invalid error message without a response code. The proper 503 answer code is now returned.
    * When an unauthenticated user tried to post an article, nnrpd replied 440 (posting not allowed) instead of the correct 480 (authentication required) response if the user might be able to post after authentication. Thanks to Daniel Weber for the bug report.
    * Fixed a bug in both innd and nnrpd answers to LIST commands where the output was not checked for valid dot stuffing.
    * Fixed a bug leading to junked non-control articles being sent to control-only feeds, and also fixed handling of poisoned control groups. Thanks to Andrew Gierth for the patch.
    * Fixed a bug in innreport leading to incorrect summing of innd stats when *hostname* was set to an IPv6 address instead of a fully-qualified domain name. Thanks to Petr Novopashenniy for the bug report.
    * Changed how innreport uses innd and innfeed checkpoint messages. Previously, connections held open for multiple days led to skewed and incorrect statistics on how many articles had been received or sent. The count is now more accurate and, for each connection of a feed, only depends on *incominglogfrequency* in inn.conf and *stats-period* in innfeed.conf.
    * Fixed a bug in nnrpd Perl filter: a header field whose name begins with the name of a standardized header field was not properly handled.
    * Fixed a bug in how innd was parsing Message-ID: and Supersedes: headers which contained trailing whitespace. The article was corrupted by an unexpected "\r" in the middle of the header. nnrpd now checks the syntax of the Message-ID: header field, if present.
    * Fixed various bugs in how leading whitespace was treated in headers. The HDR, XHDR and XPAT commands were not properly showing leading whitespace in header values. Lone "\n" and "\r" characters are now changed into spaces and "\r\n" is just removed. archive, makehistory, and tdx-util now keep leading whitespace in headers when generating overview data, and archive now changes "\n" (when not preceded by "\r") into a space when generating overview data.
    * Fixed a bug in the generation of overview data which may corrupt previously generated overview data when a pseudo Xref: header field is injected in an extra overview field.
    * Fixed a bug in the parsing of the *ovgrouppat* wildmat in inn.conf that prevented overview data from being generated when poisoned groups were specified but a latter sub-pattern matched the group. A uwildmat expression is now correctly handled, and a potential segfault has been fixed. Thanks to Dieter Stussy for the bug report.
    * Fixed a bug when HDR, XHDR and XPAT were used when *virtualhost* was set to true in readers.conf. The Xref: header of articles posted to only one newsgroup appeared empty.
    * Fixed a bug in tdx-util in parsing empty overview fields when called with -A or -F.
    * Fixed a bug in cvtbatch, which was returning only the size of the headers of an article when the "b" parameter was used with the -w flag. It now correctly returns the size of the whole article, which is what "b" was documented to do. cvtbatch also has a new "t" parameter, which can be used with the -w flag to retrieve the arrival time of an article.
    * Fixed a bug in how mailpost handles cross-posting feature. It was not properly detaching from sendmail. Thanks to Harald Dunkel for the patch.
    * Fixed a bug in the newsfeeds C flag: the count of followup groups was one less than the real number. When the value of the Followup-To: header field is "poster", it is no longer considered to be a followup. Thanks to Dieter Stussy for the patch.
    * When using tradindexed, the overview data for a cancelled article is now immediately removed from the overview. Thanks to Lars Magne Ingebrigtsen for the patch.
    * batcher has not supported the retrieval of an article with its file name for a long time. The -S flag has therefore been removed.
    * inews no longer rejects articles that contain more than 50 header fields. Thanks to Torsten Jerzembeck for the bug report.
    * news.daily no longer sends superfluous mails when the nomail keyword is given. Mail is only sent when there is real output. Previously, there would always be headings and empty lines left over from the structuring of the full report, which are now ommitted. Also, the output of programs executed with postexec is now included in the regular mail. Thanks to Florian Schlichting for the patch.
    * innconfval no longer maps NULL string or list values to an empty string or list and instead maps them to undefined values. This fixes an issue reported by Kamil Jonca: nnrpd was inserting an empty Organization: header when the *organization* parameter in inn.conf was unset.
    * Other minor bug fixes and documentation improvements.
2010-04-13 21:18:00 +00:00
joerg
769d6848de Ensure that the spool directory is created for a binary package too.
Fix DESTDIR build. Bump revision.
2010-03-19 17:17:05 +00:00
obache
977bb0040b Honor PKGMANDIR and add user-destdir installation support. 2010-03-13 05:46:55 +00:00
obache
7334b29257 Add usre-destdir installation support and expunge custom PKG_SYSCONFDIR
handlinkg (it will handled automatically).
2010-03-13 05:20:24 +00:00
obache
e5fd22f1b4 set HOMEPAGE. 2010-03-13 05:05:51 +00:00
obache
61e0cbe295 Add user-destdir installation support. 2010-03-10 12:54:27 +00:00
dholland
598c31b169 Increase MAXBUFSIZE as recommended by jrf to fix PR 36882. I've changed
it from 500 to 5000, which should be ample. PKGREVISION to 2.
2010-03-07 07:28:22 +00:00
wiz
aeaceb273d Reset maintainer for developers who gave back their commit bit. 2010-02-26 10:28:30 +00:00
drochner
d30c74fa1e fix a configure check which could easily get into an endless loop,
and remove a pointless test for a __NCURSES_H symbol in the curses header,
now this can build against NetBSD's wide curses
2010-02-25 16:05:57 +00:00
joerg
ea051d4218 DESTDIR support 2010-02-11 22:57:40 +00:00
zafer
a2f0b00eee update master_sites. 2010-01-31 21:12:20 +00:00
heinz
c286ae7afc Added LICENSE information. 2010-01-21 23:32:10 +00:00
wiz
91871f449e Second try at jpeg-8 recursive PKGREVISION bump. 2010-01-18 09:58:37 +00:00
wiz
579796a3e5 Recursive PKGREVISION bump for jpeg update to 8. 2010-01-17 12:02:03 +00:00
spz
c0dc9b8537 the patch to set the pgp path setting was both superfluous (as the path gets
reset later on) and had a typo. Add a dependency on gnupg instead to make
sure a pgp (gpg) binary is around to be used (provision should be made to
be able to use eg netpgp instead .. to be done later, hopefully after
someone else created the 'pick my favourite pgp version' infrastructure :> ).
2010-01-16 09:46:16 +00:00
spz
9e56735d16 The next minor version of INN. From the release announcement:
Major changes from 2.5.0 to 2.5.1

* Fixed a segfault in imap_connection which could occur when SASL was
used.

* Fixed a segfault in the keyword generation code which was assuming
that an article was nul-terminated. Fixed another segfault in the
keyword generation code when an article already contained a Keywords:
header. Thanks to Nix for the bug reports.

* Owing to the US-CERT vulnerability note VU#238019, Cyrus SASL library
has slightly changed. imap_connection and nnrpd now handle that
change. Otherwise, some answers are too long to be properly computed
during SASL exchanges.

* Fixed a memory allocation problem which caused nnrpd to die when
retrieving via HDR/XHDR/XPAT the contents of an extra overview field
absent from the headers of an article. The NEWNEWS command was also
affected on very rare cases. Thanks to Tim Woodall for the bug
report.

* HDR/XHDR/XPAT answers are now robust when the overview database is
inconsistent. When the overview schema was modified without the
overview database being rebuilt, wrong results could be returned for
extra fields (especially a random portion of some other header). The
desired header name is now explicitly searched for in the overview
information.

* Fixed the source which is logged to the news log file for local
postings when the local server is not listed in incoming.conf. A
wrong name was used, taken amongst known peers. The source is now
logged as "localhost".

* Fixed a bug in the timecaf storage method: only the first 65535
articles could be retrievable in a CAF, though everything was properly
stored. (A Crunched Article File contains all the articles that
arrive to the news server during 256 seconds.)

The storage token now uses 4 bytes to store the article sequence
number for timecaf, instead of only 2 bytes. Thanks to Kamil Jonca
for the bug report and also the patch.

* Fixed a bug in both timecaf and timehash which prevented them from
working on systems where short ints were not 16-bit integers.

* When there is not enough space to write an entire CAF header, the
timecaf storage manager now uses a larger blocksize. On 32-bit
systems, the CAF header is about 300 bytes, leaving about 200 bytes
for the free bitmap index (the remaining of a 512-byte blocksize). On
64-bit systems, the size of the CAF header could exceed 512 bytes,
thus leaving no room for the free bitmap index. A 1 KB blocksize is
then used, or a larger size if need be.

* A new CNFS version has been introduced by Miquel van Smoorenburg in
the CNFS header. CNFSv4 uses 4 KB blocks instead of 512 bytes, which
more particularly makes writes faster. CNFSv4 supports
files/partitions up to 16 TB with a 4 KB blocksize.

Existing CNFS buffers are kept unchanged; only new CNFS buffers are
initialized with that new version.

* grephistory -l now returns the contents of the expires history field
as well as the hash of the message-ID. Besides, when the storage API
token does not exist, grephistory -v now also returns the hash of the
requested message-ID.

* The check on cancel messages when *verifycancels* is set to true in
inn.conf has been changed to verify that at least one newsgroup in the
cancel message can be found in the article to be cancelled. This new
feature is from Christopher Biedl.

The previous behaviour was to check whether the cancel message is from
the same person as the original post, which is extremely easy to
spoof; besides, RFC 5537 (USEPRO) mentions that "cancel control
messages are not required to contain From: and Sender: header fields
matching the target message. This requirement only encouraged cancel
issuers to conceal their identity and provided no security".

* The way the "/remember/" line in expire.ctl works has changed.
History retention for an article was done according to its original
arrival time; it is now according to its original posting date.
Otherwise, unnecessary data may be kept too long in the history file.

To achieve that, the HISremember() function in history API now expects
a fourth parameter: the article posting time.

Note that article expiration has not changed and is still based on
arrival time, unless the -p flag is passed to expire or expireover, in
which case posting time is used.

* The default value for "/remember/" has changed from 10 to 11 because
it should be one more than the *artcutoff* parameter in inn.conf, so
that articles posted one day into the future are properly retained in
history.

* auth_krb5 has been rewritten by Russ Allbery to use modern Kerberos
APIs. Note that using ckpasswd with PAM support and a Kerberos PAM
module instead of this authenticator is still recommended.

* A new -L flag has been added by Jonathan Kamens to makehistory so as
to specify a load average limit. If the system load average exceeds
the specified limit, makehistory sleeps until it goes below the limit.

* As UTF-8 is the default character set in RFC 3977, "ctlinnd pause",
"ctlinnd readers", "ctlinnd reject", "ctlinnd reserve", "ctlinnd
throttle" and "nnrpd -r" commands now require the given reason to be
encoded in UTF-8, so that it can be properly sent to news readers.
The creator's name given to "ctlinnd newgroup" is also expected to be
encoded in UTF-8.

* The output of consistency checks for article storage and the history
file no longer appears by default when "cnfsstat -a" is used. A new
-v flag has been added to cnfsstat so as to see it.

* The default path for TLS certificates has changed from *pathnews*/lib
to *pathetc*. It only affects new INN installations or generations of
certificates with "make cert". Besides, a default value has been
added to *tlscapath* because it is required by nnrpd when TLS is used.

* gzip(1) is now the default UUCP batcher in send-uucp instead of
compress(1) because gzip is more widely available than compress, due
to old patent issues. Note that there is no impact on decompression
as it is handled by rnews.

* cnfsheadconf now uses the Perl core module "Math::BigInt" rather than
the deprecated bigint.pl library. When used without specifying a CNFS
buffer, it now properly displays the status of all CNFS buffers.
2009-12-16 22:10:25 +00:00
dholland
26b8e39d78 Add build config for amd64. 2009-11-30 00:38:47 +00:00
tnn
a102f2734c Support DESTDIR and PKGMANDIR 2009-10-29 22:40:23 +00:00
wiz
0ab50f8563 Add patch from Dennis Preiser on tin-dev.
Fixes, among others, |perl-script issues with suspending and
SIGWINCH problems.

Bump PKGREVISION.
2009-10-22 22:01:25 +00:00
spz
73cb40ec15 fix GNUism in find syntax in the news.daily script source
(reported by Geoff Wing <gcw@pobox.com>)
2009-10-03 16:20:39 +00:00
spz
21a236b8e2 fix packaging bugs noted by Geoff Wing (gcw@pobox.com) (thanks) 2009-09-25 11:06:00 +00:00
spz
15ed507f60 Update of the INN package to the latest stable version (2.5.0). 2009-09-22 13:17:00 +00:00