| 434 | |
| 435 | == Specifying a license == #license |
| 436 | |
| 437 | The list of possible licenses is quite exhaustive and somewhat of a moving target; see the [/browser/trunk/base/portmgr/jobs/port_binary_distributable.tcl source file] for the most up-to-date list. Briefly, the expected format `A {B C}` means the license is A plus either B or C. |
| 438 | |
| 439 | Notes: |
| 440 | * 'Restrictive/Distributable' means a non-free license that nonetheless allows distributing binaries. |
| 441 | * 'Restrictive' means a non-free license that does not allow distributing binaries, and is thus not in the list. |
| 442 | * 'Permissive' is a catchall for other licenses that allow modification and distribution of source and binaries. |
| 443 | * 'Copyleft' means a license that requires source code to be made available, and derivative works to be licensed the same as the original. |
| 444 | * 'GPLConflict' should be added if the license conflicts with the GPL (and its variants like CeCILL and the AGPL) and is not in the list of licenses known to do so below. |
| 445 | * 'Noncommercial' means a license that prohibits commercial use. |
| 446 | |
| 447 | A *public domain* code would, therefore, use the `Permissive` license: |
| 448 | |
| 449 | {{{ |
| 450 | license Permissive |
| 451 | }}} |