Bug#66023: PROPOSAL] Re: Shared libs vs. plugins.
>>"Richard" == Richard Braakman <dark@xs4all.nl> writes:
Richard> On Sat, Apr 28, 2001 at 12:37:22PM -0500, Manoj Srivastava wrote:
>> + to by third party executables (binaries of other packages),
>> + should be installed in the subdirectories of the
Richard> ^^^
Richard> I would drop that "the", to make clear that packages can create
Richard> their own subdirectory for the plugins.
Umm. Perhaps one3 should specify ``the subdirectories of
"/usr/lib/<package>/: directory''?
>> + <file>/usr/lib</file> directory. Such files are exempt from
>> + all the rules that govern ordinary shared libraries, except that
>> + libraries, except that they must not be installed executable.
Richard> There seems to be something wrong with the structure of that
Richard> sentence.
Nouse stutter in cut and paste.
Such files are exempt from ll the rules that govern ordinary shared
libraries, except that they must not be installed executable.
Richard> Anyway, do you really mean _all_ the rules? I would expect
Richard> that they should still be compiled with -fPIC, for the same
Richard> reasons as shared libraries -- memory pages with relocatable
Richard> code can otherwise not be shared between processes. (Please
Richard> correct me if plugins are not normally relocatable.)
Richard> Also, stripping with --strip-unneeded still seems like a good idea.
Hmm. I assumed that since these were internal details of the
package, one need not make policy about them, since internal detail
should be left to the maintainers to implement. How about adding what
you said above as an informative footnote? That way, every maintainer
that reads policy shall no it is a good idea, and why, but policy
shall not intrude into internal matters of the package.
I definitely agree that what you say is a darned good idea,
but I am not convinced that we need policy about that.
manoj
--
Never say you know a man until you have divided an inheritance with
him.
Manoj Srivastava <srivasta@debian.org> <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
Reply to: