INN::Config Perl module

Russ Allbery rra at stanford.edu
Tue Sep 18 17:58:02 UTC 2007


Julien ÉLIE <julien at trigofacile.com> writes:

> There is also a little change to do because inncheck should be processed
> by both fixconfig and fixscript.

> Do you want something like that in scripts/Makefile?

> inncheck:    inncheck.in     $(FIXC) $(FIXS) ; $(FIXC) inncheck.in inncheck.in2
>                                                $(FIXS) inncheck.in2 inncheck
>                                                rm -f inncheck.in2

> Or do you prefer to have a support/fixconfigscript script which does these
> three lines?

Well, you could avoid this by taking the mode stuff that it cares about
and adding it to INN::Config, and then it would only have to be processed
by fixscript.  That's probably the easiest solution overall.

> I have also seen that some other scripts would need such a tweak too
> (for instance backends/news2mail which has stuff like:
>     # In the INN newsfeeds file, you need to have a channel feed:
>     #       n2m!:!*:Tc,Ac,Wn*:@bindir@/news2mail
> in its contents).

When it's in comments, I'm not sure that it's worth the effort of
substituting it.  Anyone who knows enough to look at the comments probably
knows enough to know what @bindir@ means in that context.

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

    Please send questions to the list rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.


More information about the inn-workers mailing list