Slashdot Mirror


A Case Study In GPLv2 / GPLv3 Compatibility

An anonymous reader writes "A project called OpenChange is working to develop an open source client library for Microsoft Exchange. They are heavily dependent on Samba code for the underlying protocol support and have been forced to move to GPLv3 once Samba moved. This has gotten in the way of legally adding support to other software such as KDE, which is unwilling or unable to go GPLv3." It sounds like all the developers involved expect the GPLv2/GPLv3 issues to be resolved in time.

Update: 10/01 12:26 GMT by KD : Dan Shearer, of OpenChange and the Samba Team, wrote in to correct the anonymous submitter's mistaken implication that OpenChange moved reluctantly to GPLv3. Read on for his actual position.

I'm Dan Shearer of both the OpenChange project and the Samba Team, and I wrote the message on bacula-devel linked by anonymous' original post. I would like to correct the unfortunate impression given by anonymous that OpenChange has been reluctantly forced to change licenses because Samba has moved to the GPLv3. In fact, OpenChange see that the GPLv3 is entirely appropriate for Samba, and OpenChange plans to use the GPLv3 even when not necessarily required to do so by upstream licenses. The move to GPLv3 was one of two license changes we plan to announce on openchange.org in the next few days.

The specific issue highlighted in the post is not a general GPLv3/v2 incompatibility. Code which is licensed under the GPLv2 but no later version is incompatible with the GPLv3. There are a few significant examples of GPLv2-only code, including KDE as mentioned and also the Linux kernel, which cannot be linked to GPLv3 code. That is a matter of policy for those few projects. We would of course be delighted to be able to use their code as appropriate if they change their policy at some point, but we have no complaint if they do not choose to do so. The GPL offers many choices and this is one of them.

Most GPLv2 code includes the words "or any later version", which is a statement of trust by the licensor in the people who create those later versions. The GPLv3 was created as a community effort, a very large and representative community effort, and in that sense many people think that this trust has been maintained. Including the Samba Team and the OpenChange project. If you are unsure about this, go to archive.org and search for "Eben Moglen 2007", which will give you a choice of media and plain text for the summary talk in Edinburgh a day or two before the GPLv3 was released. We respect that there are different opinions on licensing including some who do not like the GPLv3, however it is indisputable that the GPLv3 is very much a community production rather than a statement from the FSF. That fact of community evolution supports the idea that the trust implied by "or any later version" has been maintained.

It might also be helpful to reflect on the history of OpenChange. OpenChange is an independent work from a team led by Julien Kerihuel built on the research and tools produced by the Samba Team. OpenChange has been the direct beneficiary of a lot of effort contributed by the Samba Team over the last four years. We strongly support Samba's use of the GPLv3 as being an appropriate response to the current legal environment.

The thread the anonymous poster linked to was in response to Kern Sibbald of the excellent Bacula project. Kern has his particular views, and we respect those views, but they are by no means general. (Readers may also like to read the entire thread on bacula-devel.) When we look at the numbers at Palamida we find many thousands of projects that OpenChange can link against, besides all the others with compatible licenses such as the Apache license. We don't feel very lonely :-)

22 of 239 comments (clear)

  1. Non-issue by Raul654 · · Score: 4, Interesting

    How is this an issue? If KDE2 uses the GPL2, it clearly says "or any future version", which makes it forward compatible with the GPL3, which means it can be mixed with other GPL3 software. I see nothing in the linked article that contradicts this.

    --


    To make laws that man cannot, and will not obey, serves to bring all law into contempt.
    --E.C. Stanton
    1. Re:Non-issue by stevenvi · · Score: 5, Insightful

      The "or any future version" is optional for the developers. I have removed it from all of my software, as I do not want to license my code under rules which have not yet been written.

      That said, I have no clue if KDE includes that line or not.

    2. Re:Non-issue by modir · · Score: 3, Insightful

      I see another reason why this is a non issue. They can use an older version of samba which was released under GPLv2. They don't even need to switch to other libraries. If they want the can even fork samba.

    3. Re:Non-issue by Raul654 · · Score: 4, Insightful

      So the dependency tree looks like this:
      Samba --OpenChange -- KDE

      KDE operates on top of OpenChange, which operates on top of KDE. From the write up, OpenChange is "heavily dependent on Samba code for the underlying protocol support". So they mix in outside (Samba) code which changed license, and thus are forced to change the license. Fair enough - they want the free lunch, they have to use the license specified by the guy who wrote the code.

      What doesn't make any sense is that OpenChange cannot support KDE now. Of course they can. As long as they don't share any code, they can be licensed independently.

      --


      To make laws that man cannot, and will not obey, serves to bring all law into contempt.
      --E.C. Stanton
    4. Re:Non-issue by the_brobdingnagian · · Score: 4, Informative

      Every line in the GPL is optional for developers. You can release your code with any license you want, including one you made up yourself. I can not understand why anyone would want to release their code with a "or any future version" clause. With this clause, you give away all control of the content of the license. If RMS suddenly decides the BSD license is great and writes a GPL4 with the contents of the BSD license, your code is BSD licensed too.

    5. Re:Non-issue by Bart+Coppens · · Score: 3, Informative

      Actually, the problem lies not with KDE. The core KDE Libraries are actually LGPL (parts even use some BSD license), which should be pretty compatible with the GPLv3. Just like many KDE programs are actually GPLv2+. The 'problem' is that as of yet, Qt has been licensed under GPLv2 only (and slightly more, they allow linking with a selection of other free software licenses as well, as far as I know). Which in turn makes all KDE applications linking with Qt GPLv2 at run-time. The obvious reason would be that Trolltech just does not really like giving the FSF full controll over their Qt software through their ability to modify future versions of the GPL at will.

    6. Re:Non-issue by phantomlord · · Score: 5, Informative
      On Gentoo

      grep "version 2" /usr/kde/3.5/include/* | wc
      393 4848 40829
      grep "version 2" /usr/kde/3.5/include/* | grep "later version" | wc
      217 2878 22629
      So, it would seem that 217 files are GPL2+ and and 176 GPL2(only) as far as KDE is concerned. However, KDE is built on QT which is licensed as

      grep "version 2" /usr/include/qt4/Qt*/* | wc
      994 10962 104446
      grep "version 2" /usr/include/qt4/Qt*/* | grep "later version" | wc
      0 0 0
      So it would seem that QT is GPL2 only. A quick scan of a couple header files notes that

      ** This file may be used under the terms of the GNU General Public
      ** License version 2.0 as published by the Free Software Foundation
      ** and appearing in the file LICENSE.GPL included in the packaging of
      ** this file. Please review the following information to ensure GNU
      ** General Public Licensing requirements will be met:
      ** http://trolltech.com/products/qt/licenses/licensing/opensource/ So... if you can somehow mix the KDE parts that are GPL2+ without using the QT library at all and without using the KDE parts that are GPL2(only), you're safe to mix GPL3 code with KDE. Good luck with that, though.
      --
      Don't leave your mind so open that your brain falls out. Don't close it so much that you cut off the blood.
    7. Re:Non-issue by the_brobdingnagian · · Score: 5, Informative
      The GPL is copyrighted, but you CAN modify it. You just don't have the right to call it the GPL if you modify the licence.

      Can I modify the GPL and make a modified license?
      You can use the GPL terms (possibly modified) in another license provided that you call your license by another name and do not include the GPL preamble, and provided you modify the instructions-for-use at the end enough to make it clearly different in wording and not mention GNU (though the actual procedure you describe may be similar).
      ...... From: http://www.gnu.org/licenses/gpl-faq.html#ModifyGPL
    8. Re:Non-issue by Shulai · · Score: 3, Informative

      Nope, the problem is Qt being GPL2 only, so KDE is unable to use GPL3 OpenChange code, because any resulting binary won't be legally redistributable.

    9. Re:Non-issue by kripkenstein · · Score: 4, Interesting

      Nope, the problem is Qt being GPL2 only, so KDE is unable to use GPL3 OpenChange code, because any resulting binary won't be legally redistributable.
      Exactly. Qt is GPL2 only, so KDE needs to be GPL2 as well (even if it were 'GPL2 or above', the effective license would be GPL2). This is a serious problem for Qt-based projects like KDE.

      It is precisely for this reason that a GUI platform should not be GPLed; it should be LGPLed (which GTK/GNOME is, in the relevant portions). And also precisely for this reason that the Linux kernel, while GPL, is effectively LGPL for code in userspace according to their interpretation. Otherwise, the kernel would have this exact same problem - you wouldn't be able to run Samba on it.
  2. OpenChange is more than a client by EvilRyry · · Score: 4, Informative

    The poster missed out on half of the introduction to OpenChange. Since most people won't visit the website, I'll fill in the blank.

    OpenChange is basically the Samba of Exchange. It aims to provide both a library to be used in clients (as mentioned), and also provide a drop in replacement for Microsoft Exchange server.

    Personally, I'm a bit weary of the project. Although it would be nice to have an open source server thats natively compatible with Outlook, and provides an easy transition off of Microsoft products, I'd much rather see a real Open standard take hold rather than turning MAPI into a pseudo standard like Samba has done to CIFS and is doing with Active Directory. Perhaps this is the best that can be done considering how entrenched Microsoft Exchange/Outlook has become in many companies.

  3. What does that have to do with USE? by Xenographic · · Score: 3, Insightful
    > Even just as a user, I prefer the freedom and certainty that those licenses bring. Frankly, I don't need the hassle of unintentionally running afoul of the GPL.

    Did you totally miss the part of the GPL that says it doesn't cover use? You can't run afoul of the GPL merely by using software.

    As the GPL puts it:

    9. Acceptance Not Required for Having Copies.

    You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance.

    > When it comes to the open source software that I develop and release, I always use the MIT license.

    And I thank you for that. I don't care what your motives, I appreciate those who share code.

    But please don't spread FUD about the GPL. Is that too much to ask?
  4. Re:This is why I use FreeBSD. by vertinox · · Score: 4, Informative

    I'm not going to burden them with the many questions the GPLv2 and GPLv3 raise.

    GPL is designed to give Freedom to the 3rd person in the chain of development. BSD only gives freedom to the second person in the chain, but he can restrict the 3rd person's freedom if they so choose. The 1st person is of course the original developer and he can do whatever he pleases regardless of license.

    Hence, with BSD your code is only free to the first two persons and even though the 2nd person can be generous and release his changes in BSD to the 3rd... The 3rd is still free to restrict the freedoms of the fourth and so on.

    GPLv3 makes sure you can't take away freedom at any point in the chain of development of anyone else that comes after you.

    --
    "I am the king of the Romans, and am superior to rules of grammar!"
    -Sigismund, Holy Roman Emperor (1368-1437)
  5. Re:Linus is right by EzInKy · · Score: 4, Insightful


    Linus himself does not think GPLv3 is a good thing. So why do people keep adopting it.


    People are adopting gpl3 for some of the same reasons they adopted gpl2, which is to ensure that users are free to modify their software to suit their needs.

    --
    Time is what keeps everything from happening all at once.
  6. Re:Unwilling to move to GPLv3? by Dlugar · · Score: 4, Interesting

    Er... how does this fall in line with your previous "I'm much more in the BSD camp" sentence? The "GPL is Evil!" is not something that has been uttered only since the GPLv3 but at least since the early 90's when BSD appeared in it's free form. Since you talked about patent protection being something that should be out of scope of a licence I don't think the GPL (v2 or v3) is really the ideal licence for you, but then again you are the one who own your code and I'm sure you know what licence you prefer (perhaps there are probably other reasons for your choosing the GPLv2 that you didn't mention).
    Sorry, I was being unclear. I meant that I felt that patent retaliation clauses should be out of scope for a general-purpose software license.

    My requirements for a software license center around Stallman's original Four Freedoms. Any software I write I want to have those four freedoms protected, both for what I distribute as well as derivative works, but have no other restrictions, either for developers or users.

    The GPLv3, I feel, unnecessarily limits Freedom 0, as well as containing additional clauses that do more than protect the four freedoms. The BSD license doesn't preserve these freedoms for derivative works, so it's not my ideal license either. The patent clauses of GPLv2 simply say, "any patent must be licensed for everyone's free use or not licensed at all", which adequately protects the four freedoms, but doesn't make any further restrictions. It's not what I would call an "anti-patent" provision in the same sense as the GPLv3.

    Regarding DRM: it is impossible, in my opinion, for DRM to infringe upon the Four Freedoms in a software sense. Software-based DRM cannot prevent users from exercising any of their Four Freedoms, because since they have access to the source code, they can simply remove the DRM portions of the software. For DRM to work at all with open-source software, the DRM must be entirely hardware-based, and, in every case, that exact software will run on modified or alternate hardware. Thus, I believe anti-DRM provisions are out of scope for a software license, because it attempts to dictate what sort of hardware you are allowed to distribute with your software.

    What it really comes down to for me is the four freedoms: anything the license does that is above and beyond those four freedoms is something I don't want. Any of the four freedoms it fails to protect is a deficiency. And that's why I've chosen the GPLv2 for my software.

    Dlugar
    --
    Computer Go: Writing Software to Play the Ancient Game of Go
  7. Re:Unwilling to move to GPLv3? by Dlugar · · Score: 3, Insightful

    So why don't you use the usual trick of specifying GPLv2 or later? That way you don't force anybody into agreeing with the further restrictions of GPLv3 that they don't agree with, but you aren't needlessly incompatible with those people who do choose to use GPLv3.
    This is an intriguing idea, but I'll repeat my goals regarding software licenses: "Any software I write I want to have [Stallman's] four freedoms protected, both for what I distribute as well as derivative works, but have no other restrictions, either for developers or users."

    If someone were to take my code, and extend it with GPLv3-only code, then the derivative works would have more restrictions than Stallman's four freedoms, which is something I don't want to have happen. I would be unable to take their changes back, for example, and use them at a company who was worried about the patent retaliation clauses, or other restrictions that aren't present in v2.

    Dlugar
    --
    Computer Go: Writing Software to Play the Ancient Game of Go
  8. Re:Why are developers wasting their time with this by grcumb · · Score: 4, Interesting

    Most open source developers work a full-time job elsewhere, and have a very limited amount of time to contribute to their open source projects of choice.

    Where did you get that datum? I think if you read any decent analysis, you'll find that the vast majority of code in active FOSS projects is written by programmers paid to do so. This means that project leaders, i.e. the ones who invest the most in the project have every incentive to think long and carefully about the future of their project, because it affects their professional future, too.

    The one solution I see is to just avoid the GPL family of licenses.

    You only see that one solution because you haven't done your analysis properly.

    There are very good reasons why more FOSS developers choose the GPL than all the other licenses combined. Perhaps you should investigate those reasons before discarding it as a nuisance.

    --
    Crumb's Corollary: Never bring a knife to a bun fight.
  9. Re:Why are developers wasting their time with this by Anonymous Coward · · Score: 3, Insightful

    You are arguing something different than the GP - you are saying that for any given line of code, the probability of it being written by a paid programmer is high, what he is saying is that the probability that a given FOSS programmer is paid is low. For example, if 5% of the people did 95% of the work, and those 5% were paid, then both of your claims are correct. I suspect it is probably something more like 10-25%, though not all paid, and 75-90%, but I no data to back that up. What he is concerned about is that for those who are only able to contribute a couple hours a week, spending even 15 minutes trying to figure out what license to release under, he will have lost 1/8th of his time. The ability to change the license away from original intent is quite troubling, as nice as it is to be able to maintain compatibility in licensing. This is similar to donors to foundations/universities wanting control of where their donations are used versus where the foundation/universities would like to spend their money. The catch here is that the university can replace general funds with donated and effectively remove the restrictions for most small and medium donations, whereas in the licenses, the restrictions and wishes of the creator are not removable.

  10. Re:Unwilling to move to GPLv3? by Dlugar · · Score: 4, Interesting

    Tivoization clearly infringes on the first freedom as it prevents you from running the program for certain purposes.
    I disagree. Tivoization is a modification to hardware that makes the hardware incapable of running certain code. But it doesn't really have anything to do with the software at all.

    I could construct a piece of hardware that will only run an unmodified RHEL3 image, but never actually distribute that image myself. By building and selling that piece of hardware, have I somehow removed any freedoms of all the people running RHEL3? Not at all. They still have access to the source code, they can modify it and distribute their modifications, they can run the code for whatever purposes they want, etc. The only restriction is to the hardware, not the software. Furthermore, there may be very legitimate reasons why somebody might want to ship a piece of crippled hardware that can only run a single image. Even the FSF has recognized that in their DRM exceptions in the GPLv3.

    I could agree that some people might interpret Tivoization as an infringement of the first freedom, but a statement so strong as "clearly infringes" I have to disagree with.

    Dlugar
    --
    Computer Go: Writing Software to Play the Ancient Game of Go
  11. Re:Linus is right by PSargent · · Score: 4, Insightful

    But what if my need is to modify the software, and not redistribute the modified source code? Whoops, there goes the GPLv3, restricting my freedoms. ...and that is exactly what is intended. The same intention as GPLv2. Write it yourself if that's your intention.

    I'm amazed there are people out there thinking this kind of behaviour is fair game. Just because somebody makes their source available, doesn't mean they want you to pass off their work as your own.

    It really is very simple:

    BSD says "Do what you want. I don't care."
    GPLv2 says "You got the source, so should your customers."
    GPLv3 says "Stop jumping through loopholes! You got the source, so should your customers."
    Commercial licenses say "You want the source?!?! Go f*%$ yourself."

    Personally I would never BSD license any of my code. There are too many people in the world that will happily rip it off.
  12. Re:This is why I use FreeBSD. by stony3k · · Score: 4, Insightful

    The "second" person has made some changes which make the software better and it is now the de facto standard. if the "second" person now closes the source, this leaves the "third" person stranded. Having access to the original source code does not give him much, since he would now have to reinvent the second person's changes.

    I have always considered the BSD a libertarian license, in that it depends on individual goodness and doesn't try to impose any restrictions. The GPL on the other hand is more of a socialistic license in that it tries to impose the "greater good of the society" condition on downstream contributors. Which license you prefer very much depends on which philosophy you prefer.

    --
    Freedom is not worth having if it does not include the freedom to make mistakes. - Mahatma Gandhi
  13. Response from OpenChange and Samba by DanShearer · · Score: 5, Informative

    I'm Dan Shearer of both the OpenChange project and the Samba Team, and I wrote the message on bacula-devel linked by anonymous' original post. I would like to correct the unfortunate impression given by anonymous that OpenChange has been reluctantly forced to change licenses because Samba has moved to the GPLv3. In fact, OpenChange see that the GPLv3 is entirely appropriate for Samba, and OpenChange plans to use the GPLv3 even when not necessarily required to do so by upstream licenses. The move to GPLv3 was one of two license changes we plan to announce on openchange.org in the next few days.

    The specific issue highlighted in the post is not a general GPLv3/v2 incompatibility. Code which is licensed under the GPLv2 but no later version is incompatible with the GPLv3. There are a few significant examples of GPLv2-only code, including KDE as mentioned and also the Linux kernel, which cannot be linked to GPLv3 code. That is a matter of policy for those few projects. We would of course be delighted to be able to use their code as appropriate if they change their policy at some point, but we have no complaint if they do not choose to do so. The GPL offers many choices and this is one of them.

    Most GPLv2 code includes the words "or any later version", which is a statement of trust by the licensor in the people who create those later versions. The GPLv3 was created as a community effort, a very large and representative community effort, and in that sense many people think that this trust has been maintained. Including the Samba Team and the OpenChange project. If you are unsure about this, go to archive.org and search for "Eben Moglen 2007", which will give you a choice of media and plain text for the summary talk in Edinburgh a day or two before the GPLv3 was released. We understand there are different opinions on licensing including some who do not like the GPLv3, however it is indisputable that the GPLv3 is very much a community production rather than a statement from the FSF. That fact of community evolution supports the idea that the trust implied by "or any later version" has been maintained.

    It might also be helpful to reflect on the history of OpenChange. OpenChange is an independent work from a team led by Julien Kerihuel built on the research and tools produced by the Samba Team. OpenChange has been the direct beneficiary of a lot of effort contributed by the Samba Team over the last four years. We strongly support Samba's use of the GPLv3 as being an appropriate response to the current legal environment.

    The thread the anonymous poster linked to was in response to Kern Sibbald of the excellent Bacula project. Kern has his particular views, and we respect those views, but they are by no means general. (Readers may also like to read the entire thread on bacula-devel.) When we look at the numbers at Palamida (http://gpl3.palamida.com:8080/index.jsp) we find many thousands of projects that OpenChange can link against, besides all the others with compatible licenses such as the Apache license. We don't feel very lonely :-)

    --
    Dan Shearer