David Barr <barr@math.psu.edu>

This is an unofficial release of INN, called "1.4unoff4".  This has
been released without the permission of the author, Rich $alz.
This release is just my way of saying "thanks" to Rich
for his effort, and to make his job easier without having to
answer more questions like "I noticed this bug in INN 1.4"
and "how can I apply this patch...".

You must read the file INSTALL before installing this release.

Basically this is a release which includes lots of patches to INN
1.4sec that have been floating around the net (collected on
ftp.math.psu.edu:/pub/INN/patches) and a few extra files you see in
this directory.  This release is not perfect.  There's still
probably some portability problems.  If you have problems with this
release, please contact me and not Rich.  If you have patches for INN
1.4 that you have already sent to Rich and haven't appeared in this
release, please let me know.

For up-to-date information about this release, check out
http://www.math.psu.edu/barr/INN.html

Patches included but not applied:
File: sharedactive.patch
From: Doug Graham (via clewis@bnr.ca)
Description: patch to nnrpd/group.c to give shared access to the
        active file among nnrpd's.  Uses SYSV shm*() family of
        syscalls.
 

Here's a list of the patches which have been applied to this release.
There may be a couple more tiny ones than this.

Note to people doing a 'make update'.  You'll need to manually copy
the following scripts to their respective locations after a 'make update':

	site/checkgroups
	site/nntpsend
	site/parsecontrol	(inn1.4unoff1 or earlier)
	site/rc.news		(inn1.4unoff1 or earlier)
	site/innlog.awk		(inn1.4unoff1 or earlier)
	site/tally.unwanted	(inn1.4unoff1 or earlier)

New since unoff3:
	- remove call to ARTfromboss() in nnrpd/article.c.  ARTfromboss()
	  connects to localhost (innd) and does an XPATH call.  It's
	  very expensive (slow), only rarely is it useful, and under
	  certain conditions will be called very very often. [barr]
	- * security fix to samples/checkgroups.  Prevent substitution in
	  here-document call to docheckgroups.  [Mike Brudenell
	  <pmb1@mailer.york.ac.uk>]
	- fix nntpsend to allow passing new -c flag to innxmit.
	  [from nathan@bbnplanet.com (Nathan J. Mehl)]
	- fixed inews.c to have same quoted text checking rules as nnrpd.
	- change nntpsend to name batchfiles according to site name, not
	  host name, to allow for multiple innxmits per site.
	  [from hucka@eecs.umich.edu (Michael Hucka)]
	- add '-C' flag to innd.  turns off cancels
	- streaming updates.  (plus misc doc typo fixes)  Also updates
	  for '-L' flag to innd and new 'crosspost' program.
	  [from Jerry Aguirre]
	- fix to art.c. Avoid dbz errors and crashes if someone tries
	  a Control: cancel or Supercedes: with multiple or invalid
	  message-id's [Idea from bochner@das.harvard.edu (Harry Bochner)].
	- fix for frontends/Makefile.  Fixed typo in OWNER/ROWNER which
	  would cause make install to set the wrong ownerships.  [ Reported
	  by jerry@olivetti.com (Jerry Aguirre)]
	- fix for newnews command. [ Per Hedeland <per@erix.ericsson.se> ]
	- fix expire to remove history entries with arrival timestamps
	  more than a day in the future [ idea from Steinar Haug,
	  <Steinar.Haug@runit.sintef.no> ]
	- fix for overchan to remove spurious error messages
	  [ Miquel van Smoorenburg <miquels@debian.het.net> ]
	- new sharedactive.patch to stop core dump on Solaris 2.4 (gcc)
	  [ vincent@ucthpx.uct.ac.za (Russell Vincent) ]

New since unoff2:
	- fix to innxmit to stop core dumps on blank lines or corrpted
	  lines in batchfile. [From Joe Ramey <ramey@jello.csc.ti.com>]
	- fix to art.c to stop core dumps on null messageid's
	  [ From Joel Gallun <joel@mci.net> ] and to cast some int's
          as unsigned char to avoid core dumps 
          [ From KIZU takashi <kizu@ics.es.osaka-u.ac.jp>].
	- fix to post.c to fix nnrpd core dump with tracing on.
	  [ "Ronald F. Guilmette" <rfg@segfault.monkeys.com> ]
	- newnews.patch, Fix NEWNEWS command's handling of distributions.
	  [ dmtech@magi.com (Andrew Mileski) ]
        - install permission changes.  rnews is now 550 instead of 2555.
	  rnews isn't meant to be used by general users.  inndstart
	  installed setuid root, since rc.news expects it.
	- patch to nc.c and chan.c form Ian Dickinson (via INN FAQ)
	  to work around poll() bugs in Solaris 2.4.
	- fix to post.c.  ARTpost would close the file descriptors
	  twice upon a successful post, causing crashes on some
	  systems. [Wolfram Gloger <Wolfram.Gloger@Dent.MED.Uni-Muenchen.DE>]


New since unoff1:
 
Misc changes:
	- SECURITY FIX to samples/parsecontrol.
	- applied patch for AUTHINFO GENERIC support (Chris Lewis)
	- Fix nntpsend's PPID variable to be PARENTPID so it is
	compatible with bash.  (Linux's /bin/sh is bash)
	- Fix rc.news so it doesn't redirect stuff to /dev/console.
	Since it runs as news this isn't necessarily writeable.  (as a
	bonus if you run rc.news as news from something other than
	the console you can control where the output goes)
	- basic checks to post.c to refuse posts with obviously broken
	From: lines (No '@', no '.' after '@') to meet RFC 1036. [from clewis]
	- relaxed checking of included text so it only applies to articles
	greater than 40 lines.  Treat lines beginning with ':' and
	'|' as quoted too.  (nnrpd/post.c) [modified, from clewis]
	- allow you to reject articles from bad sites by putting
	their path name in the exclude list of your ME entry
	(example:  ME/badguy1,badguy2:...). [from clewis]
	- Add -P flag to innxmit and nntpsend to allow setting of what
	outgoing port to use (instead of 119). [ from clewis ]
	(and added checks to inncheck [ade@demon.net])
	- fix obvious memory leak in makehistory [ from Don Lewis ]
	- some additions to innlog.awk to ignore cruft from innd and nntplink.
	- change innxmit so -S implies -s (since streaming mode isn't
	supported with xreplic).
	- Fix by Ulf Kieber for expireover so -a works as documented.
	- Small fix for tally.unwanted from J. Porter Clark
	- Small fix for getlist from Matt Power
	- Install.ms.1 incorrectly said you need HAVE_UNIX_DOMAIN to
	DONT -- unix domain sockets work now in Solaris 2.[34].
	- fix to art.c to prevent articles stored with Message-ID's of
	length 254 or 255 from being created by innd.  (since they
	will choke expire and/or dbz)  [enger@seka.reston.ans.net,
	submitted by jpc@hammer.msfc.nasa.gov]
	- fix to nc.c to stop core dump if INND_QUIET_BADLIST is something
	other than the default "NULL". [mskucher@hookup.net, from
	noyd@u.washington.edu]
	- fix for pstat() in HPUX 9.x.  See HPUX.
	- fix to ARTcancel (buff too short) [jdp@polstra.com]
	- fix makehistory -buvn to ignore articles added after it
	started.  Avoids problems if it runs while an expire completes
	[jerry@atc.olivetti.com]
	- strip \r's from overview data -- some newsreaders choke on this
	- small bugfix for streaming mods [andy@news1.demos.su]

File: mode-stream-27June95-feature.patch
Description: Enhancement from Jerry Aguirre to implement at "streaming"
	NNTP within innd and innxmit.  This removes the lock-step limits
	of NNTP resulting in significant improvements in throughput.

File: innxmit-long-lines.patch
From: rsalz@uunet.uu.net
Description: Overlooked in unoff1, fixes innxmit so it doesn't choke on
	long lines in the batchfile.

File: innd.spool.patch
From: Richard Martin <rmartin@sprint.net>
Description: Change to newsfeeds "S" flag.  When a channel's
	buffer fills up to fills up to the value in the "S" flag,
	innd will dump the buffer to the disk file and continue
	(instead of closing the channel).  This is a performance
	as well as memory win (especially for sites using stdin
	nntplink feeds).

File: newsrequeue.patch
From: Brian J. Coan <brian@igc.apc.org>
Description: Fix obvious errors in newsrequeue program

From unoff1:
File: 1.4sec-to-1.4sec2
From: pab@cs.arizona.edu (Peter A. Bigot)
Description: Small additional security patch in same vein as the "sec" release

File: list-subscriptions-feature.patch
From: shane@utdallas.edu (Shane Davis)
Description: So nnrpd understands the LIST SUBSCRIPTIONS command that
	is used by many news readers (trn, and and others) to give the new
	user a default list of subscribed newsgroups. (apply by hand)

File: list-active-feature.patch
From: davison@borland.com (Wayne Davison)
Description: This is a patch for INN 1.4 that modifies nnrpd to support
	the command LIST ACTIVE <wildspec> where wildspec is a group
	name to match, possibly containing wildcards.  Also added was
	LIST NEWSGROUPS <wildspec> with the same support.  These
	extensions are going to be in nntp-1.5.12, and (as far as I
	know) also in INN 1.5.

File: select-loop-bug.patch
From: philip@charon.citicorp.com (Philip Gladstone)
Description: Under some circumstances innd can lose track of a file
	descriptor and end up sitting in a select() loop.

File: rmgroup-active-munge.patch
From: dem@meaddata.com (David Myers)
Description: Fix so that running multiple rmgroups while innd is throttled
	doesn't munge the active file.

File: nntp-stat-bug.patch
From: rsalz@uunet.uu.net (Rich Salz)
Description: Fixes bug to correct output of the NNTP STAT command.

File: newsfeeds-parse-bug.patch
From: jik@cam.ov.com (Jonathan I. Kamens)
Description: one-line patch to fix parsing of ME entry in newsfeeds(5)
	if it has exclusions in it. ("ME/some.host" vs. "ME:")

File: expire-long-msgids.patch
From: noyd@u.washington.edu (Steven Jones)
Description: Small fix to expire to skip over articles whose message-ids
	are too long for DBZ.  Otherwise expire will fail when it reaches
	one of these articles.

File: nnrp.access-auth.patch
From: Heiko W.Rupp
Description: nnrp.access allows you to restrict what groups are 'seen'
	by readers, but without this patch anyone can post to a restricted
	group if they know the group name. (apply by hand?)

File: solaris-2.4.patch
From: Tobias Oetiker <oetiker@dmu.ac.uk>
Description: updated patch to workaround problems in Solaris to get
	INN working.

File: inews-NAME-From-header.patch
From: Ian Dickinson <cudep@csv.warwick.ac.uk>
Description: This is a patch for INN1.4 inews.c which will allow it to
	use the NAME environmental variable in preference for the GECOS
	field in From: headers.  Set DONT_MUNGE_GETENV in config.data
	to get the original behaviour.

File: nnrpd-NOV-patch
From: Rob Robertson <rob@gangrene.berkeley.edu>
Description: Fix to article.c to correct returning of wrong data if
	requested header is missing.  (If you say XHDR Xref, if an
	article doesn't have an Xref: header, it will return the
	Subject instead)

File: fd-leak.patch
From: ian@pipex.net (Ian Phillips)
Description: Author onoe@sm.sony.co.jp?.  A kludge to fix file
	descriptor leak.  At some sites this helps to keep innd from
	silently exiting for no apparent reason.

File: patch-a[abc] from ftp.cdrom.com:/pub/FreeBSD/ports-2.0/news/inn/patches
Description: portability fixes for FreeBSD

Plus misc patches from Per Hedeland for fixes to innd statistics, rc.news
  and nnrpd (fix 'No such newsgroup as "(null)"' which crashes on some
  systems)
