Community Packages

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!
Tasklist

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
Task Type Feature Request
Category Packages
Status Closed
Assigned To Ionut Biru (wonder)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

virtualbox 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
Comment by Sergej Pupykin (sergej) - Tuesday, 11 January 2011, 10:47 GMT
web service needs gsoap aur package (http://aur.archlinux.org/packages.php?ID=10020)
I can move it to community.

web service is very usefull together with phpvirtualbox web interface
Comment by Sergej Pupykin (sergej) - Tuesday, 11 January 2011, 11:19 GMT
I checked it.

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)
Comment by Sergej Pupykin (sergej) - Tuesday, 11 January 2011, 13:31 GMT
gsoap moved to community

it is makedepend and optdepend
Comment by Ionut Biru (wonder) - Tuesday, 11 January 2011, 13:47 GMT
i'll add this on the next vbox release
Comment by Ionut Biru (wonder) - Wednesday, 19 January 2011, 01:06 GMT
i forgot to enable this. Do we need some daemon script for this to work?
Comment by Sergej Pupykin (sergej) - Wednesday, 19 January 2011, 07:39 GMT
vboxwebsrv can run more than one instance from different users. So rc-script is not very useful.
Comment by Sergej Pupykin (sergej) - Wednesday, 19 January 2011, 10:07 GMT
Here is rc.d and conf.d files
Comment by Sergej Pupykin (sergej) - Wednesday, 19 January 2011, 10:16 GMT
small fixes here
Comment by Ionut Biru (wonder) - Wednesday, 19 January 2011, 10:39 GMT
i'm looking at how virtualbox devs are doing in their provided packages.

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
Comment by Sergej Pupykin (sergej) - Wednesday, 19 January 2011, 14:43 GMT
these parameters are less useful then rc-script itself :)
Comment by Ionut Biru (wonder) - Wednesday, 19 January 2011, 14:48 GMT
ok then. no rc script

Loading...