Quoting Christian Perrier ([EMAIL PROTECTED]):

> Quelle est la solution "policy-correct", � votre avis?

RTFM, monsieur bubulle :

(Debian policy)

10.9 Environment variables
A program must not depend on environment variables to get reasonable defaults.
(That's because these environment variables would have to be set in a 
system-wide configuration file like /etc/profile, which is not supported by all
shells.)

If a program usually depends on environment variables for its configuration,
the program should be changed to fall back to a reasonable default
configuration if these environment variables are not present.  If this cannot
be done easily (e.g., if the source code of a non-free program is not
available), the program must be replaced by a small `wrapper' shell script
which sets the environment variables if they are not already defined, and calls
the original program.

Donc :

1) regarder dans les sources si on peut mettre des d�fauts raisonnables
2) faire un wrapper sinon

Le 1), je veux bien, mais �a suppose qu'on soit comp�tent dans le langage
de d�veloppement du programme. Or ce n'est pas parce qu'on le package qu'on
l'est...:-)


-- 
Christian Perrier
ONERA/D�partement R�seau et Informatique Scientifique
+33 (0) 1 4673 4438 - +33 (0) 6 1016 9480
PGP/GnuPG Key ID 30C9348A (DSS)


Répondre à