parent
85a3253b5c
commit
15ea4ee0c8
@ -1,2 +1,2 @@
|
||||
DIST glance-2013.1.4.tar.gz 724110 SHA256 dfb8070a12bbf5761db1c55d21db4772fe81ed903d57cf991618e5224cbdcd67 SHA512 31c6c4ba0e777fcd345fe24d32eab548f8e9756764051d8b3c50d4d54404c902473760a0dc1158e8b6b42a0b81e14ae6a31d03bb07d4254fcb4960b05dd747a9 WHIRLPOOL 770f782f539b0ac465c00e726552f4b7fc8824c4a9da1a94ef4103ef56ce17ff1c2ccc75140b71c9f4d3d875885f169d3c1c6d761fed7ff691c83484b86de74f
|
||||
DIST glance-2013.2.tar.gz 1614843 SHA256 135fb1b6fe8410894b9d070071e1b7d7ddd37fb7c7267e2644e91e2b5448d6e5 SHA512 38f9f38a79c18b8ea32c36052434c48b6558cbc0a92e3855d4e6f6961b160e22b78d7c89ff52f877ce93f312c6e3f87573e4545c44d1ce20dddb626f7a747017 WHIRLPOOL 6254cee35ac9b36c7a0894332d5222fbc31240360c90a75b22d944bd499a480533fd9248a95c245575dbc79354dd2cb835e194832ea035e9cbfbb7fb4132f7c2
|
||||
DIST glance-2013.2.1.tar.gz 1616541 SHA256 f04eb070a862c0d14bdd94204a6f17f4a813dbeacc1978dffb53752c360731aa SHA512 42a30004d7677c946216bd934712094f585d1a98c8e4d7a4b51a14af93eac3e251bd7ef16fa9d9915f3c2f75974969306439742aaeaa64bf3d983ab458531ee5 WHIRLPOOL b76513207e56f3ceb18976b901a79fd5fbff2a9779df1179e79dc5d10049d3b100124e61b55e26ef47f5df54f03a1122752939e4b028d7873b0b0b771aabe9ac
|
||||
|
@ -1,71 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/glance/files/glance-2.initd,v 1.1 2013/09/26 00:58:07 prometheanfire Exp $
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
BASENAME=$(echo $SVCNAME | cut -d '-' -f 1)
|
||||
SERVERNAME=$(echo $SVCNAME | cut -d '-' -f 2)
|
||||
SERVICES=( api registry scrubber )
|
||||
if [ ${SVCNAME} == 'glance' ]; then
|
||||
SERVERNAME='all'
|
||||
fi
|
||||
|
||||
checkconfig() {
|
||||
if [ ! -r /etc/conf.d/$BASENAME ]; then
|
||||
eerror "No glance conf.dfile found: /etc/conf.d/$BASENAME)"
|
||||
return 1
|
||||
fi
|
||||
if [ ${SVCNAME} == 'glance' ]; then
|
||||
for service in ${SERVICES[*]}; do
|
||||
if [ ! -r /etc/glance/glance-${service}.conf ]; then
|
||||
eerror "No glance-${SERVICE} config file found: /etc/glance/glance-${SERVICE}.conf)"
|
||||
return 1
|
||||
fi
|
||||
done
|
||||
elif [ ! -r /etc/glance/${SVCNAME}.conf ]; then
|
||||
eerror "No ${BASENAME} config file found: /etc/glance/${SVCNAME}.conf)"
|
||||
return 1
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
|
||||
start() {
|
||||
checkconfig || return $?
|
||||
. /etc/conf.d/$BASENAME
|
||||
|
||||
ebegin "Starting ${SVCNAME}"
|
||||
if [ ! -d ${PID_PATH} ]; then
|
||||
mkdir ${PID_PATH}
|
||||
fi
|
||||
|
||||
start-stop-daemon --start --quiet --pidfile "${PID_PATH}/${SVCNAME}.pid" --exec /usr/bin/glance-control ${SERVERNAME} start
|
||||
|
||||
eend $? "Failed to start ${SVCNAME}"
|
||||
}
|
||||
|
||||
stop() {
|
||||
checkconfig || return $?
|
||||
. /etc/conf.d/$BASENAME
|
||||
|
||||
ebegin "Stopping ${SVCNAME}"
|
||||
|
||||
if [ ${SVCNAME} == 'glance' ]; then
|
||||
for service in ${SERVICES[*]}; do
|
||||
start-stop-daemon --stop --quiet --pidfile "${PID_PATH}/glance-${service}.pid" \
|
||||
--exec /usr/bin/glance-control ${service} stop /etc/glance/glance-${service}.conf
|
||||
done
|
||||
else
|
||||
start-stop-daemon --stop --quiet --pidfile "${PID_PATH}/${SVCNAME}.pid" \
|
||||
--exec /usr/bin/glance-control ${SERVERNAME} stop /etc/glance/glance-${SERVERNAME}.conf
|
||||
fi
|
||||
eend $? "Failed to stop ${SVCNAME}"
|
||||
}
|
||||
|
||||
#restart() {
|
||||
#
|
||||
#}
|
@ -1,71 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/glance/files/glance-3.initd,v 1.1 2013/11/18 03:02:59 prometheanfire Exp $
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
BASENAME=$(echo $SVCNAME | cut -d '-' -f 1)
|
||||
SERVERNAME=$(echo $SVCNAME | cut -d '-' -f 2)
|
||||
SERVICES=( api registry scrubber )
|
||||
if [ ${SVCNAME} == 'glance' ]; then
|
||||
SERVERNAME='all'
|
||||
fi
|
||||
|
||||
checkconfig() {
|
||||
if [ ! -r /etc/conf.d/$BASENAME ]; then
|
||||
eerror "No glance conf.dfile found: /etc/conf.d/$BASENAME)"
|
||||
return 1
|
||||
fi
|
||||
if [ ${SVCNAME} == 'glance' ]; then
|
||||
for service in ${SERVICES[*]}; do
|
||||
if [ ! -r /etc/glance/glance-${service}.conf ]; then
|
||||
eerror "No glance-${SERVICE} config file found: /etc/glance/glance-${SERVICE}.conf)"
|
||||
return 1
|
||||
fi
|
||||
done
|
||||
elif [ ! -r /etc/glance/${SVCNAME}.conf ]; then
|
||||
eerror "No ${BASENAME} config file found: /etc/glance/${SVCNAME}.conf)"
|
||||
return 1
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
|
||||
start() {
|
||||
checkconfig || return $?
|
||||
. /etc/conf.d/$BASENAME
|
||||
|
||||
ebegin "Starting ${SVCNAME}"
|
||||
if [ ! -d ${PID_PATH} ]; then
|
||||
mkdir ${PID_PATH}
|
||||
fi
|
||||
|
||||
start-stop-daemon --start --quiet --pidfile "${PID_PATH}/${SVCNAME}.pid" --user glance --exec /usr/bin/glance-control ${SERVERNAME} start /etc/glance/glance-${SERVERNAME}.conf
|
||||
|
||||
eend $? "Failed to start ${SVCNAME}"
|
||||
}
|
||||
|
||||
stop() {
|
||||
checkconfig || return $?
|
||||
. /etc/conf.d/$BASENAME
|
||||
|
||||
ebegin "Stopping ${SVCNAME}"
|
||||
|
||||
if [ ${SVCNAME} == 'glance' ]; then
|
||||
for service in ${SERVICES[*]}; do
|
||||
start-stop-daemon --stop --quiet --pidfile "${PID_PATH}/glance-${service}.pid" \
|
||||
--exec /usr/bin/glance-control ${service} stop /etc/glance/glance-${service}.conf
|
||||
done
|
||||
else
|
||||
start-stop-daemon --stop --quiet --pidfile "${PID_PATH}/${SVCNAME}.pid" \
|
||||
--exec /usr/bin/glance-control ${SERVERNAME} stop /etc/glance/glance-${SERVERNAME}.conf
|
||||
fi
|
||||
eend $? "Failed to stop ${SVCNAME}"
|
||||
}
|
||||
|
||||
#restart() {
|
||||
#
|
||||
#}
|
@ -1,70 +0,0 @@
|
||||
From 28d0350070c6120a83287f0846c59f50814bc37a Mon Sep 17 00:00:00 2001
|
||||
From: "Mark J. Washenberger" <mark.washenberger@markwash.net>
|
||||
Date: Wed, 26 Jun 2013 15:41:25 -0700
|
||||
Subject: [PATCH] Don't rely on prog.Name for paste app
|
||||
|
||||
Relying on the name of the program breaks packagers who need to move
|
||||
glance executables around to other locations on the file system.
|
||||
|
||||
Fixes bug 1194987
|
||||
|
||||
Change-Id: I7721c5181b17b1f34adc279c055dfff5d17b57e5
|
||||
---
|
||||
bin/glance-api.py | 2 +-
|
||||
bin/glance-registry.py | 3 ++-
|
||||
glance/common/config.py | 5 +----
|
||||
3 files changed, 4 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/bin/glance-api b/bin/glance-api
|
||||
index a82261e..5244b84 100755
|
||||
--- a/bin/glance-api
|
||||
+++ b/bin/glance-api
|
||||
@@ -53,7 +53,7 @@ if __name__ == '__main__':
|
||||
log.setup('glance')
|
||||
|
||||
server = wsgi.Server()
|
||||
- server.start(config.load_paste_app, default_port=9292)
|
||||
+ server.start(config.load_paste_app('glance-api'), default_port=9292)
|
||||
server.wait()
|
||||
except exception.WorkerCreationFailure as e:
|
||||
fail(2, e)
|
||||
diff --git a/bin/glance-registry b/bin/glance-registry
|
||||
index 678bcd1..39bc3ee 100755
|
||||
--- a/bin/glance-registry
|
||||
+++ b/bin/glance-registry
|
||||
@@ -47,7 +47,8 @@ if __name__ == '__main__':
|
||||
log.setup('glance')
|
||||
|
||||
server = wsgi.Server()
|
||||
- server.start(config.load_paste_app, default_port=9191)
|
||||
+ server.start(config.load_paste_app('glance-registry'),
|
||||
+ default_port=9191)
|
||||
server.wait()
|
||||
except RuntimeError as e:
|
||||
sys.exit("ERROR: %s" % e)
|
||||
diff --git a/glance/common/config.py b/glance/common/config.py
|
||||
index 45cea5d..cd4feba 100644
|
||||
--- a/glance/common/config.py
|
||||
+++ b/glance/common/config.py
|
||||
@@ -158,7 +158,7 @@ def _get_deployment_config_file():
|
||||
return os.path.abspath(path)
|
||||
|
||||
|
||||
-def load_paste_app(app_name=None):
|
||||
+def load_paste_app(app_name):
|
||||
"""
|
||||
Builds and returns a WSGI app from a paste config file.
|
||||
|
||||
@@ -170,9 +170,6 @@ def load_paste_app(app_name=None):
|
||||
:raises RuntimeError when config file cannot be located or application
|
||||
cannot be loaded from config file
|
||||
"""
|
||||
- if app_name is None:
|
||||
- app_name = CONF.prog
|
||||
-
|
||||
# append the deployment flavor to the application name,
|
||||
# in order to identify the appropriate paste pipeline
|
||||
app_name += _get_deployment_flavor()
|
||||
--
|
||||
1.8.1.5
|
||||
|
@ -1,53 +1,74 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/glance/files/glance.initd,v 1.3 2013/09/12 06:27:27 prometheanfire Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/glance/files/glance.initd,v 1.4 2013/12/19 05:20:42 prometheanfire Exp $
|
||||
|
||||
depend() {
|
||||
need net
|
||||
need net
|
||||
}
|
||||
|
||||
BASENAME=$(echo $SVCNAME | cut -d '-' -f 1)
|
||||
SERVERNAME=$(echo $SVCNAME | cut -d '-' -f 2)
|
||||
SERVICES=( api registry scrubber )
|
||||
if [ ${SVCNAME} == 'glance' ]; then
|
||||
SERVERNAME='all'
|
||||
fi
|
||||
|
||||
checkconfig() {
|
||||
if [ ! -r /etc/conf.d/$BASENAME ]; then
|
||||
eerror "No glance conf.dfile found: /etc/conf.d/$BASENAME)"
|
||||
return 1
|
||||
fi
|
||||
if [ ! -r /etc/glance/${SVCNAME}.conf ]; then
|
||||
eerror "No ${BASENAME} config file found: /etc/glance/${SVCNAME}.conf)"
|
||||
return 1
|
||||
fi
|
||||
return 0
|
||||
if [ ! -r /etc/conf.d/$BASENAME ]; then
|
||||
eerror "No glance conf.dfile found: /etc/conf.d/$BASENAME)"
|
||||
return 1
|
||||
fi
|
||||
if [ ${SVCNAME} == 'glance' ]; then
|
||||
for service in ${SERVICES[*]}; do
|
||||
if [ ! -r /etc/glance/glance-${service}.conf ]; then
|
||||
eerror "No glance-${SERVICE} config file found: /etc/glance/glance-${SERVICE}.conf)"
|
||||
return 1
|
||||
fi
|
||||
done
|
||||
elif [ ! -r /etc/glance/${SVCNAME}.conf ]; then
|
||||
eerror "No ${BASENAME} config file found: /etc/glance/${SVCNAME}.conf)"
|
||||
return 1
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
|
||||
start() {
|
||||
checkconfig || return $?
|
||||
. /etc/conf.d/$BASENAME
|
||||
|
||||
ebegin "Starting ${SVCNAME}"
|
||||
checkconfig || return $?
|
||||
. /etc/conf.d/$BASENAME
|
||||
|
||||
ebegin "Starting ${SVCNAME}"
|
||||
if [ ! -d ${PID_PATH} ]; then
|
||||
mkdir ${PID_PATH}
|
||||
fi
|
||||
|
||||
start-stop-daemon --start --quiet --pidfile "${PID_PATH}/${SVCNAME}.pid" --exec /usr/bin/glance-control ${SERVERNAME} start
|
||||
|
||||
eend $? "Failed to start ${SVCNAME}"
|
||||
|
||||
if [ ${SVCNAME} == 'glance' ]; then
|
||||
for service in ${SERVICES[*]}; do
|
||||
start-stop-daemon --start --quiet --background --make-pidfile --pidfile "${PID_PATH}/glance-${service}.pid" --user glance:glance --exec /usr/bin/glance-${service} -- --config-file /etc/glance/glance-${service}.conf
|
||||
done
|
||||
else
|
||||
start-stop-daemon --start --quiet --background --make-pidfile --pidfile "${PID_PATH}/${SVCNAME}.pid" --user glance:glance --exec /usr/bin/glance-${SERVERNAME} -- --config-file /etc/glance/glance-${SERVERNAME}.conf
|
||||
fi
|
||||
eend $? "Failed to start ${SVCNAME}"
|
||||
}
|
||||
|
||||
stop() {
|
||||
checkconfig || return $?
|
||||
. /etc/conf.d/$BASENAME
|
||||
|
||||
ebegin "Stopping ${SVCNAME}"
|
||||
|
||||
start-stop-daemon --stop --quiet --pidfile "${PID_PATH}/${SVCNAME}.pid" \
|
||||
--exec /usr/bin/glance-control ${SERVERNAME} stop /etc/glance/glance-${SERVERNAME}.conf
|
||||
eend $? "Failed to stop ${SVCNAME}"
|
||||
checkconfig || return $?
|
||||
. /etc/conf.d/$BASENAME
|
||||
|
||||
ebegin "Stopping ${SVCNAME}"
|
||||
|
||||
if [ ${SVCNAME} == 'glance' ]; then
|
||||
for service in ${SERVICES[*]}; do
|
||||
start-stop-daemon --stop --quiet --pidfile "${PID_PATH}/glance-${service}.pid" --exec /usr/bin/glance-${service} -- --config-file /etc/glance/glance-${service}.conf
|
||||
done
|
||||
else
|
||||
start-stop-daemon --stop --quiet --pidfile "${PID_PATH}/${SVCNAME}.pid" --exec /usr/bin/glance-control -- ${SERVERNAME} -- --config-file /etc/glance/glance-${SERVERNAME}.conf
|
||||
fi
|
||||
eend $? "Failed to stop ${SVCNAME}"
|
||||
}
|
||||
|
||||
#restart() {
|
||||
#
|
||||
#}
|
||||
#}
|
@ -1,128 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/glance/glance-2013.2-r1.ebuild,v 1.1 2013/11/13 12:30:45 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Provides services for discovering, registering, and retrieving
|
||||
virtual machine images with Openstack"
|
||||
HOMEPAGE="https://launchpad.net/glance"
|
||||
SRC_URI="http://launchpad.net/${PN}/havana/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc mysql postgres +sqlite +swift test"
|
||||
REQUIRED_USE="|| ( mysql postgres sqlite )"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.5.21[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-0.3.12[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/nose-exclude[${PYTHON_USEDEP}]
|
||||
>=dev-python/openstack-nose-plugin-0.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/nosehtmloutput-0.0.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.24-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-0.6.1[${PYTHON_USEDEP}]
|
||||
dev-python/mysql-python[${PYTHON_USEDEP}]
|
||||
dev-python/psycopg[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyxattr-0.5.0[${PYTHON_USEDEP}]
|
||||
=dev-python/pep8-1.4.5[${PYTHON_USEDEP}]
|
||||
=dev-python/pyflakes-0.7.2[${PYTHON_USEDEP}]
|
||||
=dev-python/flake8-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/hacking-0.5.6[${PYTHON_USEDEP}]
|
||||
<dev-python/hacking-0.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/Babel-0.9.6[${PYTHON_USEDEP}]
|
||||
)
|
||||
doc? ( dev-python/oslo-sphinx )"
|
||||
#=dev-python/pysendfile-2.0.0 & dev-python/qpid-python need making and adding to portage under test?
|
||||
#note to self, wsgiref is a python builtin, no need to package it
|
||||
#>=dev-python/wsgiref-0.1.2[${PYTHON_USEDEP}]
|
||||
|
||||
RDEPEND=">=dev-python/pbr-0.5.21[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}]
|
||||
sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}]
|
||||
<dev-python/sqlalchemy-0.7.99[sqlite,${PYTHON_USEDEP}] )
|
||||
mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}]
|
||||
<dev-python/sqlalchemy-0.7.99[mysql,${PYTHON_USEDEP}] )
|
||||
postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}]
|
||||
<dev-python/sqlalchemy-0.7.99[postgres,${PYTHON_USEDEP}] )
|
||||
>=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/routes-1.12.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/webob-1.2.3[${PYTHON_USEDEP}]
|
||||
<dev-python/webob-1.3[${PYTHON_USEDEP}]
|
||||
virtual/python-argparse[${PYTHON_USEDEP}]
|
||||
>=dev-python/boto-2.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-migrate-0.7.2[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
>=dev-python/kombu-2.4.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/iso8601-0.1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-1.2.0[${PYTHON_USEDEP}]
|
||||
swift? (
|
||||
>=dev-python/python-swiftclient-1.5[${PYTHON_USEDEP}]
|
||||
<dev-python/python-swiftclient-2[${PYTHON_USEDEP}]
|
||||
)
|
||||
>=dev-python/lxml-2.3[${PYTHON_USEDEP}]
|
||||
dev-python/paste[${PYTHON_USEDEP}]
|
||||
dev-python/passlib[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-1.3.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/jsonschema-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-cinderclient-1.0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-keystoneclient-0.3.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-sphinx_mapping.patch )
|
||||
|
||||
python_compile_all() {
|
||||
use doc && "${PYTHON}" setup.py build_sphinx
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests glance/ -I test_notifier.py || die "tests failed under python2.7"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
newconfd "${FILESDIR}/glance.confd" glance
|
||||
newinitd "${FILESDIR}/glance-2.initd" glance
|
||||
|
||||
for function in api registry scrubber; do
|
||||
dosym /etc/init.d/glance /etc/init.d/glance-${function}
|
||||
done
|
||||
|
||||
diropts -m 0750
|
||||
dodir /var/run/glance /var/log/glance /var/lib/glance/images /var/lib/glance/scrubber
|
||||
keepdir /etc/glance
|
||||
keepdir /var/log/glance
|
||||
keepdir /var/lib/glance/images
|
||||
keepdir /var/lib/glance/scrubber
|
||||
insinto /etc/glance
|
||||
|
||||
doins "etc/glance-api-paste.ini"
|
||||
doins "etc/glance-api.conf"
|
||||
doins "etc/glance-cache.conf"
|
||||
doins "etc/glance-registry-paste.ini"
|
||||
doins "etc/glance-registry.conf"
|
||||
doins "etc/glance-scrubber.conf"
|
||||
doins "etc/logging.cnf.sample"
|
||||
doins "etc/policy.json"
|
||||
doins "etc/schema-image.json"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/glance/glance-2013.2.ebuild,v 1.1 2013/10/29 05:02:54 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Provides services for discovering, registering, and retrieving
|
||||
virtual machine images with Openstack"
|
||||
HOMEPAGE="https://launchpad.net/glance"
|
||||
SRC_URI="http://launchpad.net/${PN}/havana/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="mysql postgres +sqlite +swift"
|
||||
REQUIRED_USE="|| ( mysql postgres sqlite )"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.5.21[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]"
|
||||
#note to self, wsgiref is a python builtin, no need to package it
|
||||
#>=dev-python/wsgiref-0.1.2[${PYTHON_USEDEP}]
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}]
|
||||
sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}]
|
||||
<dev-python/sqlalchemy-0.7.99[sqlite,${PYTHON_USEDEP}] )
|
||||
mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}]
|
||||
<dev-python/sqlalchemy-0.7.99[mysql,${PYTHON_USEDEP}] )
|
||||
postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}]
|
||||
<dev-python/sqlalchemy-0.7.99[postgres,${PYTHON_USEDEP}] )
|
||||
>=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/routes-1.12.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/webob-1.2.3[${PYTHON_USEDEP}]
|
||||
<dev-python/webob-1.3[${PYTHON_USEDEP}]
|
||||
virtual/python-argparse[${PYTHON_USEDEP}]
|
||||
>=dev-python/boto-2.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-migrate-0.7.2[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
>=dev-python/kombu-2.4.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/iso8601-0.1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-1.2.0[${PYTHON_USEDEP}]
|
||||
swift? (
|
||||
>=dev-python/python-swiftclient-1.5[${PYTHON_USEDEP}]
|
||||
<dev-python/python-swiftclient-2[${PYTHON_USEDEP}]
|
||||
)
|
||||
>=dev-python/lxml-2.3[${PYTHON_USEDEP}]
|
||||
dev-python/paste[${PYTHON_USEDEP}]
|
||||
dev-python/passlib[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-1.3.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/jsonschema-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-cinderclient-1.0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-keystoneclient-0.3.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=(
|
||||
)
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
newconfd "${FILESDIR}/glance.confd" glance
|
||||
newinitd "${FILESDIR}/glance-2.initd" glance
|
||||
|
||||
for function in api registry scrubber; do
|
||||
dosym /etc/init.d/glance /etc/init.d/glance-${function}
|
||||
done
|
||||
|
||||
diropts -m 0750
|
||||
dodir /var/run/glance /var/log/glance /var/lib/glance/images /var/lib/glance/scrubber
|
||||
keepdir /etc/glance
|
||||
keepdir /var/log/glance
|
||||
keepdir /var/lib/glance/images
|
||||
keepdir /var/lib/glance/scrubber
|
||||
insinto /etc/glance
|
||||
|
||||
doins "etc/glance-api-paste.ini"
|
||||
doins "etc/glance-api.conf"
|
||||
doins "etc/glance-cache.conf"
|
||||
doins "etc/glance-registry-paste.ini"
|
||||
doins "etc/glance-registry.conf"
|
||||
doins "etc/glance-scrubber.conf"
|
||||
doins "etc/logging.cnf.sample"
|
||||
doins "etc/policy.json"
|
||||
doins "etc/schema-image.json"
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
Index: PackageKit-0.8.12/src/org.freedesktop.PackageKit.xml
|
||||
===================================================================
|
||||
--- PackageKit-0.8.12.orig/src/org.freedesktop.PackageKit.xml
|
||||
+++ PackageKit-0.8.12/src/org.freedesktop.PackageKit.xml
|
||||
@@ -317,6 +317,7 @@
|
||||
|
||||
<!--*****************************************************************************************-->
|
||||
<method name="GetPackageHistory">
|
||||
+ <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariant"/>
|
||||
<doc:doc>
|
||||
<doc:description>
|
||||
<doc:para>
|
@ -1 +1,2 @@
|
||||
DIST PackageKit-0.7.4.tar.xz 1493656 SHA256 4112c86d67afbbb9be5d3a706c63c537babbbe1f96e398ae306f5e5e02563a98 SHA512 a2cee60f499ec6c5359f3dc2eddda02cfb9c287f80a6b38aa1d9d87558ce5938ade87ab34f6cb1f9640749a0f19625b44c89f72dea5fbb0cbd5f34aec8dbb9f6 WHIRLPOOL 2827cb038c86164ae58021fafe9f2bbf21e69b5c63c4ef5e0f613806f5725f910af3d5aa51646fd258da9c91b81b086cf9560f66bf042e1cb6d1c25128f984b3
|
||||
DIST PackageKit-Qt-0.8.8.tar.xz 41416 SHA256 e234d4b1f8451821930f463621a86c9708eebfd1db65019883d38a60d13c870c SHA512 a81b85588f531ca58d355094a78c3f07aa804350fdd49f98fbae02076ebb1d4736c0a3d33822805a9e1b5ee5bf62e85141994b841c5e9218b7d03715b45dde11 WHIRLPOOL 319b2226fcf1a7de58df016b2cd401779601ad1842f0d35c9341f56d380397d9dc92a7cd8c8291fb0c4487f7821f4c860130b6275523a240bc3e8996d425f973
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-qt4/packagekit-qt4-0.8.8.ebuild,v 1.1 2013/12/19 10:21:32 lxnay Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils cmake-utils
|
||||
|
||||
MY_PN="PackageKit-Qt"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Qt4 PackageKit backend library"
|
||||
HOMEPAGE="http://www.packagekit.org/"
|
||||
SRC_URI="http://www.packagekit.org/releases/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-qt/qtcore-4.4.0
|
||||
>=dev-qt/qtdbus-4.4.0
|
||||
>=dev-qt/qtsql-4.4.0
|
||||
>=app-admin/packagekit-base-0.8.15-r1"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/libxslt
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
@ -1,2 +1,3 @@
|
||||
DIST gnupg-1.4.15.tar.bz2 3654415 SHA256 b6bb40a8f96dc1227b69f8e3b35f0bc4c8276923147f6069cae2f6307c62795d SHA512 fe789e120dfc38be35c1eed1c9b105a83debaed59696085a356812df2b57ceb0ed6b94c491e5db23e31a7f5efaa4d5a17d6a54197bb347d74df3cc54dd8d4aed WHIRLPOOL 3b65e61344bf53aa329bff6092f3912fb6c2db11b14da03c9d7f3f1140c12cb82f7b7ed8c50477cf3ff23799cd393c682fb014c095d53d2bb91fbf5606acab87
|
||||
DIST gnupg-1.4.16.tar.bz2 3656752 SHA256 7b3b748e6aaa338092a0b26b1730cd9355765b55e3684f58dd70f9a1b00f4a2f SHA512 62bccf22211c25cf2ffbf9d35b8f47211e3a71fd92828705d12b23e7d658c9c65c6d845eb5e887e0d855d90a49a5033ecf9de4e22a63e7d3fc052eb1ed33dff4 WHIRLPOOL 7b84449fe7e49e7009d30cdfb8e4b7e1067e3d4bddf94cfa9fca6b3fcfccaa4cd1bd86c3e08507a7f9f1080feb3057b7db1ddcbbaabf42a4fc84d0c36bc91d70
|
||||
DIST gnupg-2.0.22.tar.bz2 4277117 SHA256 437d0ab259854359fc48aa8795af80cff4975e559c111c92c03d0bc91408e251 SHA512 de534b2f4b8d3c320e97519fe0834bc403c96c6dbb2e24fc24eb68f4ff80374360ef66d83ddc3d6fa096c5199d3782abc5d06b866203378cba130b42802cc855 WHIRLPOOL c45e7b2560ae31f013f732863db99f6e23d0de83d03371fe592192c2b5f800503f7a1e273c59e4c99f3aa0401e8cfb2bdbf1c5029534f642305e768009f15fef
|
||||
|
@ -0,0 +1,124 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-1.4.16.ebuild,v 1.1 2013/12/18 20:14:07 alonbl Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
ECCVER="0.2.0"
|
||||
ECCVER_GNUPG="1.4.9"
|
||||
ECC_PATCH="${PN}-${ECCVER_GNUPG}-ecc${ECCVER}.diff"
|
||||
MY_P=${P/_/}
|
||||
|
||||
DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement"
|
||||
HOMEPAGE="http://www.gnupg.org/"
|
||||
SRC_URI="mirror://gnupg/gnupg/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="bzip2 curl ldap mta nls readline selinux smartcard static usb zlib linguas_ru"
|
||||
|
||||
COMMON_DEPEND="
|
||||
ldap? ( net-nds/openldap )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
zlib? ( sys-libs/zlib )
|
||||
curl? ( net-misc/curl )
|
||||
mta? ( virtual/mta )
|
||||
readline? ( sys-libs/readline )
|
||||
smartcard? ( =virtual/libusb-0* )
|
||||
usb? ( =virtual/libusb-0* )"
|
||||
|
||||
RDEPEND="!static? ( ${COMMON_DEPEND} )
|
||||
selinux? ( sec-policy/selinux-gpg )
|
||||
nls? ( virtual/libintl )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-lang/perl
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
# Install RU man page in right location
|
||||
sed -e "/^man_MANS =/s/ gpg\.ru\.1//" -i doc/Makefile.in || die "sed doc/Makefile.in failed"
|
||||
|
||||
# bug#469388
|
||||
sed -i -e 's/--batch --dearmor/--homedir . --batch --dearmor/' checks/Makefile.in
|
||||
|
||||
# Fix PIC definitions
|
||||
sed -i -e 's:PIC:__PIC__:' mpi/i386/mpih-{add,sub}1.S intl/relocatable.c \
|
||||
|| die "sed PIC failed"
|
||||
sed -i -e 's:if PIC:ifdef __PIC__:' mpi/sparc32v8/mpih-mul{1,2}.S || \
|
||||
die "sed PIC failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Certain sparc32 machines seem to have trouble building correctly with
|
||||
# -mcpu enabled. While this is not a gnupg problem, it is a temporary
|
||||
# fix until the gcc problem can be tracked down.
|
||||
if [ "${ARCH}" == "sparc" ] && [ "${PROFILE_ARCH}" == "sparc" ]; then
|
||||
filter-flags -mcpu=supersparc -mcpu=v8 -mcpu=v7
|
||||
fi
|
||||
|
||||
# 'USE=static' support was requested in #29299
|
||||
use static && append-ldflags -static
|
||||
|
||||
econf \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
$(use_enable ldap) \
|
||||
$(use_enable mta mailto) \
|
||||
--enable-hkp \
|
||||
--enable-finger \
|
||||
$(use_with !zlib included-zlib) \
|
||||
$(use_with curl libcurl /usr) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable bzip2) \
|
||||
$(use_enable smartcard card-support) \
|
||||
$(use_enable selinux selinux-support) \
|
||||
--without-capabilities \
|
||||
$(use_with readline) \
|
||||
$(use_with usb libusb /usr) \
|
||||
--enable-static-rnd=linux \
|
||||
--libexecdir="${EPREFIX}/usr/libexec" \
|
||||
--enable-noexecstack \
|
||||
CC_FOR_BUILD=$(tc-getBUILD_CC) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# keep the documentation in /usr/share/doc/...
|
||||
rm -rf "${ED}usr/share/gnupg/FAQ" "${ED}usr/share/gnupg/faq.html" || die
|
||||
|
||||
dodoc AUTHORS BUGS ChangeLog NEWS PROJECTS README THANKS \
|
||||
TODO VERSION doc/{FAQ,HACKING,DETAILS,OpenPGP}
|
||||
|
||||
exeinto /usr/libexec/gnupg
|
||||
doexe tools/make-dns-cert
|
||||
|
||||
# install RU documentation in right location
|
||||
if use linguas_ru; then
|
||||
cp doc/gpg.ru.1 "${T}/gpg.1" || die
|
||||
doman -i18n=ru "${T}/gpg.1"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "If you are using a non-Linux system, or a kernel older than 2.6.9,"
|
||||
ewarn "you MUST make the gpg binary setuid."
|
||||
echo
|
||||
# if use !bindist && use ecc; then
|
||||
# ewarn
|
||||
# ewarn "The elliptical curves patch is experimental"
|
||||
# ewarn "Further info available at http://alumnes.eps.udl.es/%7Ed4372211/index.en.html"
|
||||
# fi
|
||||
elog
|
||||
elog "See http://www.gentoo.org/doc/en/gnupg-user.xml for documentation on gnupg"
|
||||
elog
|
||||
elog "If you wish to view images emerge:"
|
||||
elog "media-gfx/xloadimage, media-gfx/xli or any other viewer"
|
||||
elog "Remember to use photo-viewer option in configuration file to activate the right viewer"
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -3131,8 +3131,6 @@ fi
|
||||
if test "$gcov" = "yes" ; then
|
||||
CFLAGS="-fprofile-arcs -ftest-coverage -g $CFLAGS"
|
||||
LDFLAGS="-fprofile-arcs -ftest-coverage $LDFLAGS"
|
||||
-elif test "$debug" = "no" ; then
|
||||
- CFLAGS="-O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 $CFLAGS"
|
||||
fi
|
||||
|
||||
|
@ -0,0 +1,556 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.6.2.ebuild,v 1.1 2013/12/19 08:49:58 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="ncurses,readline"
|
||||
|
||||
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
|
||||
user udev fcaps readme.gentoo
|
||||
|
||||
BACKPORTS=
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.qemu.org/qemu.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz}"
|
||||
# Waiting for cardoe to sign off on this.
|
||||
#KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
|
||||
HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="accessibility +aio alsa bluetooth +caps +curl debug +fdt glusterfs \
|
||||
gtk iscsi +jpeg \
|
||||
kernel_linux kernel_FreeBSD mixemu ncurses opengl +png pulseaudio python \
|
||||
rbd sasl +seccomp sdl selinux smartcard spice ssh static static-softmmu \
|
||||
static-user systemtap tci test +threads tls usb usbredir +uuid vde +vhost-net \
|
||||
virtfs +vnc xattr xen xfs"
|
||||
|
||||
COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips
|
||||
mipsel mips64 mips64el or32 ppc ppc64 sh4 sh4eb sparc sparc64 s390x unicore32"
|
||||
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 moxie ppcemb xtensa xtensaeb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb mipsn32 mipsn32el ppc64abi32 sparc32plus"
|
||||
|
||||
# Setup the default SoftMMU targets, while using the loops
|
||||
# below to setup the other targets.
|
||||
REQUIRED_USE="|| ("
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS}; do
|
||||
IUSE="${IUSE} qemu_softmmu_targets_${target}"
|
||||
REQUIRED_USE="${REQUIRED_USE} qemu_softmmu_targets_${target}"
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS}; do
|
||||
IUSE="${IUSE} qemu_user_targets_${target}"
|
||||
REQUIRED_USE="${REQUIRED_USE} qemu_user_targets_${target}"
|
||||
done
|
||||
REQUIRED_USE="${REQUIRED_USE} )"
|
||||
|
||||
# Block USE flag configurations known to not work
|
||||
REQUIRED_USE="${REQUIRED_USE}
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
qemu_softmmu_targets_arm? ( fdt )
|
||||
qemu_softmmu_targets_microblaze? ( fdt )
|
||||
qemu_softmmu_targets_ppc? ( fdt )
|
||||
qemu_softmmu_targets_ppc64? ( fdt )
|
||||
static? ( static-softmmu static-user )
|
||||
static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl !gtk )
|
||||
virtfs? ( xattr )"
|
||||
|
||||
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
|
||||
LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
|
||||
sys-apps/pciutils[static-libs(+)]
|
||||
sys-libs/zlib[static-libs(+)]
|
||||
>=x11-libs/pixman-0.28.0[static-libs(+)]
|
||||
aio? ( dev-libs/libaio[static-libs(+)] )
|
||||
caps? ( sys-libs/libcap-ng[static-libs(+)] )
|
||||
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
|
||||
fdt? ( >=sys-apps/dtc-1.4.0[static-libs(+)] )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
|
||||
jpeg? ( virtual/jpeg[static-libs(+)] )
|
||||
ncurses? ( sys-libs/ncurses[static-libs(+)] )
|
||||
png? ( media-libs/libpng[static-libs(+)] )
|
||||
rbd? ( sys-cluster/ceph[static-libs(+)] )
|
||||
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
|
||||
sdl? ( >=media-libs/libsdl-1.2.11[static-libs(+)] )
|
||||
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
|
||||
spice? ( >=app-emulation/spice-0.12.0[static-libs(+)] )
|
||||
ssh? ( >=net-libs/libssh2-1.2.8[static-libs(+)] )
|
||||
tls? ( net-libs/gnutls[static-libs(+)] )
|
||||
usb? ( >=dev-libs/libusbx-1.0.13[static-libs(+)] )
|
||||
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
|
||||
vde? ( net-misc/vde[static-libs(+)] )
|
||||
xattr? ( sys-apps/attr[static-libs(+)] )
|
||||
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
|
||||
RDEPEND="!static-softmmu? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||
static-user? ( >=dev-libs/glib-2.0[static-libs(+)] )
|
||||
qemu_softmmu_targets_i386? (
|
||||
>=sys-firmware/ipxe-1.0.0_p20130624
|
||||
~sys-firmware/seabios-1.7.3
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.7a
|
||||
)
|
||||
qemu_softmmu_targets_x86_64? (
|
||||
>=sys-firmware/ipxe-1.0.0_p20130624
|
||||
~sys-firmware/seabios-1.7.3
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.7a
|
||||
)
|
||||
accessibility? ( app-accessibility/brltty )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
gtk? (
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/vte:2.90
|
||||
)
|
||||
iscsi? ( net-libs/libiscsi )
|
||||
opengl? ( virtual/opengl )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
sdl? ( media-libs/libsdl[X] )
|
||||
selinux? ( sec-policy/selinux-qemu )
|
||||
smartcard? ( dev-libs/nss !app-emulation/libcacard )
|
||||
spice? ( >=app-emulation/spice-protocol-0.12.3 )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
usbredir? ( >=sys-apps/usbredir-0.6 )
|
||||
virtfs? ( sys-libs/libcap )
|
||||
xen? ( app-emulation/xen-tools )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl
|
||||
=dev-lang/python-2*
|
||||
sys-apps/texinfo
|
||||
virtual/pkgconfig
|
||||
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
|
||||
static-softmmu? ( ${LIB_DEPEND} )
|
||||
test? (
|
||||
dev-libs/glib[utils]
|
||||
sys-devel/bc
|
||||
)"
|
||||
|
||||
STRIP_MASK="/usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/share/qemu/openbios-ppc
|
||||
usr/share/qemu/openbios-sparc64
|
||||
usr/share/qemu/openbios-sparc32
|
||||
usr/share/qemu/palcode-clipper
|
||||
usr/share/qemu/s390-ccw.img"
|
||||
|
||||
QA_WX_LOAD="usr/bin/qemu-i386
|
||||
usr/bin/qemu-x86_64
|
||||
usr/bin/qemu-alpha
|
||||
usr/bin/qemu-arm
|
||||
usr/bin/qemu-cris
|
||||
usr/bin/qemu-m68k
|
||||
usr/bin/qemu-microblaze
|
||||
usr/bin/qemu-microblazeel
|
||||
usr/bin/qemu-mips
|
||||
usr/bin/qemu-mipsel
|
||||
usr/bin/qemu-or32
|
||||
usr/bin/qemu-ppc
|
||||
usr/bin/qemu-ppc64
|
||||
usr/bin/qemu-ppc64abi32
|
||||
usr/bin/qemu-sh4
|
||||
usr/bin/qemu-sh4eb
|
||||
usr/bin/qemu-sparc
|
||||
usr/bin/qemu-sparc64
|
||||
usr/bin/qemu-armeb
|
||||
usr/bin/qemu-sparc32plus
|
||||
usr/bin/qemu-s390x
|
||||
usr/bin/qemu-unicore32"
|
||||
|
||||
DOC_CONTENTS="If you don't have kvm compiled into the kernel, make sure
|
||||
you have the kernel module loaded before running kvm. The easiest way to
|
||||
ensure that the kernel module is loaded is to load it on boot.\n
|
||||
For AMD CPUs the module is called 'kvm-amd'\n
|
||||
For Intel CPUs the module is called 'kvm-intel'\n
|
||||
Please review /etc/conf.d/modules for how to load these\n\n
|
||||
Make sure your user is in the 'kvm' group\n
|
||||
Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
|
||||
|
||||
qemu_support_kvm() {
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 \
|
||||
use qemu_softmmu_targets_ppc || use qemu_softmmu_targets_ppc64 \
|
||||
use qemu_softmmu_targets_s390x; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
return 1
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if use kernel_linux && kernel_is lt 2 6 25; then
|
||||
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
|
||||
elif use kernel_linux; then
|
||||
if ! linux_config_exists; then
|
||||
eerror "Unable to check your kernel for KVM support"
|
||||
else
|
||||
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
|
||||
ERROR_KVM="You must enable KVM in your kernel to continue"
|
||||
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
|
||||
ERROR_KVM_AMD+=" your kernel configuration."
|
||||
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
|
||||
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
|
||||
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
|
||||
ERROR_TUN+=" into your kernel or loaded as a module to use the"
|
||||
ERROR_TUN+=" virtual network device if using -net tap."
|
||||
ERROR_BRIDGE="You will also need support for 802.1d"
|
||||
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
|
||||
use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
|
||||
ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
|
||||
ERROR_VHOST_NET+=" support"
|
||||
|
||||
if use amd64 || use x86 || use amd64-linux || use x86-linux; then
|
||||
CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
|
||||
fi
|
||||
|
||||
use python && CONFIG_CHECK+=" ~DEBUG_FS"
|
||||
ERROR_DEBUG_FS="debugFS support required for kvm_stat"
|
||||
|
||||
# Now do the actual checks setup above
|
||||
check_extra_config
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup kvm 78
|
||||
|
||||
python_export_best
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Alter target makefiles to accept CFLAGS set via flag-o
|
||||
sed -i -r \
|
||||
-e 's/^(C|OP_C|HELPER_C)FLAGS=/\1FLAGS+=/' \
|
||||
Makefile Makefile.target || die
|
||||
|
||||
epatch "${FILESDIR}"/qemu-9999-cflags.patch
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
# Fix ld and objcopy being called directly
|
||||
tc-export LD OBJCOPY
|
||||
|
||||
# Verbose builds
|
||||
MAKEOPTS+=" V=1"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
##
|
||||
# configures qemu based on the build directory and the build type
|
||||
# we are using.
|
||||
#
|
||||
qemu_src_configure() {
|
||||
debug-print-function $FUNCNAME "$@"
|
||||
|
||||
local buildtype=$1
|
||||
local builddir=$2
|
||||
local conf_opts audio_opts
|
||||
local static_flag="static-${buildtype}"
|
||||
|
||||
conf_opts="--prefix=/usr"
|
||||
conf_opts+=" --sysconfdir=/etc"
|
||||
conf_opts+=" --libdir=/usr/$(get_libdir)"
|
||||
conf_opts+=" --docdir=/usr/share/doc/${PF}/html"
|
||||
conf_opts+=" --disable-bsd-user"
|
||||
conf_opts+=" --disable-guest-agent"
|
||||
conf_opts+=" --disable-strip"
|
||||
conf_opts+=" --disable-werror"
|
||||
conf_opts+=" --python=${PYTHON}"
|
||||
|
||||
# audio options
|
||||
audio_opts="oss"
|
||||
use alsa && audio_opts="alsa,${audio_opts}"
|
||||
use sdl && audio_opts="sdl,${audio_opts}"
|
||||
use pulseaudio && audio_opts="pa,${audio_opts}"
|
||||
|
||||
if [[ ${buildtype} == "user" ]]; then
|
||||
conf_opts+=" --enable-linux-user"
|
||||
conf_opts+=" --disable-system"
|
||||
conf_opts+=" --target-list=${user_targets}"
|
||||
conf_opts+=" --disable-blobs"
|
||||
conf_opts+=" --disable-bluez"
|
||||
conf_opts+=" --disable-curses"
|
||||
conf_opts+=" --disable-kvm"
|
||||
conf_opts+=" --disable-libiscsi"
|
||||
conf_opts+=" --disable-glusterfs"
|
||||
conf_opts+=" $(use_enable seccomp)"
|
||||
conf_opts+=" --disable-sdl"
|
||||
conf_opts+=" --disable-smartcard-nss"
|
||||
conf_opts+=" --disable-tools"
|
||||
conf_opts+=" --disable-vde"
|
||||
conf_opts+=" --disable-libssh2"
|
||||
conf_opts+=" --disable-libusb"
|
||||
fi
|
||||
|
||||
if [[ ${buildtype} == "softmmu" ]]; then
|
||||
conf_opts+=" --disable-linux-user"
|
||||
conf_opts+=" --enable-system"
|
||||
conf_opts+=" --with-system-pixman"
|
||||
conf_opts+=" --target-list=${softmmu_targets}"
|
||||
conf_opts+=" $(use_enable bluetooth bluez)"
|
||||
conf_opts+=" $(use_enable gtk)"
|
||||
use gtk && conf_opts+=" --with-gtkabi=3.0"
|
||||
conf_opts+=" $(use_enable sdl)"
|
||||
conf_opts+=" $(use_enable aio linux-aio)"
|
||||
conf_opts+=" $(use_enable accessibility brlapi)"
|
||||
conf_opts+=" $(use_enable caps cap-ng)"
|
||||
conf_opts+=" $(use_enable curl)"
|
||||
conf_opts+=" $(use_enable fdt)"
|
||||
conf_opts+=" $(use_enable glusterfs)"
|
||||
conf_opts+=" $(use_enable iscsi libiscsi)"
|
||||
conf_opts+=" $(use_enable jpeg vnc-jpeg)"
|
||||
conf_opts+=" $(use_enable kernel_linux kvm)"
|
||||
conf_opts+=" $(use_enable ncurses curses)"
|
||||
conf_opts+=" $(use_enable opengl glx)"
|
||||
conf_opts+=" $(use_enable png vnc-png)"
|
||||
conf_opts+=" $(use_enable rbd)"
|
||||
conf_opts+=" $(use_enable sasl vnc-sasl)"
|
||||
conf_opts+=" $(use_enable seccomp)"
|
||||
conf_opts+=" $(use_enable smartcard smartcard-nss)"
|
||||
conf_opts+=" $(use_enable spice)"
|
||||
conf_opts+=" $(use_enable ssh libssh2)"
|
||||
conf_opts+=" $(use_enable tls vnc-tls)"
|
||||
conf_opts+=" $(use_enable tls vnc-ws)"
|
||||
conf_opts+=" $(use_enable usb libusb)"
|
||||
conf_opts+=" $(use_enable usbredir usb-redir)"
|
||||
conf_opts+=" $(use_enable uuid)"
|
||||
conf_opts+=" $(use_enable vde)"
|
||||
conf_opts+=" $(use_enable vhost-net)"
|
||||
conf_opts+=" $(use_enable virtfs)"
|
||||
conf_opts+=" $(use_enable vnc)"
|
||||
conf_opts+=" $(use_enable xattr attr)"
|
||||
conf_opts+=" $(use_enable xen)"
|
||||
conf_opts+=" $(use_enable xen xen-pci-passthrough)"
|
||||
conf_opts+=" $(use_enable xfs xfsctl)"
|
||||
use mixemu && conf_opts+=" --enable-mixemu"
|
||||
conf_opts+=" --audio-drv-list=${audio_opts}"
|
||||
fi
|
||||
|
||||
conf_opts+=" $(use_enable debug debug-info)"
|
||||
conf_opts+=" $(use_enable debug debug-tcg)"
|
||||
conf_opts+=" --enable-docs"
|
||||
conf_opts+=" $(use_enable tci tcg-interpreter)"
|
||||
|
||||
# Add support for SystemTAP
|
||||
use systemtap && conf_opts="${conf_opts} --enable-trace-backend=dtrace"
|
||||
|
||||
# Add support for static builds
|
||||
use ${static_flag} && conf_opts="${conf_opts} --static --disable-pie"
|
||||
|
||||
# We always want to attempt to build with PIE support as it results
|
||||
# in a more secure binary. But it doesn't work with static or if
|
||||
# the current GCC doesn't have PIE support.
|
||||
if ! use ${static_flag} && gcc-specs-pie; then
|
||||
conf_opts="${conf_opts} --enable-pie"
|
||||
fi
|
||||
|
||||
einfo "./configure ${conf_opts}"
|
||||
cd ${builddir}
|
||||
../configure \
|
||||
--cc="$(tc-getCC)" \
|
||||
--host-cc="$(tc-getBUILD_CC)" \
|
||||
${conf_opts} \
|
||||
|| die "configure failed"
|
||||
|
||||
# FreeBSD's kernel does not support QEMU assigning/grabbing
|
||||
# host USB devices yet
|
||||
use kernel_FreeBSD && \
|
||||
sed -E -e "s|^(HOST_USB=)bsd|\1stub|" -i "${S}"/config-host.mak
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
softmmu_targets=
|
||||
user_targets=
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS} ; do
|
||||
use "qemu_softmmu_targets_${target}" && \
|
||||
softmmu_targets="${softmmu_targets},${target}-softmmu"
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS} ; do
|
||||
use "qemu_user_targets_${target}" && \
|
||||
user_targets="${user_targets},${target}-linux-user"
|
||||
done
|
||||
|
||||
[[ -n ${softmmu_targets} ]] && \
|
||||
einfo "Building the following softmmu targets: ${softmmu_targets}"
|
||||
|
||||
[[ -n ${user_targets} ]] && \
|
||||
einfo "Building the following user targets: ${user_targets}"
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
mkdir "${S}/softmmu-build"
|
||||
qemu_src_configure "softmmu" "${S}/softmmu-build"
|
||||
fi
|
||||
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
mkdir "${S}/user-build"
|
||||
qemu_src_configure "user" "${S}/user-build"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
default
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/softmmu-build"
|
||||
emake -j1 check
|
||||
emake -j1 check-report.html
|
||||
}
|
||||
|
||||
qemu_python_install() {
|
||||
python_domodule "${S}/QMP/qmp.py"
|
||||
|
||||
python_doscript "${S}/scripts/kvm/kvm_stat"
|
||||
python_doscript "${S}/scripts/kvm/vmxcap"
|
||||
python_doscript "${S}/QMP/qmp-shell"
|
||||
python_doscript "${S}/QMP/qemu-ga-client"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# Install binfmt handler init script for user targets
|
||||
newinitd "${FILESDIR}/qemu-binfmt.initd-r1" qemu-binfmt
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
if use test; then
|
||||
dohtml check-report.html
|
||||
fi
|
||||
|
||||
if use kernel_linux; then
|
||||
udev_dorules "${FILESDIR}"/65-kvm.rules
|
||||
fi
|
||||
|
||||
if use qemu_softmmu_targets_x86_64 ; then
|
||||
newbin "${FILESDIR}/qemu-kvm-1.4" qemu-kvm
|
||||
ewarn "The deprecated '/usr/bin/kvm' symlink is no longer installed"
|
||||
ewarn "You should use '/usr/bin/qemu-kvm', you may need to edit"
|
||||
ewarn "your libvirt configs or other wrappers for ${PN}"
|
||||
elif use x86 || use amd64; then
|
||||
elog "You disabled QEMU_SOFTMMU_TARGETS=x86_64, this disables install"
|
||||
elog "of the /usr/bin/qemu-kvm script."
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_foreach_impl qemu_python_install
|
||||
fi
|
||||
fi
|
||||
|
||||
# Install config file example for qemu-bridge-helper
|
||||
insinto "/etc/qemu"
|
||||
doins "${FILESDIR}/bridge.conf"
|
||||
|
||||
# Remove the docdir placed qmp-commands.txt
|
||||
mv "${ED}/usr/share/doc/${PF}/html/qmp-commands.txt" "${S}/QMP/"
|
||||
|
||||
cd "${S}"
|
||||
dodoc Changelog MAINTAINERS docs/specs/pci-ids.txt
|
||||
newdoc pc-bios/README README.pc-bios
|
||||
dodoc QMP/qmp-commands.txt QMP/qmp-events.txt QMP/qmp-spec.txt
|
||||
|
||||
# Remove SeaBIOS since we're using the SeaBIOS packaged one
|
||||
rm "${ED}/usr/share/qemu/bios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
|
||||
fi
|
||||
|
||||
# Remove vgabios since we're using the vgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/vgabios.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
|
||||
dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
|
||||
dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
|
||||
dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
|
||||
dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
|
||||
fi
|
||||
|
||||
# Remove sgabios since we're using the sgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/sgabios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
|
||||
fi
|
||||
|
||||
# Remove iPXE since we're using the iPXE packaged one
|
||||
rm "${ED}"/usr/share/qemu/pxe-*.rom
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../ipxe/8086100e.rom /usr/share/qemu/pxe-e1000.rom
|
||||
dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
|
||||
dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
|
||||
dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
|
||||
dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
|
||||
dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
|
||||
fi
|
||||
|
||||
qemu_support_kvm && readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local virtfs_caps=
|
||||
|
||||
if qemu_support_kvm; then
|
||||
readme.gentoo_print_elog
|
||||
ewarn "Migration from qemu-kvm instances and loading qemu-kvm created"
|
||||
ewarn "save states has been removed starting with the 1.6.2 release"
|
||||
ewarn
|
||||
ewarn "It is recommended that you migrate any VMs that may be running"
|
||||
ewarn "on qemu-kvm to a host with a newer qemu and regenerate"
|
||||
ewarn "any saved states with a newer qemu."
|
||||
ewarn
|
||||
ewarn "qemu-kvm was the primary qemu provider in Gentoo through 1.2.x"
|
||||
fi
|
||||
|
||||
virtfs_caps+="cap_chown,cap_dac_override,cap_fowner,cap_fsetid,"
|
||||
virtfs_caps+="cap_setgid,cap_mknod,cap_setuid"
|
||||
|
||||
fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
|
||||
use virtfs && fcaps ${virtfs_caps} /usr/bin/virtfs-proxy-helper
|
||||
}
|
||||
|
||||
pkg_info() {
|
||||
echo "Using:"
|
||||
echo " $(best_version app-emulation/spice-protocol)"
|
||||
echo " $(best_version sys-firmware/ipxe)"
|
||||
echo " $(best_version sys-firmware/seabios)"
|
||||
if has_version sys-firmware/seabios[binary]; then
|
||||
echo " USE=binary"
|
||||
else
|
||||
echo " USE=''"
|
||||
fi
|
||||
echo " $(best_version sys-firmware/vgabios)"
|
||||
}
|
@ -0,0 +1,556 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.7.0.ebuild,v 1.1 2013/12/19 08:49:58 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="ncurses,readline"
|
||||
|
||||
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
|
||||
user udev fcaps readme.gentoo
|
||||
|
||||
BACKPORTS=
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.qemu.org/qemu.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz}"
|
||||
# Waiting for cardoe to sign off on this.
|
||||
#KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
|
||||
HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="accessibility +aio alsa bluetooth +caps +curl debug +fdt glusterfs \
|
||||
gtk iscsi +jpeg \
|
||||
kernel_linux kernel_FreeBSD mixemu ncurses opengl +png pulseaudio python \
|
||||
rbd sasl +seccomp sdl selinux smartcard spice ssh static static-softmmu \
|
||||
static-user systemtap tci test +threads tls usb usbredir +uuid vde +vhost-net \
|
||||
virtfs +vnc xattr xen xfs"
|
||||
|
||||
COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips
|
||||
mipsel mips64 mips64el or32 ppc ppc64 sh4 sh4eb sparc sparc64 s390x unicore32"
|
||||
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 moxie ppcemb xtensa xtensaeb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb mipsn32 mipsn32el ppc64abi32 sparc32plus"
|
||||
|
||||
# Setup the default SoftMMU targets, while using the loops
|
||||
# below to setup the other targets.
|
||||
REQUIRED_USE="|| ("
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS}; do
|
||||
IUSE="${IUSE} qemu_softmmu_targets_${target}"
|
||||
REQUIRED_USE="${REQUIRED_USE} qemu_softmmu_targets_${target}"
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS}; do
|
||||
IUSE="${IUSE} qemu_user_targets_${target}"
|
||||
REQUIRED_USE="${REQUIRED_USE} qemu_user_targets_${target}"
|
||||
done
|
||||
REQUIRED_USE="${REQUIRED_USE} )"
|
||||
|
||||
# Block USE flag configurations known to not work
|
||||
REQUIRED_USE="${REQUIRED_USE}
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
qemu_softmmu_targets_arm? ( fdt )
|
||||
qemu_softmmu_targets_microblaze? ( fdt )
|
||||
qemu_softmmu_targets_ppc? ( fdt )
|
||||
qemu_softmmu_targets_ppc64? ( fdt )
|
||||
static? ( static-softmmu static-user )
|
||||
static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl !gtk )
|
||||
virtfs? ( xattr )"
|
||||
|
||||
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
|
||||
LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
|
||||
sys-apps/pciutils[static-libs(+)]
|
||||
sys-libs/zlib[static-libs(+)]
|
||||
>=x11-libs/pixman-0.28.0[static-libs(+)]
|
||||
aio? ( dev-libs/libaio[static-libs(+)] )
|
||||
caps? ( sys-libs/libcap-ng[static-libs(+)] )
|
||||
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
|
||||
fdt? ( >=sys-apps/dtc-1.4.0[static-libs(+)] )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
|
||||
jpeg? ( virtual/jpeg[static-libs(+)] )
|
||||
ncurses? ( sys-libs/ncurses[static-libs(+)] )
|
||||
png? ( media-libs/libpng[static-libs(+)] )
|
||||
rbd? ( sys-cluster/ceph[static-libs(+)] )
|
||||
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
|
||||
sdl? ( >=media-libs/libsdl-1.2.11[static-libs(+)] )
|
||||
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
|
||||
spice? ( >=app-emulation/spice-0.12.0[static-libs(+)] )
|
||||
ssh? ( >=net-libs/libssh2-1.2.8[static-libs(+)] )
|
||||
tls? ( net-libs/gnutls[static-libs(+)] )
|
||||
usb? ( >=dev-libs/libusbx-1.0.13[static-libs(+)] )
|
||||
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
|
||||
vde? ( net-misc/vde[static-libs(+)] )
|
||||
xattr? ( sys-apps/attr[static-libs(+)] )
|
||||
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
|
||||
RDEPEND="!static-softmmu? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||
static-user? ( >=dev-libs/glib-2.0[static-libs(+)] )
|
||||
qemu_softmmu_targets_i386? (
|
||||
>=sys-firmware/ipxe-1.0.0_p20130624
|
||||
~sys-firmware/seabios-1.7.3
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.7a
|
||||
)
|
||||
qemu_softmmu_targets_x86_64? (
|
||||
>=sys-firmware/ipxe-1.0.0_p20130624
|
||||
~sys-firmware/seabios-1.7.3
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.7a
|
||||
)
|
||||
accessibility? ( app-accessibility/brltty )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
gtk? (
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/vte:2.90
|
||||
)
|
||||
iscsi? ( net-libs/libiscsi )
|
||||
opengl? ( virtual/opengl )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
sdl? ( media-libs/libsdl[X] )
|
||||
selinux? ( sec-policy/selinux-qemu )
|
||||
smartcard? ( dev-libs/nss !app-emulation/libcacard )
|
||||
spice? ( >=app-emulation/spice-protocol-0.12.3 )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
usbredir? ( >=sys-apps/usbredir-0.6 )
|
||||
virtfs? ( sys-libs/libcap )
|
||||
xen? ( app-emulation/xen-tools )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl
|
||||
=dev-lang/python-2*
|
||||
sys-apps/texinfo
|
||||
virtual/pkgconfig
|
||||
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
|
||||
static-softmmu? ( ${LIB_DEPEND} )
|
||||
test? (
|
||||
dev-libs/glib[utils]
|
||||
sys-devel/bc
|
||||
)"
|
||||
|
||||
STRIP_MASK="/usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/share/qemu/openbios-ppc
|
||||
usr/share/qemu/openbios-sparc64
|
||||
usr/share/qemu/openbios-sparc32
|
||||
usr/share/qemu/palcode-clipper
|
||||
usr/share/qemu/s390-ccw.img"
|
||||
|
||||
QA_WX_LOAD="usr/bin/qemu-i386
|
||||
usr/bin/qemu-x86_64
|
||||
usr/bin/qemu-alpha
|
||||
usr/bin/qemu-arm
|
||||
usr/bin/qemu-cris
|
||||
usr/bin/qemu-m68k
|
||||
usr/bin/qemu-microblaze
|
||||
usr/bin/qemu-microblazeel
|
||||
usr/bin/qemu-mips
|
||||
usr/bin/qemu-mipsel
|
||||
usr/bin/qemu-or32
|
||||
usr/bin/qemu-ppc
|
||||
usr/bin/qemu-ppc64
|
||||
usr/bin/qemu-ppc64abi32
|
||||
usr/bin/qemu-sh4
|
||||
usr/bin/qemu-sh4eb
|
||||
usr/bin/qemu-sparc
|
||||
usr/bin/qemu-sparc64
|
||||
usr/bin/qemu-armeb
|
||||
usr/bin/qemu-sparc32plus
|
||||
usr/bin/qemu-s390x
|
||||
usr/bin/qemu-unicore32"
|
||||
|
||||
DOC_CONTENTS="If you don't have kvm compiled into the kernel, make sure
|
||||
you have the kernel module loaded before running kvm. The easiest way to
|
||||
ensure that the kernel module is loaded is to load it on boot.\n
|
||||
For AMD CPUs the module is called 'kvm-amd'\n
|
||||
For Intel CPUs the module is called 'kvm-intel'\n
|
||||
Please review /etc/conf.d/modules for how to load these\n\n
|
||||
Make sure your user is in the 'kvm' group\n
|
||||
Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
|
||||
|
||||
qemu_support_kvm() {
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 \
|
||||
use qemu_softmmu_targets_ppc || use qemu_softmmu_targets_ppc64 \
|
||||
use qemu_softmmu_targets_s390x; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
return 1
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if use kernel_linux && kernel_is lt 2 6 25; then
|
||||
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
|
||||
elif use kernel_linux; then
|
||||
if ! linux_config_exists; then
|
||||
eerror "Unable to check your kernel for KVM support"
|
||||
else
|
||||
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
|
||||
ERROR_KVM="You must enable KVM in your kernel to continue"
|
||||
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
|
||||
ERROR_KVM_AMD+=" your kernel configuration."
|
||||
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
|
||||
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
|
||||
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
|
||||
ERROR_TUN+=" into your kernel or loaded as a module to use the"
|
||||
ERROR_TUN+=" virtual network device if using -net tap."
|
||||
ERROR_BRIDGE="You will also need support for 802.1d"
|
||||
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
|
||||
use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
|
||||
ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
|
||||
ERROR_VHOST_NET+=" support"
|
||||
|
||||
if use amd64 || use x86 || use amd64-linux || use x86-linux; then
|
||||
CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
|
||||
fi
|
||||
|
||||
use python && CONFIG_CHECK+=" ~DEBUG_FS"
|
||||
ERROR_DEBUG_FS="debugFS support required for kvm_stat"
|
||||
|
||||
# Now do the actual checks setup above
|
||||
check_extra_config
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup kvm 78
|
||||
|
||||
python_export_best
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Alter target makefiles to accept CFLAGS set via flag-o
|
||||
sed -i -r \
|
||||
-e 's/^(C|OP_C|HELPER_C)FLAGS=/\1FLAGS+=/' \
|
||||
Makefile Makefile.target || die
|
||||
|
||||
epatch "${FILESDIR}"/qemu-1.7.0-cflags.patch
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
# Fix ld and objcopy being called directly
|
||||
tc-export LD OBJCOPY
|
||||
|
||||
# Verbose builds
|
||||
MAKEOPTS+=" V=1"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
##
|
||||
# configures qemu based on the build directory and the build type
|
||||
# we are using.
|
||||
#
|
||||
qemu_src_configure() {
|
||||
debug-print-function $FUNCNAME "$@"
|
||||
|
||||
local buildtype=$1
|
||||
local builddir=$2
|
||||
local conf_opts audio_opts
|
||||
local static_flag="static-${buildtype}"
|
||||
|
||||
conf_opts="--prefix=/usr"
|
||||
conf_opts+=" --sysconfdir=/etc"
|
||||
conf_opts+=" --libdir=/usr/$(get_libdir)"
|
||||
conf_opts+=" --docdir=/usr/share/doc/${PF}/html"
|
||||
conf_opts+=" --disable-bsd-user"
|
||||
conf_opts+=" --disable-guest-agent"
|
||||
conf_opts+=" --disable-strip"
|
||||
conf_opts+=" --disable-werror"
|
||||
conf_opts+=" --python=${PYTHON}"
|
||||
|
||||
# audio options
|
||||
audio_opts="oss"
|
||||
use alsa && audio_opts="alsa,${audio_opts}"
|
||||
use sdl && audio_opts="sdl,${audio_opts}"
|
||||
use pulseaudio && audio_opts="pa,${audio_opts}"
|
||||
|
||||
if [[ ${buildtype} == "user" ]]; then
|
||||
conf_opts+=" --enable-linux-user"
|
||||
conf_opts+=" --disable-system"
|
||||
conf_opts+=" --target-list=${user_targets}"
|
||||
conf_opts+=" --disable-blobs"
|
||||
conf_opts+=" --disable-bluez"
|
||||
conf_opts+=" --disable-curses"
|
||||
conf_opts+=" --disable-kvm"
|
||||
conf_opts+=" --disable-libiscsi"
|
||||
conf_opts+=" --disable-glusterfs"
|
||||
conf_opts+=" $(use_enable seccomp)"
|
||||
conf_opts+=" --disable-sdl"
|
||||
conf_opts+=" --disable-smartcard-nss"
|
||||
conf_opts+=" --disable-tools"
|
||||
conf_opts+=" --disable-vde"
|
||||
conf_opts+=" --disable-libssh2"
|
||||
conf_opts+=" --disable-libusb"
|
||||
fi
|
||||
|
||||
if [[ ${buildtype} == "softmmu" ]]; then
|
||||
conf_opts+=" --disable-linux-user"
|
||||
conf_opts+=" --enable-system"
|
||||
conf_opts+=" --with-system-pixman"
|
||||
conf_opts+=" --target-list=${softmmu_targets}"
|
||||
conf_opts+=" $(use_enable bluetooth bluez)"
|
||||
conf_opts+=" $(use_enable gtk)"
|
||||
use gtk && conf_opts+=" --with-gtkabi=3.0"
|
||||
conf_opts+=" $(use_enable sdl)"
|
||||
conf_opts+=" $(use_enable aio linux-aio)"
|
||||
conf_opts+=" $(use_enable accessibility brlapi)"
|
||||
conf_opts+=" $(use_enable caps cap-ng)"
|
||||
conf_opts+=" $(use_enable curl)"
|
||||
conf_opts+=" $(use_enable fdt)"
|
||||
conf_opts+=" $(use_enable glusterfs)"
|
||||
conf_opts+=" $(use_enable iscsi libiscsi)"
|
||||
conf_opts+=" $(use_enable jpeg vnc-jpeg)"
|
||||
conf_opts+=" $(use_enable kernel_linux kvm)"
|
||||
conf_opts+=" $(use_enable ncurses curses)"
|
||||
conf_opts+=" $(use_enable opengl glx)"
|
||||
conf_opts+=" $(use_enable png vnc-png)"
|
||||
conf_opts+=" $(use_enable rbd)"
|
||||
conf_opts+=" $(use_enable sasl vnc-sasl)"
|
||||
conf_opts+=" $(use_enable seccomp)"
|
||||
conf_opts+=" $(use_enable smartcard smartcard-nss)"
|
||||
conf_opts+=" $(use_enable spice)"
|
||||
conf_opts+=" $(use_enable ssh libssh2)"
|
||||
conf_opts+=" $(use_enable tls vnc-tls)"
|
||||
conf_opts+=" $(use_enable tls vnc-ws)"
|
||||
conf_opts+=" $(use_enable usb libusb)"
|
||||
conf_opts+=" $(use_enable usbredir usb-redir)"
|
||||
conf_opts+=" $(use_enable uuid)"
|
||||
conf_opts+=" $(use_enable vde)"
|
||||
conf_opts+=" $(use_enable vhost-net)"
|
||||
conf_opts+=" $(use_enable virtfs)"
|
||||
conf_opts+=" $(use_enable vnc)"
|
||||
conf_opts+=" $(use_enable xattr attr)"
|
||||
conf_opts+=" $(use_enable xen)"
|
||||
conf_opts+=" $(use_enable xen xen-pci-passthrough)"
|
||||
conf_opts+=" $(use_enable xfs xfsctl)"
|
||||
use mixemu && conf_opts+=" --enable-mixemu"
|
||||
conf_opts+=" --audio-drv-list=${audio_opts}"
|
||||
fi
|
||||
|
||||
conf_opts+=" $(use_enable debug debug-info)"
|
||||
conf_opts+=" $(use_enable debug debug-tcg)"
|
||||
conf_opts+=" --enable-docs"
|
||||
conf_opts+=" $(use_enable tci tcg-interpreter)"
|
||||
|
||||
# Add support for SystemTAP
|
||||
use systemtap && conf_opts="${conf_opts} --enable-trace-backend=dtrace"
|
||||
|
||||
# Add support for static builds
|
||||
use ${static_flag} && conf_opts="${conf_opts} --static --disable-pie"
|
||||
|
||||
# We always want to attempt to build with PIE support as it results
|
||||
# in a more secure binary. But it doesn't work with static or if
|
||||
# the current GCC doesn't have PIE support.
|
||||
if ! use ${static_flag} && gcc-specs-pie; then
|
||||
conf_opts="${conf_opts} --enable-pie"
|
||||
fi
|
||||
|
||||
einfo "./configure ${conf_opts}"
|
||||
cd ${builddir}
|
||||
../configure \
|
||||
--cc="$(tc-getCC)" \
|
||||
--host-cc="$(tc-getBUILD_CC)" \
|
||||
${conf_opts} \
|
||||
|| die "configure failed"
|
||||
|
||||
# FreeBSD's kernel does not support QEMU assigning/grabbing
|
||||
# host USB devices yet
|
||||
use kernel_FreeBSD && \
|
||||
sed -E -e "s|^(HOST_USB=)bsd|\1stub|" -i "${S}"/config-host.mak
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
softmmu_targets=
|
||||
user_targets=
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS} ; do
|
||||
use "qemu_softmmu_targets_${target}" && \
|
||||
softmmu_targets="${softmmu_targets},${target}-softmmu"
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS} ; do
|
||||
use "qemu_user_targets_${target}" && \
|
||||
user_targets="${user_targets},${target}-linux-user"
|
||||
done
|
||||
|
||||
[[ -n ${softmmu_targets} ]] && \
|
||||
einfo "Building the following softmmu targets: ${softmmu_targets}"
|
||||
|
||||
[[ -n ${user_targets} ]] && \
|
||||
einfo "Building the following user targets: ${user_targets}"
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
mkdir "${S}/softmmu-build"
|
||||
qemu_src_configure "softmmu" "${S}/softmmu-build"
|
||||
fi
|
||||
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
mkdir "${S}/user-build"
|
||||
qemu_src_configure "user" "${S}/user-build"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
default
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/softmmu-build"
|
||||
emake -j1 check
|
||||
emake -j1 check-report.html
|
||||
}
|
||||
|
||||
qemu_python_install() {
|
||||
python_domodule "${S}/scripts/qmp/qmp.py"
|
||||
|
||||
python_doscript "${S}/scripts/kvm/kvm_stat"
|
||||
python_doscript "${S}/scripts/kvm/vmxcap"
|
||||
python_doscript "${S}/scripts/qmp/qmp-shell"
|
||||
python_doscript "${S}/scripts/qmp/qemu-ga-client"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# Install binfmt handler init script for user targets
|
||||
newinitd "${FILESDIR}/qemu-binfmt.initd-r1" qemu-binfmt
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
if use test; then
|
||||
dohtml check-report.html
|
||||
fi
|
||||
|
||||
if use kernel_linux; then
|
||||
udev_dorules "${FILESDIR}"/65-kvm.rules
|
||||
fi
|
||||
|
||||
if use qemu_softmmu_targets_x86_64 ; then
|
||||
newbin "${FILESDIR}/qemu-kvm-1.4" qemu-kvm
|
||||
ewarn "The deprecated '/usr/bin/kvm' symlink is no longer installed"
|
||||
ewarn "You should use '/usr/bin/qemu-kvm', you may need to edit"
|
||||
ewarn "your libvirt configs or other wrappers for ${PN}"
|
||||
elif use x86 || use amd64; then
|
||||
elog "You disabled QEMU_SOFTMMU_TARGETS=x86_64, this disables install"
|
||||
elog "of the /usr/bin/qemu-kvm script."
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_foreach_impl qemu_python_install
|
||||
fi
|
||||
fi
|
||||
|
||||
# Install config file example for qemu-bridge-helper
|
||||
insinto "/etc/qemu"
|
||||
doins "${FILESDIR}/bridge.conf"
|
||||
|
||||
# Remove the docdir placed qmp-commands.txt
|
||||
mv "${ED}/usr/share/doc/${PF}/html/qmp-commands.txt" "${S}/docs/qmp/"
|
||||
|
||||
cd "${S}"
|
||||
dodoc Changelog MAINTAINERS docs/specs/pci-ids.txt
|
||||
newdoc pc-bios/README README.pc-bios
|
||||
dodoc docs/qmp/*.txt
|
||||
|
||||
# Remove SeaBIOS since we're using the SeaBIOS packaged one
|
||||
rm "${ED}/usr/share/qemu/bios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
|
||||
fi
|
||||
|
||||
# Remove vgabios since we're using the vgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/vgabios.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
|
||||
dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
|
||||
dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
|
||||
dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
|
||||
dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
|
||||
fi
|
||||
|
||||
# Remove sgabios since we're using the sgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/sgabios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
|
||||
fi
|
||||
|
||||
# Remove iPXE since we're using the iPXE packaged one
|
||||
rm "${ED}"/usr/share/qemu/pxe-*.rom
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../ipxe/8086100e.rom /usr/share/qemu/pxe-e1000.rom
|
||||
dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
|
||||
dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
|
||||
dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
|
||||
dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
|
||||
dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
|
||||
fi
|
||||
|
||||
qemu_support_kvm && readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local virtfs_caps=
|
||||
|
||||
if qemu_support_kvm; then
|
||||
readme.gentoo_print_elog
|
||||
ewarn "Migration from qemu-kvm instances and loading qemu-kvm created"
|
||||
ewarn "save states has been removed starting with the 1.6.2 release"
|
||||
ewarn
|
||||
ewarn "It is recommended that you migrate any VMs that may be running"
|
||||
ewarn "on qemu-kvm to a host with a newer qemu and regenerate"
|
||||
ewarn "any saved states with a newer qemu."
|
||||
ewarn
|
||||
ewarn "qemu-kvm was the primary qemu provider in Gentoo through 1.2.x"
|
||||
fi
|
||||
|
||||
virtfs_caps+="cap_chown,cap_dac_override,cap_fowner,cap_fsetid,"
|
||||
virtfs_caps+="cap_setgid,cap_mknod,cap_setuid"
|
||||
|
||||
fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
|
||||
use virtfs && fcaps ${virtfs_caps} /usr/bin/virtfs-proxy-helper
|
||||
}
|
||||
|
||||
pkg_info() {
|
||||
echo "Using:"
|
||||
echo " $(best_version app-emulation/spice-protocol)"
|
||||
echo " $(best_version sys-firmware/ipxe)"
|
||||
echo " $(best_version sys-firmware/seabios)"
|
||||
if has_version sys-firmware/seabios[binary]; then
|
||||
echo " USE=binary"
|
||||
else
|
||||
echo " USE=''"
|
||||
fi
|
||||
echo " $(best_version sys-firmware/vgabios)"
|
||||
}
|
@ -1,5 +1,4 @@
|
||||
DIST VBoxGuestAdditions_4.1.26.iso 52281344 SHA256 d824f920ce69cf3710b980b972f9158e27d081e89b114a597b181eca1842687d SHA512 f4fb80a61f36a22d7bbeacc0e342671e0a3aa18c12fe90c35edf29e586bcb43157f0c20ce19bcbf7a48a5cd8568337d35afc44ae35f2f55f4cdd077600cbe747 WHIRLPOOL 0f81aece690cce386fa21d8e109cf7730ad91becbce68be7df21839dbfbf52252f360f9530a4af1d5b15bf38551c1b53d141bd05fdc61cc0c5e5b87b529d0e34
|
||||
DIST VBoxGuestAdditions_4.2.18.iso 59656192 SHA256 f11a7f13dfe7bf9f246fb877144bb467fe6deadcd876568ec79b6ccd3b59d767 SHA512 2e5b0bc0d63e3b51f95fb5e6827088f130f07c2af1648c46282a3ae6af8150832f29724106b4d8335a0a51178f1ffdf069376cc46a964c24bbe06fea36d012a5 WHIRLPOOL 39afc0ce9f905f8fdac2aaa1db5f80e856ddd5f4229d21f31ce6684c93a4ec556632c8af605979461e3a1849531bcc771d6bbfb98a75a4c39fa430ecb08754d3
|
||||
DIST VBoxGuestAdditions_4.2.20.iso 59664384 SHA256 2fb3aa0f370d503b0e77725dbec76b989a251f613abee378f53c1fed9d6edf01 SHA512 7b157644ac5fbb0c881f8677d02b7510659b0a62424bcd32596ded19506f22d5e9877b325dd4671e1064eceea920b10d0f56ef5dac0a353ac261ec30e868698a WHIRLPOOL 830dc2ddd85bf3a420f8bac433c3bedb9191ccf826640cb3965ca89d09b098dfbbecf95e362e1bcc18d4c04bf183969cb6f5aa84c07238a7098258ef460ef913
|
||||
DIST VBoxGuestAdditions_4.3.2.iso 64153600 SHA256 f0b8fec99c65231641d5d01558abb53fe8b81f131dc71519cb7994c9e297300d SHA512 bf732076ce99883732bb33b5feba8f93c88dd493e6db603d0c327225dfe5ad71db44f4aa1efc26f7c2ed4dc27896a45cabb97dc98062176be3cb0d4531c776a9 WHIRLPOOL 00276a9f7449ab7ab97fe6625c26f7516da06e4d11b0ad0633f9e3ac000565a6568b90f067fe6da2098e179bf7c04794ab7ae65ca5e37ff28667d42eb6c4aaf3
|
||||
DIST VBoxGuestAdditions_4.3.4.iso 64169984 SHA256 f120793fa35050a8280eacf9c930cf8d9b88795161520f6515c0cc5edda2fe8a SHA512 2f8d250e44788cca097681f1f922cbf1428ec57e6601b7c7e815ae035ca9e1742eefdb9cae81fb3186d26a899fec0ef3601fde9662ab3afbd0ed1e7e1afe30fa WHIRLPOOL 7989f97194819b69b9f40beb01ae03d1a5fc85e0ef0d747f4f8a197fff6ed1fb0ea8ff9de117281a4f6492a3b65dac077c2c03c16cf11282d776298ca157a031
|
||||
DIST VBoxGuestAdditions_4.3.6.iso 64161792 SHA256 95648fcdb5d028e64145a2fe2f2f28c946d219da366389295a61fed296ca79f0 SHA512 d561e49231da72d7ae9e8955bad386d1290379f348142054eb9a43f8f8e65853a5c19a774cf5b57ed1da0a52d26c2ff044d2b9c20c7859add5a941231b409bb0 WHIRLPOOL f5ccee1f8cc22802bc2053e08ea6b22caf951053212134df33e8b7dd62b21d63f80ba605890c32959f3c9bf3e17d31337a542c9da41b7f07595463a3a355f600
|
||||
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-additions/virtualbox-additions-4.1.26.ebuild,v 1.4 2013/06/18 12:09:58 polynomial-c Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_PN=VBoxGuestAdditions
|
||||
MY_P=${MY_PN}_${PV}
|
||||
|
||||
DESCRIPTION="CD image containing guest additions for VirtualBox"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.iso"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2.1+ MIT SGI-B-2.0 CDDL"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
RESTRICT="mirror"
|
||||
|
||||
RDEPEND="!app-emulation/virtualbox-bin
|
||||
!=app-emulation/virtualbox-9999"
|
||||
|
||||
src_unpack() {
|
||||
return 0
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/${PN/-additions}
|
||||
newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-additions/virtualbox-additions-4.3.2.ebuild,v 1.1 2013/11/02 15:12:38 polynomial-c Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-additions/virtualbox-additions-4.3.6.ebuild,v 1.1 2013/12/18 20:52:57 polynomial-c Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,16 +1,16 @@
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.2.18-88780.tar.gz 11665435 SHA256 1d1737b59d0f30f5d42beeabaff168bdc0a75b8b28df685979be6173e5adbbba SHA512 58d0990f8318a79da426c1390e6dd6df10639b5fc2b478044541d300c366881cba87ac0843e8524a7c489b95f0152e3942e6e28b178c85e582d70a1fb951bbdb WHIRLPOOL 33fc03dc5bcc0e5604aa9eb3d3c8fcc636a067d92a30689a98fd6d9ea16fa6b295e2f140af48b5747439b2ab3189bc645b0157848aed6d503d35e66232924714
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.2.20-90983.tar.gz 12385500 SHA256 fea7a89d4f5a250b1ff022620de37fff46d3d3c7549bd7bcf8b86af21c05cb1c SHA512 a5b04f177965d98e5561bc6517b90ee4d967027b211f14a47886ddde04ccf0c6a59e9ce8b9fe164961ac9560aa86d556079ff988293919e026bdea853cbe5db8 WHIRLPOOL a08f6627d3f78860e22399ce8683ee59a18808a7a89b29575e661abe20d0438e4d375db5ff59b62e29af49a3b4927e1ae8d1740eda04ba0228742fb4944e8f8f
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.3.2-90405.tar.gz 10417726 SHA256 c42f7ef2ac97138551f73db38180aa56f63dd44b3823156da470f7e9ee3dc8e5 SHA512 b04be4edb2e8794b79e3fe96dc416a9c4697a4ca0e41474c6f8563fc4d1fbb7fe784ec5d53545a873d1df06a93ea00f0bc64158db4553e2b9b2f679a97a220ed WHIRLPOOL f8bc92e44ecc4e8eedd657f5097e3b94823b223cc72db1143c5e1822cc01ca7d4e7f0302e8f85647989f445f56935711fa759a5f17eb84f218d5d7fa506a7948
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.3.4-91027.tar.gz 10418359 SHA256 8d192cf3c045817e3a89383aaad9ea992ccb7f47ae820c885caa182996a0f30d SHA512 a0583845c7741f913f8ec20fb825d4f2d7f0b46b739b2769009af54c17c8812e4ed3b1d603cb5e5414eebe34b1590b64ca22494be05ba7698c44158f75a21547 WHIRLPOOL b532e7559b310cc5bd42f0b33447128f10d8923bc77305eeca8fe8612a3cdf021908e90a5604c845990ab40c3df64ce3d635c898f89a1cc008ae9193c632bf65
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.3.6-91406.tar.gz 10419965 SHA256 983f87e4746a2e6739090d0ce905c24a71e209e87f11c449bdc3d0ca5bb4fde2 SHA512 2888b9a282c9a81b99cf5bf5458b61e0678e4e891247fab518e0a559fcb2b4aef4a183015efa703670a8111355067462b65b2438bd068ad815fd74db952b5aff WHIRLPOOL c04e4c544784eeb4b7e616f835c6b69947c7d8189742f14c763b7e402acdc9d00e3d640028aa6b15351f8e30c288fb66223c211f19f00d2b331ca427dd8ecdc7
|
||||
DIST VirtualBox-4.2.18-88781-Linux_amd64.run 85226961 SHA256 2fdc201bb24fe7268dd034b8f22f1d245ed7c9ea2fcbe34f512615e56590abc2 SHA512 e931eec1b7860b2413dd76852dee3c8d8dfada09d638ad9663e076774f238df8357f0265bdb89ad6c869c20e54be8b2b35cc6634d6d1e4ccb9642066374a80d9 WHIRLPOOL 8b2a7834f02c7e20874fb4744b634e9f234145a47fa13f8201d4b4ab765447cde772fd18e403373dc6b3913c40bdca71f85471b0471bc9c7ca1ba9858ecf8a54
|
||||
DIST VirtualBox-4.2.18-88781-Linux_x86.run 85052878 SHA256 edc36d7f86d10cb5e56c812e17a46fb78a39c85b5173c18e1b4ae6cd837caa4a SHA512 3a7b0a064f5c89ccfe719d5ef4885adda8bdedd9aee9663485abbf34fd5d0e2661feaf0630989dc97903538ff4adc00049b110bdb382b61ec591b74541fa5f85 WHIRLPOOL 2dce592ea0d59a3234660008791db2ad799c07b5a971eae530a0338d85827b9089546145bf4dff5c101d8974193892cf16118d98da1a19ad697629095a6c5726
|
||||
DIST VirtualBox-4.2.20-90983-Linux_amd64.run 85779921 SHA256 93916218614ea4a124e0e39207dcb03206d272d33b28d438bb9cae49187222e2 SHA512 0b988c841e3045a02e90e6793a686524d34abaf97bd4f5e33df46f6434e828b8fe2df55363818ba22796b3361ee49afa7ac04142013b4e35f009ff407e9784b2 WHIRLPOOL 919290dd90e63ac154454bb282745cd15c97aaf0469f34fdb6ae3a9aa6684211866c760123174bcee8ea1000b871b47befaa99fdd40bd4f2650f1853bd67a2ae
|
||||
DIST VirtualBox-4.2.20-90983-Linux_x86.run 85585357 SHA256 8cd5fee22a77bb4851f6da99a660284234271718f4c34c49434a8f4650157b97 SHA512 4f0fee3c887a77c666944ef7b9d4a68c0574409c5a1b8a0a270384aff9d5dd0b9245cedd17222d3eabff349b8f1bd35ae30da39e6fe5438e7331db20321a164d WHIRLPOOL 9651e1ff758493bc25098d0fa0d14e08392fbf248f38a74aebbf9031ef4912e277fa0bcf417a6953b0c9ebdbdb0f4acc435fb4a39c5b9ca1ddc66cedd3376aa6
|
||||
DIST VirtualBox-4.3.2-90405-Linux_amd64.run 90633680 SHA256 b933ac5b08bec74004d005189e8d791defce878a2b1561ff99b3db58e5aefd49 SHA512 6b0d21a2a179b553644cf027f0c583069beb8fb08e26ce556194b36893830e1b06e2f2c83b6841868e623562042229b475e4f86b8268a4f8ead4218cb4129780 WHIRLPOOL 9e0988e167563e02c5ccdae45bbc6f5b5594279b3d617def357229019fd921447f609b027a6fc04dea633ee9d8c8dcee4e7f6ac19ff19131c8f08de4da8d638c
|
||||
DIST VirtualBox-4.3.2-90405-Linux_x86.run 90070475 SHA256 cc2a338e805cbb6503597665f811b546b347f79d80a44852a14da03022fd8299 SHA512 d1b0d05da634605e1c9f64ebc5b70575e17818669250015c50c6528d3345390692bf14148799d52bd7d76eee5794ecab9492ccccbdfc9502c37b8ec1a9c1b64d WHIRLPOOL 8165b0fb4f72deaa002b3f9799ad6ae7e685617013d04c998011b89c978867d82d8b2facf20f5d57f30d3d9d42f3c42833ab1bcacb32f774a99081bde61ca89e
|
||||
DIST VirtualBox-4.3.4-91027-Linux_amd64.run 90531279 SHA256 a5020a4b2282745c691a42cc0e03ce4d713c51d1da601e64b0ac77736c8abd1b SHA512 5638cd3ae282b07a877ea1ea9ecee5c8625a29af3c1c0e0b597fe75d7413074c6692d1bbfcff14cdb073adb411c50e368d63f316553c13d5e5d973c669c8cebb WHIRLPOOL bd90e5efab79d855f69a5bab5ccf8a0f41a20137692a77d3ea83a0f18ea18590dbeca6cb9fb769ef6f90388216686f432f50522eeffdb9ef6b0b7139d0f050c1
|
||||
DIST VirtualBox-4.3.4-91027-Linux_x86.run 89988556 SHA256 4c1f27fc090e05711c2f75a7b6686c268f2f5341ac57fea7ef04c41d0de830ee SHA512 752e16ae06c1e53c051e498e0c9b87b182e5007a32309cb38b6518ad60f3179ec226dcd3286844a32f2378fa7b9f3d3823d656b1e678c09b23fa5df3ec117741 WHIRLPOOL 81edc98416c1901788c25c8b3dd410f25983c0a4c1a47dc31df3b2c80baccce670944d642c9d28f846eadc5ee9c177eb8ec173dedcdf4b307e35b42fa4cd4215
|
||||
DIST VirtualBox-4.3.6-91406-Linux_amd64.run 90777040 SHA256 841f92ec157d99bc55863b82a7d52b356005e1224862570750929148c29a64dd SHA512 2714a53aeab138841724e8d3f0b003f9f022e8e6dfb629a89d0d66cbd05eabec743a81eca1d5b92b49cdfc579bdcd5c956f14ac2d45719c7779327474b5778b9 WHIRLPOOL b3f3ecd635e7af2f1319e35b25543a1733b1123fc37f2f12c6cd44db118bd8d0680387eddc8e7d398dd2c1f7a600933f36f9ad7c53864750e5c882a041d4c2fc
|
||||
DIST VirtualBox-4.3.6-91406-Linux_x86.run 90224076 SHA256 80e4b80d9a1461f6297db42a3799fba8228f1af3021ff1f2ae9e8cc5dbcc0908 SHA512 9970c035d99e2bfd76913b24e6cafc7150089fa253a2ce85903b9139ca5e8fe748a324559e40a4de4df6b35f5d8291639d1abb812ad59b5d33916941236fd5f0 WHIRLPOOL 4bd3e143857fc915ca9fb10396768eabdd406bb8d7682c2128c489c72346ff4c1504476b08f2a3c459dcf337402a1f7a45c42b5499ac8a83eb1d98a1a478390a
|
||||
DIST VirtualBoxSDK-4.2.18-88780.zip 9736718 SHA256 d448607a416f0289334b7bb868522f6f92847c4ceaabe848b850fbb97126b58f SHA512 be96647826aa13d6780aec759121c4e297b0c6334b237e5e7194ff8bd05d0f8bada87de851aee4ef7bef11e9d676ce08207dbc8e19cf9b1c594dab5cf2d5a0ad WHIRLPOOL b712e93e503625d22dcfad6aa6c627243049ff557c68da816ac231f333dee1ccdb4a086a0e01940f1f77b1cae1ff738a49206ea1299a12b5ad6d23518435e406
|
||||
DIST VirtualBoxSDK-4.2.20-90983.zip 9736473 SHA256 47ee5e16efc56bff785d2c0a826c375a3429e49596bfe4ef8e0e76517f1dcec3 SHA512 c1114598057dfd1a562970ce0a8ac253e9955f23f69f4dfc07a7f4a0b76227e7dd40294719fd072e00fbb38ba3912acd5c665551fed1026ccad4ef01bd91e36a WHIRLPOOL a945a19fa6ad1e685c8861131ca0d7a34e7679260fa279c56e9fb150e7e731df01025c33f007d3b93fcb33052175e608180acae3070c31de28cd71100458164f
|
||||
DIST VirtualBoxSDK-4.3.2-90405.zip 11271777 SHA256 0922dd7606d681f3edade16a6f02bc86e3da87f84d4fb0d4ee3dc3b70e0c4b77 SHA512 b2675126dc768a76410fe9a72b53a0872c58c76df3484bd31cdffa8248807e99bc7674713046237f74f279bc314bc490a5dda7d84c0b346da224ad986dab8867 WHIRLPOOL 22f26f4d349d195e7a2c12f7bc6876d83374a399b38f7933d65175b370509d3a948b0372b1bdb045a40c4a2ac4dd6218fa1f1c56f7a805d66301421514f67774
|
||||
DIST VirtualBoxSDK-4.3.4-91027.zip 11273072 SHA256 2a7a00635301121800541fb8e2f40d786e2497491a725765714bc85001fd8aa3 SHA512 04456eeaea3f504367e4a645bda97681cabb0cff78367d8afed00164df8208b427d75cfa2c5ffc6e56fa76dde153613f9a9896944244d71eb2475659c901c6b7 WHIRLPOOL 584111310314ac1850ff355d59bc1da9c98142ae3c0c093dee05303e3c72c4b88b22b2baaae8dd6176951102bc29c8ec231395dcc40126108ab6763e622febfd
|
||||
DIST VirtualBoxSDK-4.3.6-91406.zip 11272202 SHA256 0f7df6614f487c1b3b59aa249c7d6e1b97cf24bbd0d97dba8b467dbf64aebbc2 SHA512 ef425b49993feb81ce133559391413547b13af929d95d7f89013aac6c6bf3b4d2c0d40365ec2dbb51e3bc14a7af6a231c6a991b224cfd06bc8d6652e7ac8c962 WHIRLPOOL 28ebbdbdbf2529740d8c9a30fb39050be89cbf4a8235690f788d0f8919e00a8c62f8e8859eb823186bc535a070543ccbf054c686a8981cc6bbd41635051e9197
|
||||
|
@ -1,5 +1,4 @@
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.1.26-84997.tar.gz 10856343 SHA256 b392c2f8ed8d813a18597679a90eed9d76efd12d161373cbc5bd7de8165f5ce2 SHA512 581672dd46910cea77d0762d217f4e5afe28f5b45dcec68568885214e745af637a8588a96a85c5b8cb1b761ad68b05e8148d580f30ebf851228d34888c77998e WHIRLPOOL 6c9e3971259bfbf4f54ff6c7eb571f47bf78a51e5d1f4cce01529f7727444c366b70c343c1d0ebfc8fa1adb4bdd57ea4644f813f2991b6cb8f2d381a34f69372
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.2.18-88780.tar.gz 11665435 SHA256 1d1737b59d0f30f5d42beeabaff168bdc0a75b8b28df685979be6173e5adbbba SHA512 58d0990f8318a79da426c1390e6dd6df10639b5fc2b478044541d300c366881cba87ac0843e8524a7c489b95f0152e3942e6e28b178c85e582d70a1fb951bbdb WHIRLPOOL 33fc03dc5bcc0e5604aa9eb3d3c8fcc636a067d92a30689a98fd6d9ea16fa6b295e2f140af48b5747439b2ab3189bc645b0157848aed6d503d35e66232924714
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.2.20-90983.tar.gz 12385500 SHA256 fea7a89d4f5a250b1ff022620de37fff46d3d3c7549bd7bcf8b86af21c05cb1c SHA512 a5b04f177965d98e5561bc6517b90ee4d967027b211f14a47886ddde04ccf0c6a59e9ce8b9fe164961ac9560aa86d556079ff988293919e026bdea853cbe5db8 WHIRLPOOL a08f6627d3f78860e22399ce8683ee59a18808a7a89b29575e661abe20d0438e4d375db5ff59b62e29af49a3b4927e1ae8d1740eda04ba0228742fb4944e8f8f
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.3.2-90405.tar.gz 10417726 SHA256 c42f7ef2ac97138551f73db38180aa56f63dd44b3823156da470f7e9ee3dc8e5 SHA512 b04be4edb2e8794b79e3fe96dc416a9c4697a4ca0e41474c6f8563fc4d1fbb7fe784ec5d53545a873d1df06a93ea00f0bc64158db4553e2b9b2f679a97a220ed WHIRLPOOL f8bc92e44ecc4e8eedd657f5097e3b94823b223cc72db1143c5e1822cc01ca7d4e7f0302e8f85647989f445f56935711fa759a5f17eb84f218d5d7fa506a7948
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.3.4-91027.tar.gz 10418359 SHA256 8d192cf3c045817e3a89383aaad9ea992ccb7f47ae820c885caa182996a0f30d SHA512 a0583845c7741f913f8ec20fb825d4f2d7f0b46b739b2769009af54c17c8812e4ed3b1d603cb5e5414eebe34b1590b64ca22494be05ba7698c44158f75a21547 WHIRLPOOL b532e7559b310cc5bd42f0b33447128f10d8923bc77305eeca8fe8612a3cdf021908e90a5604c845990ab40c3df64ce3d635c898f89a1cc008ae9193c632bf65
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.3.6-91406.tar.gz 10419965 SHA256 983f87e4746a2e6739090d0ce905c24a71e209e87f11c449bdc3d0ca5bb4fde2 SHA512 2888b9a282c9a81b99cf5bf5458b61e0678e4e891247fab518e0a559fcb2b4aef4a183015efa703670a8111355067462b65b2438bd068ad815fd74db952b5aff WHIRLPOOL c04e4c544784eeb4b7e616f835c6b69947c7d8189742f14c763b7e402acdc9d00e3d640028aa6b15351f8e30c288fb66223c211f19f00d2b331ca427dd8ecdc7
|
||||
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-4.1.26.ebuild,v 1.3 2013/05/23 17:56:21 ago Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
MY_BUILD="84997"
|
||||
MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
|
||||
MY_P="${MY_PN}-${PV}-${MY_BUILD}"
|
||||
|
||||
DESCRIPTION="PUEL extensions for VirtualBox"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.vbox-extpack -> ${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="PUEL"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
RDEPEND="~app-emulation/virtualbox-${PV}"
|
||||
|
||||
QA_PREBUILT="/usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}/.*"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}
|
||||
doins -r linux.${ARCH}
|
||||
doins ExtPack* PXE-Intel.rom
|
||||
}
|
@ -1,12 +1,12 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-4.3.2.ebuild,v 1.1 2013/11/02 15:12:56 polynomial-c Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-4.3.6.ebuild,v 1.1 2013/12/18 20:53:15 polynomial-c Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
MY_BUILD=90405
|
||||
MY_BUILD=91406
|
||||
MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
|
||||
MY_PV="${PV/beta/BETA}"
|
||||
MY_PV="${MY_PV/rc/RC}"
|
@ -1,5 +1,4 @@
|
||||
DIST VirtualBox-4.1.26.tar.bz2 74552384 SHA256 229773b45bb18374aa091d4ef585f3893307fb4ccb6f489055b048c0f93c36ab SHA512 da3dc07a390f423446190ba68221a9389423381def888a6eb754dc02fed75f0b99e41263ffc6d36f955b6018b8f7e928da55397bb544eae16cd5b0cbcc66ed89 WHIRLPOOL 9f5d74e44950d41887955250307bc1af99ca0007e3d4b0f6549b35ff3fb9a48d546f9b7dab6d346ac5a0e88bbb1af092665024d1e792aa9befdc04b6017c62bf
|
||||
DIST VirtualBox-4.2.18.tar.bz2 76893031 SHA256 9dbddf393b029c549249f627d12040c1d257972bc09292969b8819a31ab78d74 SHA512 c267cef156476992773135b5a154164f30841c4f2d4afa5e6c7c74a320384f621d141bff5f7164968767c3d86035befcb59e34b7a912a8a5ae3bede2d24e9c60 WHIRLPOOL 665e4895db5c0fd623fd08c6b9f4df69e5e5d27ebd3063a4216721460782691d2936567be68a4af7bed57b88fd5b2a41805df76551b1aac200ccff0101055a56
|
||||
DIST VirtualBox-4.2.20.tar.bz2 77050211 SHA256 193aa3ce7c0e700fe6a12b64bf462ce633a856f1e831ee4a337cc3439b21df61 SHA512 53cd847490e74ed7255a63a0e15b5de424d10c32934212b9aa50ef5beae69194895195991f4c58a5baf4ad9645bf90473e0474c287c395c3c064fc217ea7957e WHIRLPOOL 0177201a63978fdd75ebe65a8567d561bcb12609d936c8e9f98fef61ecafd2630235d988e17a38c82d39de9a729a32d5b0c493833cf88a35f88b3f8b7e558498
|
||||
DIST VirtualBox-4.3.2.tar.bz2 89709005 SHA256 137ee464dcf3ec81fd74793022ecb53d7f4399682759e00cafd322b0dc92967e SHA512 5a622636ab5f25ebd18a51c07ce16a98aac5a020d356060321a7433682e110983442ed3c17c4d70e40dca343caeedb5f15bc34a924c95c29239c2e5b1ba6bd6e WHIRLPOOL 34b34f5cc9b495d8a67c0a41db205aeed1b9bd514586261ec6acaff652192832c04993df8867ec8f886ff4d56e0500225800449d3b1684c90fc93ec5dc5ac4a7
|
||||
DIST VirtualBox-4.3.4.tar.bz2 89614288 SHA256 d2b9020d088c08cbf3d2dfb05eaa0922e2c91b46c9767911796b785a9ccb2e1f SHA512 b8cc6bb6af62d279d76ff1bbc16763f9dd9a577a55a2ef77683d995a229bb8c1b73ab548cca85ccb97bdf021cc8a6aaf3cb2dc4bf7e57b00e3f94cd05986e2e0 WHIRLPOOL 2ffe8fdbb0fc96c7bf2ed4314278ec78b8fd0e5f05bda572841b788a275dc263a364ecf8e1e0a691da505383bdd09ad483f34abcd3f7baea89373ee161822f8d
|
||||
DIST VirtualBox-4.3.6.tar.bz2 89609199 SHA256 c547e1e32e0b06fba9ee4ca7842f8ddee8e94c64aab17c2b0d0793f0caccbb27 SHA512 8cb540a825afa5f6069ad2bb155e825af4a222f6d20c5e653bf6bbbb07dfbc4d122640da5f249b72f1aa34f8afd92ef41c525911db30090a2d108b9609da4a38 WHIRLPOOL 12fd27c9499d9fac0283c01a276e02ac3c10c72c66e0ffea8db49beefa66b44f6b4c8fb727da5d74cc0ed2feb00531a67b65f52a5f55ceef2a8db64868cfc89a
|
||||
|
@ -1,200 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.1.26.ebuild,v 1.5 2013/10/15 14:19:58 polynomial-c Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils linux-mod user
|
||||
|
||||
MY_P=VirtualBox-${PV}
|
||||
DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="X"
|
||||
|
||||
RDEPEND="X? ( ~x11-drivers/xf86-video-virtualbox-${PV}
|
||||
x11-apps/xrandr
|
||||
x11-apps/xrefresh
|
||||
x11-libs/libXmu
|
||||
x11-libs/libX11
|
||||
x11-libs/libXt
|
||||
x11-libs/libXext
|
||||
x11-libs/libXau
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libSM
|
||||
x11-libs/libICE )
|
||||
!!x11-drivers/xf86-input-virtualbox"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/kbuild-0.1.999
|
||||
>=dev-lang/yasm-0.6.2
|
||||
sys-devel/bin86
|
||||
sys-devel/dev86
|
||||
sys-libs/pam
|
||||
sys-power/iasl
|
||||
X? ( x11-proto/renderproto )
|
||||
!X? ( x11-proto/xproto )"
|
||||
|
||||
BUILD_TARGETS="all"
|
||||
BUILD_TARGET_ARCH="${ARCH}"
|
||||
MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest)
|
||||
vboxsf(misc:${WORKDIR}/vboxsf:${WORKDIR}/vboxsf)"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
|
||||
enewgroup vboxguest
|
||||
enewuser vboxguest -1 /bin/sh /dev/null vboxguest
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
# Create and unpack a tarball with the sources of the Linux guest
|
||||
# kernel modules, to include all the needed files
|
||||
"${S}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz"
|
||||
unpack ./vbox-kmod.tar.gz
|
||||
|
||||
# Remove shipped binaries (kBuild,yasm), see bug #232775
|
||||
cd "${S}"
|
||||
rm -rf kBuild/bin tools
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# PaX fixes (see bug #298988)
|
||||
pushd "${WORKDIR}" &>/dev/null || die
|
||||
epatch "${FILESDIR}"/vboxguest-4.1.0-log-use-c99.patch
|
||||
popd &>/dev/null || die
|
||||
|
||||
# Disable things unused or splitted into separate ebuilds
|
||||
cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk
|
||||
|
||||
# stupid new header references...
|
||||
for vboxheader in {product,revision}-generated.h ; do
|
||||
for mdir in vbox{guest,sf} ; do
|
||||
ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
|
||||
"${WORKDIR}/${mdir}/${vboxheader}"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# build the user-space tools, warnings are harmless
|
||||
./configure --nofatal \
|
||||
--disable-xpcom \
|
||||
--disable-sdl-ttf \
|
||||
--disable-pulse \
|
||||
--disable-alsa \
|
||||
--build-headless || die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
source ./env.sh
|
||||
|
||||
for each in /src/VBox/{Runtime,Additions/common} \
|
||||
/src/VBox/Additions/linux/{sharedfolders,daemon} ; do
|
||||
cd "${S}"${each}
|
||||
MAKE="kmk" emake TOOL_YASM_AS=yasm \
|
||||
KBUILD_PATH="${S}/kBuild" \
|
||||
|| die "kmk VBoxControl failed"
|
||||
done
|
||||
|
||||
if use X; then
|
||||
cd "${S}"/src/VBox/Additions/x11/VBoxClient
|
||||
MAKE="kmk" emake TOOL_YASM_AS=yasm \
|
||||
KBUILD_PATH="${S}/kBuild" \
|
||||
KBUILD_VERBOSE=2 \
|
||||
|| die "kmk VBoxClient failed"
|
||||
fi
|
||||
|
||||
# Now creating the kernel modules. We must do this _after_
|
||||
# we compiled the user-space tools as we need two of the
|
||||
# automatically generated header files. (>=3.2.0)
|
||||
linux-mod_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
|
||||
cd "${S}"/out/linux.${ARCH}/release/bin/additions
|
||||
|
||||
insinto /sbin
|
||||
newins mount.vboxsf mount.vboxsf
|
||||
fperms 4755 /sbin/mount.vboxsf
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}-7.initd ${PN}
|
||||
|
||||
insinto /usr/sbin/
|
||||
newins VBoxService vboxguest-service
|
||||
fperms 0755 /usr/sbin/vboxguest-service
|
||||
|
||||
insinto /usr/bin
|
||||
doins VBoxControl
|
||||
fperms 0755 /usr/bin/VBoxControl
|
||||
|
||||
# VBoxClient user service and xrandr wrapper
|
||||
if use X; then
|
||||
doins VBoxClient
|
||||
fperms 0755 /usr/bin/VBoxClient
|
||||
|
||||
cd "${S}"/src/VBox/Additions/x11/Installer
|
||||
newins 98vboxadd-xclient VBoxClient-all
|
||||
fperms 0755 /usr/bin/VBoxClient-all
|
||||
fi
|
||||
|
||||
# udev rule for vboxdrv
|
||||
dodir /lib/udev/rules.d
|
||||
echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
|
||||
>> "${D}/lib/udev/rules.d/60-virtualbox-guest-additions.rules" \
|
||||
|| die
|
||||
echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
|
||||
>> "${D}/lib/udev/rules.d/60-virtualbox-guest-additions.rules" \
|
||||
|| die
|
||||
|
||||
# VBoxClient autostart file
|
||||
insinto /etc/xdg/autostart
|
||||
doins "${FILESDIR}"/vboxclient.desktop
|
||||
|
||||
# sample xorg.conf
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins "${FILESDIR}"/xorg.conf.vbox
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod_pkg_postinst
|
||||
if ! use X ; then
|
||||
elog "use flag X is off, enable it to install the"
|
||||
elog "X Window System video driver."
|
||||
fi
|
||||
elog ""
|
||||
elog "Please add users to the \"vboxguest\" group so they can"
|
||||
elog "benefit from seamless mode, auto-resize and clipboard."
|
||||
elog ""
|
||||
elog "Please add:"
|
||||
elog "/etc/init.d/${PN}"
|
||||
elog "to the default runlevel in order to start"
|
||||
elog "needed services."
|
||||
elog "To use the VirtualBox X driver, use the following"
|
||||
elog "file as your /etc/X11/xorg.conf:"
|
||||
elog " /usr/share/doc/${PF}/xorg.conf.vbox"
|
||||
elog ""
|
||||
elog "Also make sure you use the Mesa library for OpenGL:"
|
||||
elog " eselect opengl set xorg-x11"
|
||||
elog ""
|
||||
elog "An autostart .desktop file has been installed to start"
|
||||
elog "VBoxClient in desktop sessions."
|
||||
elog ""
|
||||
elog "You can mount shared folders with:"
|
||||
elog " mount -t vboxsf <shared_folder_name> <mount_point>"
|
||||
elog ""
|
||||
elog "Warning:"
|
||||
elog "this ebuild is only needed if you are running gentoo"
|
||||
elog "inside a VirtualBox Virtual Machine, you don't need"
|
||||
elog "it to run VirtualBox itself."
|
||||
elog ""
|
||||
}
|
@ -1,5 +1,4 @@
|
||||
DIST vbox-kernel-module-src-4.1.26.tar.xz 460260 SHA256 69f7397a23b0a0fb55e2b9337d0770a4a1b2d11c2e53d9bc620f7629952bac8f SHA512 5b0312ddf71979d86ecb052e09efb6c19ae6c42a2f86c4cfd14f0b66e71d8e635713fd67f160f44195b77b350408d36ccd794bbbb6e3815cfdd174c4c29dbd00 WHIRLPOOL c1a351d1d5ba5b8bc50dc7a791ac3526aa1fc1fb12f1f8db412c774778eae010abab7d3cfdb3ba4e56dd72120c25ccc40d3b775fd14c67eeca71353110bf7291
|
||||
DIST vbox-kernel-module-src-4.2.18.tar.xz 493892 SHA256 2ff5bb1ba83dc45b15877305be6c36226f861fd0b0056812040237db1ef1158e SHA512 d8d5a188905b4fc94ff293620c1a92723846f88dd86c0aa34990a385280e78463333c777f67e656e5a363a0b981d6000fb6df1dc927da4c8854c3a9e94576979 WHIRLPOOL 946473710a7fa550afceb961967dd619ca224ad4dbb59c738975aaccbeb142dbd50daa6b652fcebe15769516d7edd1eca311b75fa082753b02b31b470c7a86dc
|
||||
DIST vbox-kernel-module-src-4.2.20.tar.xz 493908 SHA256 20e4b4f8c245342de33a7aac6cab44d6ddfcb4e36f341fa46a513ccd7d2683c2 SHA512 75b4af6d6e35438525f895c6f297fb5cb62b8d179c454b5928661031371c12ef665eae81d0d99c2f9cbc9b0bf4248c723176a4cbe9ccbb17d27a60c585f0249c WHIRLPOOL 4d852e4abd545bdac8411b934e9f93b30cc816c44b2f7c2a2b3d7fcdf7c44131383e6983529c97e007b68b11b24041733f7b73f11b93216f2548fe3aa6e1a5d6
|
||||
DIST vbox-kernel-module-src-4.3.2.tar.xz 515836 SHA256 d8336c68d8fb899eaaf2774770e082f3227fa6cbb9fdd7f755cbd952e28a5677 SHA512 6b077da50ce98c13cbbd1c9d625950c97a7c64ee7e1ac2b5158e8bb47b59aa560bc28ed34c92f4ddb956b779a566150757307e066563db2c3898149b146d4f43 WHIRLPOOL 3675097a4844ade76e2187edcfddf3755dc8b72b57160c575d3baf4f5bb8c6a95e5f003483dd2254e8c19db6f60273b32ad54166f7699d5923a23be5b64a81b2
|
||||
DIST vbox-kernel-module-src-4.3.4.tar.xz 516036 SHA256 6428d30b6f2e659986d41d6c0f31275f72b5834da2e185dc9ca36eb5b76df38a SHA512 436bb66bc352db2451198b2bcdafbb55411d4862610e223978d4557c5b95c40a2a7e5bd50a386602bcbdcbd126c7c8d9adf214c3b0f54c1d8d6084e4ba63c8e9 WHIRLPOOL b8daad54f24eaf929876f351024ace65de1a337482c540b34fb2b553e8eee2ca8ec266d6874136e6bde7ad642beb0d4410bc12cdde200740b7ffbde3e2a832a1
|
||||
DIST vbox-kernel-module-src-4.3.6.tar.xz 516304 SHA256 09a9f01916a20a04989d6d27b1fccb05730886d525a3751f0aaa87bd2561e804 SHA512 0d438a251180b78d82aad1ec411699725bb3041e9f81da0b9d239d7549c94fabf57354d1df1f4ea49c05250b505c3ecb6c953896a2c54d9b8a990dd0d9ff04d6 WHIRLPOOL f5af3e5a2af4c155cfc97c62a590cb0caf1acdb93916f718082be560ee62ccb7578523d45f831169ed04cf55dd1140168a07d928e6cb6ce6a92d78e8a70e4ca6
|
||||
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-4.1.26.ebuild,v 1.3 2013/05/23 17:56:30 ago Exp $
|
||||
|
||||
# XXX: the tarball here is just the kernel modules split out of the binary
|
||||
# package that comes from virtualbox-bin
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils linux-mod user
|
||||
|
||||
MY_P=vbox-kernel-module-src-${PV}
|
||||
DESCRIPTION="Kernel Modules for Virtualbox"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
SRC_URI="http://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="pax_kernel"
|
||||
|
||||
RDEPEND="!=app-emulation/virtualbox-9999"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
BUILD_TARGETS="all"
|
||||
BUILD_TARGET_ARCH="${ARCH}"
|
||||
MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})"
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
|
||||
BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
|
||||
enewgroup vboxusers
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if kernel_is -ge 2 6 33 ; then
|
||||
# evil patch for new kernels - header moved
|
||||
grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:'
|
||||
fi
|
||||
|
||||
if use pax_kernel && kernel_is -ge 3 0 0 ; then
|
||||
epatch "${FILESDIR}"/${PN}-4.1.4-pax-const.patch
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod_pkg_postinst
|
||||
elog "Starting with the 3.x release new kernel modules were added,"
|
||||
elog "be sure to load all the needed modules."
|
||||
elog ""
|
||||
elog "Please add \"vboxdrv\", \"vboxnetflt\" and \"vboxnetadp\" to:"
|
||||
elog "/etc/conf.d/modules"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-4.3.2.ebuild,v 1.2 2013/11/17 12:24:37 pacho Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-4.3.6.ebuild,v 1.1 2013/12/18 20:52:08 polynomial-c Exp $
|
||||
|
||||
# XXX: the tarball here is just the kernel modules split out of the binary
|
||||
# package that comes from virtualbox-bin
|
@ -1,8 +1,6 @@
|
||||
DIST VirtualBox-4.1.26.tar.bz2 74552384 SHA256 229773b45bb18374aa091d4ef585f3893307fb4ccb6f489055b048c0f93c36ab SHA512 da3dc07a390f423446190ba68221a9389423381def888a6eb754dc02fed75f0b99e41263ffc6d36f955b6018b8f7e928da55397bb544eae16cd5b0cbcc66ed89 WHIRLPOOL 9f5d74e44950d41887955250307bc1af99ca0007e3d4b0f6549b35ff3fb9a48d546f9b7dab6d346ac5a0e88bbb1af092665024d1e792aa9befdc04b6017c62bf
|
||||
DIST VirtualBox-4.2.18.tar.bz2 76893031 SHA256 9dbddf393b029c549249f627d12040c1d257972bc09292969b8819a31ab78d74 SHA512 c267cef156476992773135b5a154164f30841c4f2d4afa5e6c7c74a320384f621d141bff5f7164968767c3d86035befcb59e34b7a912a8a5ae3bede2d24e9c60 WHIRLPOOL 665e4895db5c0fd623fd08c6b9f4df69e5e5d27ebd3063a4216721460782691d2936567be68a4af7bed57b88fd5b2a41805df76551b1aac200ccff0101055a56
|
||||
DIST VirtualBox-4.2.20.tar.bz2 77050211 SHA256 193aa3ce7c0e700fe6a12b64bf462ce633a856f1e831ee4a337cc3439b21df61 SHA512 53cd847490e74ed7255a63a0e15b5de424d10c32934212b9aa50ef5beae69194895195991f4c58a5baf4ad9645bf90473e0474c287c395c3c064fc217ea7957e WHIRLPOOL 0177201a63978fdd75ebe65a8567d561bcb12609d936c8e9f98fef61ecafd2630235d988e17a38c82d39de9a729a32d5b0c493833cf88a35f88b3f8b7e558498
|
||||
DIST VirtualBox-4.3.2.tar.bz2 89709005 SHA256 137ee464dcf3ec81fd74793022ecb53d7f4399682759e00cafd322b0dc92967e SHA512 5a622636ab5f25ebd18a51c07ce16a98aac5a020d356060321a7433682e110983442ed3c17c4d70e40dca343caeedb5f15bc34a924c95c29239c2e5b1ba6bd6e WHIRLPOOL 34b34f5cc9b495d8a67c0a41db205aeed1b9bd514586261ec6acaff652192832c04993df8867ec8f886ff4d56e0500225800449d3b1684c90fc93ec5dc5ac4a7
|
||||
DIST VirtualBox-4.3.4.tar.bz2 89614288 SHA256 d2b9020d088c08cbf3d2dfb05eaa0922e2c91b46c9767911796b785a9ccb2e1f SHA512 b8cc6bb6af62d279d76ff1bbc16763f9dd9a577a55a2ef77683d995a229bb8c1b73ab548cca85ccb97bdf021cc8a6aaf3cb2dc4bf7e57b00e3f94cd05986e2e0 WHIRLPOOL 2ffe8fdbb0fc96c7bf2ed4314278ec78b8fd0e5f05bda572841b788a275dc263a364ecf8e1e0a691da505383bdd09ad483f34abcd3f7baea89373ee161822f8d
|
||||
DIST virtualbox-4.1.22-patches-01.tar.xz 3752 SHA256 2ff58f8d2bdfdcbf1ae4bbe9f68ad1256f1ae37091fd4b392582a062d206962f SHA512 9bba2a4352d52cddd27f55b4ad0e9de250c1d29359a8859f61fc413e53ac62206321c5e347391ca478b942967bd7974a3a469eb3bb133c79d7033692afe559dd WHIRLPOOL 1aa98913e7d4e1ddf5f775db200cddc18a7ed4d7dd915dda0dab6bffbf33bfd63a785cc7381bca74e4780e7dce21f18314dc093b9c6ba02addfd1330f3b61aa9
|
||||
DIST VirtualBox-4.3.6.tar.bz2 89609199 SHA256 c547e1e32e0b06fba9ee4ca7842f8ddee8e94c64aab17c2b0d0793f0caccbb27 SHA512 8cb540a825afa5f6069ad2bb155e825af4a222f6d20c5e653bf6bbbb07dfbc4d122640da5f249b72f1aa34f8afd92ef41c525911db30090a2d108b9609da4a38 WHIRLPOOL 12fd27c9499d9fac0283c01a276e02ac3c10c72c66e0ffea8db49beefa66b44f6b4c8fb727da5d74cc0ed2feb00531a67b65f52a5f55ceef2a8db64868cfc89a
|
||||
DIST virtualbox-4.2.18-patches-01.tar.xz 3788 SHA256 9a147e3a3da7e1e07b70aed67042c822897c7874ccaa3690c9497862373d8222 SHA512 021f8a566ede223ead5a2605bff3917195165c543f760ee7af004ab97d5dcf0771e6ccb62148d7986a34872ea8c35db952286fb8534b1f69804e192701bd8108 WHIRLPOOL 9818df1703636fecfbda1bbeb4d167d845701fe9de2827a97573a26ffb3cb9feaa22ee2849c45d3ea700a9c305185eb404b15572b0f4e666f8a8e6158a48b9eb
|
||||
DIST virtualbox-4.3.4-patches-01.tar.xz 3512 SHA256 92602471590278f42db4e13aeb3975620ce0b8f1f883b82a534b6998bb4fc2e3 SHA512 3a487283066b96fb8abc765d446dbc3d3b34ed93a12d932e843b7ecdf644a02fc185f47764cfb3e4b996e104da8e1fc07432892ea126229c174e00f748468496 WHIRLPOOL 19b344f784e866b87c1f7583081746776da5203737bbb284a32b8bcb48a8546286cd209b6749c6c77c08ee02039afcf3838d49d179ae4cc1592ca1fbd5fd5b12
|
||||
|
@ -1,390 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-4.1.26.ebuild,v 1.4 2013/10/15 14:11:39 polynomial-c Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils fdo-mime flag-o-matic linux-info multilib pax-utils python qt4-r2 toolchain-funcs java-pkg-opt-2 udev
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
# XXX: should finish merging the -9999 ebuild into this one ...
|
||||
ESVN_REPO_URI="http://www.virtualbox.org/svn/vbox/trunk"
|
||||
inherit linux-mod subversion
|
||||
else
|
||||
MY_P=VirtualBox-${PV}
|
||||
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Family of powerful x86 virtualization products for enterprise as well as home use"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
SRC_URI="${SRC_URI}
|
||||
http://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-4.1.22-patches-01.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+additions alsa doc extensions headless java pam pulseaudio +opengl python +qt4 +sdk vboxwebsrv vnc"
|
||||
|
||||
RDEPEND="!app-emulation/virtualbox-bin
|
||||
~app-emulation/virtualbox-modules-${PV}
|
||||
dev-libs/libIDL
|
||||
>=dev-libs/libxslt-1.1.19
|
||||
net-misc/curl
|
||||
dev-libs/openssl
|
||||
dev-libs/libxml2
|
||||
sys-libs/zlib
|
||||
!headless? (
|
||||
qt4? (
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtcore:4
|
||||
opengl? ( dev-qt/qtopengl:4 )
|
||||
x11-libs/libXinerama
|
||||
)
|
||||
opengl? ( virtual/opengl media-libs/freeglut )
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXext
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
media-libs/libsdl:0[X,video]
|
||||
)
|
||||
vnc? ( >=net-libs/libvncserver-0.9.9 )
|
||||
java? ( || ( virtual/jre:1.7 virtual/jre:1.6 ) )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/kbuild-0.1.999
|
||||
>=dev-lang/yasm-0.6.2
|
||||
sys-devel/bin86
|
||||
sys-devel/dev86
|
||||
sys-power/iasl
|
||||
media-libs/libpng
|
||||
pam? ( sys-libs/pam )
|
||||
sys-libs/libcap
|
||||
doc? (
|
||||
dev-texlive/texlive-basic
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-latexrecommended
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
dev-texlive/texlive-fontsextra
|
||||
)
|
||||
java? ( || ( virtual/jdk:1.7 virtual/jdk:1.6 ) )
|
||||
virtual/pkgconfig
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
!headless? ( x11-libs/libXinerama )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
vboxwebsrv? ( >=net-libs/gsoap-2.7.13 )"
|
||||
PDEPEND="additions? ( ~app-emulation/virtualbox-additions-${PV} )
|
||||
extensions? ( ~app-emulation/virtualbox-extpack-oracle-${PV} )"
|
||||
|
||||
QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
|
||||
usr/lib/virtualbox/VBoxSDL.so
|
||||
usr/lib/virtualbox/VBoxSharedFolders.so
|
||||
usr/lib/virtualbox/VBoxDD2.so
|
||||
usr/lib/virtualbox/VBoxOGLrenderspu.so
|
||||
usr/lib/virtualbox/VBoxPython.so
|
||||
usr/lib/virtualbox/VBoxDD.so
|
||||
usr/lib/virtualbox/VBoxDDU.so
|
||||
usr/lib/virtualbox/VBoxREM64.so
|
||||
usr/lib/virtualbox/VBoxSharedClipboard.so
|
||||
usr/lib/virtualbox/VBoxHeadless.so
|
||||
usr/lib/virtualbox/VBoxRT.so
|
||||
usr/lib/virtualbox/VBoxREM.so
|
||||
usr/lib/virtualbox/VBoxSettings.so
|
||||
usr/lib/virtualbox/VBoxKeyboard.so
|
||||
usr/lib/virtualbox/VBoxSharedCrOpenGL.so
|
||||
usr/lib/virtualbox/VBoxVMM.so
|
||||
usr/lib/virtualbox/VirtualBox.so
|
||||
usr/lib/virtualbox/VBoxOGLhosterrorspu.so
|
||||
usr/lib/virtualbox/components/VBoxC.so
|
||||
usr/lib/virtualbox/components/VBoxSVCM.so
|
||||
usr/lib/virtualbox/components/VBoxDDU.so
|
||||
usr/lib/virtualbox/components/VBoxRT.so
|
||||
usr/lib/virtualbox/components/VBoxREM.so
|
||||
usr/lib/virtualbox/components/VBoxVMM.so
|
||||
usr/lib/virtualbox/VBoxREM32.so
|
||||
usr/lib/virtualbox/VBoxPython2_4.so
|
||||
usr/lib/virtualbox/VBoxPython2_5.so
|
||||
usr/lib/virtualbox/VBoxPython2_6.so
|
||||
usr/lib/virtualbox/VBoxPython2_7.so
|
||||
usr/lib/virtualbox/VBoxXPCOMC.so
|
||||
usr/lib/virtualbox/VBoxOGLhostcrutil.so
|
||||
usr/lib/virtualbox/VBoxNetDHCP.so"
|
||||
|
||||
REQUIRED_USE="
|
||||
java? ( sdk )
|
||||
python? ( sdk )
|
||||
vboxwebsrv? ( java )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
if ! use headless && ! use qt4 ; then
|
||||
einfo "No USE=\"qt4\" selected, this build will not include"
|
||||
einfo "any Qt frontend."
|
||||
elif use headless && use qt4 ; then
|
||||
einfo "You selected USE=\"headless qt4\", defaulting to"
|
||||
einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
|
||||
fi
|
||||
|
||||
if ! use opengl ; then
|
||||
einfo "No USE=\"opengl\" selected, this build will lack"
|
||||
einfo "the OpenGL feature."
|
||||
fi
|
||||
java-pkg-opt-2_pkg_setup
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Remove shipped binaries (kBuild,yasm), see bug #232775
|
||||
rm -rf kBuild/bin tools
|
||||
|
||||
# Disable things unused or split into separate ebuilds
|
||||
sed -e "s@MY_LIBDIR@$(get_libdir)@" \
|
||||
"${FILESDIR}"/${PN}-4-localconfig > LocalConfig.kmk || die
|
||||
|
||||
# Respect LDFLAGS
|
||||
sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
|
||||
-i Config.kmk src/libs/xpcom18a4/Config.kmk || die
|
||||
|
||||
# Use PAM only when pam USE flag is enbaled (bug #376531)
|
||||
if ! use pam ; then
|
||||
elog "Disabling PAM removes the possibility to use the VRDP features."
|
||||
sed -i 's@^.*VBOX_WITH_PAM@#VBOX_WITH_PAM@' Config.kmk || die
|
||||
sed -i 's@\(.*/auth/Makefile.kmk.*\)@#\1@' \
|
||||
src/VBox/HostServices/Makefile.kmk || die
|
||||
fi
|
||||
|
||||
# add correct java path
|
||||
if use java ; then
|
||||
sed "s@/usr/lib/jvm/java-6-sun@$(java-config -O)@" \
|
||||
-i "${S}"/Config.kmk || die
|
||||
java-pkg-opt-2_src_prepare
|
||||
fi
|
||||
|
||||
if ! gcc-specs-pie ; then
|
||||
EPATCH_EXCLUDE="050_${PN}-4.1.20-nopie.patch"
|
||||
fi
|
||||
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches
|
||||
|
||||
# fix location of ifconfig binary (bug #455902)
|
||||
local ifcfg="$(type -p ifconfig)"
|
||||
if [ "${ifcfg}" != "/sbin/ifconfig" ] ; then
|
||||
sed "/VBOXADPCTL_IFCONFIG_PATH/s@/sbin/ifconfig@${ifcfg}@" \
|
||||
-i "${S}"/src/apps/adpctl/VBoxNetAdpCtl.cpp \
|
||||
|| die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use alsa || myconf+=" --disable-alsa"
|
||||
use opengl || myconf+=" --disable-opengl"
|
||||
use pulseaudio || myconf+=" --disable-pulse"
|
||||
use python || myconf+=" --disable-python"
|
||||
use java || myconf+=" --disable-java"
|
||||
use vboxwebsrv && myconf+=" --enable-webservice"
|
||||
use vnc && myconf+=" --enable-vnc"
|
||||
use doc || myconf+=" --disable-docs"
|
||||
if ! use headless ; then
|
||||
use qt4 || myconf+=" --disable-qt4"
|
||||
else
|
||||
myconf+=" --build-headless --disable-opengl"
|
||||
fi
|
||||
# not an autoconf script
|
||||
./configure \
|
||||
--with-gcc="$(tc-getCC)" \
|
||||
--with-g++="$(tc-getCXX)" \
|
||||
--disable-kmods \
|
||||
--disable-dbus \
|
||||
${myconf} \
|
||||
|| die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
source ./env.sh
|
||||
|
||||
# Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
|
||||
# and strip all flags
|
||||
# strip-flags
|
||||
|
||||
MAKE="kmk" emake \
|
||||
VBOX_VERSION_STRING='$(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD)'_Gentoo_ \
|
||||
TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \
|
||||
TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \
|
||||
TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
|
||||
TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
|
||||
VBOX_GCC_OPT="${CXXFLAGS}" \
|
||||
TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" \
|
||||
KBUILD_VERBOSE=2 \
|
||||
all || die "kmk failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}"/out/linux.${ARCH}/release/bin || die
|
||||
|
||||
# Create configuration files
|
||||
insinto /etc/vbox
|
||||
newins "${FILESDIR}/${PN}-4-config" vbox.cfg
|
||||
|
||||
# Set the right libdir
|
||||
sed -i \
|
||||
-e "s@MY_LIBDIR@$(get_libdir)@" \
|
||||
"${D}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
|
||||
|
||||
# Symlink binaries to the shipped wrapper
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
newexe "${FILESDIR}/${PN}-ose-3-wrapper" "VBox" || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBox
|
||||
fperms 0750 /usr/$(get_libdir)/${PN}/VBox
|
||||
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxManage
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxVRDP
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxHeadless
|
||||
dosym /usr/$(get_libdir)/${PN}/VBoxTunctl /usr/bin/VBoxTunctl
|
||||
|
||||
# Install binaries and libraries
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins -r components || die
|
||||
|
||||
if use sdk ; then
|
||||
doins -r sdk || die
|
||||
fi
|
||||
|
||||
if use vboxwebsrv ; then
|
||||
doins vboxwebsrv || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/vboxwebsrv
|
||||
fperms 0750 /usr/$(get_libdir)/${PN}/vboxwebsrv
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/vboxwebsrv
|
||||
newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
|
||||
newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
|
||||
fi
|
||||
|
||||
for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,ExtPackHelperApp} *so *r0 *gc ; do
|
||||
doins $each || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
|
||||
fperms 0750 /usr/$(get_libdir)/${PN}/${each}
|
||||
done
|
||||
# VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxNetAdpCtl
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxNetDHCP
|
||||
|
||||
# VBoxSVC needs to be pax-marked (bug #403453)
|
||||
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VBoxSVC || die
|
||||
|
||||
if ! use headless ; then
|
||||
for each in VBox{SDL,Headless} ; do
|
||||
doins $each || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/${each}
|
||||
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/${each}
|
||||
done
|
||||
|
||||
if use opengl && use qt4 ; then
|
||||
doins VBoxTestOGL || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBoxTestOGL
|
||||
fperms 0750 /usr/$(get_libdir)/${PN}/VBoxTestOGL
|
||||
fi
|
||||
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxSDL
|
||||
|
||||
if use qt4 ; then
|
||||
doins VirtualBox || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VirtualBox
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/VirtualBox
|
||||
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VirtualBox
|
||||
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VirtualBox
|
||||
|
||||
newmenu "${FILESDIR}"/${PN}-ose.desktop-2 ${PN}.desktop
|
||||
fi
|
||||
|
||||
pushd "${S}"/src/VBox/Resources/OSE &>/dev/null || die
|
||||
for size in 16 32 48 64 128 ; do
|
||||
newicon -s ${size} ${PN}-${size}px.png ${PN}.png
|
||||
done
|
||||
newicon ${PN}-48px.png ${PN}.png
|
||||
popd &>/dev/null || die
|
||||
else
|
||||
doins VBoxHeadless || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBoxHeadless
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxHeadless
|
||||
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VBoxHeadless
|
||||
fi
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
# Install EFI Firmware files (bug #320757)
|
||||
pushd "${S}"/src/VBox/Devices/EFI/FirmwareBin &>/dev/null || die
|
||||
for fwfile in VBoxEFI{32,64}.fd ; do
|
||||
doins ${fwfile} || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${fwfile} || die
|
||||
done
|
||||
popd &>/dev/null || die
|
||||
|
||||
# New way of handling USB device nodes for VBox (bug #356215)
|
||||
local udevdir="$(udev_get_udevdir)"
|
||||
insinto ${udevdir}
|
||||
doins VBoxCreateUSBNode.sh
|
||||
fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh
|
||||
fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
|
||||
insinto ${udevdir}/rules.d
|
||||
doins "${FILESDIR}"/10-virtualbox.rules
|
||||
sed "s@%UDEVDIR%@${udevdir}@" \
|
||||
-i "${D}"${udevdir}/rules.d/10-virtualbox.rules || die
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
if ! use headless && use qt4 ; then
|
||||
doins -r nls
|
||||
fi
|
||||
|
||||
# VRDPAuth only works with this (bug #351949)
|
||||
dosym VBoxAuth.so /usr/$(get_libdir)/${PN}/VRDPAuth.so
|
||||
|
||||
# set an env-variable for 3rd party tools
|
||||
echo -n "VBOX_APP_HOME=/usr/$(get_libdir)/${PN}" > "${T}/90virtualbox"
|
||||
doenvd "${T}/90virtualbox"
|
||||
|
||||
if use java ; then
|
||||
java-pkg_regjar "${D}/usr/$(get_libdir)/${PN}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
|
||||
java-pkg_regso "${D}/usr/$(get_libdir)/${PN}/libvboxjxpcom.so"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
|
||||
|
||||
if ! use headless && use qt4 ; then
|
||||
elog "To launch VirtualBox just type: \"VirtualBox\"."
|
||||
fi
|
||||
elog "You must be in the vboxusers group to use VirtualBox."
|
||||
elog ""
|
||||
elog "The latest user manual is available for download at:"
|
||||
elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
|
||||
elog ""
|
||||
elog "For advanced networking setups you should emerge:"
|
||||
elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
|
||||
elog ""
|
||||
elog "IMPORTANT!"
|
||||
elog "If you upgrade from app-emulation/virtualbox-ose make sure to run"
|
||||
elog "\"env-update\" as root and logout and relogin as the user you wish"
|
||||
elog "to run ${PN} as."
|
||||
elog ""
|
||||
elog "Starting with version 4.0.0, ${PN} has USB-1 support."
|
||||
elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
|
||||
elog " app-emulation/virtualbox-extpack-oracle"
|
||||
elog "package."
|
||||
if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
|
||||
elog ""
|
||||
elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
|
||||
elog "or else USB in ${PN} won't work."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST JabRef-2.6-src.tar.bz2 7028591 SHA256 fd7551b796cdeca8db0b3cb8f089fcb673b03d797b6ff0e68216b1201792d02c SHA512 63302871ed8724451d76fed451b585f13b776f2ab5b765ba4d95b55652ea5c8ffccbdecbe3cd4d4e9f43bd03268da4e24896a0ac6f61e54c985c7f11cab411ec WHIRLPOOL 01a3681644b2782ebd5ed3f0413a79f50ed9a514ef53421e90907263add8a80da675d6f27004ac5231b73eef24a3ecf022bfb7da48c89c4a764c58da3aa858ad
|
||||
DIST JabRef-2.9.2-src.tar.bz2 16664284 SHA256 12bc7e489709bc6f57327bf8e15c6bc9ceaa600369dca6452b7c13d792215e83 SHA512 40eb5d3f3528e92c4d5c62abce12d87ea63b84a58778a32151cd1af2a0198c49aa354ee295f8b3c9449d5b078f7119163babd3c29f358b0d56b3776980292463 WHIRLPOOL d2115e497066f31a3772085510f6820e46a55fbe36778471e6c81a4973f45607761cca80655cfefffb1308f65315ef72fb17791fe964d004826f345322ca0dcf
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/jabref/jabref-2.9.2.ebuild,v 1.1 2013/12/19 01:54:09 nicolasbock Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
EANT_DOC_TARGET=javadocs
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Java GUI for managing BibTeX and other bibliographies"
|
||||
HOMEPAGE="http://jabref.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/JabRef-${PV}-src.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
EANT_BUILD_TARGET="jars"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.6"
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar build/lib/JabRef-${PV}.jar
|
||||
use doc && java-pkg_dojavadoc build/docs/API
|
||||
dodoc src/txt/README
|
||||
java-pkg_dolauncher ${PN} --main net.sf.jabref.JabRef
|
||||
newicon src/images/JabRef-icon-48.png JabRef-icon.png
|
||||
make_desktop_entry ${PN} JabRef JabRef-icon Office
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST testtools-0.9.15.tar.gz 152830 SHA256 49ef090f09e217c9f2688d4b2f9e246f00b9c1a867040a7ae8e4e9de7f707c02 SHA512 164ffdad57ad3f0dd3c64dc29b67a21ee5721316dd7c71027b018c51f3dfc49ed9fe3b1fb6a2c4fcb796209a783af07c8e7ca9847bfefb8e5f8729ffa6190eb5 WHIRLPOOL 60d7810db7d69054a33cd7d16861b7860ff8d308eb6bf88b9a3116b5dff9395e4a0b171a064745eafcfa9b9f9dbd745a9265e5d533de868ef8398c14778aee6f
|
||||
DIST testtools-0.9.24.tar.gz 162842 SHA256 a7072188727d4cefacd06bc6d87b845805300ba5d58a6fa92583abc04edbf355 SHA512 d03e822b0e0c1f75a14873f9e959774b23515f48c1ad0216e40022f2e43ecc6b61c355fd08b139e5293d3db52b2583d77600be3274dbfb0d8d0960632ed68c52 WHIRLPOOL 8461efec27a1f85282d6a1cfe024388fb084aa3d7339d9d51d3783ae3317715ce6674df1c3914546e569e84087376ab0436e2f265dcd0e458a8e818cc22aa5aa
|
||||
DIST testtools-0.9.32.tar.gz 172844 SHA256 3eb6b47693d913d8163a5dfb8b0b92cca1a6357dc00c181ed04de0305feb4e0a SHA512 7819ab0eeaa919dedbb8bffb3ea1a25e1b157361b6b0335508f81fc02523b00ad41f482418ad36e984cefeebead2abb6e8194048a9b410fcc19975978ed48fcc WHIRLPOOL 862d5dcf79d19b43511c47ba94ab8cdb5617a8c25a7c8781fa3ab44ed59cc4e0a17eb544e768722ccd46571dece73f1cef57a028a8b9fc3da9d796a13f22e194
|
||||
DIST testtools-0.9.33.tar.gz 192916 SHA256 5b62231fea71ccb2361d48286481b198ccb8768bf81f8aaec1c8d5fb98eaaca3 SHA512 bad0a1184ea7442cc0898e9ea6852633787ec4faf5fd9c6ba503ec90d36c51d51967730b0ea3ac39dc64b7507b1177b522cefa1d3a370aaaffe02a6a57fa38c9 WHIRLPOOL 4ffbd2acd5b8efde93f3ee7ae36f1530c51eaee31909010a41548782f56f7beacba57f07bc0ceff24fde6a76105c372020b95a4f05c2f530f81b5203e2225eb9
|
||||
DIST testtools-0.9.34.tar.gz 195771 SHA256 96c5a7b51690bfe3a2610b13279644780a617a39c879a513132e362360b2da68 SHA512 802dc8a9a3549f9cf0eb20befb5cb5a1f12defb9edb013d3a99eadbe3f025030f7547f495242066aa3ba5776409e984e5ba3de61a4a23810109e288a819885f1 WHIRLPOOL fdd5e1a8fed7826d8e04d3c52bdc20edf157d1e00f269bb0ded0bee9545fcc52d4c924f870ca4069912f281e27f8345cd5e5f53222d6faaa3cf8619a03b03381
|
||||
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/testtools/testtools-0.9.32.ebuild,v 1.2 2013/12/13 05:59:39 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
|
||||
|
||||
inherit distutils-r1 versionator
|
||||
|
||||
#SERIES="$(get_version_component_range 1-2)"
|
||||
SERIES="trunk"
|
||||
|
||||
DESCRIPTION="Extensions to the Python unittest library"
|
||||
HOMEPAGE="https://launchpad.net/testtools http://pypi.python.org/pypi/testtools"
|
||||
SRC_URI="http://launchpad.net/${PN}/${SERIES}/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
#not keyworded
|
||||
# test? ( dev-python/mimeparse[${PYTHON_USEDEP}] ) "
|
||||
RDEPEND=""
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i '/\_build/d' "${S}/MANIFEST.in"
|
||||
sed -e 's:test_test_module:_&:' \
|
||||
-e 's:test_test_suite:_&:' \
|
||||
-i testtools/tests/test_distutilscmd.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# XXX: tests are non-fatal currently...
|
||||
# https://bugs.launchpad.net/testtools/+bug/1132542
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
# dev-python/subunit imports some objects from testtools.tests.helpers, so
|
||||
# tests need to be installed.
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/testtools/testtools-0.9.33.ebuild,v 1.1 2013/12/13 05:59:39 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
|
||||
|
||||
inherit distutils-r1 versionator
|
||||
|
||||
#SERIES="$(get_version_component_range 1-2)"
|
||||
SERIES="trunk"
|
||||
|
||||
DESCRIPTION="Extensions to the Python unittest library"
|
||||
HOMEPAGE="https://launchpad.net/testtools http://pypi.python.org/pypi/testtools"
|
||||
SRC_URI="http://launchpad.net/${PN}/${SERIES}/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
#not keyworded
|
||||
#RDEPEND="dev-python/mimeparse[${PYTHON_USEDEP}]
|
||||
# dev-python/extras[${PYTHON_USEDEP}] )"
|
||||
# Listed under install_requires=[ in setup.py
|
||||
RDEPEND=""
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i '/\_build/d' "${S}/MANIFEST.in"
|
||||
sed -e 's:test_test_module:_&:' \
|
||||
-e 's:test_test_suite:_&:' \
|
||||
-i testtools/tests/test_distutilscmd.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# XXX: tests are non-fatal currently...
|
||||
# https://bugs.launchpad.net/testtools/+bug/1132542, STILL
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
# dev-python/subunit imports some objects from testtools.tests.helpers, so
|
||||
# tests need to be installed.
|
@ -1,2 +1,3 @@
|
||||
DIST coffee-rails-3.2.2.gem 7168 SHA256 75f06d71060999044fbc6ac199b91f1fc0bd075d8dd8acde04e02431396b463a SHA512 b4c6a6d0658f50fcd7632260bbddb25e619a9dfb45c0bab8fd60cbfaf32480875fc4b90bd0e77eef5cf25b84b1de08b1bf335454b2c828340ea20a0986373244 WHIRLPOOL 629fde6c30f1288146284dff0b53e2cc6f5469a8c51a625628435b88bf7e9087352da1a7bf5711b4496c92084272aebfa254ddd41b009157646f062738cc3d95
|
||||
DIST coffee-rails-4.0.0.gem 8704 SHA256 0bdc9af067458446ccb64c4840d85dbf3e058b0775560f477c34d09528cbbd4f SHA512 8e6b0d69f31936860be2343fc326e7a4c03cbb32b09e3817185ebd1f34e7b67478b86d2f8febac57e9480709c5cc551112afd9b26c87bd81a051fd3b1a011ec1 WHIRLPOOL ac0e1e136118bd4c76bdac76e0fd9d20df0a2e076a6af61a024031f7e41c6bfc9fc7a5f734000e4ea3381fa9a97f942d0b12ab6cf96d3637f59e02f9cff500fb
|
||||
DIST coffee-rails-4.0.1.gem 9216 SHA256 2f6e36f2c7a2b5ea4ba2aae5d8f70b443e47f010e1f645aec28368d783e1d88a SHA512 33a4efc0350977ede05e869ceed0cc5c9902d2f75ade6c84fada2d1265323af4798ffe0f0994d0d7b4a7bbb7e48c7360e04c729bc117c7d4448c986f238fdbae WHIRLPOOL c1a5b1890648df1229d474cc9e33dbfcc339971ea6ca3b3cf584fd055b4ce1bb2a6cf33119499aab1715f6b5b2ddd7855467da2b31e718edab480644f045f7bb
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/coffee-rails/coffee-rails-4.0.1.ebuild,v 1.1 2013/12/19 07:13:11 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Coffee Script adapter for the Rails asset pipeline."
|
||||
HOMEPAGE="https://github.com/rails/coffee-rails"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/coffee-script-2.2.0
|
||||
=dev-ruby/railties-4*"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid dependency on git.
|
||||
sed -i -e 's/git ls-files/echo/' Rakefile || die
|
||||
|
||||
# Make sure a consistent rails version is loaded.
|
||||
sed -i -e '4igem "rails"' -e '/bundler/ s:^:#:' test/test_helper.rb || die
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-engines/renpy/renpy-6.16.4.ebuild,v 1.1 2013/12/17 17:07:37 hasufell Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-engines/renpy/renpy-6.16.5.ebuild,v 1.1 2013/12/18 20:47:29 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_6 python2_7 )
|
@ -1,2 +1,3 @@
|
||||
DIST kdepim-4.11.2.tar.xz 14161772 SHA256 7098cae6dd2f181d3cb75a850860a8bdac8820e1e30371db73e454810234403f SHA512 ac2748b91bb7653f06450ba5191aaee636b759e5a478c811e78be1690b9a666aedfbea6737a09df7c857060d0a282fcee797427cf8b9f2dccbf17130a7a91254 WHIRLPOOL 6b3f522b806ba4481852b6e9322445c949ef99b744d990aebb0ffb67790b7a806a4dbc24a77b3c100409a3412f77be9b724df4bce1d1aa3542ca88887c768f1d
|
||||
DIST kdepim-4.11.4.tar.xz 14246648 SHA256 64250635d9e63b25747919634be976c1666e78154d3ad26d5da65ee0be2f63e6 SHA512 e23ae8bd966d69deb7948341b2a3e4c09623c36c0899ba6adf92cee77d85b3437c86472f69be00293573f7364db4280e74194bf8ceb14f9e0ae682a68ac649b4 WHIRLPOOL 183b615cb6c3a05939b08623b4edf39b915b30fb0ad4cbd67483bbb091203140e5fc1f653623075a5503ff869330d7eb327bfe0e5a32accbaacd1c0f633a4717
|
||||
DIST kdepim-4.12.0.tar.xz 13364672 SHA256 8d36e6e1ddbca0b14e16517c07426cc47c0c70717ae364c9b2e4d137b9060b60 SHA512 0798c90550f0032c325cb668f924a567b34d24eea896a2d7214c476ebbf3c0ecf5ecedd8b1b1dc33482b7a093d5228c132144e47c7a50d1024663717ae781110 WHIRLPOOL 775b2e18b32d9c6015ca4fff301e9006b37f28f41171d3b692718b465128c1b5e9edb775d463e5e68c3c666294123062e0784fc5715364e8597f284ec8542631
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/akonadiconsole/akonadiconsole-4.12.0.ebuild,v 1.1 2013/12/18 19:58:18 johu Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
KMNAME="kdepim"
|
||||
inherit kde4-meta
|
||||
|
||||
DESCRIPTION="Akonadi developer console"
|
||||
KEYWORDS=" ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
$(add_kdebase_dep kdelibs 'semantic-desktop')
|
||||
$(add_kdebase_dep kdepimlibs)
|
||||
$(add_kdebase_dep kdepim-common-libs)
|
||||
$(add_kdebase_dep nepomuk-core)
|
||||
$(add_kdebase_dep nepomuk-widgets)
|
||||
app-office/akonadi-server
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
KMEXTRACTONLY="
|
||||
akonadi_next/
|
||||
calendarsupport/
|
||||
messageviewer/
|
||||
"
|
@ -1,3 +1,4 @@
|
||||
DIST kdepim-4.11.2.tar.xz 14161772 SHA256 7098cae6dd2f181d3cb75a850860a8bdac8820e1e30371db73e454810234403f SHA512 ac2748b91bb7653f06450ba5191aaee636b759e5a478c811e78be1690b9a666aedfbea6737a09df7c857060d0a282fcee797427cf8b9f2dccbf17130a7a91254 WHIRLPOOL 6b3f522b806ba4481852b6e9322445c949ef99b744d990aebb0ffb67790b7a806a4dbc24a77b3c100409a3412f77be9b724df4bce1d1aa3542ca88887c768f1d
|
||||
DIST kdepim-4.11.4.tar.xz 14246648 SHA256 64250635d9e63b25747919634be976c1666e78154d3ad26d5da65ee0be2f63e6 SHA512 e23ae8bd966d69deb7948341b2a3e4c09623c36c0899ba6adf92cee77d85b3437c86472f69be00293573f7364db4280e74194bf8ceb14f9e0ae682a68ac649b4 WHIRLPOOL 183b615cb6c3a05939b08623b4edf39b915b30fb0ad4cbd67483bbb091203140e5fc1f653623075a5503ff869330d7eb327bfe0e5a32accbaacd1c0f633a4717
|
||||
DIST kdepim-4.12.0.tar.xz 13364672 SHA256 8d36e6e1ddbca0b14e16517c07426cc47c0c70717ae364c9b2e4d137b9060b60 SHA512 0798c90550f0032c325cb668f924a567b34d24eea896a2d7214c476ebbf3c0ecf5ecedd8b1b1dc33482b7a093d5228c132144e47c7a50d1024663717ae781110 WHIRLPOOL 775b2e18b32d9c6015ca4fff301e9006b37f28f41171d3b692718b465128c1b5e9edb775d463e5e68c3c666294123062e0784fc5715364e8597f284ec8542631
|
||||
DIST kdepim-4.4.11.1.tar.bz2 8964708 SHA256 a2fa237a3d880cc55a6c94450b93a7918bb0d5e3943eb7a759c8789de1ed41bf SHA512 7450ba9985c5583847d1fc3d214940cef130150a3591c3cbb73bc15624ee0298805d5dc25f3cd3a135091c1d0491b865961d52aa8feef623219eed9364dd86bf WHIRLPOOL 349a72c5c6859c7cafb1aefdf80b80482102c8b1d6e0123c6c410d262c3908b9572daa1950e2fb41e6bc727430fc91bb57b7276e345553ed15d792fa63aba5ec
|
||||
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/akregator/akregator-4.12.0.ebuild,v 1.1 2013/12/18 19:58:12 johu Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
KMNAME="kdepim"
|
||||
inherit kde4-meta
|
||||
|
||||
DESCRIPTION="KDE news feed aggregator."
|
||||
HOMEPAGE="http://www.kde.org/applications/internet/akregator"
|
||||
KEYWORDS=" ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
$(add_kdebase_dep kdepimlibs)
|
||||
$(add_kdebase_dep kdepim-common-libs)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
KMLOADLIBS="kdepim-common-libs"
|
@ -1,2 +1,3 @@
|
||||
DIST amor-4.11.2.tar.xz 184516 SHA256 a562f780eaaeaa6172cc5ab3b4089261facfe33c0cc4557a7eee8a30bdda61dc SHA512 69e7baf08a2b25c85a8f00458baf68ce2f3a517cddc1df97eb1882bc783fae3fbc5b6c017e86383c7ced15b4aa49c30a8995a51ba3e16f49bd3206ad78368df9 WHIRLPOOL fc23dcdecc603f57f1a44274e4f7d5c1ca2674001551efae85481cd83a940fd1af0d5236750a507a766939025c709eac3d8f7f0edd737c8d15424e311daee9d7
|
||||
DIST amor-4.11.4.tar.xz 184464 SHA256 d573969e1c08ecc42e05fd6b8e0bd46aaf34a0bc1930bab906be5dd176d64cd2 SHA512 d6084172c7380e81ffd005d78fdc6b8f0bb9d7a8799d24617350426cea094cc219069ab8f58ebcb40a10e092d20fc141fd8fa88df841f38ccdac47278f457e35 WHIRLPOOL cd124f8a8dcf2dc51b89b652701f1b7b5ef717a146d6c41afff463a78d53bf2abad1015bcac7b1b48bf7f3efb554804a44a82c4af1c70caf29198d20e4fea915
|
||||
DIST amor-4.12.0.tar.xz 174080 SHA256 934697362ac3540cbb0d70e4abe441edfa70063f2f118a9da2f55f300188c3a9 SHA512 257fb51803d625e815a26f9915d632e0196a7dfdd22b4b83fc305bf45c0e0d191907359961c8515e3e92bfd19fedc71606663ab4f63b7a9af5ea3bc49ea2e902 WHIRLPOOL 247fc134820f6a760b5652caf9dfeeaf0f7480587eab32621c4ef95fa37b021b9fefc068ff1d78aba426246fdb927bf4f58637c1467c59d9089f7bc30b7cb9d7
|
||||
|
@ -0,0 +1,16 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/amor/amor-4.12.0.ebuild,v 1.1 2013/12/18 19:58:00 johu Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KDE: Amusing Misuse Of Resources - desktop-dwelling creature"
|
||||
KEYWORDS=" ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="x11-libs/libX11
|
||||
x11-libs/libXext"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,2 +1,3 @@
|
||||
DIST analitza-4.11.2.tar.xz 186296 SHA256 f3f7670b1a7fcba2fc890e18c8f29d58a256bd4a6b1c9a698c3900a8b0f37c85 SHA512 5ca5548d5e8a00e65cf14113f9b17c2dd950cca942b3537341bc52c5d128cade6e518defe1a3778e6970dfcea9396ce8838333628b4258266ae6ffb0fcab46da WHIRLPOOL bf06ec50780eefd73f2dd7111493177c99c0999440a6758b8c0ea3522738fe2a42e8eb8796f4ac765385f67cdee62a4776fa14cc880591952b1541db0f37faa9
|
||||
DIST analitza-4.11.4.tar.xz 186820 SHA256 0d1c35c72ac3ebeb6bb12c03e01ff7d380f907090f3d71627f6bd27f29654bc0 SHA512 fe02630a8a6ed3a77286fec87b174a68884ed9ebd97a9cbebac458b438130c8838aab9b8137ba8388886d290bfb0bef34fe2100cb6429dddc1911436ff6c54b1 WHIRLPOOL ed47b71516cfa7f829a9ca63464b208ff8c7971bf5ba7479f2c603d2df51a73a1f7511a1dc3f14b7f34eb0411b4f02fe55f092a5595186d79bd1f52e7cfe2bbd
|
||||
DIST analitza-4.12.0.tar.xz 179836 SHA256 56a8d378c59452592de19fdeaba372d1aaadb1669930628d6032e1232103101a SHA512 b000ffdeab5ae3d47181055ecd8539f35eb2f46a6acfd0f826cfec08e64d893257cb2c2d0ab56f4d5582a63a1e9aa8873e963a2ec86035e79d21d497902fb596 WHIRLPOOL bda6c3ec0c3cde51b845140db73cf20768935305aa0c4ab5cc554816b4560d6627791ac7b849a81b7a3608453c8e9910c1d0bd237cb510e1981628890ccc8401
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/analitza/analitza-4.12.0.ebuild,v 1.1 2013/12/18 19:57:50 johu Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_HANDBOOK="never"
|
||||
OPENGL_REQUIRED="optional"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KDE library for mathematical features"
|
||||
KEYWORDS=" ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug readline"
|
||||
|
||||
DEPEND="
|
||||
opengl? ( virtual/glu )
|
||||
readline? ( sys-libs/readline )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_with opengl OpenGL)
|
||||
$(cmake-utils_use_with readline)
|
||||
)
|
||||
|
||||
kde4-base_src_configure
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST ark-4.11.2.tar.xz 233920 SHA256 36d435a2ed39117b7c1ecaa66b3b216251dce2fb961c155aceb00b62b28ccf33 SHA512 bb793c9db1232e3ebb17b43d9ee89b5132e1db4985b3d1ac08d650fd7131e8e323ba3d33f68ebffe7049068e386a8e31e12de8084c0ec5bf4056787843c3daaf WHIRLPOOL 0fafd92712a093f916c426ee1f1201817173f6a18977f35d850e3a2bc378ae03bbad5aed613a929e954c9feb0a23bfad8fc6da828f9b50ec26884b7f63132f6b
|
||||
DIST ark-4.11.4.tar.xz 233984 SHA256 58855a276ddbf5e0ed023e717a470f2fbf57671699b71a78bb8704b3d42c2f60 SHA512 9d7a6e21afa62d889835b462b400be929dd26fdcb259e876c4524a02bd64bd1aa1f3725d60a6cbef7f6e21246604840ef7c1c6d9f529f80415c6f4c401e4bb8c WHIRLPOOL ad07fa1b22ea7209daa1d8572aa650fee6ac597b85077f83db6a134a158e003fd0c723a551e07374a61695ff8da8ef3bbb8d69547be8a9999543fe3e4a1cb608
|
||||
DIST ark-4.12.0.tar.xz 229536 SHA256 e54a4ca9f2ab09e3bf6f46474a7add4e2472bb48ea487dc4dc312a63d5c3ec73 SHA512 79d11dcca0691acfb970d084a14581cb23f2f1e93a57fe7d2b88613e98077fd754e0612f3613c760d021c398319b5c542375bcc4f44fd5c4233a66bbe684f214 WHIRLPOOL d5fe997710e71cb1cab70b8f3544fedcf7e61ae0a66af7cece52ac02ac405874b43af54fde03ecf9f86f4746c249d0bf18a18a5c860f5602653dc7b6cdf29bbb
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/ark/ark-4.12.0.ebuild,v 1.1 2013/12/18 19:57:52 johu Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KDE Archiving tool"
|
||||
HOMEPAGE="http://www.kde.org/applications/utilities/ark
|
||||
http://utils.kde.org/projects/ark"
|
||||
KEYWORDS=" ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="+archive +bzip2 debug lzma"
|
||||
|
||||
DEPEND="
|
||||
$(add_kdebase_dep libkonq)
|
||||
sys-libs/zlib
|
||||
archive? ( >=app-arch/libarchive-2.6.1:=[bzip2?,lzma?,zlib] )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RESTRICT="test"
|
||||
# dbus problem
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
$(cmake-utils_use_with archive LibArchive)
|
||||
$(cmake-utils_use_with bzip2 BZip2)
|
||||
$(cmake-utils_use_with lzma LibLZMA)
|
||||
)
|
||||
kde4-base_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
kde4-base_pkg_postinst
|
||||
|
||||
if ! has_version app-arch/rar ; then
|
||||
elog "For creating rar archives, install app-arch/rar"
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST kde-runtime-4.11.2.tar.xz 7974692 SHA256 045f38375be1c6c0753a6fc85e7211d3d2dadc974ffc3848920ebfa5d0569df0 SHA512 21ecca605d94215d6fa68d1b988a8c2c5efeba7ec264bf9ac607462577d3dac0321b4b09af55078a8bc556b2dd68e53c1a4163c87a0300e1c4bff945f71f9396 WHIRLPOOL 14c05b1554eeda1466640dd3f70a2284180bf223f208123e565e420d9cc2f024dae0464a42a9c11b8f996d87d2f52c48f7973f357673cf5c2d3b637484a7c0b9
|
||||
DIST kde-runtime-4.11.4.tar.xz 7978552 SHA256 b28104cd16d2ecd06c52664523d912dee5a2f16e75c24ee0a4229a5e7204cd16 SHA512 7169f535fcac03bfff757e853a8bd01b2fbe8dc5dac3b4d8590693c07ead5402cb194c7b85154702044d7bfc4b1e0aa81e956113928d50b68212b77b6c6a7674 WHIRLPOOL c780cffa6213819c7d47c5b9eec69bbb29dedd2ec9e816385bfc9b47c269171d398fa53dba1eeed95513cbcf89b3f5e595288ff5efd4fa2be0237fb37a451522
|
||||
DIST kde-runtime-4.12.0.tar.xz 7850996 SHA256 e207c220ebba421d5145c94a3ed05ba30e90c60b02b95fd2bf69eaa2099e8f24 SHA512 105bad7fc4045095a603b67922f9086714e645683bca7b53607371bfa5120b840407b81c37e5c70f09574af52bd248ee62ec21f8a0c81eda3513df3406626da0 WHIRLPOOL be67dc0a323c9b6f36314fe8b32542459cf8764e12190fc2ac076dbb3bc43fc5f91991c47bf0bf807faaa48c23fce46bd12d58eb483d4721808ff0c60ffc8006
|
||||
|
@ -0,0 +1,17 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/attica/attica-4.12.0.ebuild,v 1.1 2013/12/18 19:58:01 johu Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
KMNAME="kde-runtime"
|
||||
inherit kde4-meta
|
||||
|
||||
DESCRIPTION="Open Collaboration Services provider management"
|
||||
KEYWORDS=" ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/libattica-0.1.4
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,2 +1,3 @@
|
||||
DIST audiocd-kio-4.11.2.tar.xz 52984 SHA256 01af6e67c8f826fd0fad4ef8e8fe9c0e86e5bd755319efb522825b07c1e5a228 SHA512 f988c288984a058ebc83c7b5da81490b3e18b97d87309abedd13901d38738c14095536160b8636b6eb1fed774380f31ec62b0d096050e1b468d8a613628d8a12 WHIRLPOOL d3dc43db9036a6d090d1a2012bf772f5e17284ef392e480a83b71ef4103808ea0600559dd2fdfba4759363f8ee27185420974ec01332afb0d0d87c1c839f9b41
|
||||
DIST audiocd-kio-4.11.4.tar.xz 52996 SHA256 0d875914d23661277a7b20a2d15ec13f450ec782b701339f8991ab5440354515 SHA512 abe0ee7cd6ca848df334b891304806b9176886b39edb867a222fef1352688ccf8f01ca06625f0af8191a7fb5927f0ff8733918c6d90eff79e739e3d4a6749aa3 WHIRLPOOL 3f8d960a0b94631b77d6c7f97446f02d1421441817290124f9b7ab94e8df21c3e2c6d7704c946a4c3f814e23fe917537332f86be1601333f25e52d26da92ecef
|
||||
DIST audiocd-kio-4.12.0.tar.xz 51184 SHA256 859f929ff95ec88b95fb2e178e6d21488949d153fa626b785c734d749b87b066 SHA512 55566cb42a42bed19ec7a68dbcbd9573ab9c0783c035b7d744e8d73b09b3f5de7bf2c07d8e0de808577200f6e22d28136792c43daf1e146d12aebef756256ed2 WHIRLPOOL 66da86c3e9323480be2288c1eddabfca9c6b92c4d063db408bf4cff580a46b308c701ccce83fb4c92ba4807cfa5d59adaafc5e56c068c4f38389f52863092304
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/audiocd-kio/audiocd-kio-4.12.0.ebuild,v 1.1 2013/12/18 19:57:59 johu Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KDE kioslaves from the kdemultimedia package"
|
||||
KEYWORDS=" ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug flac vorbis"
|
||||
|
||||
DEPEND="
|
||||
$(add_kdebase_dep libkcddb)
|
||||
$(add_kdebase_dep libkcompactdisc)
|
||||
media-sound/cdparanoia
|
||||
flac? ( >=media-libs/flac-1.1.2 )
|
||||
vorbis? (
|
||||
media-libs/libogg
|
||||
media-libs/libvorbis
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_with flac)
|
||||
$(cmake-utils_use_with vorbis OggVorbis)
|
||||
)
|
||||
|
||||
kde4-base_src_configure
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST blinken-4.11.2.tar.xz 561364 SHA256 667fdfc06782b8029ea630b7352489555c2fcc61908a5f06342d0612fa138771 SHA512 9490e481038ddd755a954bbe1930e9c72579d2e870aa773c97a46822fe07b0ad8f9c310b9efa8f16ccd0ec9743621a7ff0ce1549a6c44d3e64a515473d3111ca WHIRLPOOL d5a20ae1faf784b61fa80c9b78874637c910cb80bd4f637bd0426ecfcb4e145b13774730c0f8a5f5dcb276e19fbc87dfc2c7977588e31e595312ea6dbf8a0abe
|
||||
DIST blinken-4.11.4.tar.xz 561324 SHA256 986d58371867d3134f1faabd7225057bc1d6b6d0bc208c65938ebdbbbdf00e3a SHA512 bedc4031ced655c0dca15f288233a591e0c81cd54af8af7d7485e997abe378233d895736f1f64185f27fc2ff7240f513e5ceddf95a8c4e02eaa1e522f47d20ac WHIRLPOOL c48a7f9ae72ea02a4c6d77b71a201fdc9dca978d5f5b49fdfdeea8b9af923ea6740d59ad060178dcf479776b7d57a0ae9217cda94abcbdb72daef38512dcf93a
|
||||
DIST blinken-4.12.0.tar.xz 559528 SHA256 57059223938ecb1444c3133889f762a0a50a78e3cfbc1825a1df5aff9ddf1b91 SHA512 48dc4529cb29633143602f9f078f689c79e38b351c459c06859b78cffb70d29f364553abf4ff57f8fb87accc11a0a3fd12f3b84d30a7487012e41962f3a04902 WHIRLPOOL a45fc7ee300cec9c1dbea8ab73cd9e0e826d7cd119df107c5e769aa9f6aaf86f5d37b022803968945e17a2f09b9e12f959eb69ab03a2a4e7c2f82a9390da8abb
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/blinken/blinken-4.12.0.ebuild,v 1.1 2013/12/18 19:58:17 johu Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KDE version of the Simon Says game."
|
||||
HOMEPAGE="http://www.kde.org/applications/education/blinken
|
||||
http://edu.kde.org/blinken"
|
||||
KEYWORDS=" ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
$(add_kdebase_dep libkdeedu)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
$(add_kdebase_dep knotify)
|
||||
"
|
@ -1,3 +1,4 @@
|
||||
DIST kdepim-4.11.2.tar.xz 14161772 SHA256 7098cae6dd2f181d3cb75a850860a8bdac8820e1e30371db73e454810234403f SHA512 ac2748b91bb7653f06450ba5191aaee636b759e5a478c811e78be1690b9a666aedfbea6737a09df7c857060d0a282fcee797427cf8b9f2dccbf17130a7a91254 WHIRLPOOL 6b3f522b806ba4481852b6e9322445c949ef99b744d990aebb0ffb67790b7a806a4dbc24a77b3c100409a3412f77be9b724df4bce1d1aa3542ca88887c768f1d
|
||||
DIST kdepim-4.11.4.tar.xz 14246648 SHA256 64250635d9e63b25747919634be976c1666e78154d3ad26d5da65ee0be2f63e6 SHA512 e23ae8bd966d69deb7948341b2a3e4c09623c36c0899ba6adf92cee77d85b3437c86472f69be00293573f7364db4280e74194bf8ceb14f9e0ae682a68ac649b4 WHIRLPOOL 183b615cb6c3a05939b08623b4edf39b915b30fb0ad4cbd67483bbb091203140e5fc1f653623075a5503ff869330d7eb327bfe0e5a32accbaacd1c0f633a4717
|
||||
DIST kdepim-4.12.0.tar.xz 13364672 SHA256 8d36e6e1ddbca0b14e16517c07426cc47c0c70717ae364c9b2e4d137b9060b60 SHA512 0798c90550f0032c325cb668f924a567b34d24eea896a2d7214c476ebbf3c0ecf5ecedd8b1b1dc33482b7a093d5228c132144e47c7a50d1024663717ae781110 WHIRLPOOL 775b2e18b32d9c6015ca4fff301e9006b37f28f41171d3b692718b465128c1b5e9edb775d463e5e68c3c666294123062e0784fc5715364e8597f284ec8542631
|
||||
DIST kdepim-4.4.11.1.tar.bz2 8964708 SHA256 a2fa237a3d880cc55a6c94450b93a7918bb0d5e3943eb7a759c8789de1ed41bf SHA512 7450ba9985c5583847d1fc3d214940cef130150a3591c3cbb73bc15624ee0298805d5dc25f3cd3a135091c1d0491b865961d52aa8feef623219eed9364dd86bf WHIRLPOOL 349a72c5c6859c7cafb1aefdf80b80482102c8b1d6e0123c6c410d262c3908b9572daa1950e2fb41e6bc727430fc91bb57b7276e345553ed15d792fa63aba5ec
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/blogilo/blogilo-4.12.0.ebuild,v 1.1 2013/12/18 19:58:16 johu Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
KMNAME="kdepim"
|
||||
inherit kde4-meta
|
||||
|
||||
DESCRIPTION="KDE Blogging Client"
|
||||
HOMEPAGE="http://www.kde.org/applications/internet/blogilo"
|
||||
KEYWORDS=" ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/grantlee
|
||||
$(add_kdebase_dep kdepim-common-libs)
|
||||
$(add_kdebase_dep kdepimlibs)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
KMEXTRACTONLY="
|
||||
composereditor-ng/
|
||||
pimcommon/
|
||||
"
|
@ -1,2 +1,3 @@
|
||||
DIST bomber-4.11.2.tar.xz 388888 SHA256 f72aa4454b9d7b0ce9a2b44261d9f0f4b4312febf4b9d664c0edaf4792ef5fff SHA512 84b30f402ee45be10bc592bf0f5549a674dead5c88bd236a8203970abfcb59a0459b8e1b4186bbd955f4c8acbc4f1c3145c967c3600491f00d529611f8eaccf0 WHIRLPOOL c53b48f9fb5cc95cf3c4c4fd059e9a0c4732679c2e773d38b6395f91023a85c3c7fecc96302e5dc91ec8e712934f005ec96160b4280d8da6e66b5af8353bbd2a
|
||||
DIST bomber-4.11.4.tar.xz 388928 SHA256 a887a1809ab202351a18fc53b133a29d55d170a02af139f93ed7ac3847dbf7ad SHA512 e1e2093f96c74e807e8162426fe85e108bb5604586282fb449d092a15c7ea5a17bdb6180e384d8b69f23bd75e5db04e9a738f8f272d5bb2c0c9e30e3249771f6 WHIRLPOOL 947af58a4350cc00ea90eb9524dbbc458028d78348f4243d79e0ac8bc90f435e65340e491fba31d2f2dccb422f6a6f3142158f0e39f244787333cf08eb1ed1d4
|
||||
DIST bomber-4.12.0.tar.xz 386000 SHA256 7f4805e3f8972d1a425f258ba3596e342d4a49b04b732e73f1be6328f3f25392 SHA512 5a99579ebdbd4c6d6f7279b45610c742904d1f7d1739a97f2fe3a0e6232e123582c712ee64839dd67013eebd0592f8535268b58383c263421d1b289e3157ee65 WHIRLPOOL 988ae7811c35dd91131f9f2a91eaf6cec3c484b9ac37d368d1abaa14f69e013b0cca99596a7096715196c7f18538f179d5d13ae39fc0583fc617fc4f04ac4722
|
||||
|
@ -0,0 +1,16 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/bomber/bomber-4.12.0.ebuild,v 1.1 2013/12/18 19:58:02 johu Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KDE arcade bombing game"
|
||||
HOMEPAGE="http://www.kde.org/applications/games/bomber/"
|
||||
KEYWORDS=" ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="$(add_kdebase_dep libkdegames)"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,2 +1,3 @@
|
||||
DIST bovo-4.11.2.tar.xz 103660 SHA256 1bbf89f1c2ea7f84955462739b5706cdba9072f3503d9e862ff02bcc2e8721bb SHA512 0e57de07a91a5322150b357a8ee218448838209a261b91c5eaa1800d498ad486a8e8d7d43d6053df9c60365565eccedd70a4ba21851c4704edf9b9d8a3de737f WHIRLPOOL 046a6b915cb5c627f998d6debc5c8e6504d906f35b837d5ca651dbada994e7d8287bc8c0b1929a6c1b22d1f2c6deacf83bac5647a21d1ec6898bbb72e25abba2
|
||||
DIST bovo-4.11.4.tar.xz 103724 SHA256 6e9d149162b2039307d1b2745b590648e1fe00d0b05a31121d00317274736179 SHA512 cce77cc375c29726643a529e8fed4b9d5039dfaa771ef04e09c27deb9eb3e052b4d450617491367f8ecd320fecdd8e7139be63d5267c3ee13ba6f9808cbba71b WHIRLPOOL 42d9e73496d399f49d63afb304b61140accff73b12d8f7d563ec2d3b6fbab39c8729750c7cbdad70940d8a84aa0ab2075ae904ab36fb7fb62e6dba79365028bb
|
||||
DIST bovo-4.12.0.tar.xz 101296 SHA256 29f9ffff387b97e512e81c319d179b4eec0326b6a33f8835eb9048523269bb9a SHA512 3be024aa011e026b6c176bb584e75426613585274c8b14c103f3f176b82fadf4aa24d9738795e5669ee9760b896fd9906f3d137a6551a7b71d776d830d6f8633 WHIRLPOOL f43fc02048337fecdf47de620f513a3954a2faf91da8a1f90d4157b691cf5b5681094bdf2fc639759eda1dc0f79b241922c1aaecb94401c0766c64e4dc9dc39f
|
||||
|
@ -0,0 +1,16 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/bovo/bovo-4.12.0.ebuild,v 1.1 2013/12/18 19:57:33 johu Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="Five-in-a-row Board Game"
|
||||
HOMEPAGE="http://www.kde.org/applications/games/bovo/"
|
||||
KEYWORDS=" ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="$(add_kdebase_dep libkdegames)"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,2 +1,3 @@
|
||||
DIST cantor-4.11.2.tar.xz 313004 SHA256 ca1143afdded88acf1accd6d20e36792c38c38554c7d9233cbde00d305e12206 SHA512 c9c2d8ca76755e8815492ecd2b5060fa456ea63ab9674873d395e0639b81d6bff6c904806c610748716f3a3efb9c6d7133138a5d236e33582dc880ea44630def WHIRLPOOL 0186feb01ec90918c4590b2df21ebf512925193b473a328f8f883bc3eae34a79dc37dece39a110482f98b9bc5cdbf52932b7360ba27c246afd15cf0f06a529e2
|
||||
DIST cantor-4.11.4.tar.xz 313244 SHA256 3d9654ba2725b3944685ce509c76e4498aca7500c377e2e141244e6f9ceb8d94 SHA512 25c42493a09eab84f301dc23dde6f63f7edeb6796f332be790316a44224644d435bc283607933f0556d28a52cf7937c71510fa6be947077be35794c606116c34 WHIRLPOOL 4abe6742d3f477876da2a363107ec2aab4b29d5e437846d75e25ac1fff36a49cbc3878e6da3cfde949cf914d34de39e6fd44bd6ba875eb1cd768b68e060abdc4
|
||||
DIST cantor-4.12.0.tar.xz 330284 SHA256 687c4274e3d9e82e936455e9cd5ca2078b7918b09189c0fef5b4c5219980c43d SHA512 a723d77ddd2f149b529419d3b72c157a925743d03f85065ca4069db116db6c93717bc0de001994050885628255111f252e1185f4ae415536326a9e5d18d6cd14 WHIRLPOOL 5305212b2861e967d628630779e8da35c76967e5360941fc525cc959e1d6b670069e235a365595749dddfa6a1c150adfebf1fbe3cab1385e1cf4d2bed85a658d
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/cantor/cantor-4.12.0.ebuild,v 1.1 2013/12/18 19:58:21 johu Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KDE4 interface for doing mathematics and scientific computing"
|
||||
HOMEPAGE="http://www.kde.org/applications/education/cantor http://edu.kde.org/cantor"
|
||||
KEYWORDS=" ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="analitza debug postscript qalculate +R"
|
||||
|
||||
# TODO Add Sage Mathematics Software backend (http://www.sagemath.org)
|
||||
RDEPEND="
|
||||
analitza? ( $(add_kdebase_dep analitza) )
|
||||
qalculate? (
|
||||
sci-libs/cln
|
||||
sci-libs/libqalculate
|
||||
)
|
||||
postscript? ( app-text/libspectre )
|
||||
R? ( dev-lang/R )
|
||||
dev-qt/qtxmlpatterns:4
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-cpp/eigen-2.0.3:2
|
||||
"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
$(cmake-utils_use_with analitza)
|
||||
$(cmake-utils_use_with postscript LibSpectre)
|
||||
$(cmake-utils_use_with qalculate)
|
||||
$(cmake-utils_use_with R)
|
||||
)
|
||||
kde4-base_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
kde4-base_pkg_postinst
|
||||
|
||||
if ! use analitza && ! use qalculate && ! use R; then
|
||||
echo
|
||||
ewarn "You have decided to build ${PN} with no backend."
|
||||
ewarn "To have this application functional, please do one of below:"
|
||||
ewarn " # emerge -va1 '='${CATEGORY}/${P} with 'analitza', 'qalculate' or 'R' USE flag enabled"
|
||||
ewarn " # emerge -vaDu sci-mathematics/maxima"
|
||||
echo
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST cervisia-4.11.2.tar.xz 375008 SHA256 32c61cc94e9604fc162dc027f4e7a058b4b0a0b7da087cad02a44d90cc0596c6 SHA512 d775f57058c10c9012673e094b40f92c7ac725283d979b73b5b902a8798c15a6ba0e34fed0062b73dd9ac1b14f1a3294b251de9f6c49432f1bebd14223b8c776 WHIRLPOOL 1848442379d99c7336b1dc4661d158ab17d8bdd6b79b451c2325eda15b75753506a35abb9ba4dac5db74af81a2bd896db4d764c32ef0d9b14bd28b582a994ffb
|
||||
DIST cervisia-4.11.4.tar.xz 374980 SHA256 49f4856b4c627fb85defb6181f84c3c3c4b17f253d4eac94ff725b5ab90250ec SHA512 2fbcdf5ac54f4a13ddf7dd00848ebfd9b7e738afc52106a11dd7df4fd74da29a80d8b3f3b9a88d36c64c6b29650e79158e7eb7f2a7f6c99932fb49846e664a02 WHIRLPOOL 8c1cf34bab72cd2acbe0efd0fd8b1f163b5bc785599852ce983410996c3ced5ad8cf619995823ceaa1618b18fa0fc1c9ebd5898517eee0f4f4aede7732351cc1
|
||||
DIST cervisia-4.12.0.tar.xz 368544 SHA256 c720373bc904bf466540b4f9a7dcbdf02a31d66d0c3a9bf42d2340772c0aeee0 SHA512 d562edee5e9645d33b3bcb882080d45f9d07f0adebcadf956c460a6d5cf2a1757d1ec065053793122c182b741bab0f7e55c581f5ea54a1c08c94bdbd2bde90af WHIRLPOOL 31bf7dbc470b75fb3a19111d9e35e03ab2c3c31f02727d2c3a43c19880df38a85b6c328eaec2b44ecb636fca6919dc8762deb36fd25377e56a981989b9b26d08
|
||||
|
@ -0,0 +1,17 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/cervisia/cervisia-4.12.0.ebuild,v 1.1 2013/12/18 19:57:51 johu Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="Cervisia - A KDE CVS frontend"
|
||||
HOMEPAGE="http://www.kde.org/applications/development/cervisia"
|
||||
KEYWORDS=" ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="
|
||||
dev-vcs/cvs
|
||||
"
|
@ -1,2 +1,3 @@
|
||||
DIST dolphin-plugins-4.11.2.tar.xz 58632 SHA256 6f15086a378276c3553cf529f0b91595c24f4ffc5763fc23ab0f77eb1d346834 SHA512 20d88a62d0334ed07b7d3d907c3b6ced92bc4b48bfad3899c6b6a49ac9d94dd53b5328bfab721cd62133277d709b55098a590ff09305c8bab41c485c625299de WHIRLPOOL ac3ce1711e04930787b773ad9a10a178066b2a7e55d43a813db7c0d20a3246994a401c195c85eeb14a03d82193f988f9dbf0feaca14df03440d38da241d6d624
|
||||
DIST dolphin-plugins-4.11.4.tar.xz 58864 SHA256 a7891e90db2f7b7feba64e691b9aa6e5d794e7fcf8dede5979357cc44762f54a SHA512 e091190a244571bac0bf77e227cc1fa2bc6e7f7bd023ca85f2ab82413133f5a321977a90a94cfcab621b400b4076ac63bec7fc5fa53a07e08300b99b1bc12fa0 WHIRLPOOL 45b1f33d501227df8671491f2a5ca883e86f1cbde820b97222e20512a2bb0794aef4aafeefce1e2af448b4c6e9c83de9baebe43d2e93bab1fb47aa3dbbe7dd6b
|
||||
DIST dolphin-plugins-4.12.0.tar.xz 56048 SHA256 3169a86d92f7cb725949560bb928b928157f504bd785f85ad8ebbabba79b951c SHA512 be7a13f1dba4fea2f1fda837b8e88f1c85d803b2aaa7c918039f3cebe910c86dcd1cdf3e8fbf93c8a412855014d8fbe834cc4b816f020f93015ed7f7292eecfe WHIRLPOOL 99a91c81f7b1b50df58f3bcd00776aa7eb561253e24ff6c3489dde10ffff81e9b9080b170496039686ad77c87f629750f6f76df6eee3e8903345a305c1eec0f2
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/dolphin-plugins/dolphin-plugins-4.12.0.ebuild,v 1.1 2013/12/18 19:57:31 johu Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="Extra Dolphin plugins"
|
||||
KEYWORDS=" ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug bazaar git mercurial subversion"
|
||||
|
||||
DEPEND="
|
||||
$(add_kdebase_dep libkonq)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
$(add_kdebase_dep kompare)
|
||||
bazaar? ( dev-vcs/bzr )
|
||||
git? ( dev-vcs/git )
|
||||
mercurial? ( dev-vcs/mercurial )
|
||||
subversion? ( dev-vcs/subversion )
|
||||
"
|
||||
|
||||
src_install() {
|
||||
{ use bazaar || use git || use mercurial || use subversion; } && kde4-base_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use bazaar && ! use git && ! use mercurial && ! use subversion ; then
|
||||
einfo
|
||||
einfo "You have disabled all plugin use flags. If you want to have vcs"
|
||||
einfo "integration in dolphin, enable those of your needs."
|
||||
einfo
|
||||
fi
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue