summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2012-03-16 22:44:27 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2012-03-16 22:44:27 +0000
commitdf443b82849db183fedc81d8032a5da3ebe33996 (patch)
treed43b676b7292707535a989c273dd9724b35b5306 /app-emulation/phpvirtualbox
parentAdd missing --user parameter. Fixes bug #382141 (diff)
downloadgentoo-2-df443b82849db183fedc81d8032a5da3ebe33996.tar.gz
gentoo-2-df443b82849db183fedc81d8032a5da3ebe33996.tar.bz2
gentoo-2-df443b82849db183fedc81d8032a5da3ebe33996.zip
Moved from my overlay. Bug #338804. Thanks to Florian Knodt <f.knodt@yotaweb.de> for the original ebuild
(Portage version: 2.2.0_alpha90/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation/phpvirtualbox')
-rw-r--r--app-emulation/phpvirtualbox/ChangeLog11
-rw-r--r--app-emulation/phpvirtualbox/Manifest3
-rw-r--r--app-emulation/phpvirtualbox/metadata.xml11
-rw-r--r--app-emulation/phpvirtualbox/phpvirtualbox-4.1.7.ebuild50
4 files changed, 75 insertions, 0 deletions
diff --git a/app-emulation/phpvirtualbox/ChangeLog b/app-emulation/phpvirtualbox/ChangeLog
new file mode 100644
index 000000000000..a4fcf3a8e860
--- /dev/null
+++ b/app-emulation/phpvirtualbox/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-emulation/phpvirtualbox
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/phpvirtualbox/ChangeLog,v 1.1 2012/03/16 22:44:27 hwoarang Exp $
+
+*phpvirtualbox-4.1.7 (16 Mar 2012)
+
+ 16 Mar 2012; Markos Chandras <hwoarang@gentoo.org> +metadata.xml,
+ +phpvirtualbox-4.1.7.ebuild:
+ Moved from my overlay. Bug #338804. Thanks to Florian Knodt
+ <f.knodt@yotaweb.de> for the original ebuild
+
diff --git a/app-emulation/phpvirtualbox/Manifest b/app-emulation/phpvirtualbox/Manifest
new file mode 100644
index 000000000000..a7f25a23e8f0
--- /dev/null
+++ b/app-emulation/phpvirtualbox/Manifest
@@ -0,0 +1,3 @@
+DIST phpvirtualbox-4.1-7.zip 2760199 RMD160 bbc14f536f4b8c060ff70196a060ca45b0d1feca SHA1 7788d4820148840899c61b32dc30f0c9f65c3e0c SHA256 16c27cd1bcc843b464752c3dd7091247b690218bca06fcecbdd130c5daf70b7c
+EBUILD phpvirtualbox-4.1.7.ebuild 1118 RMD160 5b3a4f80a40062bfe923636e670e72c3de388b2d SHA1 d9be9ebf9278e87011eb88a61499237f2825dac5 SHA256 3352f3561876a4a40d1e0afd713a3eb01bdb900be0f847bacb91574506d14a27
+MISC metadata.xml 278 RMD160 85ae612f4b725d8857a7fe0808090691c0e58fbd SHA1 c97840692a46e7d54f22bfcfd0a564a8d08033dd SHA256 07a0afc4dfc12865b213ef6815169e0524357989b213ac40bc9436dea94c3160
diff --git a/app-emulation/phpvirtualbox/metadata.xml b/app-emulation/phpvirtualbox/metadata.xml
new file mode 100644
index 000000000000..5e3a61a90139
--- /dev/null
+++ b/app-emulation/phpvirtualbox/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>hwoarang@gentoo.org</email>
+<name>Markos Chandras</name>
+</maintainer>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>
+
diff --git a/app-emulation/phpvirtualbox/phpvirtualbox-4.1.7.ebuild b/app-emulation/phpvirtualbox/phpvirtualbox-4.1.7.ebuild
new file mode 100644
index 000000000000..72de25e5220d
--- /dev/null
+++ b/app-emulation/phpvirtualbox/phpvirtualbox-4.1.7.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/phpvirtualbox/phpvirtualbox-4.1.7.ebuild,v 1.1 2012/03/16 22:44:27 hwoarang Exp $
+
+EAPI="2"
+
+inherit versionator eutils webapp depend.php
+
+MY_PV="$(replace_version_separator 2 '-')"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Web-based administration for VirtualBox in PHP"
+HOMEPAGE="http://phpvirtualbox.googlecode.com"
+SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.zip"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-lang/php[session,unicode,soap,gd]
+"
+DEPEND="app-arch/unzip"
+
+need_php_httpd
+
+src_install() {
+ webapp_src_preinst
+
+ cd ${MY_P}
+
+ dodoc CHANGELOG.txt LICENSE.txt README.txt || die
+ rm -f CHANGELOG.txt LICENSE.txt README.txt
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ webapp_configfile "${MY_HTDOCSDIR}"/config.php-example
+ webapp_serverowned "${MY_HTDOCSDIR}"/config.php-example
+
+ webapp_src_install
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+ elog "Local or remote virtualbox hosts must be compiled with"
+ elog "'vboxwebsrv' useflag and the respective init script"
+ elog "must be running to use this interface"
+ elog " /etc/init.d/vboxwebsrv start"
+}