VirtualBox

Changeset 96399 in vbox for trunk/src/VBox/Installer/solaris


Ignore:
Timestamp:
Aug 22, 2022 2:47:39 PM (2 years ago)
Author:
vboxsync
Message:

/Config.kmk and many other places: Change VBOX_VENDOR to the official copyright holder text, needs follow-up changes and equivalent adjustments elsewhere.

Location:
trunk/src/VBox/Installer/solaris
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/solaris/Makefile.kmk

    r95622 r96399  
    647647
    648648# Files related to package creation.
    649         $(SED) -e "s/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g" \
    650                 -e "s/@VBOX_VENDOR@/$(VBOX_VENDOR)/g" \
    651                 -e "s/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g" \
    652                 -e "s/@VBOX_VERSION_REVSTAMP@/$(PKGINFO_REVSTAMP)/g" \
    653                 -e "s/@UNAME_P@/$(PKGINFO_ARCH)/g" \
    654                 -e "s/@VBOX_PSTAMP@/$(PKGINFO_PSTAMP)/g" \
     649        $(SED) -e "s+@VBOX_PRODUCT@+$(VBOX_PRODUCT)+g" \
     650                -e "s+@VBOX_VENDOR@+$(VBOX_VENDOR)+g" \
     651                -e "s+@VBOX_VERSION_STRING@+$(VBOX_VERSION_STRING)+g" \
     652                -e "s+@VBOX_VERSION_REVSTAMP@+$(PKGINFO_REVSTAMP)+g" \
     653                -e "s+@UNAME_P@+$(PKGINFO_ARCH)+g" \
     654                -e "s+@VBOX_PSTAMP@+$(PKGINFO_PSTAMP)+g" \
    655655                --output $(VBOX_PATH_SI_SCRATCH_PKG)/vbox.pkginfo \
    656656                $(VBOX_PATH_SOL_INST_SRC)/vbox.pkginfo
    657         $(SED) -e "s/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g" \
    658                 -e "s/@VBOX_VENDOR@/$(VBOX_VENDOR)/g" \
    659                 -e "s/@VBOX_VERSION_STRING@/$(VBOX_VERSION_SMF_STYLE)/g" \
    660                 -e "s/@VBOX_SVN_REV@/$(VBOX_SVN_REV)/g" \
    661                 -e "s/@UNAME_P@/$(PKGINFO_ARCH)/g" \
     657        $(SED) -e "s+@VBOX_PRODUCT@+$(VBOX_PRODUCT)+g" \
     658                -e "s+@VBOX_VENDOR@+$(VBOX_VENDOR)+g" \
     659                -e "s+@VBOX_VERSION_STRING@+$(VBOX_VERSION_SMF_STYLE)+g" \
     660                -e "s+@VBOX_SVN_REV@+$(VBOX_SVN_REV)+g" \
     661                -e "s+@UNAME_P@+$(PKGINFO_ARCH)+g" \
    662662                --output $(VBOX_PATH_SI_SCRATCH_PKG)/vbox-ips.mog \
    663663                $(VBOX_PATH_SOL_INST_SRC)/vbox-ips.mog
     
    695695        $(QUIET)$(RM) -f -- $(VBOX_PATH_SI_SCRATCH)/ReadMe.txt "$@"
    696696        $(QUIET)$(SED) \
    697                 -e "s/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g" \
    698                 -e "s/@VBOX_VENDOR@/$(VBOX_VENDOR)/g" \
    699                 -e "s/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g" \
    700                 -e "s/@KBUILD_TARGET_ARCH@/$(KBUILD_TARGET_ARCH)/g" \
    701                 -e "s/@VBOX_SVN_REV@/$(VBOX_SVN_REV)/g" \
     697                -e "s+@VBOX_PRODUCT@+$(VBOX_PRODUCT)+g" \
     698                -e "s+@VBOX_VENDOR@+$(VBOX_VENDOR)+g" \
     699                -e "s+@VBOX_VERSION_STRING@+$(VBOX_VERSION_STRING)+g" \
     700                -e "s+@KBUILD_TARGET_ARCH@+$(KBUILD_TARGET_ARCH)+g" \
     701                -e "s+@VBOX_SVN_REV@+$(VBOX_SVN_REV)+g" \
    702702                --output $(VBOX_PATH_SI_SCRATCH)/ReadMe.txt \
    703703                $(PATH_ROOT)/doc/ReadMe-Solaris.txt
  • trunk/src/VBox/Installer/solaris/checkinstall.sh

    r93115 r96399  
    3434}
    3535
    36 checkdep_svr4()
    37 {
    38     if test -z "$1"; then
    39         errorprint "Missing argument to checkdep_svr4"
    40         return 1
    41     fi
    42     $BIN_PKGINFO $BASEDIR_OPT "$1" >/dev/null 2>&1
    43     if test "$?" -eq 0; then
    44         return 0
    45     fi
    46     PKG_MISSING_SVR4="$PKG_MISSING_SVR4 $1"
    47     return 1
    48 }
    49 
    5036checkdep_ips()
    5137{
     
    150136
    151137PKG_MISSING_IPS=""
    152 PKG_MISSING_SVR4=""
    153 BIN_PKGINFO=/usr/bin/pkginfo
    154138BIN_PKG=/usr/bin/pkg
    155139BIN_SVCS=/usr/bin/svcs
     
    162146
    163147if test -x "$BIN_PKG"; then
    164     checkdep_ips_either "runtime/python-26" "runtime/python-27"
    165     checkdep_ips_either "system/library/iconv/utf-8" "system/library/iconv/iconv-core"
    166     checkdep_ips_either "system/library/gcc/gcc-c++-runtime" "system/library/gcc-45-runtime"
    167     checkdep_ips_either "system/library/gcc/gcc-c-runtime" "system/library/gcc-45-runtime"
     148    checkdep_ips "system/library/iconv/iconv-core"
     149    checkdep_ips "x11/library/libice"
     150    checkdep_ips "x11/library/libsm"
     151    checkdep_ips "x11/library/libx11"
     152    checkdep_ips "x11/library/libxcb"
     153    checkdep_ips "x11/library/libxext"
     154    checkdep_ips "x11/library/libxfixes"
     155    checkdep_ips "x11/library/libxkbcommon"
     156    checkdep_ips "x11/library/libxrender"
     157    checkdep_ips "x11/library/mesa"
     158    checkdep_ips "x11/library/toolkit/libxt"
     159    checkdep_ips "x11/library/xcb-util"
     160    checkdep_ips_either "runtime/python-26" "runtime/python-27" "runtime/python-35" "runtime/python-36" "runtime/python-37" "runtime/python-38" "runtime/python-39"
     161    checkdep_ips_either "system/library/gcc/gcc-c++-runtime" "system/library/gcc/gcc-c++-runtime-9"
     162    checkdep_ips_either "system/library/gcc/gcc-c-runtime" "system/library/gcc/gcc-c-runtime-9"
    168163else
    169     PKG_MISSING_IPS="runtime/python-26 system/library/iconv/utf-8 system/library/gcc/gcc-c++-runtime system/library/gcc/gcc-c-runtime"
    170 fi
    171 if test -x "$BIN_PKGINFO"; then
    172     checkdep_svr4 "SUNWPython"
    173     checkdep_svr4 "SUNWPython-devel"
    174     checkdep_svr4 "SUNWuiu8"
    175 else
    176     PKG_MISSING_SVR4="SUNWPython SUNWPython-devel SUNWuiu8"
    177 fi
    178 
    179 if test "x$PKG_MISSING_IPS" != "x" && test "x$PKG_MISSING_SVR4" != "x"; then
    180     if test ! -x "$BIN_PKG" && test ! -x "$BIN_PKGINFO"; then
    181         errorprint "Missing or non-executable binaries: pkg ($BIN_PKG) and pkginfo ($BIN_PKGINFO)."
     164    PKG_MISSING_IPS="runtime/python-37 system/library/iconv/iconv-core system/library/gcc/gcc-c++-runtime-9 system/library/gcc/gcc-c-runtime-9"
     165fi
     166
     167if test "x$PKG_MISSING_IPS" != "x"; then
     168    if test ! -x "$BIN_PKG"; then
     169        errorprint "Missing or non-executable binary: pkg ($BIN_PKG)."
    182170        errorprint "Cannot check for dependencies."
    183171        errorprint ""
     
    185173        exit 1
    186174    fi
    187     errorprint "Missing packages: "
    188     errorprint "IPS : $PKG_MISSING_IPS"
    189     errorprint "SVr4: $PKG_MISSING_SVR4"
     175    errorprint "Missing packages: $PKG_MISSING_IPS"
    190176    errorprint ""
    191     errorprint "Please install either the IPS or SVr4 packages before installing VirtualBox."
     177    errorprint "Please install these packages before installing VirtualBox."
    192178    exit 1
    193179else
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