Hello,
on Montag, 3. September 2007, Juergen Weigert wrote:
[...]
> I am currently undecided, weather the licenses package is a good idea
> at all. I started the licenses package, to have a centralized
> directory, where all licenses in a product can be found.
>
> Unfortunatly licenses package currently populates
> /usr/share/doc/licenses with all licenses in the distribution,
> without revealing which licenses belong to installed and available
> packages.
>
> Unfortunatly, this licenses package is error prone. Not very
> probable, but with possbile severe effects: if a package has a
> symlink for GPL, but this link is dangling, we violate the GPL.
>
> Does anybody know if the licenses package had a space
> saving effect on the media?
I just run awk on ARCHIVES.gz from Factory. All files with "LICENSE"
or "COPYING" in the name and arch "i586" or "noarch" (3371 files) take
a total of 58,265,259 bytes = 58 MB in the installed system.
In comparison, /usr/share/doc/licenses takes about 4 MB.
That's theory - you can save several MB.
Now to practise:
Currently there are 23 symlinks to the licenses package (beta3), so I
think that you can't save space _currently_. It needs more packagers
switching to symlinks until you see the space-saving effect.
And you need an rpm macro to make it easy ("%sylink_license COPYING").
BTW: I don't have ARCHIVES.gz from the single CDs, so you'll have to
take out the calculator yourself ;-)
Regards,
Christian Boltz
--
Und früher waren die Winter nicht so kalt wie heute. Der 10er-Turm im
Schwimmbad war viel niedriger. Aber ich hatte nachts oft Rückenschmerzen
vom vielen Geldsäcke-aus-dem-Fenster-werfen. Gute alte Zeit.
[Ratti in suse-linux]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]