Commit graph

8 commits

Author SHA1 Message Date
wiz
766a874eaa Update to 1.11.7, provided by Aleksey Cheusov in PR 41291.
* 1.11.7, 2009-04-20

### WORKAROUND
- fetchnews: If the LN_SUPPRESS_DATE environment variable is defined and set
  to any value or empty, fetchnews will not test the upstream server's time by
  means of the "DATE" NNTP command.
  This can be used to quench related log messages.

### BUGFIXES
- Fix logging if texpire unlinks files without further hardlinks from
  message.id/NNN/
- Fix potential segfault on libcs that do not catch NULL for %s formatting
  (several GNU libc versions do) when trying to retrieve delayed bodies from
  corrupt article headers. Pretend success, to purge article number from
  subscription file.  Bug reported by Chris Carr.
- Fix & change "noactive" so that it can be overridden by "fetchnews -f", as
  documented in config.example.
  Regression as side effect of 1.9.50 fix, reported by Jesse F. Hughes.
- Fix logged IP address in "connected to..., reply:" message when compiled
  without IPv6 support.
  Fixes Mandriva Bug #45605, reported by David W. Hodgins.
- Print connected to... to console as well at proper verbosity level, found
  by maintainer while debugging aforementioned bug.
- Only emit warning that no server with posting permission was found if that's
  actually needed. Reported by Christian Weiske.
- If corrupted articles had been detected, fetchnews -x NNN would not be able
  to re-fetch the said article because a 0-sized file remained in message.id,
  making fetchnews believe the article was in the spool.
  0-sized message.id/NNN/ files are now purged when checking if the article is
  already in the spool.
  Reported by Peter Bauernfeind. (de.comm.software.newsserver post, May 2008)
- Change interface enumeration to track incompatible NetBSD 5 changes.  The
  latter led to bogus connection refusals in NNTPD.  SourceForge Bug #2700756,
  by Aleksey Cheusov, fix suggested by Roy Marples.
- Add support for SIOCGIFALIAS where available (BSD) in order to obtain
  netmasks for 4.4BSD-style IP aliases.
  getifaddrs() has been suggested as well, but it isn't available everywhere,
  so we would have to keep the old code around anyways, and we can just fix
  that rather than introduce alternative code branches.

### BUGFIXES BACKPORTED FROM LEAFNODE 2
- lsort (used by make update) now detects and report errors.
- "make update" handles the lockfile properly now: it records its PID and
  removes the lock also in cases of failure.
- "make update" restores the old groupinfo file if lsort fails.
- "make update" now builds an up-to-date lsort first.
- "make update" now uses the configured NEWS_USER and _GROUP.
- "make update" is now a phony Makefile target, i. e. it will work even
  if there is a file "update" in the build directory.

### CHANGES
- When creating a Path: header (because the newsreader did not do that), use
  "not-for-mail" instead of NEWS_USER (usually "news") as the user component.
  This seems to resolve propagation issues with 2nd-hop-upstreams, as reported
  in Debian Bug#459980 by Michael Weitzel, with Universit
- When writing to client fails, log decoded errno, too.
  This can help debugging certain firewall misconfigurations more easily.
- Undoing a wordwrap in configure.ac allows for bootstrapping on Cygwin.
- Drop obsolete mysetvbuf().
- leafnode-version now supports an additional "-v" mode to print more
  information on the installation. The output then is similar, but not
  identical - due to different feature sets - to the way leafnode-2 prints it.

### DOCUMENTATION
- Add some comments to UNINSTALL-daemontools
- Put README-FQDN* under leafnode's license. Found to be in conflict with
  Debian's DFSG by Mark Brown.

==============================================================================
* 1.11.6, 2007-03-17

### BUGFIXES
- .site TLDs are refused in FQDN.
- apply patch from Georg Schwarz to fix compilation with SGI IDO cc.
- do not delete articles if the References: lines are malformatted.
  Reported by Adam Funk.
- support autoconf 2.60, fixing datarootdir-related warnings.
- do not log authentication success unless in verbose mode.

### DOCUMENTATION
- fix minor typos in README-FQDN.
- minor changes to INSTALL.

==============================================================================
* 1.11.5, 2006-04-09

### BUGFIXES
- Fix logging of invalid FQDH/FQDN.
- Do not trash delaybody download markers if the interesting.group/* files
  are writeable by NEWS_USER ("news") but owned by somebody else. Found
  debugging a problem described by David Aldred.
- Some syslog messages were still logged at LOG_DEBUG priority without
  debugmode set.
- Support noactive = 0. Reported by Rafal Maj, Debian Bug #329760.
- Support nodesc = 0.
- Keep non-expiring groups (negative groupexpire date) in active file even if
  they have expired upstream. Sourceforge Bug #1230256, Thomas Zajic.
- INSTALL: leafnode needs a "news" group as well. Found by Julien Sansonnens.
- Allow unterminated lines in regular files. Found by Ivo Maintz.
- Applyfilter unfolds headers before matching, to match fetchnews behavior.
- Applyfilter no longer unconditionally removes messages without body
  if delaybody is off. The interesting.groups/group.name file might still
  have pointers so that fetchnews will download the bodies later.

### CHANGES
- "killed nnn (<mess@ge.id>), already fetched before" messages have been
  demoted to debug priority, to avoid syslog spamming with multiple upstream
  servers or after crashes.  Reported by Adam Funk.
- The RPM is now accompanied by a -debuginfo package.
- Build "grouplist" program in "make check".
- The fetchnews manual page states that -f is not to be used in cron jobs.
- The filtering documentation (applyfilter(8) man page and filters.example)
  was overhauled, at the suggestion of Michael R. McCarrey.
  Mike also courteously provided additional filter examples with documentation.

### WEBSITE
- http://www.leafnode.org/ is now served by SourceForge's VHOST service and
  thus serves the same content as http://leafnode.sourceforge.net/

==============================================================================
* 1.11.4, 2005-11-23

### BUGFIXES
- Skip server processing when posting articles fails, for instance,
  because of a protocol error or server disconnect/timeout.
  Bug found when analyzing Debian #318644.
- Do not mark the active for refetch when the failed server has "noread" set
  or fetchnews is in -P (post only) mode. Patch by Brian Sammon.

### COMPATIBILITY CHANGE
- GNU coreutils 5.92 are broken and can no longer create a missing directory
  with "mkdir -p missing/." Work around the bug. Reported by Michael Shigorin.

### DOCUMENTATION
- Switch FAQ.pdf formatting back to XSL stylesheets and RenderX XEP 4.4,
  now that a personal license for OpenSource documentation is available.
- Renamed all CAN-YYYY-NNNN to CVE-YYYY-NNNN in leafnode-SA-*.txt, ChangeLog,
  NEWS and OLDNEWS to chase the CVE database change of 2005-10-19.
2009-04-29 10:54:10 +00:00
schwarz
fe9f048b15 added support for IRIX 5 2006-10-15 20:06:59 +00:00
kim
387e54a560 Upgrade to 1.11.2:
* Fix segfault when timeout or connection reset encountered while
  article header is read.

* fetchnews will no longer re-fetch the active file for a server if it
  has been completely received even if fetching articles from this server
  encounters a problem.  Long-standing bug.  Debian bug #70052.

* fetchnews will now properly mark the active for complete re-fetch if
  it says so. Previously, it forgot the mark in some circumstances.  A
  problem fetching the active file or descriptions for a newly added
  server will now mark the active for re-fetch even if articles have
  successfully been retrieved from the same server.

* Fix use-after-free segfault when server dies while body is being
  received.

* Support quoted strings on the right hand side of configuration lines.

* Support IPv6 in fetchnews as well.

* In LIST ACTIVE/GROUP, keep group interesting in spite of being
  pseudo (which includes empty) as long as it is interesting. Avoids
  unsubscription of low-traffic groups that fall empty.
2005-05-13 15:08:04 +00:00
kim
b3f4719668 Upgrade to leafnode 1.10.7:
- numerous bug fixes
- restores Xref: to XOVER (overview) data
2005-01-11 04:34:08 +00:00
cjep
468dfbdc5a Update to 1.9.52. Changes since previous version (1.9.49) include:
* nntpd will now disable ln_log()'s sending its logging to the
	console (stderr usually), to prevent them from being seen by the
	newsreader, which then gets confused.
	* Usage fixes and usage info update
	* Fix memory leaks
 	* Other bug fixes

For a full listing, please see the ChangeLog supplied with the source
code.
2004-05-05 15:25:40 +00:00
cjep
a4d73afbe4 Update of news/leafnode to 1.9.49.
Pkgsrc changes since previous version:
* Add the news user if necessary (and be compatible with the INN package).
* Use bsd.pkg.install.mk.

Vendor changes since previous version:
(see the Changelog for more details)

* Security fix. Do not lock up when the news header ends prematurely.
* Revise some memory handling and catch out-of-memory conditions.
* Fixes to syslog handling.
* Support XOVER without argument.
* Fix SEGV in fetchnews.c.
2004-01-11 16:45:51 +00:00
cjep
c796992634 Upgrade of Leafnode (news/leafnode) to version 1.9.26.
Differences to previous NetBSD package:

* Use devel/pcre rather than the one supplied with Leafnode.

Differences to Leafnode version 1.9.22:

* Bug fixes and changes including:
	+ No longer install lsort
	+ Merge in timeout_client patch from Jonathan Larmour
	+ Fix file descriptor leak in markdownload()
	+ No longer emit "400 Service discontinued" to clients.
	+ Drop connection when the upstream server runs NNTPcache 2.3.x
	+ More verbose POST reject messages.
	+ Fix two filtering bugs in fetchnews.
	+ Expire groups that are not in group.info
	+ Fix several memory leaks (e.g. in fetchnews.c, newsq.c &
		artutil.c)
	+ Fix possible overflow in nntpd.c
	+ Some speed improvements (e.g. in getline.c and mastring.c)
	+ Fix bogus error messages.
	+ Several documentation fixes.
	+ Various fixes from Leafnode 2.

(For more details, please see the Leafnode ChangeLog file)
2002-09-22 10:35:48 +00:00
cjep
e0af88e6b2 Initial import of Leafnode 1.9.22 into the NetBSD packages collection
as news/leafnode.

Leafnode is a USENET software package designed for small sites, with a
few tens of readers and only a slow link to the net.

The work in this package is based on that of Ingolf Steinbach
in PR#13830. wiz@ made some suggestions as well. Thanks to both of them.
2002-06-16 11:34:26 +00:00