VirtualBox

Changeset 69280 in vbox for trunk/src/bldprogs


Ignore:
Timestamp:
Oct 25, 2017 10:59:32 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
118601
Message:

scm: Added --license-ose-cddl

Location:
trunk/src/bldprogs
Files:
3 edited

Legend:

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

    r69276 r69280  
    8484    SCMOPT_LICENSE_OSE_GPL,
    8585    SCMOPT_LICENSE_OSE_DUAL_GPL_CDDL,
     86    SCMOPT_LICENSE_OSE_CDDL,
    8687    SCMOPT_LICENSE_LGPL,
    8788    SCMOPT_LICENSE_MIT,
     
    204205    { "--license-ose-gpl",                  SCMOPT_LICENSE_OSE_GPL,                 RTGETOPT_REQ_NOTHING },
    205206    { "--license-ose-dual",                 SCMOPT_LICENSE_OSE_DUAL_GPL_CDDL,       RTGETOPT_REQ_NOTHING },
     207    { "--license-ose-cddl",                 SCMOPT_LICENSE_OSE_CDDL,                RTGETOPT_REQ_NOTHING },
    206208    { "--license-lgpl",                     SCMOPT_LICENSE_LGPL,                    RTGETOPT_REQ_NOTHING },
    207209    { "--license-mit",                      SCMOPT_LICENSE_MIT,                     RTGETOPT_REQ_NOTHING },
     
    622624        case SCMOPT_LICENSE_OSE_DUAL_GPL_CDDL:
    623625            pSettings->enmUpdateLicense = kScmLicense_OseDualGplCddl;
     626            return VINF_SUCCESS;
     627        case SCMOPT_LICENSE_OSE_CDDL:
     628            pSettings->enmUpdateLicense = kScmLicense_OseCddl;
    624629            return VINF_SUCCESS;
    625630        case SCMOPT_LICENSE_LGPL:
     
    19181923                         "  %s,\n"
    19191924                         "  %s,\n"
     1925                         "  %s,\n"
    19201926                         "  %s\n",
    19211927                         paOpts[i].pszLong,
     
    19231929                         paOpts[i + 2].pszLong,
    19241930                         paOpts[i + 3].pszLong,
    1925                          paOpts[i + 4].pszLong);
    1926                 cExtraAdvance = 4;
     1931                         paOpts[i + 4].pszLong,
     1932                         paOpts[i + 5].pszLong);
     1933                cExtraAdvance = 5;
    19271934            }
    19281935        }
  • trunk/src/bldprogs/scm.h

    r69261 r69280  
    238238    kScmLicense_OseGpl,             /**< VBox OSE GPL if public. */
    239239    kScmLicense_OseDualGplCddl,     /**< VBox OSE dual GPL & CDDL if public. */
     240    kScmLicense_OseCddl,            /**< VBox OSE CDDL if public. */
    240241    kScmLicense_Lgpl,               /**< LGPL if public. */
    241242    kScmLicense_Mit,                /**< MIT if public. */
  • trunk/src/bldprogs/scmrw.cpp

    r69274 r69280  
    4848    kScmLicenseType_OseGpl,
    4949    kScmLicenseType_OseDualGplCddl,
     50    kScmLicenseType_OseCddl,
    5051    kScmLicenseType_VBoxLgpl,
    5152    kScmLicenseType_Mit,
     
    145146    "You may elect to license modified versions of this file under the\n"
    146147    "terms and conditions of either the GPL or the CDDL or both.\n";
     148
     149/** --license-ose-cddl   */
     150static const char g_szVBoxOseCddl[] =
     151    "This file is part of VirtualBox Open Source Edition (OSE), as\n"
     152    "available from http://www.virtualbox.org. This file is free software;\n"
     153    "you can redistribute it and/or modify it under the terms of the Common\n"
     154    "Development and Distribution License Version 1.0 (CDDL) only, as it\n"
     155    "comes in the \"COPYING.CDDL\" file of the VirtualBox OSE distribution.\n"
     156    "VirtualBox OSE is distributed in the hope that it will be useful, but\n"
     157    "WITHOUT ANY WARRANTY of any kind.\n";
    147158
    148159/** --license-lgpl */
     
    268279    { kScmLicenseType_OseGpl,           kScmLicense_OseGpl,         RT_STR_TUPLE(g_szVBoxOseGpl)},
    269280    { kScmLicenseType_OseDualGplCddl,   kScmLicense_OseDualGplCddl, RT_STR_TUPLE(g_szVBoxOseDualGplCddl) },
     281    { kScmLicenseType_OseCddl,          kScmLicense_OseCddl,        RT_STR_TUPLE(g_szVBoxOseCddl) },
    270282    { kScmLicenseType_VBoxLgpl,         kScmLicense_Lgpl,           RT_STR_TUPLE(g_szVBoxLgpl)},
    271283    { kScmLicenseType_Confidential,     kScmLicense_End,            RT_STR_TUPLE(g_szOracleConfidential) },
Note: See TracChangeset for help on using the changeset viewer.

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