Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#22395 - [virtualbox] please enable web interface
Attached to Project:
Community Packages
Opened by Sergej Pupykin (sergej) - Tuesday, 11 January 2011, 10:30 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 19 January 2011, 17:27 GMT
Opened by Sergej Pupykin (sergej) - Tuesday, 11 January 2011, 10:30 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 19 January 2011, 17:27 GMT
|
Detailsvirtualbox has soap interface.
--enable-webservice configure key should be enough. I am checking it now. |
This task depends upon
Closed by Sergej Pupykin (sergej)
Wednesday, 19 January 2011, 17:27 GMT
Reason for closing: Implemented
Wednesday, 19 January 2011, 17:27 GMT
Reason for closing: Implemented
I can move it to community.
web service is very usefull together with phpvirtualbox web interface
all you need:
1. install gsoap package
2. add '--enable-webservice' to configure
3. add 'install -m 0755 vboxwebsrv "$pkgdir/usr/bin"' to package_virtualbox()
After that phpvirtualbox works (probably 'VBoxManage setproperty websrvauthlibrary null' is also needed)
it is makedepend and optdepend
1) it has a lot bunch of options in the config. Maybe we should add them too
PARAMS="--background"
[ -n "$VBOXWEB_HOST" ] && PARAMS="$PARAMS -H $VBOXWEB_HOST"
[ -n "$VBOXWEB_PORT" ] && PARAMS="$PARAMS -p $VBOXWEB_PORT"
[ -n "$VBOXWEB_TIMEOUT" ] && PARAMS="$PARAMS -t $VBOXWEB_TIMEOUT"
[ -n "$VBOXWEB_CHECK_INTERVAL" ] && PARAMS="$PARAMS -i $VBOXWEB_CHECK_INTERVAL"
[ -n "$VBOXWEB_THREADS" ] && PARAMS="$PARAMS -T $VBOXWEB_THREADS"
[ -n "$VBOXWEB_KEEPALIVE" ] && PARAMS="$PARAMS -k $VBOXWEB_KEEPALIVE"
[ -n "$VBOXWEB_LOGFILE" ] && PARAMS="$PARAMS -F $VBOXWEB_LOGFILE"
# prevent inheriting this setting to VBoxSVC
unset VBOX_RELEASE_LOG_DEST
2) use su instead of sudo and pass all of them
su - $VBOXWEB_USER -c "vboxwebsrv $PARAMS" > /dev/null 2>&1