2009-07-20 10 views
3

Je voudrais sortir un petit logiciel sous la GPLv3. Il est écrit en C# pour le framework .NET 3.5 SP1. Il utilise également la bibliothèque MEF, qui est publiée sous MS-PL. Le MS-PL n'est pas compatible avec la GPL. Cependant, la bibliothèque MEF sera finalement intégrée dans la version .NET 4, et à ce moment-là, elle deviendra une bibliothèque système et cela n'aura plus d'importance. J'aimerais quand même publier le code plus tôt que plus tard, juste pour avoir un peu de feedback et pour obtenir le code pour les premiers utilisateurs (sortie anticipée, sortie souvent). Je comprends que je peux écrire une exception sous la section 7 de la GPLv3 qui permettrait aux destinataires de lier ce code avec cette bibliothèque spécifique.Comment écrire une exception sous la section 7 de la GPLv3?

À quoi ressemblerait cette exception? Est-ce qu'il va dans un fichier séparé à côté du fichier LICENSE dans le répertoire du projet? Dois-je mentionner l'exception dans tous les en-têtes de fichiers? Je connais l'exception ClassPath, mais quelqu'un connaît-il un cas où une exception pour une bibliothèque spécifique a été faite, par exemple?

+2

Questions juridiques concernant les licences de logiciels sont hors-sujet sur débordement de la pile, mais * peut * être sur le sujet sur son [programmation] (http://programmers.stackexchange.com/) site de la soeur. S'il vous plaît voir http://stackoverflow.com/tags/licensing/info. –

+4

Je vote pour clore cette question hors-sujet parce qu'il s'agit de licences et de problèmes juridiques, pas de programmation ou de développement de logiciels. [Voir ici] (http://meta.stackoverflow.com/a/274964/1402846) pour plus de détails, et [help/on-topic] pour plus d'informations. – Pang

Répondre

3

J'ai trouvé un exemple dans le projet open source Vidalia. Vous pouvez voir leur LICENSE file pour voir comment ils ont permis un lien vers OpenSSL:

======= 
LICENSE 
======= 

This program is free software; you can redistribute it and/or modify it 
under the terms of the GNU General Public License (GPL) as published by 
the Free Software Foundation; either version 2 of the License, or (at 
your option) any later version. The full text of versions 2 and 3 of 
the GPL can be found respectively in the files LICENSE-GPLV2 and 
LICENSE-GPLV3. 

EXCEPTION: This distribution of Vidalia may be linked against OpenSSL 
according to the terms of the section below entitled "OpenSSL Exception." 

This program is distributed in the hope that it will be useful, but 
WITHOUT ANY WARRANTY; without even the implied warranty of 
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General 
Public License for more details. 

You should have received a copy of the GNU General Public License along 
with this program; if not, write to the Free Software Foundation, Inc., 
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 


         _OpenSSL Exception_ 

0. Definitions 

"Vidalia" means Vidalia software licensed under version 2 or any later 
version of the GNU General Public License (collectively, "GPL"), or a 
work based on such software and licensed under the GPL. 

"OpenSSL" means OpenSSL toolkit software distributed by the OpenSSL 
Project and licensed under the OpenSSL Licenses, or a work based on such 
software and licensed under the OpenSSL Licenses. 

"OpenSSL Licenses" means the OpenSSL License and Original SSLeay License 
under which the OpenSSL Project distributes the OpenSSL toolkit software, 
as those licenses appear in the file LICENSE-OPENSSL. 

1. Exception 

You have permission to copy, modify, propagate, and distribute a work 
formed by combining OpenSSL with Vidalia, or a work derivative of such a 
combination, even if such copying, modification, propagation, or 
distribution would otherwise violate the terms of the GPL. You must 
comply with the GPL in all respects for all of the code used other than 
OpenSSL. 

You may include this OpenSSL Exception and its grant of permissions when 
you distribute Vidalia. Inclusion of this notice with such a 
distribution constitutes a grant of such permission. If you do not wish 
to grant these permissions, remove this section entitled "OpenSSL 
Exception" from your distribution. 
+0

Je ne trouve plus cet exemple - existe-t-il un lien de travail vers cet exemple ou un autre exemple? –

+0

@BillyMoon - essayez de faire une recherche Google pour "combiner openssl avec". Un lien a été trouvé pour [uhub on GitHub] (https://github.com/janvidar/uhub/blob/master/COPYING.OpenSSL). –