🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #72053

Re: INND: nnrpd switch

#72053
From: Jeffrey M. Vinocur
Date: Sat, 16 Jul 2005 21:59
31 lines
2105 bytes
In article <42d7b444$1@news.yourcomms.net>, Prys <pw@f2s.com> wrote:
>
>"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message 
>news:db848i$nl7$1@puck.litech.org...
>
>> Believe it or not, there's no way to pass arbitrary switches to
>> nnrpd when spawned directly from INN.  (If you run nnrpd as a
>> standalone daemon with -D, or out of inetd/xinetd, you can of
>> course use any switches you like.)
>>
>> I'm amazed nobody's asked for this before.  It would be an easy
>> patch -- I could whip it up if you wanted.
>
>My query stems from work on a non-production, non-critical piece of tin, so 
>please don't sweat on my behalf! If you decide to go ahead anyway, then I'll 
>certainly be interested.

Okay, here's a patch:

   http://www.litech.org/~jeff/inn-diffs/nnrpdflags

It's based on pre-INN 2.5 code, but I imagine it'll apply to
earlier versions pretty easily.  I did some brief testing and it
seemed to work well.

Let me know if you experience any issues.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <dbbvv6$td7$1@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!feeder1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.litech.org!not-for-mail
References: <42d77fd5$1@news.yourcomms.net> <db848i$nl7$1@puck.litech.org> <42d7b444$1@news.yourcomms.net>

Show Full Headers
Complete Article Headers
Message-ID: <dbbvv6$td7$1@puck.litech.org>
Subject: Re: INND: nnrpd switch
Date: Sat, 16 Jul 2005 21:59:02 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <42d77fd5$1@news.yourcomms.net> <db848i$nl7$1@puck.litech.org> <42d7b444$1@news.yourcomms.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!feeder1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 31
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1121551142 30119 66.218.0.75 (16 Jul 2005 21:59:02
 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Sat, 16 Jul 2005 21:59:02 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)