diff --git a/Library/Homebrew/cask/doc/cask_language_reference/all_stanzas.md b/Library/Homebrew/cask/doc/cask_language_reference/all_stanzas.md index 63930b8bfbc996a0e0e47a768fe31fafd988f29c..b25f864e603a80b584cd16516c677aeb4f3ac3d6 100644 --- a/Library/Homebrew/cask/doc/cask_language_reference/all_stanzas.md +++ b/Library/Homebrew/cask/doc/cask_language_reference/all_stanzas.md @@ -11,7 +11,6 @@ Each of the following stanzas is required for every Cask. | `url` | no | URL to the `.dmg`/`.zip`/`.tgz`/`.tbz2` file that contains the application.<br />A [comment](stanzas/url.md#when-url-and-homepage-hostnames-differ-add-a-comment) should be added if the hostnames in the `url` and `homepage` stanzas differ. Block syntax should be used for URLs that change on every visit.<br />See [URL Stanza Details](stanzas/url.md) for more information. | `name` | yes | a string providing the full and proper name defined by the vendor (see also [Name Stanza Details](stanzas/name.md)) | `homepage` | no | application homepage; used for the `brew cask home` command -| `license` | no | a symbol identifying the license category for the application (see also [License Stanza Details](stanzas/license.md)) ## At Least One Artifact Stanza Is Also Required diff --git a/Library/Homebrew/cask/doc/cask_language_reference/readme.md b/Library/Homebrew/cask/doc/cask_language_reference/readme.md index 1fcff7853706651ad1e9e8c0df5c483e06178b75..e83539cd4ce0d7d853461a63b424273ed624be1c 100644 --- a/Library/Homebrew/cask/doc/cask_language_reference/readme.md +++ b/Library/Homebrew/cask/doc/cask_language_reference/readme.md @@ -12,7 +12,6 @@ cask 'alfred' do url "https://cachefly.alfredapp.com/Alfred_#{version}.zip" name 'Alfred' homepage 'https://www.alfredapp.com/' - license :freemium app 'Alfred 2.app' app 'Alfred 2.app/Contents/Preferences/Alfred Preferences.app' @@ -88,7 +87,6 @@ cask 'myapp' do name 'MyApp' version '1.0' sha256 'a32565cdb1673f4071593d4cc9e1c26bc884218b62fef8abc450daa47ba8fa92' - license :unknown url "https://#{Utils.arbitrary_method}" homepage 'https://www.example.com/' @@ -129,7 +127,6 @@ appcast, checkpoint: # shown here as it is required with `appcast` name homepage -license gpg, key_id: # on same line, since first part is typically small auto_updates diff --git a/Library/Homebrew/cask/doc/cask_language_reference/stanzas/license.md b/Library/Homebrew/cask/doc/cask_language_reference/stanzas/license.md deleted file mode 100644 index 9739c3bdcede8d680acab9c207d5ec1a4080f8e7..0000000000000000000000000000000000000000 --- a/Library/Homebrew/cask/doc/cask_language_reference/stanzas/license.md +++ /dev/null @@ -1,47 +0,0 @@ -# license - -The `license` stanza is not free-form. A single value must be chosen from a list of valid symbols. - -The values for `license` are categories, rather than fully-specified licenses. For example, `:gpl` is a category; we do not distinguish between versions of the GPL. Similarly, `:cc` and `:bsd` comprise many variants. They must always pertain to the license of the software itself, not the vendor鈥檚 business model (a free app to access a paid service is still `:gratis`, not `:freemium`). - -The `license` stanza is intended as an aid to search/filtering of Casks. For full and complete information, the user must always rely on the vendor鈥檚 homepage. - -Note that `brew cask search` and `brew cask list` are not yet capable of using the information stored in the `license` stanza. - -## Generic Category Licenses - -Cask authors should use the most specific license category which is also correct. Generic categories are provided for difficult cases. `:unknown` is also perfectly fine if you are unsure. - -Example: [Chromium](https://www.chromium.org/chromium-os/licenses) includes code with multiple licenses, all of which are open source. Chromium licensing is described by the generic category [`:oss`](https://github.com/caskroom/homebrew-cask/blob/54a79f7dcceea9a922a5b608ac99466b9d10a191/Casks/chromium.rb#L7). - -| symbol | meaning | -| ----------- | ----------- | -| `:oss` | open-source software -| `:closed` | closed-source software -| `:unknown` | license unknown -| `:other` | license is known, but fits no category - -## Valid Licenses - -| symbol | generic category | meaning | URL | -| ---------------- | ---------------- | ------------------------------------------------------------------ | ----------- | -| `:gratis` | `:closed` | free-to-use, closed source | <none> -| `:commercial` | `:closed` | not free to use | <none> -| `:freemium` | `:closed` | free-to-use, payment required for full or additional functionality | <https://en.wikipedia.org/wiki/Freemium> -| `:affero` | `:oss` | Affero General Public License | <https://gnu.org/licenses/agpl.html> -| `:apache` | `:oss` | Apache Public License | <https://www.apache.org/licenses/> -| `:arphic` | `:oss` | Arphic Public License | <http://www.arphic.com/tw/download/public_license.rar> -| `:artistic` | `:oss` | Artistic License | <https://dev.perl.org/licenses/artistic.html> -| `:bsd` | `:oss` | BSD License | <http://www.linfo.org/bsdlicense.html> -| `:cc` | `:oss` | Creative Commons License | <https://creativecommons.org/licenses/> -| `:eclipse` | `:oss` | Eclipse Public License | <https://www.eclipse.org/legal/eplfaq.php> -| `:gpl` | `:oss` | GNU Public License | <https://www.gnu.org/copyleft/gpl.html> -| `:isc` | `:oss` | Internet Systems Consortium License | <https://www.isc.org/downloads/software-support-policy/isc-license/> -| `:lppl` | `:oss` | LaTeX Project Public License | <https://latex-project.org/lppl/> -| `:ncsa` | `:oss` | University of Illinois/NCSA Open Source License | <http://otm.illinois.edu/uiuc_openSource> -| `:mit` | `:oss` | MIT License | <https://opensource.org/licenses/MIT> -| `:mpl` | `:oss` | Mozilla Public License | <https://www.mozilla.org/MPL/> -| `:ofl` | `:oss` | SIL Open Font License | <https://scripts.sil.org/OFL> -| `:public_domain` | `:oss` | not copyrighted | <https://creativecommons.org/publicdomain/zero/1.0/legalcode> -| `:ubuntu_font` | `:oss` | Ubuntu Font License | <http://font.ubuntu.com/licence/> -| `:x11` | `:oss` | X Consortium License | <http://www.xfree86.org/3.3.6/COPYRIGHT2.html> diff --git a/Library/Homebrew/cask/doc/development/adding_a_cask.md b/Library/Homebrew/cask/doc/development/adding_a_cask.md index d69966a2a34eab7a77cb818c2853d90fbf61551c..f4e29415ab819c0e106b97d729354d640528d196 100644 --- a/Library/Homebrew/cask/doc/development/adding_a_cask.md +++ b/Library/Homebrew/cask/doc/development/adding_a_cask.md @@ -17,7 +17,6 @@ cask 'shuttle' do checkpoint: 'c3dea2ed479b3ebba7c56ace6040901795f6dc6be92f9ffc30cc808d31723f17' name 'Shuttle' homepage 'https://fitztrev.github.io/shuttle/' - license :mit app 'Shuttle.app' @@ -36,7 +35,6 @@ cask 'airstream' do url 'https://s3-us-west-2.amazonaws.com/airstream-clients/mac/airstream-mac.dmg' name 'AirStream' homepage 'http://airstream.io/download/' - license :gratis app 'AirStream.app' @@ -58,7 +56,6 @@ cask 'airdisplay' do checkpoint: '938bdb9fbee793dce92818366cb2c19ba84c5b0cd6853fd893897d4a40689bc2' name 'Air Display' homepage 'https://avatron.com/apps/air-display/' - license :commercial pkg 'Air Display Installer.pkg' @@ -102,7 +99,6 @@ cask 'my-new-cask' do url '' name '' homepage '' - license :unknown # TODO: change license and remove this comment; ':unknown' is a machine-generated placeholder app '' end @@ -119,7 +115,6 @@ Fill in the following stanzas for your Cask: | `url` | URL to the `.dmg`/`.zip`/`.tgz`/`.tbz2` file that contains the application.<br />A [comment](../cask_language_reference/stanzas/url.md#when-url-and-homepage-hostnames-differ-add-a-comment) should be added if the hostnames in the `url` and `homepage` stanzas differ. Block syntax should be used for URLs that change on every visit.<br />See [URL Stanza Details](../cask_language_reference/stanzas/url.md) for more information. | `name` | the full and proper name defined by the vendor, and any useful alternate names (see [Name Stanza Details](../cask_language_reference/stanzas/name.md)) | `homepage` | application homepage; used for the `brew cask home` command -| `license` | a symbol identifying the license for the application. Valid category licenses include `:oss`, `:closed`, and `:unknown`. It is OK to leave as `:unknown`. (see [License Stanza Details](../cask_language_reference/stanzas/license.md)) | `app` | relative path to an `.app` bundle that should be moved into the `/Applications` folder on installation (see [App Stanza Details](../cask_language_reference/stanzas/app.md)) Other commonly-used stanzas are: diff --git a/Library/Homebrew/cask/lib/hbc/cli/create.rb b/Library/Homebrew/cask/lib/hbc/cli/create.rb index 14860942f74ac4b930bbe2828a16a50d6eeb707b..84537cdc13d84c90ce9653edf34a2d3de7a73124 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/create.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/create.rb @@ -26,7 +26,6 @@ module Hbc url 'https://' name '' homepage '' - license :unknown # TODO: change license and remove this comment; ':unknown' is a machine-generated placeholder app '' end