tis-virtualbox

6.1.32-21
Oracle VM VirtualBox (formerly VirtualBox) is a free virtualization software published by Oracle.
94090 downloads
Download
View on luti logo
tis-virtualbox icon

  Description 

  • package : tis-virtualbox
  • version : 6.1.32-21
  • architecture : all
  • categories : System and network
  • maintainer : WAPT Team,Jimmy PELÉ,Simon Fonteneau
  • description : Oracle VM VirtualBox (formerly VirtualBox) is a free virtualization software published by Oracle.
  • locale : all
  • target_os : centos7
  • min_wapt_version : 2.1
  • sources : https://www.virtualbox.org/wiki/Downloads
  • installed_size : 506540032
  • impacted_process : VirtualBox,VBoxWebSrv,VBoxSVC,VBoxAutostartSvc,VBoxBalloonCtrl,VBoxBugReport,VBoxDTrace,VBoxManage,VBoxSDS,VBoxExtPackHelperApp,VBoxTestOGL,VBoxNetDHCP,VBoxNetNAT,VirtualBoxVM,VBoxHeadless,VBoxSDL,vbox-img
  • description_fr : Oracle VM VirtualBox (anciennement VirtualBox) est un logiciel libre de virtualisation publié par Oracle.
  • description_pl : Oracle VM VirtualBox (dawniej VirtualBox) to darmowe oprogramowanie do wirtualizacji opublikowane przez Oracle.
  • description_de : Oracle VM VirtualBox (ehemals VirtualBox) ist eine von Oracle veröffentlichte kostenlose Virtualisierungssoftware.
  • description_es : Oracle VM VirtualBox (antes VirtualBox) es un software de virtualización libre publicado por Oracle.
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : Oracle Corporation
  • licence : GPLv2
  • signature_date : 2022-01-31T21:16:01.798290
  • Homepage : https://www.virtualbox.org/

  Setup.py 

# -*- coding: utf-8 -*-
from setuphelpers import *

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
# bin_ext_name_string = 'Oracle_VM_VirtualBox_Extension_Pack-%s.vbox-extpack'
# bin_ext_name_joker = '*.vbox-extpack'


def install():
    bin_name = glob.glob("*.rpm")[0]

    # Installing the package
    print("Installing: %s" % bin_name)
    install_rpm(bin_name)


#    #Installing the VirtualBox Extension Pack
#    for ext in glob.glob(bin_ext_name_joker):
#        print('Installing: %s' % ext)
#        try:
#            run('echo y | VBoxManage extpack install --replace "%s"' % ext)
#        except:
#            run('VBoxManage extpack cleanup ')
#            run('echo y | VBoxManage extpack install --replace "%s"' % ext)


def uninstall():
    for s in installed_softwares("virtualbox"):
        print("uninstall %s" % s["name"])
        uninstall_yum(s["name"])


def update_package():
    # Getting proxy informations from WAPT settings
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()

    distri = "el" + control.target_os.split(",")[0].split("centos")[1].lower()

    # Specific app values
    url = "https://www.virtualbox.org/wiki/Linux_Downloads"

    # Getting latest version from official website

    for u in bs_find_all(url, "a", "class", "ext-link", proxies=proxies):
        if ".rpm" in str(u["href"]) and distri in str(u["href"]).lower():
            url_dl = u["href"]
            latest_bin = url_dl.split("/")[-1]
            version = url_dl.split("/")[-2]
    #            latest_bin_ext = bin_ext_name_string % version
    #            url_dl_ext = url_dl.replace(latest_bin,latest_bin_ext)

    print("Latest Version %s" % version)

    for f in glob.glob("*.rpm"):
        if f != latest_bin:
            remove_file(f)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: " + latest_bin)
        wget(url_dl, latest_bin, proxies=proxies)

    # Downloading extension
    #    if not isfile(latest_bin_ext):
    #        print("Downloading: %s" % latest_bin_ext)
    #        wget(url_dl_ext, latest_bin_ext, proxies=proxies)

    # Changing version of the package
    control.version = "%s-%s" % (version, control.version.split("-", 1)[-1])
    control.save_control_to_wapt()
    print("Changing package version to: %s in WAPT\\control" % control.version)

										

  Changelog 



Changelog software url : https://www.virtualbox.org/wiki/Changelog



No changelog.txt.
									
  manifest.sha256