gopsutil is licensed under BSD 3-clause license https://github.com/shirou/gopsutil/blob/master/LICENSE
However, its code contains two files which are licensed under GPL and are most probably just copied from some project:
https://github.com/shirou/gopsutil/blob/master/host/include/smc.c#L1-L35
https://github.com/shirou/gopsutil/blob/master/host/include/smc.h#L1-L35
Can somebody explain how that code was introduced there? I think that we should get rid of it and (if possible) use something released under BSD/MIT/Apache or anything other license with is compatible with BSD.
I discovered that issue when I tried to package https://github.com/google/gops in openSUSE and our infra detected that there is some GPL-licensed code, despite the fact, that the whole project is licensed under more "liberal" licenses.
/cc @shirou
gopsutil is licensed under BSD 3-clause license https://github.com/shirou/gopsutil/blob/master/LICENSE
However, its code contains two files which are licensed under GPL and are most probably just copied from some project:
https://github.com/shirou/gopsutil/blob/master/host/include/smc.c#L1-L35
https://github.com/shirou/gopsutil/blob/master/host/include/smc.h#L1-L35
Can somebody explain how that code was introduced there? I think that we should get rid of it and (if possible) use something released under BSD/MIT/Apache or anything other license with is compatible with BSD.
I discovered that issue when I tried to package https://github.com/google/gops in openSUSE and our infra detected that there is some GPL-licensed code, despite the fact, that the whole project is licensed under more "liberal" licenses.
/cc @shirou