├── .gitignore
├── INFO.sh
├── LICENSE
├── README.md
├── SynoBuildConf
├── build
├── depends
├── install
└── install-dev
├── config.sh
├── package
├── app
│ ├── config
│ └── images
│ │ ├── Virtualbox_128.png
│ │ ├── Virtualbox_16.png
│ │ ├── Virtualbox_24.png
│ │ ├── Virtualbox_256.png
│ │ ├── Virtualbox_32.png
│ │ ├── Virtualbox_48.png
│ │ ├── Virtualbox_64.png
│ │ ├── Virtualbox_72.png
│ │ └── Virtualbox_96.png
├── etc
│ ├── vbox
│ │ ├── vbox.cfg
│ │ └── vboxwolservice.ini
│ ├── virtualbox.apache22.conf
│ ├── virtualbox.conf
│ ├── virtualbox.php.ini
│ └── virtualbox.sc
├── ui
│ ├── config
│ ├── config.php.synology
│ ├── images
│ │ ├── Virtualbox_128.png
│ │ ├── Virtualbox_16.png
│ │ ├── Virtualbox_24.png
│ │ ├── Virtualbox_256.png
│ │ ├── Virtualbox_32.png
│ │ ├── Virtualbox_48.png
│ │ ├── Virtualbox_64.png
│ │ ├── Virtualbox_72.png
│ │ └── Virtualbox_96.png
│ └── phpvirtualbox
│ │ ├── .dockerignore
│ │ ├── .gitignore
│ │ ├── CHANGELOG.txt
│ │ ├── Dockerfile
│ │ ├── GPLv3.txt
│ │ ├── LICENSE.txt
│ │ ├── README.md
│ │ ├── config.php-example
│ │ ├── css
│ │ ├── jquery-ui.css
│ │ ├── jquery.projectPlugins.css
│ │ ├── layout.css
│ │ └── tipped.css
│ │ ├── docker-compose.yml
│ │ ├── endpoints
│ │ ├── api.php
│ │ ├── config.js
│ │ ├── index.html
│ │ ├── jqueryFileTree.php
│ │ ├── language.php
│ │ ├── lib
│ │ │ ├── auth
│ │ │ │ ├── ActiveDirectory.php
│ │ │ │ ├── Builtin.php
│ │ │ │ ├── LDAP.php
│ │ │ │ ├── OpenMediaVault.php
│ │ │ │ ├── WebAuth.php
│ │ │ │ └── index.html
│ │ │ ├── authinterface.php
│ │ │ ├── config.php
│ │ │ ├── index.html
│ │ │ ├── language.php
│ │ │ ├── utils.php
│ │ │ ├── vboxServiceWrappers.php
│ │ │ ├── vboxconnector.php
│ │ │ ├── vboxweb-5.0.wsdl
│ │ │ └── vboxwebService-5.0.wsdl
│ │ ├── rdp.php
│ │ └── screen.php
│ │ ├── images
│ │ ├── 30white.png
│ │ ├── 50px-Question_icon.svg.png
│ │ ├── 50px-Warning_icon.svg.png
│ │ ├── arrow_grad_dn.png
│ │ ├── arrow_grad_left.png
│ │ ├── arrow_grad_right.png
│ │ ├── arrow_grad_up.png
│ │ ├── arrow_white_dn.png
│ │ ├── arrow_white_left.png
│ │ ├── arrow_white_right.png
│ │ ├── arrow_white_up.png
│ │ ├── donate.gif
│ │ ├── downArrow.png
│ │ ├── header_grad.png
│ │ ├── jquery-ui
│ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png
│ │ │ ├── ui-bg_flat_75_ffffff_40x100.png
│ │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png
│ │ │ ├── ui-bg_glass_65_ffffff_1x400.png
│ │ │ ├── ui-bg_glass_75_dadada_1x400.png
│ │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png
│ │ │ ├── ui-bg_glass_95_fef1ec_1x400.png
│ │ │ ├── ui-bg_highlight-soft_75_cccccc_1x100.png
│ │ │ ├── ui-icons_222222_256x240.png
│ │ │ ├── ui-icons_2e83ff_256x240.png
│ │ │ ├── ui-icons_454545_256x240.png
│ │ │ ├── ui-icons_888888_256x240.png
│ │ │ └── ui-icons_cd0a0a_256x240.png
│ │ ├── jqueryFileTree
│ │ │ ├── directory.png
│ │ │ ├── file.png
│ │ │ ├── folder_open.png
│ │ │ └── spinner.gif
│ │ ├── monitor_bl.png
│ │ ├── monitor_bottom.png
│ │ ├── monitor_br.png
│ │ ├── monitor_glossy.png
│ │ ├── monitor_left.png
│ │ ├── monitor_right.png
│ │ ├── monitor_tl.png
│ │ ├── monitor_top.png
│ │ ├── monitor_tr.png
│ │ ├── rightArrow.png
│ │ ├── spinner.gif
│ │ ├── treeview-default-line.gif
│ │ ├── treeview-default.gif
│ │ ├── upArrow.png
│ │ ├── vbox
│ │ │ ├── OSE
│ │ │ │ ├── VirtualBox.icns
│ │ │ │ ├── VirtualBox_16px.png
│ │ │ │ ├── VirtualBox_20px.png
│ │ │ │ ├── VirtualBox_32px.png
│ │ │ │ ├── VirtualBox_40px.png
│ │ │ │ ├── VirtualBox_48px.png
│ │ │ │ ├── VirtualBox_64px.png
│ │ │ │ ├── VirtualBox_cube_42px.png
│ │ │ │ ├── VirtualBox_win.ico
│ │ │ │ ├── about.png
│ │ │ │ └── about_16px.png
│ │ │ ├── acpi_16px.png
│ │ │ ├── acpi_disabled_16px.png
│ │ │ ├── add_host_iface_16px.png
│ │ │ ├── add_host_iface_disabled_16px.png
│ │ │ ├── arrow_down_10px.png
│ │ │ ├── arrow_left_10px.png
│ │ │ ├── arrow_right_10px.png
│ │ │ ├── arrow_up_10px.png
│ │ │ ├── attachment_16px.png
│ │ │ ├── attachment_add_16px.png
│ │ │ ├── attachment_add_disabled_16px.png
│ │ │ ├── attachment_disabled_16px.png
│ │ │ ├── attachment_remove_16px.png
│ │ │ ├── attachment_remove_disabled_16px.png
│ │ │ ├── bgnd_sel_2.jpg
│ │ │ ├── blank.gif
│ │ │ ├── cd_16px.png
│ │ │ ├── cd_32px.png
│ │ │ ├── cd_add_16px.png
│ │ │ ├── cd_add_disabled_16px.png
│ │ │ ├── cd_disabled_16px.png
│ │ │ ├── cd_disabled_32px.png
│ │ │ ├── cd_unmount_16px.png
│ │ │ ├── cd_unmount_dis_16px.png
│ │ │ ├── cd_unmount_disabled_16px.png
│ │ │ ├── chipset_16px.png
│ │ │ ├── chipset_disabled_16px.png
│ │ │ ├── close_16px.png
│ │ │ ├── controller_add_16px.png
│ │ │ ├── controller_add_disabled_16px.png
│ │ │ ├── controller_remove_16px.png
│ │ │ ├── controller_remove_disabled_16px.png
│ │ │ ├── cpu_16px.png
│ │ │ ├── description_16px.png
│ │ │ ├── description_disabled_16px.png
│ │ │ ├── description_edit_16px.png
│ │ │ ├── description_edit_disabled_16px.png
│ │ │ ├── discard_cur_state_16px.png
│ │ │ ├── discard_cur_state_22px.png
│ │ │ ├── discard_cur_state_dis_16px.png
│ │ │ ├── discard_cur_state_dis_22px.png
│ │ │ ├── discard_cur_state_snapshot_16px.png
│ │ │ ├── discard_cur_state_snapshot_22px.png
│ │ │ ├── discard_cur_state_snapshot_dis_16px.png
│ │ │ ├── discard_cur_state_snapshot_dis_22px.png
│ │ │ ├── diskimage_16px.png
│ │ │ ├── exit_16px.png
│ │ │ ├── expanding_collapsing_16px.png
│ │ │ ├── export_16px.png
│ │ │ ├── fd_16px.png
│ │ │ ├── fd_32px.png
│ │ │ ├── fd_add_16px.png
│ │ │ ├── fd_add_disabled_16px.png
│ │ │ ├── fd_disabled_16px.png
│ │ │ ├── fd_disabled_32px.png
│ │ │ ├── fd_unmount_16px.png
│ │ │ ├── fd_unmount_dis_16px.png
│ │ │ ├── floppy_16px.png
│ │ │ ├── floppy_add_16px.png
│ │ │ ├── floppy_add_disabled_16px.png
│ │ │ ├── floppy_collapse_16px.png
│ │ │ ├── floppy_expand_16px.png
│ │ │ ├── fullscreen_16px.png
│ │ │ ├── global_settings_16px.png
│ │ │ ├── global_settings_disabled_16px.png
│ │ │ ├── group_abstract_16px.png
│ │ │ ├── guesttools_16px.png
│ │ │ ├── guesttools_disabled_16px.png
│ │ │ ├── hd_16px.png
│ │ │ ├── hd_32px.png
│ │ │ ├── hd_add_16px.png
│ │ │ ├── hd_add_22px.png
│ │ │ ├── hd_add_disabled_16px.png
│ │ │ ├── hd_add_disabled_22px.png
│ │ │ ├── hd_disabled_16px.png
│ │ │ ├── hd_disabled_32px.png
│ │ │ ├── hd_new_16px.png
│ │ │ ├── hd_new_22px.png
│ │ │ ├── hd_new_disabled_16px.png
│ │ │ ├── hd_new_disabled_22px.png
│ │ │ ├── hd_release_16px.png
│ │ │ ├── hd_release_22px.png
│ │ │ ├── hd_release_disabled_16px.png
│ │ │ ├── hd_release_disabled_22px.png
│ │ │ ├── hd_remove_16px.png
│ │ │ ├── hd_remove_22px.png
│ │ │ ├── hd_remove_disabled_16px.png
│ │ │ ├── hd_remove_disabled_22px.png
│ │ │ ├── help_16px.png
│ │ │ ├── ide_16px.png
│ │ │ ├── ide_add_16px.png
│ │ │ ├── ide_add_disabled_16px.png
│ │ │ ├── ide_collapse_16px.png
│ │ │ ├── ide_expand_16px.png
│ │ │ ├── import_16px.png
│ │ │ ├── list_movedown_16px.png
│ │ │ ├── list_movedown_disabled_16px.png
│ │ │ ├── list_moveup_16px.png
│ │ │ ├── list_moveup_disabled_16px.png
│ │ │ ├── machine_16px.png
│ │ │ ├── machine_32px.png
│ │ │ ├── machine_abstract_16px.png
│ │ │ ├── machine_disabled_16px.png
│ │ │ ├── machine_disabled_32px.png
│ │ │ ├── menuArrow.gif
│ │ │ ├── menuArrow_w.gif
│ │ │ ├── name_16px.png
│ │ │ ├── node.gif
│ │ │ ├── nw_16px.png
│ │ │ ├── nw_32px.png
│ │ │ ├── nw_disabled_16px.png
│ │ │ ├── nw_disabled_32px.png
│ │ │ ├── os_archlinux.png
│ │ │ ├── os_archlinux_64.png
│ │ │ ├── os_debian.png
│ │ │ ├── os_debian_64.png
│ │ │ ├── os_dos.png
│ │ │ ├── os_fedora.png
│ │ │ ├── os_fedora_64.png
│ │ │ ├── os_freebsd.png
│ │ │ ├── os_freebsd_64.png
│ │ │ ├── os_gentoo.png
│ │ │ ├── os_gentoo_64.png
│ │ │ ├── os_jrockitve.png
│ │ │ ├── os_l4.png
│ │ │ ├── os_linux.png
│ │ │ ├── os_linux22.png
│ │ │ ├── os_linux24.png
│ │ │ ├── os_linux24_64.png
│ │ │ ├── os_linux26.png
│ │ │ ├── os_linux26_64.png
│ │ │ ├── os_linux_other.png
│ │ │ ├── os_macosx.png
│ │ │ ├── os_macosx_64.png
│ │ │ ├── os_mandriva.png
│ │ │ ├── os_mandriva_64.png
│ │ │ ├── os_netbsd.png
│ │ │ ├── os_netbsd_64.png
│ │ │ ├── os_netware.png
│ │ │ ├── os_openbsd.png
│ │ │ ├── os_openbsd_64.png
│ │ │ ├── os_opensuse.png
│ │ │ ├── os_opensuse_64.png
│ │ │ ├── os_oracle.png
│ │ │ ├── os_oracle_64.png
│ │ │ ├── os_oraclesolaris.png
│ │ │ ├── os_oraclesolaris_64.png
│ │ │ ├── os_os2_other.png
│ │ │ ├── os_os2ecs.png
│ │ │ ├── os_os2warp3.png
│ │ │ ├── os_os2warp4.png
│ │ │ ├── os_os2warp45.png
│ │ │ ├── os_other.png
│ │ │ ├── os_other_64.png
│ │ │ ├── os_qnx.png
│ │ │ ├── os_redhat.png
│ │ │ ├── os_redhat_64.png
│ │ │ ├── os_solaris.png
│ │ │ ├── os_solaris_64.png
│ │ │ ├── os_turbolinux.png
│ │ │ ├── os_turbolinux_64.png
│ │ │ ├── os_type_16px.png
│ │ │ ├── os_ubuntu.png
│ │ │ ├── os_ubuntu_64.png
│ │ │ ├── os_virtualbox.png
│ │ │ ├── os_win10.png
│ │ │ ├── os_win10_64.png
│ │ │ ├── os_win2k.png
│ │ │ ├── os_win2k12_64.png
│ │ │ ├── os_win2k3.png
│ │ │ ├── os_win2k3_64.png
│ │ │ ├── os_win2k8.png
│ │ │ ├── os_win2k8_64.png
│ │ │ ├── os_win31.png
│ │ │ ├── os_win7.png
│ │ │ ├── os_win7_64.png
│ │ │ ├── os_win8.png
│ │ │ ├── os_win81.png
│ │ │ ├── os_win81_64.png
│ │ │ ├── os_win8_64.png
│ │ │ ├── os_win95.png
│ │ │ ├── os_win98.png
│ │ │ ├── os_win_other.png
│ │ │ ├── os_winme.png
│ │ │ ├── os_winnt4.png
│ │ │ ├── os_winvista.png
│ │ │ ├── os_winvista_64.png
│ │ │ ├── os_winxp.png
│ │ │ ├── os_winxp_64.png
│ │ │ ├── os_xandros.png
│ │ │ ├── os_xandros_64.png
│ │ │ ├── parallel_port_16px.png
│ │ │ ├── preview_empty_228x168px.png
│ │ │ ├── preview_full_228x168px.png
│ │ │ ├── progress_clone_90px.png
│ │ │ ├── progress_delete_90px.png
│ │ │ ├── progress_export_90px.png
│ │ │ ├── progress_import_90px.png
│ │ │ ├── progress_install_guest_additions_90px.png
│ │ │ ├── progress_media_create_90px.png
│ │ │ ├── progress_media_delete_90px.png
│ │ │ ├── progress_poweroff_90px.png
│ │ │ ├── progress_snapshot_create_90px.png
│ │ │ ├── progress_snapshot_discard_90px.png
│ │ │ ├── progress_snapshot_restore_90px.png
│ │ │ ├── progress_start_90px.png
│ │ │ ├── progress_state_restore_90px.png
│ │ │ ├── progress_state_save_90px.png
│ │ │ ├── ram_16px.png
│ │ │ ├── refresh_16px.png
│ │ │ ├── refresh_22px.png
│ │ │ ├── refresh_32px.png
│ │ │ ├── refresh_disabled_16px.png
│ │ │ ├── refresh_disabled_22px.png
│ │ │ ├── refresh_disabled_32px.png
│ │ │ ├── register_16px.png
│ │ │ ├── remove_host_iface_16px.png
│ │ │ ├── remove_host_iface_disabled_16px.png
│ │ │ ├── sata_16px.png
│ │ │ ├── sata_add_16px.png
│ │ │ ├── sata_add_disabled_16px.png
│ │ │ ├── sata_collapse_16px.png
│ │ │ ├── sata_expand_16px.png
│ │ │ ├── scsi_16px.png
│ │ │ ├── scsi_add_16px.png
│ │ │ ├── scsi_add_disabled_16px.png
│ │ │ ├── scsi_collapse_16px.png
│ │ │ ├── scsi_expand_16px.png
│ │ │ ├── select_file_16px.png
│ │ │ ├── select_file_disabled_16px.png
│ │ │ ├── serial_port_16px.png
│ │ │ ├── serial_port_disabled_16px.png
│ │ │ ├── sf_16px.png
│ │ │ ├── sf_add_16px.png
│ │ │ ├── sf_add_disabled_16px.png
│ │ │ ├── sf_disabled_16px.png
│ │ │ ├── sf_edit_16px.png
│ │ │ ├── sf_edit_disabled_16px.png
│ │ │ ├── sf_remove_16px.png
│ │ │ ├── sf_remove_disabled_16px.png
│ │ │ ├── sf_settings_16px.png
│ │ │ ├── sf_settings_disabled_16px.png
│ │ │ ├── site_16px.png
│ │ │ ├── site_32px.png
│ │ │ ├── snapshot_delete_16px.png
│ │ │ ├── snapshot_delete_22px.png
│ │ │ ├── snapshot_delete_disabled_16px.png
│ │ │ ├── snapshot_delete_disabled_22px.png
│ │ │ ├── snapshot_offline_16px.png
│ │ │ ├── snapshot_online_16px.png
│ │ │ ├── snapshot_restore_16px.png
│ │ │ ├── snapshot_restore_22px.png
│ │ │ ├── snapshot_restore_disabled_16px.png
│ │ │ ├── snapshot_restore_disabled_22px.png
│ │ │ ├── snapshot_show_details_16px.png
│ │ │ ├── snapshot_show_details_22px.png
│ │ │ ├── snapshot_show_details_disabled_16px.png
│ │ │ ├── snapshot_show_details_disabled_22px.png
│ │ │ ├── snapshot_take_16px.png
│ │ │ ├── snapshot_take_22px.png
│ │ │ ├── snapshot_take_disabled_16px.png
│ │ │ ├── snapshot_take_disabled_22px.png
│ │ │ ├── sort_16px.png
│ │ │ ├── sort_disabled_16px.png
│ │ │ ├── sound_16px.png
│ │ │ ├── sound_disabled_16px.png
│ │ │ ├── state_aborted_16px.png
│ │ │ ├── state_discarding_16px.png
│ │ │ ├── state_paused_16px.png
│ │ │ ├── state_powered_off_16px.png
│ │ │ ├── state_restoring_16px.png
│ │ │ ├── state_running_16px.png
│ │ │ ├── state_saved_16px.png
│ │ │ ├── state_saving_16px.png
│ │ │ ├── state_stuck_16px.png
│ │ │ ├── status_check_16px.png
│ │ │ ├── status_error_16px.png
│ │ │ ├── usb_16px.png
│ │ │ ├── usb_add_16px.png
│ │ │ ├── usb_add_disabled_16px.png
│ │ │ ├── usb_collapse_16px.png
│ │ │ ├── usb_disabled_16px.png
│ │ │ ├── usb_expand_16px.png
│ │ │ ├── usb_filter_edit_16px.png
│ │ │ ├── usb_filter_edit_disabled_16px.png
│ │ │ ├── usb_movedown_16px.png
│ │ │ ├── usb_movedown_disabled_16px.png
│ │ │ ├── usb_moveup_16px.png
│ │ │ ├── usb_moveup_disabled_16px.png
│ │ │ ├── usb_new_16px.png
│ │ │ ├── usb_new_disabled_16px.png
│ │ │ ├── usb_remove_16px.png
│ │ │ ├── usb_remove_disabled_16px.png
│ │ │ ├── usb_unavailable_16px.png
│ │ │ ├── usb_unavailable_disabled_16px.png
│ │ │ ├── vdm_add_16px.png
│ │ │ ├── vdm_add_22px.png
│ │ │ ├── vdm_add_disabled_16px.png
│ │ │ ├── vdm_add_disabled_22px.png
│ │ │ ├── vdm_new_16px.png
│ │ │ ├── vdm_new_22px.png
│ │ │ ├── vdm_new_disabled_16px.png
│ │ │ ├── vdm_new_disabled_22px.png
│ │ │ ├── vdm_release_16px.png
│ │ │ ├── vdm_release_22px.png
│ │ │ ├── vdm_release_disabled_16px.png
│ │ │ ├── vdm_release_disabled_22px.png
│ │ │ ├── vdm_remove_16px.png
│ │ │ ├── vdm_remove_22px.png
│ │ │ ├── vdm_remove_disabled_16px.png
│ │ │ ├── vdm_remove_disabled_22px.png
│ │ │ ├── video_capture_16px.png
│ │ │ ├── video_capture_disabled_16px.png
│ │ │ ├── video_capture_on_16px.png
│ │ │ ├── video_capture_on_disabled_16px.png
│ │ │ ├── video_capture_settings_16px.png
│ │ │ ├── virtualbox-hdd.png
│ │ │ ├── virtualbox-ova.png
│ │ │ ├── virtualbox-ovf.png
│ │ │ ├── virtualbox-vbox.png
│ │ │ ├── virtualbox-vdi.png
│ │ │ ├── virtualbox-vhd.png
│ │ │ ├── virtualbox-vmdk.png
│ │ │ ├── vm_add_16px.png
│ │ │ ├── vm_clone_16px.png
│ │ │ ├── vm_clone_22px.png
│ │ │ ├── vm_clone_disabled_16px.png
│ │ │ ├── vm_clone_disabled_22px.png
│ │ │ ├── vm_delete_16px.png
│ │ │ ├── vm_delete_disabled_16px.png
│ │ │ ├── vm_discard_16px.png
│ │ │ ├── vm_discard_32px.png
│ │ │ ├── vm_discard_disabled_16px.png
│ │ │ ├── vm_discard_disabled_32px.png
│ │ │ ├── vm_group_create_16px.png
│ │ │ ├── vm_group_create_disabled_16px.png
│ │ │ ├── vm_group_name_16px.png
│ │ │ ├── vm_group_name_disabled_16px.png
│ │ │ ├── vm_group_remove_16px.png
│ │ │ ├── vm_group_remove_disabled_16px.png
│ │ │ ├── vm_new_16px.png
│ │ │ ├── vm_new_32px.png
│ │ │ ├── vm_new_disabled_32px.png
│ │ │ ├── vm_open_filemanager_16px.png
│ │ │ ├── vm_open_filemanager_disabled_16px.png
│ │ │ ├── vm_pause_16px.png
│ │ │ ├── vm_pause_disabled_16px.png
│ │ │ ├── vm_pause_on_16px.png
│ │ │ ├── vm_pause_on_disabled_16px.png
│ │ │ ├── vm_poweroff_16px.png
│ │ │ ├── vm_poweroff_32px.png
│ │ │ ├── vm_poweroff_disabled_16px.png
│ │ │ ├── vm_poweroff_disabled_32px.png
│ │ │ ├── vm_reset_16px.png
│ │ │ ├── vm_reset_disabled_16px.png
│ │ │ ├── vm_save_state_16px.png
│ │ │ ├── vm_save_state_disabled_16px.png
│ │ │ ├── vm_settings_16px.png
│ │ │ ├── vm_settings_32px.png
│ │ │ ├── vm_settings_disabled_16px.png
│ │ │ ├── vm_settings_disabled_32px.png
│ │ │ ├── vm_show_logs_16px.png
│ │ │ ├── vm_show_logs_disabled_16px.png
│ │ │ ├── vm_shutdown_16px.png
│ │ │ ├── vm_shutdown_disabled_16px.png
│ │ │ ├── vm_start_16px.png
│ │ │ ├── vm_start_32px.png
│ │ │ ├── vm_start_disabled_16px.png
│ │ │ ├── vm_start_disabled_32px.png
│ │ │ ├── vmw_clone_bg.png
│ │ │ ├── vmw_first_run_bg.png
│ │ │ ├── vmw_new_harddisk_bg.png
│ │ │ ├── vmw_new_welcome_bg.png
│ │ │ ├── vmw_ovf_export_bg.png
│ │ │ ├── vmw_ovf_import_bg.png
│ │ │ ├── vrdp_16px.png
│ │ │ ├── vrdp_32px.png
│ │ │ ├── vrdp_disabled_16px.png
│ │ │ ├── vrdp_disabled_32px.png
│ │ │ ├── vrdp_on_16px.png
│ │ │ ├── vrdp_on_disabled_16px.png
│ │ │ ├── vtx_amdv_16px.png
│ │ │ ├── vtx_amdv_disabled_16px.png
│ │ │ └── welcome.png
│ │ └── wizard_bg.png
│ │ ├── index.html
│ │ ├── js
│ │ ├── canvasimages.js
│ │ ├── chooser.js
│ │ ├── datamediator.js
│ │ ├── dialogs.js
│ │ ├── eventlistener.js
│ │ ├── jquery-1.11.2.min.js
│ │ ├── jquery-ui-1.11.4.min.js
│ │ ├── jquery.jec-1.3.1.js
│ │ ├── jquery.projectPlugins.js
│ │ ├── jquery.scrollTo-min.js
│ │ ├── jquery.tipped-2.1b.min.js
│ │ ├── phpvirtualbox.js
│ │ └── utils.js
│ │ ├── languages
│ │ ├── de.xml
│ │ ├── en.xml
│ │ ├── es.xml
│ │ ├── fr.xml
│ │ ├── it.xml
│ │ ├── ja.xml
│ │ ├── languages.txt
│ │ ├── nl.xml
│ │ ├── pl.xml
│ │ ├── pt_br.xml
│ │ ├── ro.xml
│ │ ├── ru.xml
│ │ ├── source
│ │ │ ├── de.dat
│ │ │ ├── en.dat
│ │ │ ├── es.dat
│ │ │ ├── fr.dat
│ │ │ ├── it.dat
│ │ │ ├── ja.dat
│ │ │ ├── nl.dat
│ │ │ ├── parse_vbox_lang.php
│ │ │ ├── pl.dat
│ │ │ ├── pt_br.dat
│ │ │ ├── ro.dat
│ │ │ ├── ru.dat
│ │ │ ├── zh_cn.dat
│ │ │ └── zh_tw.dat
│ │ ├── zh_cn.xml
│ │ └── zh_tw.xml
│ │ ├── panes
│ │ ├── about.html
│ │ ├── chooser.html
│ │ ├── guestNetAdapters.html
│ │ ├── login.html
│ │ ├── mediumEncryptionPasswords.html
│ │ ├── settingsAudio.html
│ │ ├── settingsDisplay.html
│ │ ├── settingsGeneral.html
│ │ ├── settingsGlobalGeneral.html
│ │ ├── settingsGlobalLanguage.html
│ │ ├── settingsGlobalNetwork.html
│ │ ├── settingsGlobalNetworkNATPortForwarding.html
│ │ ├── settingsGlobalUsers.html
│ │ ├── settingsNetwork.html
│ │ ├── settingsParallelPorts.html
│ │ ├── settingsPortForwarding.html
│ │ ├── settingsSerialPorts.html
│ │ ├── settingsSharedFolders.html
│ │ ├── settingsStorage.html
│ │ ├── settingsSystem.html
│ │ ├── settingsUSB.html
│ │ ├── tabVMConsole.html
│ │ ├── tabVMConsoleRDP.html
│ │ ├── tabVMConsoleVNC.html
│ │ ├── tabVMDetails.html
│ │ ├── tabVMSnapshots.html
│ │ ├── tabs.html
│ │ ├── toolbar.html
│ │ ├── topmenu.html
│ │ ├── userEdit.html
│ │ ├── vmlogs.html
│ │ ├── vmm.html
│ │ ├── vmmISCSI.html
│ │ ├── vmmModify.html
│ │ ├── wizardCloneVM.html
│ │ ├── wizardCloneVMAdvanced.html
│ │ ├── wizardCopyHD.html
│ │ ├── wizardCopyHDAdvanced.html
│ │ ├── wizardExportAppliance.html
│ │ ├── wizardExportApplianceAdvanced.html
│ │ ├── wizardFirstRun.html
│ │ ├── wizardImportAppliance.html
│ │ ├── wizardImportApplianceAdvanced.html
│ │ ├── wizardNewHD.html
│ │ ├── wizardNewHDAdvanced.html
│ │ ├── wizardNewVM.html
│ │ └── wizardNewVMAdvanced.html
│ │ ├── rdpweb
│ │ ├── RDPClientUI.swf
│ │ ├── license_3rd.txt
│ │ ├── swfobject.js
│ │ ├── webclient.js
│ │ └── webclient3.html
│ │ ├── recovery.php-disabled
│ │ ├── tightvnc
│ │ └── VncViewer.jar
│ │ └── vboxinit
└── www
│ └── config.php.synology
├── spk
├── LICENSE
├── PACKAGE_ICON.PNG
├── PACKAGE_ICON_256.PNG
├── WIZARD_UIFILES
│ ├── install_uifile.sh
│ ├── install_uifile_enu.sh
│ ├── upgrade_uifile.sh
│ ├── upgrade_uifile.sh.sample
│ └── upgrade_uifile_enu.sh
├── conf
│ └── resource
└── scripts
│ ├── installer
│ ├── postinst
│ ├── postuninst
│ ├── postupgrade
│ ├── preinst
│ ├── preuninst
│ ├── preupgrade
│ └── start-stop-status
├── unzip
└── wget
/.gitignore:
--------------------------------------------------------------------------------
1 | *.zip
2 | .config
3 | package/www/phpvirtualbox4dsm/
4 |
--------------------------------------------------------------------------------
/INFO.sh:
--------------------------------------------------------------------------------
1 | # INFO.sh
2 | [ -f /pkgscripts/include/pkg_util.sh ] && . /pkgscripts/include/pkg_util.sh
3 | [ -f /pkgscripts-ng/include/pkg_util.sh ] && . /pkgscripts-ng/include/pkg_util.sh
4 |
5 | package="phpvirtualbox4dsm"
6 | version="6.1-d1b69bb"
7 | displayname="phpVirtualBox"
8 | maintainer="seba"
9 | maintainer_url="http://github.com/seba76/"
10 | distributor="seba"
11 | description="A web interface to manage and access Virtualbox machines."
12 | report_url="https://github.com/seba76/phpvirtualbox4dsm/"
13 | support_url="https://github.com/seba76/phpvirtualbox4dsm/"
14 | install_dep_package="WebStation:PHP7.0"
15 | #install_dep_services="apache-web"
16 | #start_stop_restart_services="nginx"
17 | #instuninst_restart_services="nginx"
18 | thirdparty="true"
19 | #support_conf_folder="yes"
20 | #install_reboot="yes"
21 | reloadui="no"
22 | startable="no"
23 | #dsmuidir="ui" this one is for integrated ui
24 | #dsmappname="phpVirtualBox"
25 | adminprotocol="http"
26 | adminurl="/phpvirtualbox4dsm/"
27 | adminport="80"
28 | dsmuidir="app"
29 | arch="noarch"
30 | firmware="$1"
31 | [ "$(caller)" != "0 NULL" ] && return 0
32 | pkg_dump_info
33 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2020 seba
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | [](https://github.com/seba76/phpvirtualbox4dsm)
2 | [](https://paypal.me/seba76/)
3 | ___
4 | # phpvirtualbox4dsm
5 | This is PhpVirtualbox package for Synology DSM it contains phpvirtualbox code from [github](https://github.com/phpvirtualbox/phpvirtualbox). It can be used as standalone application but it is created for complementing [virtualbox4dsm](https://github.com/seba76/virtualbox4dsm/releases) package.
6 |
7 | # Installation
8 |
9 | Latest spk file can be found in [release](https://github.com/seba76/phpvirtualbox4dsm/releases). During installation you will be asked few questions. If all
10 | goes well you will have PhpVirtualBox running in WebStation install under http(s)://your_diskstation_address/phpvirtualbox4dsm/
11 |
12 | ## Requirements
13 | - This package is platform independent.
14 | - You need to have PHP 7.0 and WebStation packages installed.
15 | - In PHP settings SOAP extension needs to be enabled.
16 |
17 | ## Contributing
18 |
19 | If you find this project useful you can mark it by leaving a Github *Star*.
20 | In case you have a problem installing open an issue with info about version of DSM and HW model you are using with erorr messages if any.
21 |
--------------------------------------------------------------------------------
/SynoBuildConf/build:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | touch /logs/phpvirtualbox.build
4 |
5 | # if env MakeClean is set to yes clean
6 | case ${MakeClean} in
7 | [Yy][Ee][Ss])
8 | ;;
9 | esac
10 |
11 | # url links and file names
12 | . ./build.config
13 |
14 | touch /logs/phpvirtualbox.build
15 |
--------------------------------------------------------------------------------
/SynoBuildConf/depends:
--------------------------------------------------------------------------------
1 | # SynoBuildConf/depends
2 |
3 | [BuildDependent]
4 | # each line here is a dependent project
5 |
6 | [ReferenceOnly]
7 | # each line here is a project for reference only but no need to be built
8 |
9 | [5.2]
10 | all="5.2"
11 |
12 | [default]
13 | all="6.1" # build environment for other platforms should be DSM 5.2
14 |
--------------------------------------------------------------------------------
/SynoBuildConf/install:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | PKG_NAME="phpvirtualbox4dsm"
4 | INST_DIR="/tmp/_${PKG_NAME}"
5 | PKG_DIR="/tmp/_${PKG_NAME}_pkg"
6 | PKG_DEST="/image/packages"
7 | DATE=$(date +%Y%m%d)
8 | SRC=$(pwd)
9 |
10 | PrepareDirs() {
11 | for dir in $INST_DIR $PKG_DIR; do
12 | rm -rf "$dir"
13 | done
14 | for dir in $INST_DIR $PKG_DIR $PKG_DEST; do
15 | mkdir -p "$dir"
16 | done
17 | }
18 |
19 | Install() {
20 | cp -r package/* "${INST_DIR}/"
21 |
22 | # fix permissions
23 | chown root:root ${INST_DIR} -R
24 | }
25 |
26 | GenerateINFO() {
27 | ### Generate INFO file
28 | ./INFO.sh "${DSM_SHLIB_MAJOR}.${DSM_SHLIB_MINOR}-${DSM_BUILD_NUM}" "${DATE}" > spk/INFO
29 | #./INFO.sh > spk/INFO
30 | cp spk/INFO "${PKG_DIR}"
31 | cp spk/INFO INFO
32 | }
33 |
34 | InstallSynologyConfig(){
35 | ### Copy licence
36 | cp -av spk/LICENSE "${PKG_DIR}"
37 | cp -r spk/scripts/ "${PKG_DIR}"
38 | cp spk/PACKAGE_ICON{,_256}.PNG "${PKG_DIR}"
39 | cp -r spk/WIZARD_UIFILES/ "${PKG_DIR}"
40 | }
41 |
42 | MakePackage() {
43 | [ -f /pkgscripts/include/pkg_util.sh ] && source /pkgscripts/include/pkg_util.sh
44 | [ -f /pkgscripts-ng/include/pkg_util.sh ] && source /pkgscripts-ng/include/pkg_util.sh
45 |
46 |
47 | ### fix permissions
48 | chown root:root $PKG_DIR/* -R
49 |
50 | pkg_make_package $INST_DIR $PKG_DIR
51 | pkg_make_spk $PKG_DIR $PKG_DEST
52 | }
53 |
54 | main() {
55 | PrepareDirs
56 | Install
57 | GenerateINFO
58 | InstallSynologyConfig
59 | MakePackage
60 | }
61 |
62 | main "$@"
63 |
--------------------------------------------------------------------------------
/SynoBuildConf/install-dev:
--------------------------------------------------------------------------------
1 | install
--------------------------------------------------------------------------------
/package/app/config:
--------------------------------------------------------------------------------
1 | {
2 | ".url": {
3 | "phpvirtualbox4dsm": {
4 | "allUsers": true,
5 | "title": "phpVirtualBox",
6 | "desc": "",
7 | "icon": "images/Virtualbox_{0}.png",
8 | "type": "url",
9 | "protocol" : "https",
10 | "port": "443",
11 | "url": "/phpvirtualbox4dsm/",
12 | "appendSynoTokenInUrlTag": true
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/package/app/images/Virtualbox_128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/app/images/Virtualbox_128.png
--------------------------------------------------------------------------------
/package/app/images/Virtualbox_16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/app/images/Virtualbox_16.png
--------------------------------------------------------------------------------
/package/app/images/Virtualbox_24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/app/images/Virtualbox_24.png
--------------------------------------------------------------------------------
/package/app/images/Virtualbox_256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/app/images/Virtualbox_256.png
--------------------------------------------------------------------------------
/package/app/images/Virtualbox_32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/app/images/Virtualbox_32.png
--------------------------------------------------------------------------------
/package/app/images/Virtualbox_48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/app/images/Virtualbox_48.png
--------------------------------------------------------------------------------
/package/app/images/Virtualbox_64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/app/images/Virtualbox_64.png
--------------------------------------------------------------------------------
/package/app/images/Virtualbox_72.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/app/images/Virtualbox_72.png
--------------------------------------------------------------------------------
/package/app/images/Virtualbox_96.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/app/images/Virtualbox_96.png
--------------------------------------------------------------------------------
/package/etc/vbox/vbox.cfg:
--------------------------------------------------------------------------------
1 | # VirtualBox installation directory
2 | INSTALL_DIR='/opt/VirtualBox'
3 | # VirtualBox version
4 | INSTALL_VER='5.0.36'
5 | INSTALL_REV='114008'
6 | # Build type and user name for logging purposes
7 | BUILD_TYPE='release'
8 | VBOXWEB_HOST='127.0.0.1'
9 | VBOXWEB_USER='root'
10 | VBOXWEB_LOGFILE=/var/log/vbox.log
11 | VBOXWEB_AUTH_LIBRARY=null
12 | SHUTDOWN_USERS=root
13 | SHUTDOWN=acpibutton
14 |
--------------------------------------------------------------------------------
/package/etc/vbox/vboxwolservice.ini:
--------------------------------------------------------------------------------
1 | [Credentials]
2 | url=@url@
3 | user=root
4 | pass=@pwhash@
5 |
--------------------------------------------------------------------------------
/package/etc/virtualbox.apache22.conf:
--------------------------------------------------------------------------------
1 |
The %n following virtual machine(s) are currently in a saved state: %1
If you continue the runtime state of the exported machine(s) will be discarded. The other machine(s) will not be changed.
";a:2:{s:7:"comment";s:221:"This text is never used with n == 0. Feel free to drop the %n where possible, we only included it because of problems with Qt Linguist (but the user can see how many machines are in the list and doesn't need to be told).";s:11:"translation";a:1:{s:11:"numerusform";a:2:{i:0;s:197:"The virtual machine %1 is currently in a saved state.
If you continue the runtime state of the exported machine will be discarded. Note that the existing machine is not changed.
";i:1;s:202:"The virtual machines %1 are currently in a saved state.
If you continue the runtime state of the exported machines will be discarded. Note that the existing machines are not changed.
";}}}}}}} -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/panes/about.html: -------------------------------------------------------------------------------- 1 | 2 |Copyright (C) 2010-2015 Ian Moore (imoore76 at yahoo dot com) - LICENSE
5 |http://sourceforge.net/projects/phpvirtualbox/
6 |7 | I develop and support phpVirtualBox in my spare time - free of charge. I do not receive payments from VirtualBox (Oracle) nor am 8 | I affiliated with them in any way. If you find this program useful, I ask that you please donate. 9 |
10 | 13 |VirtualBox
14 | 18 |Status | 16 |ID | 17 |Password | 18 |
---|
Interface Language: | 12 |
15 |
16 |
21 |
|
22 |
"); 47 | print_r($e); 48 | echo(""); 49 | } 50 | return; 51 | } 52 | 53 | ?> 54 | 55 | 56 |
This form will add the default user admin with a default password of admin. If the user admin already exists, its password will be changed to admin.
61 |Click the Recover button to add / update this user.
62 | 68 | 69 | 70 | 71 | -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/tightvnc/VncViewer.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/package/ui/phpvirtualbox/tightvnc/VncViewer.jar -------------------------------------------------------------------------------- /package/ui/phpvirtualbox/vboxinit: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # vboxinit: auto start sessions when booting and save 4 | # sessions when host is stopped 5 | # 6 | # Based on vboxtool. Only tested in Debian. 7 | # 8 | # Debian install: 9 | # copy this script to /etc/init.d 10 | # run: 11 | # chmod u+rx /etc/init.d/vboxinit 12 | # update-rc.d vboxinit defaults 13 | 14 | ### BEGIN INIT INFO 15 | # Provides: vboxinit 16 | # Required-Start: vboxdrv $local_fs 17 | # Required-Stop: vboxdrv $local_fs 18 | # Default-Start: 2 3 4 5 19 | # Default-Stop: 0 1 6 20 | # Description: Controls VirtualBox sessions 21 | ### END INIT INFO 22 | 23 | . /etc/default/virtualbox 24 | 25 | # Enable/disable service 26 | if [ "${VBOXWEB_USER}" == "" ]; then 27 | exit 0 28 | fi 29 | 30 | # Check for VirtualBox binary path 31 | if [ "$VBOX_BIN_PATH" != "" ]; then 32 | PATH = "$PATH:$VBOX_BIN_PATH"; 33 | fi 34 | 35 | start() 36 | { 37 | # Get all autostart machines 38 | MACHINES=$($su_command "VBoxManage list vms | awk '{ print \$NF }' | sed -e 's/[{}]//g'") 39 | for UUID in $MACHINES; do 40 | STARTUP=$($su_command "VBoxManage getextradata $UUID 'pvbx/startupMode'" | awk '{ print $NF }') 41 | if [ "${STARTUP}" == "auto" ]; then 42 | VMNAME=$($su_command "VBoxManage showvminfo $UUID | sed -n '0,/^Name:/s/^Name:[ \t]*//p'") 43 | echo "$0: starting machine ${VMNAME} ..." 44 | $su_command "VBoxManage startvm $UUID --type headless" >>/var/log/vb.log 45 | fi 46 | done 47 | } 48 | 49 | stop() 50 | { 51 | # vms are saved, instead of stopped. 52 | MACHINES=$($su_command "VBoxManage list runningvms | awk '{ print \$NF }' | sed -e 's/[{}]//g'") 53 | for UUID in $MACHINES; do 54 | VMNAME=$($su_command "VBoxManage showvminfo $UUID | sed -n '0,/^Name:/s/^Name:[ \t]*//p'") 55 | echo "$0: saving machine ${VMNAME} state ..." 56 | $su_command "VBoxManage controlvm $UUID savestate" >>/var/log/vb.log 57 | done 58 | 59 | } 60 | 61 | status() 62 | { 63 | $su_command "VBoxManage list runningvms" 64 | } 65 | 66 | restart() 67 | { 68 | stop 69 | start 70 | } 71 | 72 | 73 | # Implementation of user control, execute several commands as another (predefined) user, 74 | su_command="su - ${VBOXWEB_USER} -s /bin/bash -c" 75 | 76 | # 77 | # Check for a command line option 78 | # 79 | case "$1" in 80 | 81 | start) 82 | start 83 | ;; 84 | stop) 85 | stop 86 | ;; 87 | status) 88 | status 89 | ;; 90 | restart) 91 | restart 92 | ;; 93 | *) 94 | echo "Usage: $0 {start|stop|restart|status}" 95 | exit 1 96 | ;; 97 | esac 98 | 99 | exit 0 100 | -------------------------------------------------------------------------------- /spk/LICENSE: -------------------------------------------------------------------------------- 1 | LICENSE 2 | ===== 3 | THIS PACKAGE IS A COMMUNITY PROJECT! 4 | USE IT AT YOUR OWN RISK, 5 | WE WILL NOT TAKE RESPONSABILITY 6 | FOR ANY DAMAGE AND/OR DATA LOSS 7 | RESULTING FROM INSTALLING THIS PACKAGE! 8 | 9 | NOTE 10 | ===== 11 | Enable SOAP extensions in default PHP configuration 12 | 13 | CHANGELOG 14 | ===== 15 | Version 6.1 - Updated phpVirtualbox to latest version which supports Virtualbox 6.1 16 | Version 6.0 - Created from development branch to support Virtualbox 6.0 17 | Version 5.2 - Initial release -------------------------------------------------------------------------------- /spk/PACKAGE_ICON.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/spk/PACKAGE_ICON.PNG -------------------------------------------------------------------------------- /spk/PACKAGE_ICON_256.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/spk/PACKAGE_ICON_256.PNG -------------------------------------------------------------------------------- /spk/WIZARD_UIFILES/install_uifile_enu.sh: -------------------------------------------------------------------------------- 1 | install_uifile.sh -------------------------------------------------------------------------------- /spk/WIZARD_UIFILES/upgrade_uifile.sh: -------------------------------------------------------------------------------- 1 | install_uifile.sh -------------------------------------------------------------------------------- /spk/WIZARD_UIFILES/upgrade_uifile.sh.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | /bin/cat > /tmp/wizard.php <<'EOF' 4 | 49 | EOF 50 | 51 | /usr/bin/php -n /tmp/wizard.php > $SYNOPKG_TEMP_LOGFILE 52 | rm /tmp/wizard.php 53 | exit 0 54 | -------------------------------------------------------------------------------- /spk/WIZARD_UIFILES/upgrade_uifile_enu.sh: -------------------------------------------------------------------------------- 1 | install_uifile.sh -------------------------------------------------------------------------------- /spk/conf/resource: -------------------------------------------------------------------------------- 1 | { 2 | "php": { 3 | "php-ini": [{ 4 | "relpath": "etc/virtualbox.php.ini" 5 | } 6 | ] 7 | }, 8 | "nginx": { 9 | "conf.d": [{ 10 | "relpath": "etc/virtualbox.conf" 11 | } 12 | ] 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /spk/scripts/postinst: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . `dirname $0`/installer 3 | `basename $0` > $SYNOPKG_TEMP_LOGFILE 4 | -------------------------------------------------------------------------------- /spk/scripts/postuninst: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . `dirname $0`/installer 3 | `basename $0` > $SYNOPKG_TEMP_LOGFILE 4 | -------------------------------------------------------------------------------- /spk/scripts/postupgrade: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . `dirname $0`/installer 3 | `basename $0` > $SYNOPKG_TEMP_LOGFILE 4 | -------------------------------------------------------------------------------- /spk/scripts/preinst: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . `dirname $0`/installer 3 | `basename $0` > $SYNOPKG_TEMP_LOGFILE 4 | -------------------------------------------------------------------------------- /spk/scripts/preuninst: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . `dirname $0`/installer 3 | `basename $0` > $SYNOPKG_TEMP_LOGFILE 4 | -------------------------------------------------------------------------------- /spk/scripts/preupgrade: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . `dirname $0`/installer 3 | `basename $0` > $SYNOPKG_TEMP_LOGFILE 4 | -------------------------------------------------------------------------------- /spk/scripts/start-stop-status: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | PACKAGE=phpvirtualbox4dsm 4 | PACKAGE_DIR="/var/packages/${PACKAGE}" 5 | 6 | start() 7 | { 8 | exit 0 9 | } 10 | 11 | stop() 12 | { 13 | exit 0 14 | } 15 | 16 | case $1 in 17 | start) 18 | # check enabled 19 | if [ ! -f "${PACKAGE_DIR}/enabled" ]; then 20 | exit 0; 21 | fi 22 | 23 | # start routine 24 | start 25 | exit 0 26 | ;; 27 | stop) 28 | stop 29 | exit 0 30 | ;; 31 | restart) 32 | stop && start 33 | ;; 34 | status) 35 | if [ -f "${PACKAGE_DIR}/enabled" ]; then 36 | exit 0 37 | else 38 | exit 1 39 | fi 40 | ;; 41 | killall) 42 | stop 43 | exit 0 44 | ;; 45 | log) 46 | echo "" 47 | exit 0 48 | ;; 49 | *) 50 | echo "Usage: start-stop-status.sh start|stop|restart|status|killall|log" 51 | exit 1 52 | ;; 53 | esac 54 | -------------------------------------------------------------------------------- /unzip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/unzip -------------------------------------------------------------------------------- /wget: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seba76/phpvirtualbox4dsm/9acd9c74b7ccc406b56fe5a10bab8c3957f9c37a/wget --------------------------------------------------------------------------------