\n"; foreach (array("good", "bad", "don't care") as $num => $val) { $select .= "\n"; } $select .= "\n"; return $select; } $w['community'] = !$community ? "Hackers like accepting code under it\n" : "Hackers dislike accepting code under it\n" ; $w['combineproprietary'] = !$combineproprietary ? "Combine with proprietary and redistribute\n" : "Cannot combine with proprietary and redistribute\n" ; $w['combinegpl'] = !$combinegpl ? "Combine with GPL'ed code and redistribute\n" : "Cannot Combine with GPL'ed code and redistribute\n" ; $w['sharesource'] = !$sharesource ? "Must share source of redistributed version\n" : "Can redistribute binaries without source\n" ; $w['patents'] = !$patents ? "Must include patent license with contribution\n" : "Not required to include patent license with contribution\n" ; $bsd['community'] = !$community ? 'Y' : 'N'; $bsd['combineproprietary'] = !$combineproprietary ? 'Y' : 'N'; $bsd['combinegpl'] = !$combinegpl ? 'Y' : 'N'; $bsd['sharesource'] = !$sharesource ? 'N' : 'Y'; $bsd['patents'] = !$patents ? 'N' : 'Y'; $lgp['community'] = !$community ? 'Y' : 'N'; $lgp['combineproprietary'] = !$combineproprietary ? 'Y' : 'Y'; $lgp['combinegpl'] = !$combinegpl ? 'Y' : 'N'; $lgp['sharesource'] = !$sharesource ? 'Y' : 'N'; $lgp['patents'] = !$patents ? 'Y' : 'N'; $gpl['community'] = !$community ? '?' : '?'; $gpl['combineproprietary'] = !$combineproprietary ? 'N' : 'Y'; $gpl['combinegpl'] = !$combinegpl ? 'Y' : 'N'; $gpl['sharesource'] = !$sharesource ? 'Y' : 'N'; $gpl['patents'] = !$patents ? 'Y' : 'N'; $mpl['community'] = !$community ? 'Y' : 'N'; $mpl['combineproprietary'] = !$combineproprietary ? 'Y' : 'N'; $mpl['combinegpl'] = !$combinegpl ? 'N' : 'N'; $mpl['sharesource'] = !$sharesource ? 'Y' : 'N'; $mpl['patents'] = !$patents ? 'Y' : 'N'; // added after a suggestion by havoc (havoc@harrisdev.com // http://bigdog.org) $licenses = array('bsd', 'lgp', 'gpl', 'mpl'); $attributes = array('community', 'combineproprietary', 'combinegpl', 'sharesource', 'patents'); foreach ($attributes as $attribute) { if ($$attribute==2) { foreach ($licenses as $l) { ${$l}[$attribute] = '-'; } } } ?>
based on version =$zversion?> of Quick Reference For Choosing a Free Software License by Zooko (updated =$zupdated?>)
please see the the full document for notes and the latest version.
License | =$w['community']?> | | =$w['combineproprietary']?> | | | =$w['combinegpl']?> | | | | =$w['sharesource']?> | | | | | =$w['patents']?> | | | | | | | | | | | | v v v v v v --- --- --- --- --- --- permissive =$bsd['community']?> =$bsd['combineproprietary']?> =$bsd['combinegpl']?> =$bsd['sharesource']?> =$bsd['patents']?> GNU LPGPL =$lgp['community']?>2 =$lgp['combineproprietary']?>1 =$lgp['combinegpl']?> =$lgp['sharesource']?> =$lgp['patents']?> GNU GPL =$gpl['community']?>2 =$gpl['combineproprietary']?> =$gpl['combinegpl']?> =$gpl['sharesource']?> =$gpl['patents']?> Mozilla PL 1.1 =$mpl['community']?>2 =$mpl['combineproprietary']?> =$mpl['combinegpl']?>3 =$mpl['sharesource']?> =$mpl['patents']?> NB: click a license type to open a new window showing the license wording (or typical example). |
|
notes:
Please see Zooko's original chart for an explanation of the columns, discussion of various aspects of free software licenses, and pointers to related resources. |
pgl@instinct.org | source | older version | other stuff | an alternative guide