Bug 10000 - /ports/news/cnews need patchfiles
Summary: /ports/news/cnews need patchfiles
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-02-10 07:30 UTC by dirk.meyer
Modified: 2002-12-18 17:20 UTC (History)
0 users

See Also:


Attachments
file.diff (5.82 KB, patch)
1999-02-10 07:30 UTC, dirk.meyer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description dirk.meyer 1999-02-10 07:30:01 UTC
1) input/newsrun	Fri Apr 28 02:51:02 1995
To accept gzipped batches, with or without a '#!cunbatch" header,
I call "gzip -d" instead of "uncompress"

2) batch/sendbatches
I need to do accounting over the bytes the batcher send to a system.
Therefor I needed to know for which system the batcher is called.
An easy way to provide that, was to export the $sys variable
before calling the batcher.

3) namecheck.awk
In Germany we have many newsgroups which have longer name components.
I changed the maximum length from 14 to 24.
I know this limit is mostly obsolete, and I have not found a system
which still use and old filesystem, which did limit the name of a
directory to 14 characters. Of cause this may be still the cause 
somewhere around the world.

4) relay/fileart.c
Due to the growing amount of control-messages, I want to set different
directorys and different times to expire them. I created in the active
file the groups control.cancel control.newgroups control.rmgroups and
control.checkgroups. With a few changes in fileart.c c-news detect this
groups and use the specialized directorys. I had seen a previous patch
somewhere, but it had the names hardcoded in the code. My solutions is
to find the name from the given command, so even a control.sendsys or
a control.extension newsgroup is possible.

5) util/queuelen.tay
Due to a compile-time limit in uustat (taylor-uucp) you can get only
the status of 201 Jobs. If you have mail-batches for a system and they
sum up with the maximum number of newsbatches to a value greater then
200, queuelen will never return the true number of newsbatches.
In result c-news will continue to create batches.
use only the grade "d" for newsbatches, so I set a "hack",
which count all batches for the same grade.
A permanent solution would be counting the configured grade from
the configuration.

6) ctl/newgroup ctl/rmgroup ctl/checkgroups
ftp://ftp.cs.man.ac.uk/pub/chl/CNEWS/pgpcontrol.patch
ftp://ftp.cs.man.ac.uk/pub/chl/CNEWS/README.pgp
see: PATCHES-ctl-pgp3

7) ctl/newgroup ctl/checkgroups
ftp://ftp.cs.man.ac.uk/pub/chl/CNEWS/morechanges.patch
ftp://ftp.cs.man.ac.uk/pub/chl/CNEWS/README.morechanges
read: PATCHES-ctl-more

8) exipre/doexipre
ftp://ftp.cs.man.ac.uk/pub/chl/CNEWS/doexpire.patch
ftp://ftp.cs.man.ac.uk/pub/chl/CNEWS/README.morechanges
read: PATCHES-ctl-more

9) ctl/newgroup ctl/rmgroup ctl/checkgroups
I like to used regular expression in the second field of the file
controlperm. This check is done by awk, so I changed the operator
in that awk command.
A line in controlperm can now be set to:
mynet		.*.spam.net	ncr	q
and suppress all messages from this domain.

10) input/bunzip2 input/makefile batch/viauux batch/compcun
More and more uucp-Sites like to use more compression schemes.
I created a file like gunzip for the program bzip2.
The INN batcher like to generate rnews commands with a header
line line "#!gunbatch", and this batches pile up as bad.
I found no easy way to include support for this.
Instead I added support for different command and compressors
while batching for a system. I can now add in the batchparms
file calls like: "viauux -cmd rnews-bzip2".
For compability reasons I can generate those funny headers
with a short extension of compcun. So a compressor for an
INN site may be: "compcun -cmd gunbatch -prg gzip"

11) ctl/checkgroups
Due to Gatebau it is common use to for gateway to convert
a '!' in group name into an  underscore '_'. Therefore
a leading '_' appears in newsgroups component.

Fix: apply this patches
Comment 1 Steve Price freebsd_committer freebsd_triage 1999-02-22 03:55:55 UTC
State Changed
From-To: open->closed

Patches committed, thanks!