🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
30 messages
30 total messages Started by Reza Ambler Wed, 19 Feb 2003 02:13
cnews
#64081
Author: Reza Ambler
Date: Wed, 19 Feb 2003 02:13
7 lines
1675 bytes
has anyone on here configured c-news nntp server?
I'm basically curious if it can create local news group that i could use
with a few of my buddies, and also if you can password protect the server?
-Reza


Re: cnews
#64082
Author: greg andruk
Date: Wed, 19 Feb 2003 08:17
18 lines
2214 bytes
(followups to news.software.nntp and news.software.b, that's where C News 
is generally discussed, though it doesn't get discussed much any more.)

Reza Ambler wrote:

> has anyone on here configured c-news nntp server?
> I'm basically curious if it can create local news group that i could use
> with a few of my buddies,

Yes, you can use the addgroup command.  See the newsmaint man page for 
details.

> and also if you can password protect the server?

Are you using the NNTP 1.5.1x server?  There should be a file called 
nntp_access (possibly in /usr/lib/news but the location varies) that you 
can set up for that.  The sample version is named access_file .
Re: cnews
#64086
Author: B'ichela
Date: Wed, 19 Feb 2003 20:03
84 lines
4281 bytes
In article <PKB4a.1941$4q1.161291412@newssvr21.news.prodigy.com>, Reza Ambler wrote:
> has anyone on here configured c-news nntp server?
> I'm basically curious if it can create local news group that i could use
> with a few of my buddies, and also if you can password protect the server?
	Not sure about password protecting nntpd-1.5.12.1 but you can
limit it to domains. Therefore if you know your friends domains you
can limit the reading/posting to those domains only
To add any groups. and expecially local groups you would su - in as
the news user
cd /usr/lib/newsbin/maint
./addgroup my.group.name y
you would do that for each unmoderated group you want. Moderated
groups are similar but you use a m instead of y. for example
./addgroup local.winsted.for-sale y
./addgroup local.torrington.rentals y
 unmoderated group you want. Moderated groups are similar but you use
a m instead of y. for example
./addgroup local.winsted.for-sale y
./addgroup local.torrington.rentals y
./addgroup local.torrington.help-wanted m

first two groups are unmoderated whereas the third group is moderated.
this creates the needed directories and adds the groups to the
/usr/lib/news/active file.
	You still will need to modify the /usr/lib/news/sys file ME
line for the groups you are adding. for example:

# Only the ME line is mandatory; the others are just samples of how to do
# things.  Virtually everything will need modifying for your local feeds
# and newsgroups.

# line indicating what we are willing to receive; note local groups near end
ME:local,linux,local,control,acs,tnn,li,comp,humanities,misc,news,rec,sci,soc,talk,alt,lfs

There is LOTS of info on this in several man pages. the ones in the
distribution have a cn at the end of the name for example
	I remember that the man pages did NOT get installed by
default. these are in the cnews distribution archive. I installed them
as follows here.

/usr/man/man1cn:
checknews.1cn.gz
inews.1cn.gz
postnews.1cn.gz
readnews.1cn.gz

/usr/man/man5cn:
controlperm.5cn.gz
news.5cn.gz
newsctl.5cn.gz
newsdb.5cn.gz
newsoverview.5cn.gz
newssys.5cn.gz

/usr/man/man8cn:
badexpiry.8cn.gz
checkactive.8cn.gz
cnewsdo.8cn.gz
expire.8cn.gz
explode.8cn.gz
mergeactive.8cn.gz
mkhistory.8cn.gz
newsaux.8cn.gz
newsbatch.8cn.gz
newsflag.8cn.gz
newsmail.8cn.gz
newsmaint.8cn.gz
newsoverview.8cn.gz
relaynews.8cn.gz
report.8cn.gz
rnews.8cn.gz
	I hope that helps.

-- 
A tagline from Comp.os.Linux.Advocacy:
(I keep hearing RTFM, but I'm not sure where TFM is).
		From the Desk of the Sysop of:
Planet Maca's Opus, a Free open BBS system.
Telephone 860-738-7176 300-33.6kbps
Telnet://pinkrose.dhis.org. Open 24/7!
			The New Cnews maintainer
				B'ichela

Re: cnews
#64099
Author: Reza Ambler
Date: Fri, 21 Feb 2003 15:28
97 lines
4658 bytes
does cnews have to run as root or can you runt it as another user?
Becuase im' worried about security...
-Reza

"B'ichela" <mdalene@pinkrose.net.dhis.org> wrote in message
news:slrnb57od8.4ec.mdalene@pinkrose.dhis.org...
> In article <PKB4a.1941$4q1.161291412@newssvr21.news.prodigy.com>, Reza
Ambler wrote:
> > has anyone on here configured c-news nntp server?
> > I'm basically curious if it can create local news group that i could use
> > with a few of my buddies, and also if you can password protect the
server?
> Not sure about password protecting nntpd-1.5.12.1 but you can
> limit it to domains. Therefore if you know your friends domains you
> can limit the reading/posting to those domains only
> To add any groups. and expecially local groups you would su - in as
> the news user
> cd /usr/lib/newsbin/maint
> ./addgroup my.group.name y
> you would do that for each unmoderated group you want. Moderated
> groups are similar but you use a m instead of y. for example
> ./addgroup local.winsted.for-sale y
> ./addgroup local.torrington.rentals y
>  unmoderated group you want. Moderated groups are similar but you use
> a m instead of y. for example
> ./addgroup local.winsted.for-sale y
> ./addgroup local.torrington.rentals y
> ./addgroup local.torrington.help-wanted m
>
> first two groups are unmoderated whereas the third group is moderated.
> this creates the needed directories and adds the groups to the
> /usr/lib/news/active file.
> You still will need to modify the /usr/lib/news/sys file ME
> line for the groups you are adding. for example:
>
> # Only the ME line is mandatory; the others are just samples of how to do
> # things.  Virtually everything will need modifying for your local feeds
> # and newsgroups.
>
> # line indicating what we are willing to receive; note local groups near
end
>
ME:local,linux,local,control,acs,tnn,li,comp,humanities,misc,news,rec,sci,so
c,talk,alt,lfs
>
> There is LOTS of info on this in several man pages. the ones in the
> distribution have a cn at the end of the name for example
> I remember that the man pages did NOT get installed by
> default. these are in the cnews distribution archive. I installed them
> as follows here.
>
> /usr/man/man1cn:
> checknews.1cn.gz
> inews.1cn.gz
> postnews.1cn.gz
> readnews.1cn.gz
>
> /usr/man/man5cn:
> controlperm.5cn.gz
> news.5cn.gz
> newsctl.5cn.gz
> newsdb.5cn.gz
> newsoverview.5cn.gz
> newssys.5cn.gz
>
> /usr/man/man8cn:
> badexpiry.8cn.gz
> checkactive.8cn.gz
> cnewsdo.8cn.gz
> expire.8cn.gz
> explode.8cn.gz
> mergeactive.8cn.gz
> mkhistory.8cn.gz
> newsaux.8cn.gz
> newsbatch.8cn.gz
> newsflag.8cn.gz
> newsmail.8cn.gz
> newsmaint.8cn.gz
> newsoverview.8cn.gz
> relaynews.8cn.gz
> report.8cn.gz
> rnews.8cn.gz
> I hope that helps.
>
> --
> A tagline from Comp.os.Linux.Advocacy:
> (I keep hearing RTFM, but I'm not sure where TFM is).
> From the Desk of the Sysop of:
> Planet Maca's Opus, a Free open BBS system.
> Telephone 860-738-7176 300-33.6kbps
> Telnet://pinkrose.dhis.org. Open 24/7!
> The New Cnews maintainer
> B'ichela
>


Re: cnews
#64103
Author: B'ichela
Date: Fri, 21 Feb 2003 19:04
84 lines
5611 bytes
In article <WAr5a.2590$WB6.472231985@newssvr13.news.prodigy.com>, Reza Ambler wrote:
> does cnews have to run as root or can you runt it as another user?
> Becuase im' worried about security...
	Cnews is not designed to run as root. normally it runs as user
news and group news. For this reason its important to chown all
files/directories of news to news.news. Heres a real world example.
on my system news has a /etc/passwd entry that defines c-news's home as
/usr/lib/news
now Cnews has its own set of executables in /usr/llb/newsbin
fastest way of setting proper owner after you do a normal install
(read the installation instructions please). This is assuming you are
using the gnu chown command and you have a user and group of news
chown -Rv news.news /usr/lib/news
chown -Rv news.news /usr/lib/newsbin
Now before anything you must know you do news maintainence as news
NEVER root! (you can but then you will become intimate with chown
every time you make changes). therefore as root
su - news
you then do the needed tasks using the tools and exit. Now since News
needs processing you would create these type of entries under the
news user. (please note, these may have to be modified for your
system)
if you are su'ed in as news doing crontab -e will allow you to add
these. if you are root. doing
crontab -e -u news will allow you to edit new's crontab while being
root. Don't get in the habit! start su'ing and thats the best place to
start with your discipline of being news when editing c-new's config. 
# take the compressed batches that came in from other systems
# also, post (locally) articles that originated here
#20 *       * * * /usr/lib/newsbin/input/newsrun
*/10 * * * * /usr/lib/newsbin/input/newsrun 2>&1 >/dev/null &

# batch 'em up to go out
# 0 *        * * * /usr/lib/newsbin/batch/sendbatches myfeedsite

# expire C-news
59 0       * * * /usr/lib/newsbin/expire/doexpire

# monitor stuff and report if needed
10 5       * * * /usr/lib/newsbin/maint/newsdaily &
00 5       * * * /usr/lib/newsbin/maint/newswatch &

# turn processing of incoming news batches off 6:30AM - 4:00 PM
#30 6       * * * /usr/lib/newsbin/input/newsrunning off >/dev/null &
00 16      * * * /usr/lib/newsbin/input/newsrunning on >/dev/null &

	There are several resources on c-news available including
whats in the cnews archive itself. look in the doc and man directories
for several files describing cnews and its usage. There are several
postscript documents that explain how to use cnews. Another set of
documents deal with nntpd (it was originally a seperate package that I
begain to combine with cnews).
	this is in the nntp-1.5.12.1-bichela subdirectory. This is the
nntpd system. While it works fine with Netscape and pine. it will bomb
royally with Slrn 0.9.7.4 UNLESS you add a entry into your slrn.rc file for
reading news. The line to add to either .slrnrc or
/usr/local/etc/slrn.rc
set max_queued_groups 1
	Btw cnews works fine with suck without a hitch.

	If you go to my ftp site you will find lots of unusual
bits/pieces for cnews (including an older version). my ftp site is
ftp://pinkrose.net.dhis.org/pub/Linux
	Last thing, Cnews is written on shell scripts. Therefore it is
very easy to modify c-news to your liking. I run it with bash. but
if you are savvy enough you could modify it to work with the C-shell
or tcsh, just be aware if you do that. you are on your own. also be
sure to have a recent version of sed/awk otherwise c-news is gonna
hate you. an older awk on slackware 3.9 gave me a migrain until I
replaced it with a newer gnu awk.	
	If one is savvy enough they could create a nice config tool
for cnews. I am trying to learn perl. Also a ./configure system using
autoconf would be even more awsome.

A tagline from Comp.os.Linux.Advocacy:
(I keep hearing RTFM, but I'm not sure where TFM is).
		From the Desk of the Sysop of:
Planet Maca's Opus, a Free open BBS system.
Telephone 860-738-7176 300-33.6kbps
Telnet://pinkrose.dhis.org. Open 24/7!
			The New Cnews maintainer
				B'ichela

Re: cnews
#64116
Author: Reza Ambler
Date: Sat, 22 Feb 2003 06:42
25 lines
2407 bytes
will cnews run on OpenBSD which is a unix like operating system?
-Reza

"greg andruk" <gja@meowing.net> wrote in message
news:r375ql7ko0fm$.dlg@meowing.net...
> (followups to news.software.nntp and news.software.b, that's where C News
> is generally discussed, though it doesn't get discussed much any more.)
>
> Reza Ambler wrote:
>
> > has anyone on here configured c-news nntp server?
> > I'm basically curious if it can create local news group that i could use
> > with a few of my buddies,
>
> Yes, you can use the addgroup command.  See the newsmaint man page for
> details.
>
> > and also if you can password protect the server?
>
> Are you using the NNTP 1.5.1x server?  There should be a file called
> nntp_access (possibly in /usr/lib/news but the location varies) that you
> can set up for that.  The sample version is named access_file .


Re: cnews
#64125
Author: Wolfgang Zenker
Date: Sat, 22 Feb 2003 10:11
11 lines
1241 bytes
[FollowUps directed to news.software.b]

In news.software.b Reza Ambler <reza225@sbcglobal.net> wrote:
> will cnews run on OpenBSD which is a unix like operating system?
> -Reza

Should run without problems. I'm using C News on FreeBSD here and did
use it on NetBSD before.

Wolfgang
Re: cnews
#64118
Author: greg andruk
Date: Sat, 22 Feb 2003 14:29
8 lines
1786 bytes
Reza Ambler wrote:

> will cnews run on OpenBSD which is a unix like operating system?

Sure, C News will build and run on just about anything.  nntpd can be a 
little bit harder to get working on some platforms, but on a *BSD if 
shouldn't be bad.
Re: cnews
#64119
Author: B'ichela
Date: Sat, 22 Feb 2003 15:03
18 lines
2105 bytes
In article <2ZE5a.2733$tZ1.517602514@newssvr13.news.prodigy.com>, Reza Ambler wrote:
> will cnews run on OpenBSD which is a unix like operating system?
> -Reza
	Yes, C-news was originally designed to be portable for any
unix system. You will need to be somewhat familar with your system and
its C compiler.

-- 
A tagline from Comp.os.Linux.Advocacy:
(I keep hearing RTFM, but I'm not sure where TFM is).
		From the Desk of the Sysop of:
Planet Maca's Opus, a Free open BBS system.
Telephone 860-738-7176 300-33.6kbps
Telnet://pinkrose.dhis.org. Open 24/7!
			The New Cnews maintainer
				B'ichela

Re: cnews
#64121
Author: Reza Ambler
Date: Sat, 22 Feb 2003 19:29
106 lines
6467 bytes
i tried running build.sh as root, and it told me that i wasn't able to
install cnews/nntpd on my system because it was not linux.
Here is the output (also could you put more spaces between your lines, it's
hard ofr me to read :)

$ sudo sh build.sh
This source distribution is only meant for Linux platforms.
We will terminate here. Sorry.
$ uname -a
OpenBSD digidyntech 3.1 LUCIFER#0 i386
$

Thanks
-Reza


"B'ichela" <mdalene@pinkrose.net.dhis.org> wrote in message
news:slrnb5csu9.7vl.mdalene@pinkrose.dhis.org...
> In article <WAr5a.2590$WB6.472231985@newssvr13.news.prodigy.com>, Reza
Ambler wrote:
> > does cnews have to run as root or can you runt it as another user?
> > Becuase im' worried about security...
> Cnews is not designed to run as root. normally it runs as user
> news and group news. For this reason its important to chown all
> files/directories of news to news.news. Heres a real world example.
> on my system news has a /etc/passwd entry that defines c-news's home as
> /usr/lib/news
> now Cnews has its own set of executables in /usr/llb/newsbin
> fastest way of setting proper owner after you do a normal install
> (read the installation instructions please). This is assuming you are
> using the gnu chown command and you have a user and group of news
> chown -Rv news.news /usr/lib/news
> chown -Rv news.news /usr/lib/newsbin
> Now before anything you must know you do news maintainence as news
> NEVER root! (you can but then you will become intimate with chown
> every time you make changes). therefore as root
> su - news
> you then do the needed tasks using the tools and exit. Now since News
> needs processing you would create these type of entries under the
> news user. (please note, these may have to be modified for your
> system)
> if you are su'ed in as news doing crontab -e will allow you to add
> these. if you are root. doing
> crontab -e -u news will allow you to edit new's crontab while being
> root. Don't get in the habit! start su'ing and thats the best place to
> start with your discipline of being news when editing c-new's config.
> # take the compressed batches that came in from other systems
> # also, post (locally) articles that originated here
> #20 *       * * * /usr/lib/newsbin/input/newsrun
> */10 * * * * /usr/lib/newsbin/input/newsrun 2>&1 >/dev/null &
>
> # batch 'em up to go out
> # 0 *        * * * /usr/lib/newsbin/batch/sendbatches myfeedsite
>
> # expire C-news
> 59 0       * * * /usr/lib/newsbin/expire/doexpire
>
> # monitor stuff and report if needed
> 10 5       * * * /usr/lib/newsbin/maint/newsdaily &
> 00 5       * * * /usr/lib/newsbin/maint/newswatch &
>
> # turn processing of incoming news batches off 6:30AM - 4:00 PM
> #30 6       * * * /usr/lib/newsbin/input/newsrunning off >/dev/null &
> 00 16      * * * /usr/lib/newsbin/input/newsrunning on >/dev/null &
>
> There are several resources on c-news available including
> whats in the cnews archive itself. look in the doc and man directories
> for several files describing cnews and its usage. There are several
> postscript documents that explain how to use cnews. Another set of
> documents deal with nntpd (it was originally a seperate package that I
> begain to combine with cnews).
> this is in the nntp-1.5.12.1-bichela subdirectory. This is the
> nntpd system. While it works fine with Netscape and pine. it will bomb
> royally with Slrn 0.9.7.4 UNLESS you add a entry into your slrn.rc file
for
> reading news. The line to add to either .slrnrc or
> /usr/local/etc/slrn.rc
> set max_queued_groups 1
> Btw cnews works fine with suck without a hitch.
>
> If you go to my ftp site you will find lots of unusual
> bits/pieces for cnews (including an older version). my ftp site is
> ftp://pinkrose.net.dhis.org/pub/Linux
> Last thing, Cnews is written on shell scripts. Therefore it is
> very easy to modify c-news to your liking. I run it with bash. but
> if you are savvy enough you could modify it to work with the C-shell
> or tcsh, just be aware if you do that. you are on your own. also be
> sure to have a recent version of sed/awk otherwise c-news is gonna
> hate you. an older awk on slackware 3.9 gave me a migrain until I
> replaced it with a newer gnu awk.
> If one is savvy enough they could create a nice config tool
> for cnews. I am trying to learn perl. Also a ./configure system using
> autoconf would be even more awsome.
>
> A tagline from Comp.os.Linux.Advocacy:
> (I keep hearing RTFM, but I'm not sure where TFM is).
> From the Desk of the Sysop of:
> Planet Maca's Opus, a Free open BBS system.
> Telephone 860-738-7176 300-33.6kbps
> Telnet://pinkrose.dhis.org. Open 24/7!
> The New Cnews maintainer
> B'ichela
>


Re: cnews
#64122
Author: greg andruk
Date: Sat, 22 Feb 2003 19:35
16 lines
2133 bytes
Reza Ambler wrote:

> i tried running build.sh as root, and it told me that i wasn't able to
> install cnews/nntpd on my system because it was not linux.
> Here is the output (also could you put more spaces between your lines, it's
> hard ofr me to read :)

> $ sudo sh build.sh
> This source distribution is only meant for Linux platforms.
> We will terminate here. Sorry.

It appears you have stumbled on a modified C News.  You might want to 
download the original distribution with ftp from zoo.toronto.edu.  There 
were some y2k problems in there, but at this point it might not matter 
much.
Re: cnews
#64123
Author: Reza Ambler
Date: Sat, 22 Feb 2003 19:46
30 lines
2727 bytes
now what file am i looking for exactly ?
cnews.tar.gz ? or .tar.Z whicever,
nntpd.1.5..etc...
or does the cnews archive have both. Sorry if this is becomming cumbersome.
-Reza
msg me on aim if you have it, xibalbaseven
Thanks

"greg andruk" <gja@meowing.net> wrote in message
news:l7guc9iziat.dlg@meowing.net...
> Reza Ambler wrote:
>
> > i tried running build.sh as root, and it told me that i wasn't able to
> > install cnews/nntpd on my system because it was not linux.
> > Here is the output (also could you put more spaces between your lines,
it's
> > hard ofr me to read :)
>
> > $ sudo sh build.sh
> > This source distribution is only meant for Linux platforms.
> > We will terminate here. Sorry.
>
> It appears you have stumbled on a modified C News.  You might want to
> download the original distribution with ftp from zoo.toronto.edu.  There
> were some y2k problems in there, but at this point it might not matter
> much.
>


Re: cnews
#64124
Author: Reza Ambler
Date: Sat, 22 Feb 2003 19:53
115 lines
6780 bytes
nevermind i answer my own question.
Thanks.
-Reza

"Reza Ambler" <reza225@sbcglobal.net> wrote in message
news:ncQ5a.1951$i75.236@newssvr16.news.prodigy.com...
> i tried running build.sh as root, and it told me that i wasn't able to
> install cnews/nntpd on my system because it was not linux.
> Here is the output (also could you put more spaces between your lines,
it's
> hard ofr me to read :)
>
> $ sudo sh build.sh
> This source distribution is only meant for Linux platforms.
> We will terminate here. Sorry.
> $ uname -a
> OpenBSD digidyntech 3.1 LUCIFER#0 i386
> $
>
> Thanks
> -Reza
>
>
> "B'ichela" <mdalene@pinkrose.net.dhis.org> wrote in message
> news:slrnb5csu9.7vl.mdalene@pinkrose.dhis.org...
> > In article <WAr5a.2590$WB6.472231985@newssvr13.news.prodigy.com>, Reza
> Ambler wrote:
> > > does cnews have to run as root or can you runt it as another user?
> > > Becuase im' worried about security...
> > Cnews is not designed to run as root. normally it runs as user
> > news and group news. For this reason its important to chown all
> > files/directories of news to news.news. Heres a real world example.
> > on my system news has a /etc/passwd entry that defines c-news's home as
> > /usr/lib/news
> > now Cnews has its own set of executables in /usr/llb/newsbin
> > fastest way of setting proper owner after you do a normal install
> > (read the installation instructions please). This is assuming you are
> > using the gnu chown command and you have a user and group of news
> > chown -Rv news.news /usr/lib/news
> > chown -Rv news.news /usr/lib/newsbin
> > Now before anything you must know you do news maintainence as news
> > NEVER root! (you can but then you will become intimate with chown
> > every time you make changes). therefore as root
> > su - news
> > you then do the needed tasks using the tools and exit. Now since News
> > needs processing you would create these type of entries under the
> > news user. (please note, these may have to be modified for your
> > system)
> > if you are su'ed in as news doing crontab -e will allow you to add
> > these. if you are root. doing
> > crontab -e -u news will allow you to edit new's crontab while being
> > root. Don't get in the habit! start su'ing and thats the best place to
> > start with your discipline of being news when editing c-new's config.
> > # take the compressed batches that came in from other systems
> > # also, post (locally) articles that originated here
> > #20 *       * * * /usr/lib/newsbin/input/newsrun
> > */10 * * * * /usr/lib/newsbin/input/newsrun 2>&1 >/dev/null &
> >
> > # batch 'em up to go out
> > # 0 *        * * * /usr/lib/newsbin/batch/sendbatches myfeedsite
> >
> > # expire C-news
> > 59 0       * * * /usr/lib/newsbin/expire/doexpire
> >
> > # monitor stuff and report if needed
> > 10 5       * * * /usr/lib/newsbin/maint/newsdaily &
> > 00 5       * * * /usr/lib/newsbin/maint/newswatch &
> >
> > # turn processing of incoming news batches off 6:30AM - 4:00 PM
> > #30 6       * * * /usr/lib/newsbin/input/newsrunning off >/dev/null &
> > 00 16      * * * /usr/lib/newsbin/input/newsrunning on >/dev/null &
> >
> > There are several resources on c-news available including
> > whats in the cnews archive itself. look in the doc and man directories
> > for several files describing cnews and its usage. There are several
> > postscript documents that explain how to use cnews. Another set of
> > documents deal with nntpd (it was originally a seperate package that I
> > begain to combine with cnews).
> > this is in the nntp-1.5.12.1-bichela subdirectory. This is the
> > nntpd system. While it works fine with Netscape and pine. it will bomb
> > royally with Slrn 0.9.7.4 UNLESS you add a entry into your slrn.rc file
> for
> > reading news. The line to add to either .slrnrc or
> > /usr/local/etc/slrn.rc
> > set max_queued_groups 1
> > Btw cnews works fine with suck without a hitch.
> >
> > If you go to my ftp site you will find lots of unusual
> > bits/pieces for cnews (including an older version). my ftp site is
> > ftp://pinkrose.net.dhis.org/pub/Linux
> > Last thing, Cnews is written on shell scripts. Therefore it is
> > very easy to modify c-news to your liking. I run it with bash. but
> > if you are savvy enough you could modify it to work with the C-shell
> > or tcsh, just be aware if you do that. you are on your own. also be
> > sure to have a recent version of sed/awk otherwise c-news is gonna
> > hate you. an older awk on slackware 3.9 gave me a migrain until I
> > replaced it with a newer gnu awk.
> > If one is savvy enough they could create a nice config tool
> > for cnews. I am trying to learn perl. Also a ./configure system using
> > autoconf would be even more awsome.
> >
> > A tagline from Comp.os.Linux.Advocacy:
> > (I keep hearing RTFM, but I'm not sure where TFM is).
> > From the Desk of the Sysop of:
> > Planet Maca's Opus, a Free open BBS system.
> > Telephone 860-738-7176 300-33.6kbps
> > Telnet://pinkrose.dhis.org. Open 24/7!
> > The New Cnews maintainer
> > B'ichela
> >
>
>


Re: cnews
#64126
Author: greg andruk
Date: Sat, 22 Feb 2003 19:55
15 lines
1978 bytes
Reza Ambler wrote:

> now what file am i looking for exactly ?
> cnews.tar.gz ? or .tar.Z whicever,

Main: ftp://zoo.toronto.edu/pub/cnews.tar.Z

Mirror: ftp://ftp.uu.net/networking/news/cnews/cnews.tar.Z

> nntpd.1.5..etc...

Main: ftp://ftp.academ.com/pub/nntp1.5/nntp.1.5.12.2.tar.Z

Mirror: ftp://ftp.landfield.com/news/nntp/nntp1.5/nntp.1.5.12.2.tar.Z
Re: cnews
#64127
Author: Reza Ambler
Date: Sat, 22 Feb 2003 22:32
23 lines
2228 bytes
now which do i install first?
-Reza

"greg andruk" <gja@meowing.net> wrote in message
news:rgnr671ovwpc.dlg@meowing.net...
> Reza Ambler wrote:
>
> > now what file am i looking for exactly ?
> > cnews.tar.gz ? or .tar.Z whicever,
>
> Main: ftp://zoo.toronto.edu/pub/cnews.tar.Z
>
> Mirror: ftp://ftp.uu.net/networking/news/cnews/cnews.tar.Z
>
> > nntpd.1.5..etc...
>
> Main: ftp://ftp.academ.com/pub/nntp1.5/nntp.1.5.12.2.tar.Z
>
> Mirror: ftp://ftp.landfield.com/news/nntp/nntp1.5/nntp.1.5.12.2.tar.Z
>


Re: cnews (error)
#64128
Author: Reza Ambler
Date: Sat, 22 Feb 2003 22:54
38 lines
2636 bytes
I ran into this error when trying to compile cnews
==== libfake:
../conf/update.sym ../libcnews.a
ar: no archive members specified
usage:  ar -d [-Tv] archive file ...
        ar -m [-Tv] archive file ...
        ar -m [-abiTv] position archive file ...
        ar -p [-Tv] archive [file ...]
        ar -q [-cTv] archive file ...
        ar -r [-cuTv] archive file ...
        ar -r [-abciuTv] position archive file ...
        ar -t [-Tv] archive [file ...]
        ar -x [-CouTv] archive [file ...]
*** Error code 1

Stop in /tmp/foo/libfake (line 8 of makefile).
*** conf/inall terminated
*** Error code 1

Stop in /tmp/foo (line 26 of makefile).
$

I dont know why. I think i setup the quiz file correctly.
-Reza


"Reza Ambler" <reza225@sbcglobal.net> wrote in message
news:PKB4a.1941$4q1.161291412@newssvr21.news.prodigy.com...
> has anyone on here configured c-news nntp server?
> I'm basically curious if it can create local news group that i could use
> with a few of my buddies, and also if you can password protect the server?
> -Reza
>
>
>


Re: cnews
#64129
Author: greg andruk
Date: Sat, 22 Feb 2003 23:56
8 lines
1953 bytes
Reza Ambler wrote:

> now which do i install first?

You will need the news server built first.  nntpd will need to link to its 
database, and you'll need to verify where things like the spool, active and 
history directory end up.
Re: cnews (error)
#64131
Author: greg andruk
Date: Sun, 23 Feb 2003 00:25
11 lines
1785 bytes
Reza Ambler wrote:

> I ran into this error when trying to compile cnews
> ==== libfake:
> ../conf/update.sym ../libcnews.a
> ar: no archive members specified

Huh. All that somes to mind with so little in the way of error messages is 
that some versions of ar require a - before options, others don't.  I 
wonder if your system's utilities have a version mismatch somewhere...
Re: cnews (error)
#64134
Author: Reza Ambler
Date: Sun, 23 Feb 2003 01:02
24 lines
2381 bytes
do you have some form of IM that i could consult with you over this?
This is a bit tricky and i'm getting kind of confused between all the
software. Someone told me I should just use leafnode. but the leafnode
version that's avaiable on the site and in my port tree says that it does
not allow for local groups to be created. Rather it's just a nntp cache-er
if you will.
-Reza

"greg andruk" <gja@meowing.net> wrote in message
news:14ul8kkfwtiky$.dlg@meowing.net...
> Reza Ambler wrote:
>
> > I ran into this error when trying to compile cnews
> > ==== libfake:
> > ../conf/update.sym ../libcnews.a
> > ar: no archive members specified
>
> Huh. All that somes to mind with so little in the way of error messages is
> that some versions of ar require a - before options, others don't.  I
> wonder if your system's utilities have a version mismatch somewhere...
>


Re: cnews
#64148
Author: B'ichela
Date: Sun, 23 Feb 2003 18:24
41 lines
3243 bytes
In article <ncQ5a.1951$i75.236@newssvr16.news.prodigy.com>, Reza Ambler wrote:
> i tried running build.sh as root, and it told me that i wasn't able to
> install cnews/nntpd on my system because it was not linux.
> Here is the output (also could you put more spaces between your lines, it's
> hard ofr me to read :)
	More spaces? Reason I rarely double space my lines is its a
royal pita. never heard of build.sh and it does not exist in the root
of cnews-cr.h.tar.gz (the one I released). heres what you Should see
in the top directory
COPYRIGHT       contrib/  input/      libnov/
notebook/
README          ctl/      libbig/     libsmall/               nov/
README.changes  doc/      libc/       libstdio/               quiz*
README.etc      expire/   libcnews/   maint/
readnews/
README.install  explode/  libcnews.a  makefile                relay/
batch/          include/  libdbz/     man/
sponsors/
conf/           inject/   libfake/    nntp-1.5.12.1-bichela/  util/
 
This is the output of the gnu ls command. the filenames preceeded by a
'/' reminds you that they are directories.

Now, as I said. I don't see a build.sh here unless you got as you
pointed out a linux modified version. read the README.install file
for installation instructions.

You can get the official version off of my ftp site.
ftp://pinkrose.net.dhis.org/pub/Linux/cnews-cr.h.tar.gz

-- 
A tagline from Comp.os.Linux.Advocacy:
(I keep hearing RTFM, but I'm not sure where TFM is).
		From the Desk of the Sysop of:
Planet Maca's Opus, a Free open BBS system.
Telephone 860-738-7176 300-33.6kbps
Telnet://pinkrose.dhis.org. Open 24/7!
			The New Cnews maintainer
				B'ichela

Re: cnews
#64150
Author: B'ichela
Date: Sun, 23 Feb 2003 18:24
21 lines
2398 bytes
In article <hsQ5a.1979$ue5.1092@newssvr16.news.prodigy.com>, Reza Ambler wrote:
> now what file am i looking for exactly ?
> cnews.tar.gz ? or .tar.Z whicever,
> nntpd.1.5..etc...
> or does the cnews archive have both. Sorry if this is becomming cumbersome.
	If you go grab the original cnews. you will need to download
the nntpd server seperately. IF you download the cnews-cr.h.tar.gz
from pinkrose.net.dhis.org you will have a nntp server in a
subdirectory to use with cnews.

-- 
A tagline from Comp.os.Linux.Advocacy:
(I keep hearing RTFM, but I'm not sure where TFM is).
		From the Desk of the Sysop of:
Planet Maca's Opus, a Free open BBS system.
Telephone 860-738-7176 300-33.6kbps
Telnet://pinkrose.dhis.org. Open 24/7!
			The New Cnews maintainer
				B'ichela

Re: cnews
#64151
Author: Reza Ambler
Date: Sun, 23 Feb 2003 20:23
72 lines
4310 bytes
Hey I just ran the quiz file, and I ran 'make' afterwards. 'make' starting
compiling then i ran into the following errors.

==== libbig:
../conf/update.sym ../libcnews.a active.fast.o
a - active.fast.o

conf/inall "make" util batch conf ctl expire explode inject input maint  nov
readnews relay
==== util:
cc  -O  -DFASTSTRCHR -I../include gngp.o ../libcnews.a -o gngp
ld: gngp.o: malformed input file (not rel or archive)
collect2: ld returned 1 exit status
*** Error code 1

Stop in /tmp/cnews/cnews-cr.h/util (line 34 of makefile).
*** conf/inall terminated
*** Error code 1

Stop in /tmp/cnews/cnews-cr.h (line 33 of makefile).
$

I dont know why this is. I believe I entered all the information correctly
into the quiz file.
-Reza
"B'ichela" <mdalene@pinkrose.net.dhis.org> wrote in message
news:slrnb5i2m1.guo.mdalene@pinkrose.dhis.org...
> In article <ncQ5a.1951$i75.236@newssvr16.news.prodigy.com>, Reza Ambler
wrote:
> > i tried running build.sh as root, and it told me that i wasn't able to
> > install cnews/nntpd on my system because it was not linux.
> > Here is the output (also could you put more spaces between your lines,
it's
> > hard ofr me to read :)
> More spaces? Reason I rarely double space my lines is its a
> royal pita. never heard of build.sh and it does not exist in the root
> of cnews-cr.h.tar.gz (the one I released). heres what you Should see
> in the top directory
> COPYRIGHT       contrib/  input/      libnov/
> notebook/
> README          ctl/      libbig/     libsmall/               nov/
> README.changes  doc/      libc/       libstdio/               quiz*
> README.etc      expire/   libcnews/   maint/
> readnews/
> README.install  explode/  libcnews.a  makefile                relay/
> batch/          include/  libdbz/     man/
> sponsors/
> conf/           inject/   libfake/    nntp-1.5.12.1-bichela/  util/
>
> This is the output of the gnu ls command. the filenames preceeded by a
> '/' reminds you that they are directories.
>
> Now, as I said. I don't see a build.sh here unless you got as you
> pointed out a linux modified version. read the README.install file
> for installation instructions.
>
> You can get the official version off of my ftp site.
> ftp://pinkrose.net.dhis.org/pub/Linux/cnews-cr.h.tar.gz
>
> --
> A tagline from Comp.os.Linux.Advocacy:
> (I keep hearing RTFM, but I'm not sure where TFM is).
> From the Desk of the Sysop of:
> Planet Maca's Opus, a Free open BBS system.
> Telephone 860-738-7176 300-33.6kbps
> Telnet://pinkrose.dhis.org. Open 24/7!
> The New Cnews maintainer
> B'ichela
>


Re: cnews
#64154
Author: B'ichela
Date: Mon, 24 Feb 2003 01:24
42 lines
3405 bytes
In article <%4a6a.286$xI6.106@newssvr16.news.prodigy.com>, Reza Ambler wrote:
> Hey I just ran the quiz file, and I ran 'make' afterwards. 'make' starting
> compiling then i ran into the following errors.
> 
>==== libbig:
> ../conf/update.sym ../libcnews.a active.fast.o
> a - active.fast.o
> 
> conf/inall "make" util batch conf ctl expire explode inject input maint  nov
> readnews relay
>==== util:
> cc  -O  -DFASTSTRCHR -I../include gngp.o ../libcnews.a -o gngp
> ld: gngp.o: malformed input file (not rel or archive)
> collect2: ld returned 1 exit status
> *** Error code 1
	Hmm. well while my C is poor. seems that you are having a
problem with the ar and dynamic librairy support of your system. Is
your ar program and your ld software the same version? heres some of
my info from my system
GNU ar 2.11.90.0.19
GNU ld 2.11.90.0.19
	I never had a problem similar to this. BUT... that quiz is not
very easy for beginners,  it expects you to know as I said before how
things work. Perhaps it is not properly making the libcnews.a as it is
expecting to have access to a set of linkers  you don't use.
	I am sorry I don't know what I can really offer for more help.
Perhaps if you mentioned what operating system you are compiling for
then perhaps someone who is more familiar with it could provide some
insight. C-news compiles fine on  Slackware 8.0 and Slackware 4.0 (but
some of the quiz responses are different). I have not tried compiling
on anything else.

A tagline from Comp.os.Linux.Advocacy:
(I keep hearing RTFM, but I'm not sure where TFM is).
		From the Desk of the Sysop of:
Planet Maca's Opus, a Free open BBS system.
Telephone 860-738-7176 300-33.6kbps
Telnet://pinkrose.dhis.org. Open 24/7!
			The New Cnews maintainer
				B'ichela

Re: cnews
#64155
Author: Reza Ambler
Date: Mon, 24 Feb 2003 01:48
76 lines
4619 bytes
Cnews seems to compile perfectlly without any errors under
/usr/ports/news/cnew on a freebsd system.
Here is the uname of the system:
doobie# uname -a
FreeBSD doobie 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Tue Nov  5 09:20:28 PST
2002     root@server.sd.cox.net:/usr/obj/usr/src/sys/NEWKERNEL  i386
doobie#

-Reza

"Reza Ambler" <reza225@sbcglobal.net> wrote in message
news:qii6a.1321$884.101621985@newssvr15.news.prodigy.com...
> I'm running OpenBSD 3.1. Are there any other libraries I might need? I
have
> some redhat libraries installed via the ports emulators section. This has
> helped for other programs that were specifically designed to run on Linux
> systems.
> -Reza
>
> $ uname -a
> OpenBSD digidyntech 3.1 LUCIFER#0 i386
> $
>
>
> "B'ichela" <mdalene@pinkrose.net.dhis.org> wrote in message
> news:slrnb5irsc.ju5.mdalene@pinkrose.dhis.org...
> > In article <%4a6a.286$xI6.106@newssvr16.news.prodigy.com>, Reza Ambler
> wrote:
> > > Hey I just ran the quiz file, and I ran 'make' afterwards. 'make'
> starting
> > > compiling then i ran into the following errors.
> > >
> > >==== libbig:
> > > ../conf/update.sym ../libcnews.a active.fast.o
> > > a - active.fast.o
> > >
> > > conf/inall "make" util batch conf ctl expire explode inject input
maint
> nov
> > > readnews relay
> > >==== util:
> > > cc  -O  -DFASTSTRCHR -I../include gngp.o ../libcnews.a -o gngp
> > > ld: gngp.o: malformed input file (not rel or archive)
> > > collect2: ld returned 1 exit status
> > > *** Error code 1
> > Hmm. well while my C is poor. seems that you are having a
> > problem with the ar and dynamic librairy support of your system. Is
> > your ar program and your ld software the same version? heres some of
> > my info from my system
> > GNU ar 2.11.90.0.19
> > GNU ld 2.11.90.0.19
> > I never had a problem similar to this. BUT... that quiz is not
> > very easy for beginners,  it expects you to know as I said before how
> > things work. Perhaps it is not properly making the libcnews.a as it is
> > expecting to have access to a set of linkers  you don't use.
> > I am sorry I don't know what I can really offer for more help.
> > Perhaps if you mentioned what operating system you are compiling for
> > then perhaps someone who is more familiar with it could provide some
> > insight. C-news compiles fine on  Slackware 8.0 and Slackware 4.0 (but
> > some of the quiz responses are different). I have not tried compiling
> > on anything else.
> >
> > A tagline from Comp.os.Linux.Advocacy:
> > (I keep hearing RTFM, but I'm not sure where TFM is).
> > From the Desk of the Sysop of:
> > Planet Maca's Opus, a Free open BBS system.
> > Telephone 860-738-7176 300-33.6kbps
> > Telnet://pinkrose.dhis.org. Open 24/7!
> > The New Cnews maintainer
> > B'ichela
> >
>
>


Re: cnews
#64156
Author: Reza Ambler
Date: Mon, 24 Feb 2003 05:43
60 lines
4053 bytes
I'm running OpenBSD 3.1. Are there any other libraries I might need? I have
some redhat libraries installed via the ports emulators section. This has
helped for other programs that were specifically designed to run on Linux
systems.
-Reza

$ uname -a
OpenBSD digidyntech 3.1 LUCIFER#0 i386
$


"B'ichela" <mdalene@pinkrose.net.dhis.org> wrote in message
news:slrnb5irsc.ju5.mdalene@pinkrose.dhis.org...
> In article <%4a6a.286$xI6.106@newssvr16.news.prodigy.com>, Reza Ambler
wrote:
> > Hey I just ran the quiz file, and I ran 'make' afterwards. 'make'
starting
> > compiling then i ran into the following errors.
> >
> >==== libbig:
> > ../conf/update.sym ../libcnews.a active.fast.o
> > a - active.fast.o
> >
> > conf/inall "make" util batch conf ctl expire explode inject input maint
nov
> > readnews relay
> >==== util:
> > cc  -O  -DFASTSTRCHR -I../include gngp.o ../libcnews.a -o gngp
> > ld: gngp.o: malformed input file (not rel or archive)
> > collect2: ld returned 1 exit status
> > *** Error code 1
> Hmm. well while my C is poor. seems that you are having a
> problem with the ar and dynamic librairy support of your system. Is
> your ar program and your ld software the same version? heres some of
> my info from my system
> GNU ar 2.11.90.0.19
> GNU ld 2.11.90.0.19
> I never had a problem similar to this. BUT... that quiz is not
> very easy for beginners,  it expects you to know as I said before how
> things work. Perhaps it is not properly making the libcnews.a as it is
> expecting to have access to a set of linkers  you don't use.
> I am sorry I don't know what I can really offer for more help.
> Perhaps if you mentioned what operating system you are compiling for
> then perhaps someone who is more familiar with it could provide some
> insight. C-news compiles fine on  Slackware 8.0 and Slackware 4.0 (but
> some of the quiz responses are different). I have not tried compiling
> on anything else.
>
> A tagline from Comp.os.Linux.Advocacy:
> (I keep hearing RTFM, but I'm not sure where TFM is).
> From the Desk of the Sysop of:
> Planet Maca's Opus, a Free open BBS system.
> Telephone 860-738-7176 300-33.6kbps
> Telnet://pinkrose.dhis.org. Open 24/7!
> The New Cnews maintainer
> B'ichela
>


Re: cnews
#64184
Author: Chris Baird
Date: Wed, 26 Feb 2003 10:24
12 lines
1657 bytes
>> will cnews run on OpenBSD which is a unix like operating system?

On NetBSD I was required to make a number of patches (mostly size_t
type stuff, but there were a few less-trivial problems) to get
successful make-tests and a otherwise working system.

I'm rather physically and mentally tired at the moment-- it would take
some motivation to prepare a proper patch. :)

-- 
Chris,,
Re: cnews
#64185
Author: Reza Ambler
Date: Wed, 26 Feb 2003 15:23
20 lines
2275 bytes
would you be willing to fix the 3.1 ports? =D
I'm not entirely sure how to go about pathcing cnews for openbsd.
-Reza

"Chris Baird" <abuse@brushtail.apana.org.au> wrote in message
news:ufn0kj9w6e.fsf@brushtail.apana.org.au...
> >> will cnews run on OpenBSD which is a unix like operating system?
>
> On NetBSD I was required to make a number of patches (mostly size_t
> type stuff, but there were a few less-trivial problems) to get
> successful make-tests and a otherwise working system.
>
> I'm rather physically and mentally tired at the moment-- it would take
> some motivation to prepare a proper patch. :)
>
> --
> Chris,,


Re: cnews
#64208
Author: Hauke Fath
Date: Fri, 28 Feb 2003 15:12
25 lines
2385 bytes
greg andruk <gja@meowing.net> wrote:

> Reza Ambler wrote:
> 
> > will cnews run on OpenBSD which is a unix like operating system?
> 
> Sure, C News will build and run on just about anything.  nntpd can be a
> little bit harder to get working on some platforms, but on a *BSD if 
> shouldn't be bad.

nntpd will drown you in compiler warnings...

When I built a C News package for NetBSD some months ago, I finally gave
up on nntpd (assuming you only use nntp for reader access) and stripped
down the INN 1.7 package to just build and install the nnrpd. Builds
fine and is about twice as fast than nntpd.

        hauke

-- 
Wer im Usenet gelesen werden will, sollte leserorientiert schreiben. Wer
nur f�r sich schreiben will, dem ist mit einem Tagebuch vielleicht
besser geholfen. Gelesen zu werden ist kein Recht, sondern ein Privileg.
                                     (Thore Tams in d.n.s.umgangsformen)
Re: cnews
#64214
Author: B'ichela
Date: Fri, 28 Feb 2003 17:07
21 lines
2481 bytes
In article <1fr3m65.4zyu2334m20wN%hf@tangro.de>, Hauke Fath wrote:
> When I built a C News package for NetBSD some months ago, I finally gave
> up on nntpd (assuming you only use nntp for reader access) and stripped
> down the INN 1.7 package to just build and install the nnrpd. Builds
> fine and is about twice as fast than nntpd.
	I would like to see that. Where can I  grab some of that  code
to see how it works? What features   of the nnrpd are still usable?
Password Authenication, Domain authenitication (allow posting or
reading only from certain domains.) what else?

-- 
A tagline from Comp.os.Linux.Advocacy:
(I keep hearing RTFM, but I'm not sure where TFM is).
		From the Desk of the Sysop of:
Planet Maca's Opus, a Free open BBS system.
Telephone 860-738-7176 300-33.6kbps
Telnet://pinkrose.dhis.org. Open 24/7!
			The New Cnews maintainer
				B'ichela

Re: cnews
#64247
Author: Hauke Fath
Date: Mon, 03 Mar 2003 12:45
34 lines
2894 bytes
B'ichela <mdalene@pinkrose.net.dhis.org> wrote:

> In article <1fr3m65.4zyu2334m20wN%hf@tangro.de>, Hauke Fath wrote:
> > When I built a C News package for NetBSD some months ago, I finally gave
> > up on nntpd (assuming you only use nntp for reader access) and stripped
> > down the INN 1.7 package to just build and install the nnrpd. Builds
> > fine and is about twice as fast than nntpd.
>       I would like to see that. Where can I  grab some of that  code
> to see how it works? 

I've put the NetBSD packages for C News and the INN 1.7.2 nnrpd up on

        ftp://la.causeuse.org/pub/netbsd/packages/cnews.pkg.tgz  and
        ftp://la.causeuse.org/pub/netbsd/packages/nnrpd.pkg.tgz

> What features of the nnrpd are still usable? Password Authenication,
> Domain authenitication (allow posting or reading only from certain
> domains.) what else?

Probably everything. The nnrpd tarball comes with a build log that will
show you what gets built, actually.

Look into the patches subdir for diffs; the files subdir has a complete
'config.data'. The nnrpd does not use the INN dbx but is linked against
the C News 'libcnews.a'.

        hauke

-- 
Wer im Usenet gelesen werden will, sollte leserorientiert schreiben. Wer
nur f�r sich schreiben will, dem ist mit einem Tagebuch vielleicht
besser geholfen. Gelesen zu werden ist kein Recht, sondern ein Privileg.
                                     (Thore Tams in d.n.s.umgangsformen)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads