[csw-maintainers] GAR: Checks for shared library names
Dagobert Michelsen
dam at opencsw.org
Thu Oct 14 21:12:20 CEST 2010
Hi Maciej,
Am 14.10.2010 um 20:55 schrieb Maciej (Matchek) Blizinski:
> I've just pushed a new change to checkpkg:
>
> When it spots a set of sonames that look like good candidates for
> splitting out, it prints out suggested GAR lines. Here's output from
> the analysis of CSWnspr:
This looks very useful.
> * Package CSWnspr contains shared libraries with sonames that don't
> have
> compatible versions: ['libnspr4.so', 'libplc4.so',
> 'libplds4.so']. This
> means that they are best placed in own packages, with each package
> named
> after library name and version.
>
> # Checkpkg suggests adding the following lines to the GAR recipe:
> # This is a summary; see above for details.
> # Suggesting how to separate out libnspr4.so
> # You will most probably need to further edit these lines. Use with
> caution!
> PACKAGES += CSWlibnspr4
> CATALOGNAME_CSWlibnspr4 += libnspr4
Would it be much hassle to skip the '+'? There is no usecase for
having multiple
catalog names.
> PKGFILES_CSWlibnspr4 += /opt/csw/lib/libnspr4.so
Shouldn't this belong to the current CSWnspr? This is the symlink to the
most current one, right?
> PKGFILES_CSWlibnspr4 += /opt/csw/lib/libnspr4.so\.[0-9\.]+
> RUNTIME_DEP_PKGS_CSWnspr += CSWlibnspr4
>
> Out of the two lines with libnspr4.so, the first one is based on the
> file name, and the latter is based on soname plus a version matching
> regex. It also suggests adding a dependency, to preserve the required
> chain of dependencies if this is a modification of an already released
> package.
>
> As noted, this is to be used with caution; its purpose is to make it
> easier to work with GAR builds, while still thinking about which lines
> we put into the Makefiles and why.
Best regards
-- Dago
More information about the maintainers
mailing list