Page 1 of 1

[Solved] Where are the GNU (LESSER) GENERAL PUBLIC LICENSE in 5.0rc?

Posted: 25 Nov 2020, 00:19
by Rava
Trying to optimize the dependencies module for testdisk-7.1-x86_64-1cf.xzm
(details here: TestDisk & PhotoRec 7.1 (Post by Rava #79940) )
I found several GNU GENERAL PUBLIC LICENSE or GNU LESSER GENERAL PUBLIC LICENSE after xzm2dir all separate xzm dependencies modules into one folder:

Code: Select all

root@porteus:/Porteus_modules/5.0/testdisk/testdisk-7.1-x86_64+dependencies_rava/usr/share/licenses# ls  -loaR --time-style="+%Y-%m-%d %H:%M"  */*
-rw-r--r-- 1 root 35149 2020-04-09 14:42 libbfio1/COPYING
-rw-r--r-- 1 root  7638 2019-01-06 12:51 libcdata1/COPYING
-rw-r--r-- 1 root  7638 2018-07-20 18:46 libclocale1/COPYING
-rw-r--r-- 1 root  7638 2018-12-28 14:52 libcpath1/COPYING
-rw-r--r-- 1 root 35149 2019-12-24 15:08 libewf2/COPYING
-rw-r--r-- 1 root  7638 2018-09-20 07:19 libfcache1/COPYING
-rw-r--r-- 1 root  7638 2018-08-05 17:23 libfvalue1/COPYING
root@porteus:/Porteus_modules/5.0/testdisk/testdisk-7.1-x86_64+dependencies_rava/usr/share/licenses# md5sum */*
1ebbd3e34237af26da5dc08a4e440464  libbfio1/COPYING
d3aa5e7e614a71f77168ef2d78dee29c  libcdata1/COPYING
d3aa5e7e614a71f77168ef2d78dee29c  libclocale1/COPYING
d3aa5e7e614a71f77168ef2d78dee29c  libcpath1/COPYING
1ebbd3e34237af26da5dc08a4e440464  libewf2/COPYING
d3aa5e7e614a71f77168ef2d78dee29c  libfcache1/COPYING
d3aa5e7e614a71f77168ef2d78dee29c  libfvalue1/COPYING
root@porteus:/Porteus_modules/5.0/testdisk/testdisk-7.1-x86_64+dependencies_rava/usr/share/licenses# head -n 2 libbfio1/COPYING libcdata1/COPYING
==> libbfio1/COPYING <==
                    GNU GENERAL PUBLIC LICENSE
                       Version 3, 29 June 2007

==> libcdata1/COPYING <==
		   GNU LESSER GENERAL PUBLIC LICENSE
                       Version 3, 29 June 2007
I wanted to replace all files with symlinks to existing COPYING files in 000-kernel.xzm 001-core.xzm 002-xorg.xzm or 003-xfce-porteus5.xzm

To the batcave! [ * ] /mnt/live/memory/images directory we go for searching these:

Code: Select all

root@porteus:/mnt/live/memory/images# find 00[0123]*|grep COPYING
003-xfce-porteus5.xzm/usr/share/audacious/COPYING
root@porteus:/mnt/live/memory/images# head -n 3 003-xfce-porteus5.xzm/usr/share/audacious/COPYING
LICENSE

Copyright © 2001-2018 Audacious developers and others
Not the kind of COPYING I was looking for, lets look for the two variants using their file sizes:

Code: Select all

root@porteus:/mnt/live/memory/images# ls  -loaR --time-style="+%Y-%m-%d %H:%M" 00[0123]*|grep 35149
root@porteus:/mnt/live/memory/images# ls  -loaR --time-style="+%Y-%m-%d %H:%M" 00[0123]*|grep 7638
-rw-r--r--  1 root 7638 2020-03-02 13:25 usa19qw.fw
-rw-r--r--  1 root 7638 2020-03-02 13:25 usa28xb.fw
Also, not the kind of licence files.

Where are the GNU GENERAL PUBLIC LICENSE or GNU LESSER GENERAL PUBLIC LICENSE in 5.0rc modules?



____________
[*] a real bat-cave is less advisable, Corona-Chan is from there, but also even more nasty viruses are to be found in bat caves.

Where are the GNU (LESSER) GENERAL PUBLIC LICENSE in 5.0rc?

Posted: 25 Nov 2020, 12:28
by ncmprhnsbl
same place it's always been... ?/boot/docs

Where are the GNU (LESSER) GENERAL PUBLIC LICENSE in 5.0rc?

Posted: 25 Nov 2020, 14:59
by Rava
ncmprhnsbl wrote:
25 Nov 2020, 12:28
same place it's always been... ?/boot/docs
So not to be found in the live system.
I wanted to replace all files with symlinks to existing COPYING files in 000-kernel.xzm 001-core.xzm 002-xorg.xzm or 003-xfce-porteus5.xzm
No solution for that, or is there?

[Solved] Where are the GNU (LESSER) GENERAL PUBLIC LICENSE in 5.0rc?

Posted: 28 Nov 2020, 17:47
by Rava
Rava wrote:
25 Nov 2020, 14:59
No solution for that, or is there?
A "kind of solution" exists, $PORTDIR directs to the Porteus system directory, the one with base, optional, rootcopy … folders in it - and $BOOTDEV directs to the boot device.

One could presume that when $BOOTDEV is e.g. /mnt/sda1/ that the GNU LICENCE could be addressed as ${BOOTDEV}/boot/docs/GNU_GPL - no GNU LESSER GENERAL PUBLIC LICENCE
file to be found, at least not in 5.0rc2 - maybe the * LESSER * should be added for the finale version, a picky library provider that uses the LESSER licence might complain we shipping Porteus, using the lib in our OS and omit the licence.


But the above must not be so, since when the user choose to boot not an ISO but copied the individual files, the user can omit the GNU_GPL file.

[Solved] Where are the GNU (LESSER) GENERAL PUBLIC LICENSE in 5.0rc?

Posted: 28 Nov 2020, 17:56
by Ed_P
One of the final pieces in assembling the final release is including all the GNU and application licenses.

[Solved] Where are the GNU (LESSER) GENERAL PUBLIC LICENSE in 5.0rc?

Posted: 28 Nov 2020, 18:49
by Rava
^

If you say so…
I checked Porteus-XFCE-v4.0-x86_64.iso and copied all of boot/docs to the /tmp to examine:

Code: Select all

root@porteus:/tmp/tmp/docs# grep LESSER *
root@porteus:/tmp/tmp/docs# ls -o
total 68
dr-xr-xr-x 2 root   140 2018-04-22 00:00 .
drwxr-xr-x 3 root    60 2020-11-28 19:44 ..
-r-xr-xr-x 1 root 17993 2018-04-22 00:00 GNU_GPL
-r-xr-xr-x 1 root   255 2018-04-22 00:00 License.txt
-r-xr-xr-x 1 root 20378 2018-04-22 00:00 cheatcodes.txt
-r-xr-xr-x 1 root 20352 2018-04-22 00:00 install.txt
-r-xr-xr-x 1 root  1484 2018-04-22 00:00 requirements.txt
No GNU LESSER GEN PUP LICENCE there. And it is the finale version of 4.0, not some rc or beta.