Hi Robert,

> Ah, ok. Safely ignorable, it's for upgrading from pre-FHS packages IIRC. Just
> make sure your docs are in /usr/share/doc/<pkg> and not in /usr/doc/<pkg>.

OK. Perfect.

> > I fixed this one. The problem is that when I packaged ASK for the first 
> > time,
> > the "python" package meant "Python 2.1" and due to some bugs in 2.1, I had 
> > to
> > _require_ Python 2.2. But then comes the catch: If I put /usr/bin/python2.2
> > as the interpreter (back then, the interpreter location for Python 2.2),
> > and "Requires: Python2.2 (>=2.2.0)",
> 
> If you mean the entry for debian/control, that'd be "Depends: python2.2" if
> you really need 2.2 or "Depends: python (>= 2.2)" if any later version will
> work.

Exactly what I did. The problem, at the time, is that there was no package
called "python" with version >=2.2. Python 2.2's package was called
"python2.2", hence the confusion. But it's all OK now. I require "python
(>=2.2)"

> 
> > > Again, the full lintian warning message seems relevant here.
> > 
> > I'll modify it once more to declare the "templates" as configuration
> > files. Some people modify the originals. Having them overwritten on upgrade
> > is a bad idea...
> 
> Do you refer to /usr/bin/ask.py and such? You can't set these as conffiles,
> since all stuff in /usr could well be read-only.

No. This one is immutable. The templates are in fact text files that the
average user may choose to change. I cheched the FHS and it's not very
clear to me where I should put those files? /var/lib? Note that they're
usually copied into the user's home directory for use. We can think of
them as "skeleton" files, but they may be edited directly.

> Btw, I suggest you rename it to /usr/bin/ask. We tend to remove the language
> extensions such as .pl or .sh when installing stuff in /usr/bin.

It is strictly necessary? I really don't like having the extension, but
I fear "ask" is too common a name to be under /usr/bin without causing
conflict. Another concern is to break existing scripts. Opinions?

One question:

I need to make ask dependent on some kind of MTA. What should I
use? "Depends: mta" ? Is there anything "virtual" called mta that resolves to
any of them?

Regards,
Paga

> 
> -- 
> Robert Millan
> 
> "[..] but the delight and pride of Aule is in the deed of making, and in the
> thing made, and neither in possession nor in his own mastery; wherefore he
> gives and hoards not, and is free from care, passing ever on to some new 
> work."
> 
>  -- J.R.R.T, Ainulindale (Silmarillion)

-- 
Marco Paganini          | UNIX / Linux / Networking
[EMAIL PROTECTED]   | PGP: http://www.paganini.net/pgp/
http://www.paganini.net | Magnus Frater te spectat...

Reply via email to