summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/virtualbox-ose')
-rw-r--r--app-emulation/virtualbox-ose/ChangeLog6
-rw-r--r--app-emulation/virtualbox-ose/Manifest4
-rw-r--r--app-emulation/virtualbox-ose/files/vboxwebsrv-confd18
-rw-r--r--app-emulation/virtualbox-ose/files/vboxwebsrv-initd24
4 files changed, 50 insertions, 2 deletions
diff --git a/app-emulation/virtualbox-ose/ChangeLog b/app-emulation/virtualbox-ose/ChangeLog
index 344127f5623e..7fb5e02e7c9a 100644
--- a/app-emulation/virtualbox-ose/ChangeLog
+++ b/app-emulation/virtualbox-ose/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-emulation/virtualbox-ose
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/ChangeLog,v 1.18 2009/06/01 00:25:30 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/ChangeLog,v 1.19 2009/06/09 18:20:46 patrick Exp $
+
+ 09 Jun 2009; Patrick Lauer <patrick@gentoo.org> +files/vboxwebsrv-confd,
+ +files/vboxwebsrv-initd:
+ Adding missing init scripts for vboxwebsrv
*virtualbox-ose-2.2.4 (01 Jun 2009)
diff --git a/app-emulation/virtualbox-ose/Manifest b/app-emulation/virtualbox-ose/Manifest
index 774e93e6731d..9235d6ba9db1 100644
--- a/app-emulation/virtualbox-ose/Manifest
+++ b/app-emulation/virtualbox-ose/Manifest
@@ -1,3 +1,5 @@
+AUX vboxwebsrv-confd 622 RMD160 3ece7996faea6a0096fb07af99ebfdab02745a9f SHA1 cca7ef51b2b1b8a1aa31c7a8bd1915dfd1ed0c99 SHA256 7dd94d7b1eb761855186f35fcb57c46b5829f96ea49ac5d89308681db6b3eace
+AUX vboxwebsrv-initd 748 RMD160 3a98cf955aa354d6fa7a46ae2a9b0dfe639f4301 SHA1 0ab6ab903265ce97d833374f8684152947e538ce SHA256 0101a83d1f0ee0f67d0a68250bafbed5a98daaae9fdbad65e5bf9e49f8fa5bf2
AUX virtualbox-ose-1-config 28 RMD160 c03986f0a6ecc77c2d15382d965952bb209ae534 SHA1 43b5fd213ae08bb390ec1962ee2776d4f7fe45fd SHA256 5326f7abdd1a7c8a8a44fd4ab269977ec115286059fc8a4c2fde6805c381236f
AUX virtualbox-ose-1-wrapper 4054 RMD160 7e8509dc313cfac5d1e63efe05e98e351c22050b SHA1 35ffda3b1663953ce3b1d89b0fe104cb43c5e949 SHA256 d03f50600234b6c9507a564c953320b41be8bbc14dc6b957e75578d052ac8697
AUX virtualbox-ose-1.6.6-remove-unused.patch 3379 RMD160 d0a346f5ce9d236a5de2b05fc34b2fb02be4727d SHA1 bb59f6b6c615834977841efefd1e9570e6407614 SHA256 139aa3353fd323d88fa759819dc78f3dacba902a669b63bd4cf4581ea09bfabb
@@ -20,5 +22,5 @@ EBUILD virtualbox-ose-2.2.0.ebuild 6076 RMD160 4a31d81782c4bfe11386d224b75d41706
EBUILD virtualbox-ose-2.2.2.ebuild 6393 RMD160 892b0d2e943305a9d4ba6a9005d21f16395559f6 SHA1 15d588253b8243a864e985c12cf2a8ef87187c4d SHA256 6b39cbbc08a099679791fcd514e0cacaa8810a515a463979bf3170fbc0bac6ca
EBUILD virtualbox-ose-2.2.4.ebuild 6393 RMD160 f662f3934cc45dfdc9e3ee8530219d4f526f06a4 SHA1 c0de8ecdaf35e085af3c8657597fc5fcdfb65e7b SHA256 9e2ade96fe904b591b5066b343ce4ce719642d5cd0c52733ebd7effc35b5d1f9
EBUILD virtualbox-ose-9999.ebuild 5722 RMD160 14dac5f150c6b7ddcd7f31acad788410abc3cc82 SHA1 d8b21889a21a4ab0856d643c4931205ff403d6c2 SHA256 6e15a8a20c0f643bd40d5b4a663060ba908aeb9c516192acc040831cb17e65aa
-MISC ChangeLog 17634 RMD160 c69fd0b46b96bc0d8c23898bf9e3fc1ee8b41da7 SHA1 161d86506829377205459e6f58e1b1bb0a68b890 SHA256 3ba4ff992e515302c306b6f3c876058c252f99461ee231004d491ec05a56c670
+MISC ChangeLog 17782 RMD160 fc0e1476e07a430f6079e36bab03f2415716ab4f SHA1 4e2991bdf34ab8c53bff40019ca3806c0e0101de SHA256 816e16ba2d6afa4fe03baf8e1a8c7377395f31c092bfb3639a3459385335bf7b
MISC metadata.xml 608 RMD160 05b2e56d330d28aed13d4a7035369e04dc1e989e SHA1 ea332f57fa454cc6f8489f6debcd991003886fc0 SHA256 ab349ab6727625054f24bbf733a3f6fabb34ba1e1f0fd845c51c70595b05b6aa
diff --git a/app-emulation/virtualbox-ose/files/vboxwebsrv-confd b/app-emulation/virtualbox-ose/files/vboxwebsrv-confd
new file mode 100644
index 000000000000..157d26ec6cbd
--- /dev/null
+++ b/app-emulation/virtualbox-ose/files/vboxwebsrv-confd
@@ -0,0 +1,18 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/files/vboxwebsrv-confd,v 1.1 2009/06/09 18:20:45 patrick Exp $
+
+# The host to bind to (defaults to "localhost").
+VBOXWEBSRV_HOST="localhost"
+
+# Which port to on the host (defaults to 18083).
+VBOXWEBSRV_PORT="18083"
+
+# Session timeout, in seconds. (defaults to 20).
+VBOXWEBSRV_TIMEOUT=20
+
+# The interval in which the webservice checks for
+# timed-out clients, in seconds. Normally does not
+# need to be changed (defaults to 5).
+VBOXWEBSRV_INTERVAL=5
+
diff --git a/app-emulation/virtualbox-ose/files/vboxwebsrv-initd b/app-emulation/virtualbox-ose/files/vboxwebsrv-initd
new file mode 100644
index 000000000000..7131a74aae24
--- /dev/null
+++ b/app-emulation/virtualbox-ose/files/vboxwebsrv-initd
@@ -0,0 +1,24 @@
+#!/sbin/runscript
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/files/vboxwebsrv-initd,v 1.1 2009/06/09 18:20:45 patrick Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ #checkconfig || return $?
+
+ ebegin "Starting VirtualBox WebService"
+ start-stop-daemon --start --quiet --pidfile /var/run/vboxwebsrv.pid \
+ --background --make-pidfile --exec /usr/bin/vboxwebsrv \
+ -- -H ${VBOXWEBSRV_HOST} -p ${VBOXWEBSRV_PORT} -t ${VBOXWEBSRV_TIMEOUT} -i ${VBOXWEBSRV_INTERVAL}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping VirtualBox WebService"
+ start-stop-daemon --stop --quiet --pidfile /var/run/vboxwebsrv.pid
+ eend $?
+}