Skip to contentSkip to conversation

prog/dump/util.c is GPL version 2 only licensed

lm-sensors Hans de Goede 2 participants 5 messages Aug 13, 2007 – Aug 15, 2007

lore
Share & tools
lore
#0 lore raw

Hi Jean,

Fedora is doing a license audit of ALL Fedora packages, to determine the exact license (version) of each package because of the coming of a number of GPL version 3 packages to the distro.

I've been reviewing lm_sensors (amongst 150 other packages) and I've noticed that in the lib and prog dirs, there is one file which is not GPL version 2 or any later version, but just GPL version 2, I assume this is a mistake, can you please fix this?

Thanks & Regards.

hans

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#1 lore raw

Hi Hans,

Quoted 8 lines · Hans de Goede

Fedora is doing a license audit of ALL Fedora packages, to determine the exact license (version) of each package because of the coming of a number of GPL version 3 packages to the distro.

I've been reviewing lm_sensors (amongst 150 other packages) and I've noticed that in the lib and prog dirs, there is one file which is not GPL version 2 or any later version, but just GPL version 2, I assume this is a mistake, can you please fix this?

This isn't a mistake, I did this on purpose. With all the discussions around the GPL v3, I realized that it wasn't safe to allow the distribution of my code under a license that did not yet exist. So as prog/dump/util.c was a new file, I decided to release it under GPL v2 only.

Now I realize that it probably doesn't make much sense to release just one file with a different license, it hardly serves any practical purpose and can only add to confusion. If it has any legal value at all... So I am fine re-licensing that file if it makes you happy.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#2 lore raw
In reply to Hans de Goede
Quoted 18 lines · Jean Delvare

Hi Hans,

Quoted 8 lines · Hans de Goede

Fedora is doing a license audit of ALL Fedora packages, to determine the exact license (version) of each package because of the coming of a number of GPL version 3 packages to the distro.

I've been reviewing lm_sensors (amongst 150 other packages) and I've noticed that in the lib and prog dirs, there is one file which is not GPL version 2 or any later version, but just GPL version 2, I assume this is a mistake, can you please fix this?

This isn't a mistake, I did this on purpose. With all the discussions around the GPL v3, I realized that it wasn't safe to allow the distribution of my code under a license that did not yet exist. So as prog/dump/util.c was a new file, I decided to release it under GPL v2 only.

Quoted 5 lines

Now I realize that it probably doesn't make much sense to release just one file with a different license, it hardly serves any practical purpose and can only add to confusion. If it has any legal value at all... So I am fine re-licensing that file if it makes you happy.

Yes, please relicense it. Most people don't realize it but once libraries GPL v2 only code depends on become LGPL 3, then the GPL v2 only code can no longer be distributed (atleast not as part of a distribution containing LGPL v3 versions of the libs the GPL v2 only code depends on).

Regards,

Hans

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#3 lore raw
In reply to Hans de Goede

Hi Hans,

Quoted 7 lines · Hans de Goede
Quoted 4 lines · Jean Delvare

Now I realize that it probably doesn't make much sense to release just one file with a different license, it hardly serves any practical purpose and can only add to confusion. If it has any legal value at all... So I am fine re-licensing that file if it makes you happy.

Yes, please relicense it.

Done.

Quoted 4 lines

Most people don't realize it but once libraries GPL
v2 only code depends on become LGPL 3, then the GPL v2 only code can no longer be distributed (atleast not as part of a distribution containing LGPL v3 versions of the libs the GPL v2 only code depends on).

I don't get it. You can link even closed-source code with LGPLv2-licensed code (that was the purpose of this license over GPLv2). Is this something that changed with LGPLv3? If not, how could you not be allowed to link GPLv2 code then?

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#4 lore raw
In reply to Hans de Goede
Quoted 9 lines · Jean Delvare

Hi Hans,

Quoted 4 lines · Hans de Goede

Most people don't realize it but once libraries GPL
v2 only code depends on become LGPL 3, then the GPL v2 only code can no longer be distributed (atleast not as part of a distribution containing LGPL v3 versions of the libs the GPL v2 only code depends on).

Quoted 5 lines

I don't get it. You can link even closed-source code with LGPLv2-licensed code (that was the purpose of this license over GPLv2). Is this something that changed with LGPLv3? If not, how could you not be allowed to link GPLv2 code then?

Well, I'm not a lawyer, but both Fedora's (RedHat's) and the FSF lawyers have looked at this. Below is my understanding of the issue as explained to me.

The problem is the following section of the GPL:

---

The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.

---

The problem lies in the "complete source code means all the source code for all modules it contains", which should be translated as "the source for the program
+ all libraries it uses", This is there to stop people from taking a GPL app putting new interesting stuff in a lib and then ship the app with source with bindings to the lib, but the lib with the new stuff itself under a proprietary license. So the source for all libraries must be shipped, and must be shipped under a GPL version 2 compatible license. LGPL 2 is GPL version 2 and GPL version 3 compatible, so using LGPL 2 libs (or BSD libs) is fine for a GPL version 2 app, but LGPL 3 will only be GPL version 3 compatible not GPL version 2.

Thus when a library used by a GPL version 2 only app becomes LGPL 3, that app can no longer be distributed, because we no longer distribute all the needed libraries under a GPL 2 compatible license, as is demanded by the GPL version 2.

I hope this clarifies things.

Thanks & Regards,

Hans

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors