8

To be precise, I am referring to MySql source code which is available under GPL2. I want to make certain modifications in the code which is actually for some custom requirement. The modified MySql server will be used as the database back-end tied to the web server so technically speaking the public will be using the modified server code. I only expect to offer service thru the Internet and not product based upon the modified server code. Do I have to make the modified MySql server code available to the public or to anyone asking for it? What if I later decide to license the compiled modified code, do I have an obligation to give the modified source code also to the client who licenses it from me?

2

2 Answers 2

19

No, you do not 'distribute copies of free software' so you are not required to provide source code. This is how many service providers are able to integrate GPL-licensed code with their proprietary code.

It is however a requirement in AGPL.

PS: that said, think twice if you really want to do this. Maintaining forks of large, complex software is hard. Even major software companies struggle to do that. E.g. many hardware vendors prefer if drivers for their hardware is accepted into mainline Linux, and pay people to do that.

3
  • I did it for tar awhile ago. Maintaining a twenty line patch to tar is chump change.
    – Joshua
    Commented Jan 4, 2023 at 19:46
  • @rvs What about MPL 2.0? Does this answer apply to MPL 2.0 also for the same conditions? Perhaps this should be a separate question.
    – Sunny
    Commented Jan 8, 2023 at 5:13
  • Simple and to the point. Thank you. Commented Mar 28 at 9:58
9

Using modified GPL-licensed software on the server side for services is unproblematic in terms of licensing. You do not distribute the software and you can do on your machine whatever you want without asking anyone without any obligations - that's granted by the license.

If you however later decide to pass on the binaries built from this modified sources, then yes, you are obliged to fulfill the requirements imposed by the GPL license: You yourself would be in license violation if you make no offer for the complete corresponding sources to the binary. If you convey the modified software, you are obliged to distribute it under GPL terms (or compatible). You may also not impose further restrictions on the usage and further distribution of these modified versions. Thus your clients are only bound by the GPL in using that modified software and they are free to offer it free-of-charge for everyone to use.

1
  • What about MPL 2.0? Does this answer apply to MPL 2.0 also for the same conditions? Perhaps this should be a separate question.
    – Sunny
    Commented Jan 8, 2023 at 5:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.