Michal "=?UTF-8?Q?=C4=8Ciha=C5=99?=" <[EMAIL PROTECTED]> writes:
> while reviewing some sponsored packages I noticed quite often mistake of
> missing dependency on lsb-base (>= 3.0-6) if init script includes
> /lib/lsb/init-functions. I think it would be reasonable to add such
> check to lintian - if init script sources /lib/lsb/init-functions,
> package should depend on lsb-base (>= 3.0-6).

Well, there are some packages which use something like this:

if [ -f /lib/lsb/init-functions ]; then
    . /lib/lsb/init-functions
fi

On the other hand, lsb-base (>= 3.0-6) has been pseudo-essential for
some time, it is included since etch and packages like util-linux depend
on it.

The effort to parse this correctly does seem a bit much for a check that
has no practical influence for new packages.

Marc
-- 
Fachbegriffe der Informatik - Einfach erklärt
235: Kommentierter Quellkode
       Hier programmiert ein Germanist oder Anglist. (Manfred Worm
       Schäfer)

Attachment: pgpytUIKd9d6S.pgp
Description: PGP signature

Reply via email to