[OE-core] [PATCH 1/1] socat: add the latest stable version 1.7.2.0

Cui, Dexuan dexuan.cui at intel.com
Mon Dec 19 09:54:05 UTC 2011


Koen Kooi wrote on 2011-12-19:
> 
> Op 19 dec. 2011, om 10:16 heeft Cui, Dexuan het volgende geschreven:
> 
>> Koen Kooi wrote on 2011-12-19:
>>> 
>>> Op 19 dec. 2011, om 06:22 heeft Dexuan Cui het volgende geschreven:
>>> 
>>>> +DEPENDS = "openssl"
>>>> +
>>>> +LICENSE = "GPLv2+"
>> Hi Koen,
>> Thanks very much for the comment!
>> 
>>> Linking GPL and openssl is not allowed due to the advertising clause 
>>> in BSD. The socat people realized that and say:
>> "the advertising clause in BSD"?
>> I suppose you meant "the advertising clause in openssl license"?
> 
> Yes, indeed
> 
>> 
>>> license
>>> -------
>>> 
>>> socat is distributed under the terms of the GNU GPL; except for 
>>> install-sh, which is copyright MIT, with its own license;
>>> 
>>> In addition, as a special exception, the copyright holder gives 
>>> permission to link the code of this program with any version of the 
>>> OpenSSL library which is distributed under a license identical to 
>>> that listed in the included COPYING.OpenSSL file, and distribute 
>>> linked combinations including the two. You must obey the GNU General 
>>> Public License in all respects for all of the code used other than OpenSSL.
>>> If you modify this file, you may extend this exception to your 
>>> version of the file, but you are not obligated to do so. If you do 
>>> not wish to do so, delete this exception statement from your version.
>> My understanding is: the author of socat allows us to link socat to 
>> the lib openssl?
> 
> Correct. I don't know what happens when you include socat in a GPL 
> product, but that's for other people to worry about :)
> 
>> Koen,
>> I'm really not good at the license stuff at all. Could you please 
>> explain the situation in more details?
> 
> From what I've understood the advertising clause is consired a 
> "restriction" by the GPL and hence incompatible. Since openssl is so 
> widespread and gnutls so buggy the exception was invented to allow openssl to link with gpl software.
> 
>> What need we do if we want to add the socat recipe into poky? It has 
>> already been in OE for a long period of time.
> 
> Some googling suggests that 'GPL-2.0+-with-OpenSSL-exception' is SPDX 
> compatible, so we could put that in LICENSE.
Thanks a lot for the suggestion!

Please review/use the new patch:
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=dcui/socat-v2&id=896e5e9f9ca387d832d423a1e16ad918d473c4cc

Thanks,
-- Dexuan






More information about the Openembedded-core mailing list