tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg_summary(5), PROVIDES and REQUIRES



pkg_summary(5) describes PROVIDES and REQUIRES variables in the
following way.

     PROVIDES
             (optional) A list of shared libraries provided by the package,
             including major version number, one per line.  If missing, this
             package does not provide shared libraries.

     REQUIRES
             (optional) A list of shared libraries needed by the package,
             including major version number, one per line.  If missing, this
             package does not require shared libraries.

If present REQUIRES variable *usually* means that the package requires
the specified library which is provided (listed in PROVIDES) by some
other package or by the base system.

But there are a few dozens of packages that list a library in REQUIRES
not provided by any other package. Actually the package itself provides
it but it is not listed in PROVIDES.

For example,

   pkg_info -X perl

shows the following

   REQUIRES=/usr/pkg/lib/perl5/5.10.0/x86_64-netbsd-thread-multi/CORE/libperl.so

This file is provided by perl package itself but it is not listed in
PROVIDES.

To me this looks like a problem. Can anybody explain this?

-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index