🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81717

Re: Innreport evenRow/oddRow "Greenbar" output

#81717
From: John F. Morse
Date: Wed, 29 Jul 2009 23:22
66 lines
3536 bytes
Alexander Bartolich wrote:
> John F. Morse wrote:
>   
>> The inn-2.5.0.tar.gz tarball includes inside inn-2.5.0/samples the
>> following two files:
>>
>> innreport.conf.in 8246 2008-12-21 21:07:28Z iulius
>>
>> innreport.css 8170 2008-11-17 19:14:16Z iulius
>>
>> I also find inn-2.5.0/scripts/innreport.in and
>> inn-2.5.0/scripts/innreport_inn.pm in that tarball.
>>
>> For INN 2.4.5, could one or more of these files simply replace the
>> single /etc/news/innreport.conf and/or /usr/lib/news/bin/innreport to
>> allow the evenRow/oddRow colorization of the HTML output? Would any
>> other new file from 2.5.0 also be required?
>>     
>
> You can use the innreport from 2.5.0 with 2.4.x. I'm using the even
> more recent head revision with INN 2.4.3. However, you cannot simply
> replace the files.
>
> 1. With innreport.conf you have to keep a few settings in section
>    "default" that covers the first 60 lines at the top of the file.
>    At a minimum you need to preserve the values for libpath, logpath,
>    and html_dir.
>
> 2. With innreport.in two changes are required.
>    The second line of the script looks like this:
>      # fixscript will replace this line with code to load INN::Config
>    Replace it with the original second line. On my system that's
>      require '/usr/lib/news/innshellvars.pl';
>
>    Also at line 100 or so innreport.in has 
>      my $HTML_dir = $INN::Config::pathhttp;
>    Replace this line with 
>      my $HTML_dir = $INN::pathhttp;
>
> 3. innreport_inn.pm can be simply replaced.
>
>   
>> If possible, I'd prefer to stick with Debian's APT version support for
>> Lenny (INN 2.4.5), and don't want to start over with compiling.
>>     
>
> I'm using Ubuntu 8.04.3 LTS.
>   


Thanks, Alexander. I'll try this on my "play" server.

Say, with Ubuntu 8.04 LTS, are you experiencing the failure to restart
news.notice after a syslog rotation? I was using 8.04 LTS Server Edition
(headless).

Ray Banana, David Taylor and I were fighting this a few months ago. I
finally gave up and installed Debian Lenny, after figuring out that I
needed /boot up front on the servers with the old BIOS, to accommodate
the larger hard drives.

More here: https://bugs.launchpad.net/ubuntu/+source/inn2/+bug/374843


-- 
John
Technical Details
Message-ID: <h4qlk5$ru4$1@optima5.xanadu-bbs.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!news2.arglkargh.de!nuzba.szn.dk!pnx.dk!feeder.eternal-september.org!eternal-september.org!optima2.xanadu-bbs.net!optima5.xanadu-bbs.net!not-for-mail
References: <h4odrr$7of$1@optima5.xanadu-bbs.net> <h4om8f$b2g$1@news.albasani.net>

Show Full Headers
Complete Article Headers
Message-ID: <h4qlk5$ru4$1@optima5.xanadu-bbs.net>
Subject: Re: Innreport evenRow/oddRow "Greenbar" output
Date: Wed, 29 Jul 2009 18:22:45 -0500
From: "John F. Morse" <john@example.invalid>
References: <h4odrr$7of$1@optima5.xanadu-bbs.net> <h4om8f$b2g$1@news.albasani.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!news2.arglkargh.de!nuzba.szn.dk!pnx.dk!feeder.eternal-september.org!eternal-september.org!optima2.xanadu-bbs.net!optima5.xanadu-bbs.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 66
Reply-To: dont.bother
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: optima5.xanadu-bbs.net 1248909765 28612 192.168.89.210 (29 Jul 2009
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Wed, 29 Jul 2009 23:22:45 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.22 (X11/20090608)
In-Reply-To: <h4om8f$b2g$1@news.albasani.net>
X-Enigmail-Version: 0.96.0