David Barr <barr@math.psu.edu>

This is an unofficial release of INN, called "unoff2".  This has
been released without the permission of the author, Rich $alz.
Rich is busily working on INN 1.5 along with his "real life"
work.  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...".

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 far from 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.

Patches included but not applied:
File: sharedactive.patch
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.

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
Description: Overlooked in unoff1, fixes innxmit so it doesn't choke on
	long lines in the batchfile.

File: innd.spool.patch
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
Description: Fix obvious errors in newsrequeue program

From unoff1:
File: 1.4sec-to-1.4sec2 *
Description: Small additional security patch in same vein as the "sec" release

File: list-subscriptions-feature.patch  *
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 *
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 *
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 *
Description: Fix so that running multiple rmgroups while innd is throttled
	doesn't munge the active file.

File: nntp-stat-bug.patch *
Description: Fixes bug to correct output of the NNTP STAT command.

File: newsfeeds-parse-bug.patch *
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 *
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 *
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 *
Description: updated patch to workaround problems in Solaris to get
	INN working.

File: inews-NAME-From-header.patch *
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 *
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 *
Description: Author of this is unknown.  From ian@pipex.net (Ian
	Phillipps).  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)
