VirtualBox

Changeset 69274 in vbox for trunk/src/bldprogs/scmrw.cpp


Ignore:
Timestamp:
Oct 25, 2017 10:33:13 AM (7 years ago)
Author:
vboxsync
Message:

scm: switched back to the first MIT license wording. Sample code is using it so we should use it everywhere.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bldprogs/scmrw.cpp

    r69264 r69274  
    165165
    166166/** --license-mit
    167  * @note This isn't detectable as VirtualBox or Oracle specific.  */
     167 * @note This isn't detectable as VirtualBox or Oracle specific.
     168 */
    168169static const char g_szMit[] =
    169     "Permission is hereby granted, free of charge, to any person obtaining a\n"
    170     "copy of this software and associated documentation files (the \"Software\"),\n"
    171     "to deal in the Software without restriction, including without limitation\n"
    172     "the rights to use, copy, modify, merge, publish, distribute, sublicense,\n"
    173     "and/or sell copies of the Software, and to permit persons to whom the\n"
    174     "Software is furnished to do so, subject to the following conditions:\n"
    175     "\n"
    176     "The above copyright notice and this permission notice shall be included in\n"
    177     "all copies or substantial portions of the Software.\n"
    178     "\n"
    179     "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n"
    180     "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n"
    181     "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL\n"
    182     "THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR\n"
    183     "OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n"
    184     "ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n"
    185     "OTHER DEALINGS IN THE SOFTWARE.\n";
    186 
    187 /** --license-mit, alternative wording.
    188  * @note This isn't detectable as VirtualBox or Oracle specific.
    189  * @note This differes from g_szMit in "COPYRIGHT HOLDER(S) OR AUTHOR(S)" is
    190  *       written "AUTHORS OR COPYRIGHT HOLDERS".  Its layout is narrower, so
    191  *       it is a couple of lines longer. */
    192 static const char g_szMitAltB[] =
    193170    "Permission is hereby granted, free of charge, to any person\n"
    194171    "obtaining a copy of this software and associated documentation\n"
     
    212189    "OTHER DEALINGS IN THE SOFTWARE.\n";
    213190
    214 /** --license-mit, alternative wording.
    215  * @note This isn't detectable as VirtualBox or Oracle specific.
    216  * @note This differes from g_szMit in that "COPYRIGHT HOLDER(S) OR AUTHOR(S)"
    217  *       is replaced with "THE COPYRIGHT HOLDERS, AUTHORS AND/OR ITS
    218  *       SUPPLIERS". */
    219 static const char g_szMitAltC[] =
     191/** --license-mit, alternative wording \#1.
     192 * @note This differes from g_szMit in "AUTHORS OR COPYRIGHT HOLDERS" is written
     193 *       "COPYRIGHT HOLDER(S) OR AUTHOR(S)". Its layout is wider, so it is a
     194 *       couple of lines shorter. */
     195static const char g_szMitAlt1[] =
     196    "Permission is hereby granted, free of charge, to any person obtaining a\n"
     197    "copy of this software and associated documentation files (the \"Software\"),\n"
     198    "to deal in the Software without restriction, including without limitation\n"
     199    "the rights to use, copy, modify, merge, publish, distribute, sublicense,\n"
     200    "and/or sell copies of the Software, and to permit persons to whom the\n"
     201    "Software is furnished to do so, subject to the following conditions:\n"
     202    "\n"
     203    "The above copyright notice and this permission notice shall be included in\n"
     204    "all copies or substantial portions of the Software.\n"
     205    "\n"
     206    "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n"
     207    "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n"
     208    "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL\n"
     209    "THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR\n"
     210    "OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n"
     211    "ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n"
     212    "OTHER DEALINGS IN THE SOFTWARE.\n";
     213
     214/** --license-mit, alternative wording \#2.
     215 * @note This differes from g_szMit in that "AUTHORS OR COPYRIGHT HOLDERS" is
     216 *       replaced with "THE COPYRIGHT HOLDERS, AUTHORS AND/OR ITS SUPPLIERS".
     217 *       Its layout is wider, so it is a couple of lines shorter. */
     218static const char g_szMitAlt2[] =
    220219    "Permission is hereby granted, free of charge, to any person obtaining a\n"
    221220    "copy of this software and associated documentation files (the \"Software\"),\n"
     
    236235    "USE OR OTHER DEALINGS IN THE SOFTWARE.\n";
    237236
    238 /** --license-mit, alternative wording.
    239  * @note This isn't detectable as VirtualBox or Oracle specific.
    240  * @note This differes from g_szMitAltC in that the second and third sections
     237/** --license-mit, alternative wording \#3.
     238 * @note This differes from g_szMitAlt2 in that the second and third sections
    241239 *       have been switch. */
    242 static const char g_szMitAltD[] =
     240static const char g_szMitAlt3[] =
    243241    "Permission is hereby granted, free of charge, to any person obtaining a\n"
    244242    "copy of this software and associated documentation files (the \"Software\"),\n"
     
    279277{
    280278    { kScmLicenseType_Mit,              kScmLicense_Mit,            RT_STR_TUPLE(g_szMit) },
    281     { kScmLicenseType_Mit,              kScmLicense_Mit,            RT_STR_TUPLE(g_szMitAltB) },
    282     { kScmLicenseType_Mit,              kScmLicense_Mit,            RT_STR_TUPLE(g_szMitAltC) },
    283     { kScmLicenseType_Mit,              kScmLicense_Mit,            RT_STR_TUPLE(g_szMitAltD) },
     279    { kScmLicenseType_Mit,              kScmLicense_Mit,            RT_STR_TUPLE(g_szMitAlt1) },
     280    { kScmLicenseType_Mit,              kScmLicense_Mit,            RT_STR_TUPLE(g_szMitAlt2) },
     281    { kScmLicenseType_Mit,              kScmLicense_Mit,            RT_STR_TUPLE(g_szMitAlt3) },
    284282    { kScmLicenseType_OseGpl,           kScmLicense_OseGpl,         RT_STR_TUPLE(g_szVBoxOseGpl)},
    285283    { kScmLicenseType_OseDualGplCddl,   kScmLicense_OseDualGplCddl, RT_STR_TUPLE(g_szVBoxOseDualGplCddl) },
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette