Copyright file in multipart packages?
-----BEGIN PGP SIGNED MESSAGE-----
When handling a binary package split into components, how does one
deal with the /usr/doc structure and the copyright file (which would be
identical between components)? The structure I'm dealing with right now
where the first depends upon the next three. The way I see it,
for it to really be findable, the primary doc directory should be
/usr/doc/iraf, and there should be a physical file "copyright" in that
directory. It seems somewhat odd to me to create
/usr/doc/iraf-common, /usr/doc/iraf-ibin and /usr/doc/iraf-noaobin
just to put a single file "copyright" which is duplicated
byte-for-byte in /usr/doc/iraf. Policy 5.5.6 mentions that /usr/doc/x
can be a symlink to /usr/doc/y if x depends on y, but here that
doesn't work, since I'd want a symlink from iraf-common to iraf, and
iraf would depend on iraf-common, not the other way around.
If in fact that kind if symlinking is what is appropriate,
however, how then does one handle the copyright file itself? The jdk
non-free packages handled it by changing the name of copyright to
copyright, copyright-shared, copyright-static, etc. depending upon the
package segment, but lintian gives that approach a thumbs-down, and
from the perspective of someone wanting to be able to automatically
display the copyright out of a .deb, that doesn't work very well
either. At the same time, if I symlink, I can't give them all the
same name, as they'll conflict with each other. And it doesn't seem
appropriate in any case to symlink and then have a package with no
actual copyright text in it.
Zed Pobre <firstname.lastname@example.org> | PGP key on servers, fingerprint on finger
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .