🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #67795

Re: [INN 2.41] Copying ~/news to another server

#67795
From: Russ Allbery
Date: Tue, 27 Jan 2004 04:59
16 lines
2505 bytes
Clément Laforêt <sheepkiller@nerim.net> writes:

> To prevent config files removal, inn installation process is patched to
> install config files with .dist suffix. And if [ ! -e ${FILENAME} ], the
> script copies ${FILENAME}.dist to ${FILENAME}. My script is not designed
> to handle "non supported" changes in Makefile, like changing sysconfdir.

You should be able to write that rule using $(PATHETC) and have it do what
you want, I think.  And that should isolate you against future changes to
INN while still picking up user configuration.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <873ca2rnqf.fsf@windlord.stanford.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.20140818.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <bv3q9m$1kk8$1@redenix.uni-muenster.de> <bv3qji$iv4$1@puck.litech.org> <bv3sh1$ves$1@redenix.uni-muenster.de> <87znca4ehg.fsf@windlord.stanford.edu> <bv3vle$mfg$1@redenix.uni-muenster.de> <87wu7e2w0g.fsf@windlord.stanford.edu> <20040126233207.52e1c25d.incmc@flashmail.com> <8765ey2urj.fsf@windlord.stanford.edu> <20040127000937.46dbd079.incmc@flashmail.com> <87zncaz47d.fsf@windlord.stanford.edu> <20040127010014.6faebbff.incmc@flashmail.com> <87broqz26i.fsf@windlord.stanford.edu> <20040127011508.4478858d.incmc@flashmail.com> <8765eyz1db.fsf@windlord.stanford.edu> <pan.2004.01.27.02.38.18.78833@nerim.net>

Show Full Headers
Complete Article Headers
Message-ID: <873ca2rnqf.fsf@windlord.stanford.edu>
Subject: Re: [INN 2.41] Copying ~/news to another server
Date: Mon, 26 Jan 2004 20:59:04 -0800
From: Russ Allbery <rra@stanford.edu>
References: <bv3q9m$1kk8$1@redenix.uni-muenster.de> <bv3qji$iv4$1@puck.litech.org> <bv3sh1$ves$1@redenix.uni-muenster.de> <87znca4ehg.fsf@windlord.stanford.edu> <bv3vle$mfg$1@redenix.uni-muenster.de> <87wu7e2w0g.fsf@windlord.stanford.edu> <20040126233207.52e1c25d.incmc@flashmail.com> <8765ey2urj.fsf@windlord.stanford.edu> <20040127000937.46dbd079.incmc@flashmail.com> <87zncaz47d.fsf@windlord.stanford.edu> <20040127010014.6faebbff.incmc@flashmail.com> <87broqz26i.fsf@windlord.stanford.edu> <20040127011508.4478858d.incmc@flashmail.com> <8765eyz1db.fsf@windlord.stanford.edu> <pan.2004.01.27.02.38.18.78833@nerim.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!intern1.nntp.aus1.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 16
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.Stanford.EDU 1075179544 132 171.64.19.147 (27 Jan 2004 04:59:04
 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Common Lisp, linux)
Cancel-Lock: sha1:uun1b09RG55WuAUwZqI5jIIHi7g=