🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #16326

Re: Upgrading 1.5.1

#16326
From: Dave Barr
Date: Tue, 25 Mar 1997 00:00
48 lines
2237 bytes
In article <5h8t0q$gmt@niven.ncmi-gsl.com>,
Donald Branch <donaldb@cygni.ncmi-gsl.com> wrote:
>I will be upgrading to 1.5.1 real soon but I really haven't seen any 
>instructions on how to do it cleanly.  Can some one tell me where two find
>the upgrade instructions thanks.

Well, there's instructions in the README file.

If you don't like the 'make diff' stuff, there's the instructions I use:

Unpack 1.5.1.

% cd config
% make subst  (or "make CC=gcc subst" if you use gcc)
% cp config.dist config.data
% ./subst -f /path/to/old/config.data config.data
% cd ..
% make
% ctlinnd shutdown upgrading

Then you can run 'make update', but that won't upgrade
everything.  There are things in site/ which have changed and
should be updated, especially if you're upgrading from pre 1.5.
(most notably parsecontrol, which is the subject of recent security
problems)

What I actually did was save copies of the following:

	control.ctl expire.ctl hosts.nntp inn.conf innwatch.ctl
	moderators newsfeeds nntpsend.ctl

And any other files/scripts which you may have modified locally.
(news.daily maybe or expirerm)

I then did a 'make install' as root, and then re-applied my changes to
the above files.  Some of the files (like control.ctl) contain
major new changes which you don't want to just overwrite with your
old files.  Be sure the make install is run as root, otherwise
the permissions of inndstart and rnews won't be correct.

If you're upgrading from 1.4, you'll need to change the call to
rc.news in your rc.local, /etc/init.d/INN or equivalent to
"su news -c /path/to/rc.news"  since rc.news now gets run as news
instead of root.


Technical Details
Message-ID: <5h911i$98f@augusta.math.psu.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <5h8t0q$gmt@niven.ncmi-gsl.com>

Show Full Headers
Complete Article Headers
Message-ID: <5h911i$98f@augusta.math.psu.edu>
Subject: Re: Upgrading 1.5.1
Date: Tue, 25 Mar 1997 00:00:00 +0000
From: barr@math.psu.edu (Dave Barr)
References: <5h8t0q$gmt@niven.ncmi-gsl.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 228270493
Organization: Penn State University, Department of Mathematics
Newsgroups: news.software.nntp