libswupdate.so.0.1 license

109 views
Skip to first unread message

andreas Faanes

unread,
Dec 5, 2023, 5:18:36 AM12/5/23
to swup...@googlegroups.com
Hi,
Have I understood correctly that the libswupdate.so.0.1 shared library is covered by the "LGPLv2.1" license and not the default "GPLv2"?  

Best regards
Andreas Faanes

Stefano Babic

unread,
Dec 6, 2023, 11:49:51 AM12/6/23
to andreas Faanes, swup...@googlegroups.com
Hi Andreas,

On 05.12.23 11:18, andreas Faanes wrote:
> Hi,
> Have I understood correctly that the libswupdate.so.0.1 shared library
> is covered by the "LGPLv2.1" license and not the default "GPLv2"?

Yes, this is the reason for the shared library, and it is legal to link
closed source application to libswupdate.

Best regards,
Stefano Babic

Alexander Vickberg

unread,
Apr 29, 2024, 10:19:46 AM4/29/24
to swupdate
Hi,

Interesting topic. It seems like the header compat.h included by network_ipc.c is licensed under GPL-2.0-only. What is your comment about this? Does this effectivley and unintentionally make the library GPL 2.0 too?

/Alexander Vickberg

--
You received this message because you are subscribed to the Google Groups "swupdate" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swupdate+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/swupdate/5ea7d5dd-e875-447c-9fa2-301021fa2e11%40swupdate.org.

Stefano Babic

unread,
Apr 29, 2024, 12:06:18 PM4/29/24
to Alexander Vickberg, swupdate
Hi Alexander,

On 29.04.24 16:19, Alexander Vickberg wrote:
> Hi,
>
> Interesting topic. It seems like the header compat.h included by
> network_ipc.c is licensed under GPL-2.0-only. What is your comment about
> this?

Thanks for reporting this. Conflicts were already solved, the header is
useless in network_ipc.c and the file can be compiled removing the
header. I send a patch for this.

> Does this effectivley and unintentionally make the library GPL 2.0
> too?

It is unintentional, the header itself does not contain code from
external source and its license could also be put as LGPL, but it is not
required by the IPC code.

Best regards,
Stefano Babic


>
> /Alexander Vickberg
>
> Den ons 6 dec. 2023 17:49Stefano Babic <stefan...@swupdate.org
> <mailto:stefan...@swupdate.org>> skrev:
>
> Hi Andreas,
>
> On 05.12.23 11:18, andreas Faanes wrote:
> > Hi,
> > Have I understood correctly that the libswupdate.so.0.1 shared
> library
> > is covered by the "LGPLv2.1" license and not the default "GPLv2"?
>
> Yes, this is the reason for the shared library, and it is legal to link
> closed source application to libswupdate.
>
> Best regards,
> Stefano Babic
>
> --
> You received this message because you are subscribed to the Google
> Groups "swupdate" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to swupdate+u...@googlegroups.com
> <mailto:swupdate%2Bunsu...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/swupdate/5ea7d5dd-e875-447c-9fa2-301021fa2e11%40swupdate.org <https://groups.google.com/d/msgid/swupdate/5ea7d5dd-e875-447c-9fa2-301021fa2e11%40swupdate.org>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "swupdate" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to swupdate+u...@googlegroups.com
> <mailto:swupdate+u...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/swupdate/CAAxSGfbMXfJYMqbAoG22JqKPjJm68vv0thYP2ofC%3DVPytvpJFw%40mail.gmail.com <https://groups.google.com/d/msgid/swupdate/CAAxSGfbMXfJYMqbAoG22JqKPjJm68vv0thYP2ofC%3DVPytvpJFw%40mail.gmail.com?utm_medium=email&utm_source=footer>.

Alexander Vickberg

unread,
Apr 30, 2024, 3:20:33 AM4/30/24
to Stefano Babic, swupdate


Den mån 29 apr. 2024 18:06Stefano Babic <stefan...@swupdate.org> skrev:
Hi Alexander,

On 29.04.24 16:19, Alexander Vickberg wrote:
> Hi,
>
> Interesting topic. It seems like the header compat.h included by
> network_ipc.c is licensed under GPL-2.0-only. What is your comment about
> this?

Thanks for reporting this. Conflicts were already solved, the header is
useless in network_ipc.c and the file can be compiled removing the
header. I send a patch for this.

What about strndupa and musl which it seems the compat.h is meant for? network_ipc.c uses strndupa in function ipc_postupdate.


> Does this effectivley and unintentionally make the library GPL 2.0
> too?

It is unintentional, the header itself does not contain code from
external source and its license could also be put as LGPL, but it is not
required by the IPC code.

Thanks for the clarification.

/Alexander Vickberg 

Stefano Babic

unread,
Apr 30, 2024, 3:52:08 AM4/30/24
to Alexander Vickberg, Stefano Babic, swupdate, Christian Storm
Hi Alexander,

On 30.04.24 09:20, Alexander Vickberg wrote:
>
>
> Den mån 29 apr. 2024 18:06Stefano Babic <stefan...@swupdate.org
> <mailto:stefan...@swupdate.org>> skrev:
>
> Hi Alexander,
>
> On 29.04.24 16:19, Alexander Vickberg wrote:
> > Hi,
> >
> > Interesting topic. It seems like the header compat.h included by
> > network_ipc.c is licensed under GPL-2.0-only. What is your
> comment about
> > this?
>
> Thanks for reporting this. Conflicts were already solved, the header is
> useless in network_ipc.c and the file can be compiled removing the
> header. I send a patch for this.
>
>
> What about strndupa and musl which it seems the compat.h is meant for?
> network_ipc.c uses strndupa in function ipc_postupdate.

Good point. Before starting to move or rearrange code, I simply ask
Christian if it is ok for him and Siemens to raise the license of
compat.h to LGPLv2.1, removing any possible issue.

Best regards,
Stefano Babic

>
>
> > Does this effectivley and unintentionally make the library GPL 2.0
> > too?
>
> It is unintentional, the header itself does not contain code from
> external source and its license could also be put as LGPL, but it is not
> required by the IPC code.
>
>
> Thanks for the clarification.
>
> /Alexander Vickberg
>
> Best regards,
> Stefano Babic
>
>
> >
> > /Alexander Vickberg
> >
> > Den ons 6 dec. 2023 17:49Stefano Babic
> <stefan...@swupdate.org <mailto:stefan...@swupdate.org>
> > <mailto:stefan...@swupdate.org
> <mailto:stefan...@swupdate.org>>> skrev:
> >
> >     Hi Andreas,
> >
> >     On 05.12.23 11:18, andreas Faanes wrote:
> >      > Hi,
> >      > Have I understood correctly that the libswupdate.so.0.1 shared
> >     library
> >      > is covered by the "LGPLv2.1" license and not the default
> "GPLv2"?
> >
> >     Yes, this is the reason for the shared library, and it is
> legal to link
> >     closed source application to libswupdate.
> >
> >     Best regards,
> >     Stefano Babic
> >
> >     --
> >     You received this message because you are subscribed to the
> Google
> >     Groups "swupdate" group.
> >     To unsubscribe from this group and stop receiving emails from it,
> >     send an email to swupdate+u...@googlegroups.com
> <mailto:swupdate%2Bunsu...@googlegroups.com>
> >     <mailto:swupdate%2Bunsu...@googlegroups.com
> <mailto:swupdate%252Buns...@googlegroups.com>>.
> >     To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/swupdate/5ea7d5dd-e875-447c-9fa2-301021fa2e11%40swupdate.org <https://groups.google.com/d/msgid/swupdate/5ea7d5dd-e875-447c-9fa2-301021fa2e11%40swupdate.org> <https://groups.google.com/d/msgid/swupdate/5ea7d5dd-e875-447c-9fa2-301021fa2e11%40swupdate.org <https://groups.google.com/d/msgid/swupdate/5ea7d5dd-e875-447c-9fa2-301021fa2e11%40swupdate.org>>.
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "swupdate" group.
> > To unsubscribe from this group and stop receiving emails from it,
> send
> > an email to swupdate+u...@googlegroups.com
> <mailto:swupdate%2Bunsu...@googlegroups.com>
> > <mailto:swupdate+u...@googlegroups.com
> <mailto:swupdate%2Bunsu...@googlegroups.com>>.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/swupdate/CAAxSGfbMXfJYMqbAoG22JqKPjJm68vv0thYP2ofC%3DVPytvpJFw%40mail.gmail.com <https://groups.google.com/d/msgid/swupdate/CAAxSGfbMXfJYMqbAoG22JqKPjJm68vv0thYP2ofC%3DVPytvpJFw%40mail.gmail.com> <https://groups.google.com/d/msgid/swupdate/CAAxSGfbMXfJYMqbAoG22JqKPjJm68vv0thYP2ofC%3DVPytvpJFw%40mail.gmail.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/swupdate/CAAxSGfbMXfJYMqbAoG22JqKPjJm68vv0thYP2ofC%3DVPytvpJFw%40mail.gmail.com?utm_medium=email&utm_source=footer>>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "swupdate" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to swupdate+u...@googlegroups.com
> <mailto:swupdate+u...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/swupdate/CAAxSGfYCjs4M5LvXk2mxDzEhzdOO8YEzyjUoKYAfMQqA__WsFQ%40mail.gmail.com <https://groups.google.com/d/msgid/swupdate/CAAxSGfYCjs4M5LvXk2mxDzEhzdOO8YEzyjUoKYAfMQqA__WsFQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.

Storm, Christian

unread,
Apr 30, 2024, 4:06:25 AM4/30/24
to Stefano Babic, Alexander Vickberg, swupdate
Hi,

>> Den mån 29 apr. 2024 18:06Stefano Babic <stefan...@swupdate.org
>> <mailto:stefan...@swupdate.org>> skrev:
>>
>> Hi Alexander,
>>
>> On 29.04.24 16:19, Alexander Vickberg wrote:
>> > Hi,
>> >
>> > Interesting topic. It seems like the header compat.h included by
>> > network_ipc.c is licensed under GPL-2.0-only. What is your
>> comment about
>> > this?
>>
>> Thanks for reporting this. Conflicts were already solved, the header is
>> useless in network_ipc.c and the file can be compiled removing the
>> header. I send a patch for this.
>>
>>
>> What about strndupa and musl which it seems the compat.h is meant for?
>> network_ipc.c uses strndupa in function ipc_postupdate.

compat.h is intended to house compatibility "things" just like the compatibility mechanism we have for different Lua versions. Currently, it has something for musl and FreeBSD. More may come :)


> Good point. Before starting to move or rearrange code, I simply ask
> Christian if it is ok for him and Siemens to raise the license of
> compat.h to LGPLv2.1, removing any possible issue.

Yes, that's fine, please continue.



Kind regards,
Christian

--
Dr. Christian Storm
Siemens AG, Technology, T CED OES-DE
Otto-Hahn-Ring 6, 81739 Munich, Germany

Reply all
Reply to author
Forward
0 new messages