<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 23, 2013 at 11:12 PM, Alec Taylor <span dir="ltr"><<a href="mailto:alec.taylor6@gmail.com" target="_blank">alec.taylor6@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I am building a set of generalised libraries and frameworks.<div><br></div><div>Would like to open-source it all; however in the cases where a client wants their custom stuff under a non open-source license; I should have provisions for such a case.<br>

</div></div></blockquote><div><br></div><div>I usually just do two things:<br><br></div><div>1.  License the code to the client under their choice of GPL or BSD licenses, and<br><br></div><div>2.  Privately agree (in a formal contract or otherwise) not to merge the changes made in their current form back into the main software. <br>

<br></div><div>If they want to sell it they can, but under the BSD license, they can't sublicense (unlike the MIT license) so they'd have to have someone make some change they could license on their own or they can come to an agreement with me for revenue.<br>

<br>Best Wishes,<br></div><div>Chris Travers<br></div></div></div></div>