summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2014-01-17 07:08:56 +0000
committerLars Wendler <polynomial-c@gentoo.org>2014-01-17 07:08:56 +0000
commit76fdab469821ed59499e42cb629bd45a5e9a3791 (patch)
treeb00649815d73fdb79920b28936443dc7c9ab40ae /x11-drivers/xf86-video-virtualbox
parentVersion bump. (diff)
downloadhistorical-76fdab469821ed59499e42cb629bd45a5e9a3791.tar.gz
historical-76fdab469821ed59499e42cb629bd45a5e9a3791.tar.bz2
historical-76fdab469821ed59499e42cb629bd45a5e9a3791.zip
Security cleanup
Package-Manager: portage-2.2.8/cvs/Linux x86_64 Manifest-Sign-Key: 0x981CA6FC
Diffstat (limited to 'x11-drivers/xf86-video-virtualbox')
-rw-r--r--x11-drivers/xf86-video-virtualbox/ChangeLog7
-rw-r--r--x11-drivers/xf86-video-virtualbox/Manifest34
-rw-r--r--x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.2.18.ebuild178
-rw-r--r--x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.2.20.ebuild160
-rw-r--r--x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.4.ebuild160
5 files changed, 20 insertions, 519 deletions
diff --git a/x11-drivers/xf86-video-virtualbox/ChangeLog b/x11-drivers/xf86-video-virtualbox/ChangeLog
index b087f4363b66..11e4641ea1e9 100644
--- a/x11-drivers/xf86-video-virtualbox/ChangeLog
+++ b/x11-drivers/xf86-video-virtualbox/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-drivers/xf86-video-virtualbox
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v 1.130 2014/01/16 20:29:04 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v 1.131 2014/01/17 07:08:55 polynomial-c Exp $
+
+ 17 Jan 2014; Lars Wendler <polynomial-c@gentoo.org>
+ -xf86-video-virtualbox-4.2.18.ebuild, -xf86-video-virtualbox-4.2.20.ebuild,
+ -xf86-video-virtualbox-4.3.4.ebuild:
+ Security cleanup.
16 Jan 2014; Agostino Sarubbo <ago@gentoo.org>
xf86-video-virtualbox-4.2.22.ebuild:
diff --git a/x11-drivers/xf86-video-virtualbox/Manifest b/x11-drivers/xf86-video-virtualbox/Manifest
index dd21bd72c60e..eb034be80592 100644
--- a/x11-drivers/xf86-video-virtualbox/Manifest
+++ b/x11-drivers/xf86-video-virtualbox/Manifest
@@ -9,32 +9,26 @@ AUX xf86-video-virtualbox-4-makeself-check.patch 289 SHA256 31ddafbeef6d35696d76
AUX xf86-video-virtualbox-4-mkisofs-check.patch 356 SHA256 0e72a5ef8d915c550fd92865b40c265153dc2d4621714a599d3a7172726b6fff SHA512 9c78927a4a8e99562582feef867f1b3e16663f04c88ebe7f19fd9e2e0c7632b041dc6294da57053645982040b50830f51391b27847467aac6e377062ca32997a WHIRLPOOL cd9ad5d9538467321b4ce56c37966f04edd2e74aaf1b849085675b1d08213b6a99179968adde9ad48aadb9ea67ca2f3283ef794be2f3ea6215ad4ff11031a778
AUX xf86-video-virtualbox-4.3.6-link-lazy.patch 1168 SHA256 3877a6b2c326051cb6ee3e44cae2e4dbb6e5718674413d18351c1e7db8a7743d SHA512 de0999c51759d4e62d2c5959ab7708d31e58e22a8648008c7acfccdbd70c5f7634fa965da8e9cf90fb30b4daa9405f27cbf45e7b2fb4081dafc720dd0bc1c933 WHIRLPOOL 72a631d93946db1533b296ae5487f0f6d7c3384d5d7acc3bd7afd596df1d56df846646eaecdf44cc3cffc44402cab4404d2d513e9f7e5d034d7cca9045af931b
AUX xf86-video-virtualbox-link-lazy.patch 996 SHA256 976e922756f9f2f01f625b07a012d6f287811b3d099f1a855c9d4453cc4f5a3b SHA512 f7c1b13a12d91884f0faabc23af345cde06315b23900d12ba0fead64c7818c1aa721cd6710c905c2758bcb5cbec9f7ea3a8b515fcab14ef4965d4e1c27fbab94 WHIRLPOOL a3e3cc997172557086741ee3d689411b4f1964a480b800d315fbd3a43c2d507448840a4812d8e735428a543b9a0c1838736aad692dc6460f29489bdb4c2010ab
-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.2.22.tar.bz2 77039185 SHA256 4a017ec5fa0e0cfa830ae6c2b9d680c9b108e5fb96348e1397a7d0ea051f8bc1 SHA512 136b3f3ea9a79493aecd86883c619d10934d80c391ce88985501736fc95d7066e0e31d02e7867974f9077eae5a431519d0c1001fc781d240f0578a1c63c29ee6 WHIRLPOOL e6ea0768587ee152463c3388476199333cf39f56f7bda43094ad98ea2179b8f0e81819004c6433133a68d7ede9606d2aaa4ee2aa96ad05bda06a7706f4e079cc
-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
-EBUILD xf86-video-virtualbox-4.2.18.ebuild 4938 SHA256 22e4dc18bfb6255362a59bcca5d0a2e7182e8e239cbe4f96640b89920421dc88 SHA512 78c1f90332863a1c5e51a947243086853b51d60ce50c778416447d27fd14aab733cf492c44ecde4557c98372eb43661420eb9471e2cb2bc92f2dc83da949cdbf WHIRLPOOL 67316a6b0d9784dac1ba0a683841dcd9b489fecd34860d2a0f5d94c2146d40a621481f193bb16377194bccc0b8201884369fc53c72a7a79c142be39e0d3b72ee
-EBUILD xf86-video-virtualbox-4.2.20.ebuild 4328 SHA256 34e0859e0b5183c7672e5b4d4dbd6222f3592cf298813d064333bba66457a650 SHA512 b1374cd4210c036caa28fb70949f9ddbec40aa96b4d97012b98ee1fac8955c6b747652e7c9975e6c8671137cc3336fb8d154637925afa323d27a4e47e4d9a888 WHIRLPOOL 2baae296ff91f7a2c257a58b6d3c5c0252dcf0eb3148e42c0e5d980485ba3b1224712eb928a77c6189c2c7491f741d9ae6369fc891311691a0c621e5312fea25
EBUILD xf86-video-virtualbox-4.2.22.ebuild 4317 SHA256 a0a183589c3bae2e4700617f03131715e324b4b61fc229c26857258e0ce195e9 SHA512 c30e760b01432f683013bb15e3cafad452b494d59d940597157f126fc264d3066fe9f5fc9520bffcede7549d9878295da52557c159b7f4cc9635775fdb1c2ffe WHIRLPOOL 26d2cac5483304718646c73b4ceea2cf9954731daa8edf1e881e0c3e256e76e87e473b97aee52b03a5c54b04b63c0a5392fc50328183d0b49cb1a142b924770c
-EBUILD xf86-video-virtualbox-4.3.4.ebuild 4330 SHA256 89a3759fbfc985fe19287f7cc646287999143d45a5713dbbd9e67f1f66b0306b SHA512 c113e321f6e58d5cd3bcfbf67196d9c90d3e82ad188a613efbb11236f1e20a053d4c507fb2fd1be1ffaa9fe176e7ecab0112cfbc731159acc4adab7febb614e1 WHIRLPOOL 884cb70c551a097019e88ffa8be91eaf25a3a3cc079426e935e196da51a6fe40734514cbe2fdeabf0f751b6b489d7742956b867024d6b1ca44f943746203e0dd
EBUILD xf86-video-virtualbox-4.3.6.ebuild 4336 SHA256 70d060272d8669a6e3473189252ad71ab02e60290e107c6f8961cc64285f9def SHA512 b6fbe56c28b3a83405174031cc2a3f66cd7e3bf13e0fed305bf3758265ea188bb76975d87f03703a478a3f8f2948fd8eaf99bedbc2ee5f5578cf066b2cb441b2 WHIRLPOOL 1f2b7eb4cfd712402918e9c0932ae2ca8ddd9d03c8cdbf77f82d60854bedf389829738d4f9c0c4a73dfd55caf37383585723944fc4ff43058fb16d3d14900ddd
-MISC ChangeLog 27860 SHA256 99c40ab602fd916087c8eab9eff4ffc0a1a4c5b093682c36af646d4ceb3f2eb4 SHA512 bf6f19b56203b4b1119d1bdc36ddf5c1fd2a341be84500b6338d0edebf01a3bd4af0af50397113f3bfaeb595e87ed7b031cf02f51538ef3df4186fa9a8d11162 WHIRLPOOL c3ba8b4c72266319ad4862423eb939fe8f9c9b0a2ad27f965fd4ab3a864a2bde553fe9a796f0e5695e39c9ab256f8fce02471387d4edb4a35081b7c0bedda8ee
+MISC ChangeLog 28061 SHA256 49cbb1013452af20c04b2e5409c21d668f53791ddb6dfd2cb45e8b97a3adbb69 SHA512 0cd7507709da570f1d0e94b24b217941e13b2afd4bfccc657293cfe8e446dc0661e3510dfafca4e8275388e4beaf55f784698e997c04a5e92a9b237db0e22611 WHIRLPOOL a2bd8d55693428cb9537ca3cef85e6850cdd40e4ff5ece0cb5dbc0fd637e19cde04c1ddc79068688b00a1ef8920cadda6715b0df72bbe97318a896c3596c2dcc
MISC metadata.xml 359 SHA256 ab2e6dee370bc02d436bf0c03dbdaa826c9ceae9a4678975242e1fe7f3855608 SHA512 add99ae916087d7466647e197d30ae21049ead1fa892539e6081b0bc88f9cf19c12492984576a00581a35a2ae323528f417e48cc04a12152e3fde63da2f37cdf WHIRLPOOL 459e98c740f891deb8ba95788b0a9ecd609744bdf13e60c1086d9e7981951b5767ce1e44e63e4793dd75718e27ed3a24ad0de806f15459f0c8bd251a73996975
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJS2EESAAoJELp701BxlEWfEeAP/16FtCpcyijVu/MKOFSmVF0U
-vF6pmxO5Sk1WvMGnunG+h0UiXmrTuJ5xKOm6UY6d3QpZbU6J3kum9FCafIBm7hnE
-UUPQrxZcP3/cr1GWQIqTEbrSjFERGi79eamP6euAP6pYvOjdD39aaKuMZDKlxUD4
-v3Nnecpqop3+bWEhKAthTUYW5QWaX8hZqDAiH79R7nexcuFqHMZL5FZnlx/AaRoE
-CFS8McD8MbCXo3nvElgJy0c971LTbqnak/1YLtmRY2uOoGcUayR02eWqTWJwYtqP
-4/ivEjbLpRPr0Lr7R9ns2xneFowpI7SMUK5lr9tyXVnQuFfOxTZGwRP3ZF0yR6Re
-MGy/9lRXjZ0GlxjG52OLJADfnaDE0VMc23ZD2alC3i7oL+7c9gG53P36X/kdTnRH
-BcAeZV7BrngJsZ3drNK3yRHmvAebxWwLysMv4REbZU6+wBykg0M1ED/sqghn6qgn
-x+g9VwpOgNCTgrpIBypBz8ETvV1KVcY4ZkiK7OhIYRvDWxp274pLThphG/Hbp42o
-te9/B9TiDFnWf35QD8LMjLP9K2eET+r/vEgGjx5bkY/b8AnJOIzaJyP4xQfCXFnP
-IJcAFs/BxQV2Ejb8Jr33F8ztCrpHqgH2aihPIBcgyFU7hy5nlP9kGnI6Z4f2qah4
-/IC9DFJ5KWMc5KYL9zgM
-=rvWw
+iQIcBAEBCAAGBQJS2NcIAAoJEPiazRVxLXTFRCEP/An7dJhKF7UCOhyKFwCsnfbu
+VVSj6q/C85O12JzA36h7WzmaIS5grtfvSIGPZo3ag8+gnDUp+vQk/THNxvzpSuCU
+W8PE/70AeioVegCbrxXQJANiPm2/7qRgdyIcfqC0C0jXfW5m5N4mTNSw8IDLlku8
+cA+24DCZUJBXbXPQa0x96pbCMaLsZkpagLPq7W5ttXqlrWgup7sWlqVdre5vnCyj
+31G2N1gJUPu/ZjfFUl1fpsmWVfofYlC3CjqXRzP5p845LlYBbwsLcuoXfCfNCvT4
+YQL0YPlDlUnHpdlVjxQA7AtlzLGK9Ssase68I57RCBZt3XhwKFLmBEUz+okP/0Lf
+jIJOja0HZWhG679jkW7eUEjuRfaRZmxefaUjvpZNJriVclyBDgtWQFZHv2ve5/QI
+uAm7Jk4MY/DJlXLye29WK7oIodnDQK0WzbGLpHy1o4aIETJdUimqd58oOfCz4yQ+
+Y3gkZppgQgZaqUfFm18FZFeDl3IHT4D+e58SGtgPIKSxBa5dr8+nrXU3HMoeWVpA
+K8rmG5Y3f8MSFdfB369WpTbJijz3LYrqGS2nFH9OeUCmxBO9gbv6P6nH2KmXBY+h
+TkH3dhnZGMXYQ25vI3ncNCEHO2yWb6B/LbvLX4+siDMpxL8PD/XStwSb9QOiCZpF
+++gkiR2eWjVTozVY62gk
+=+VTL
-----END PGP SIGNATURE-----
diff --git a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.2.18.ebuild b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.2.18.ebuild
deleted file mode 100644
index 9910d230215d..000000000000
--- a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.2.18.ebuild
+++ /dev/null
@@ -1,178 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.2.18.ebuild,v 1.4 2013/12/07 14:30:19 pacho Exp $
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-inherit eutils linux-mod multilib python-single-r1 versionator toolchain-funcs
-
-MY_PV="${PV/beta/BETA}"
-MY_PV="${PV/rc/RC}"
-MY_P=VirtualBox-${MY_PV}
-DESCRIPTION="VirtualBox video driver"
-HOMEPAGE="http://www.virtualbox.org/"
-SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="dri"
-
-RDEPEND="<x11-base/xorg-server-1.14.99[-minimal]
- x11-libs/libXcomposite"
-DEPEND="${RDEPEND}
- >=dev-util/kbuild-0.1.9998_pre20120806
- ${PYTHON_DEPS}
- >=dev-lang/yasm-0.6.2
- sys-power/iasl
- x11-proto/fontsproto
- x11-proto/randrproto
- x11-proto/renderproto
- x11-proto/xextproto
- x11-proto/xineramaproto
- x11-proto/xproto
- x11-libs/libXdmcp
- x11-libs/libXau
- x11-libs/libX11
- x11-libs/libXfixes
- x11-libs/libXext
- dri? ( x11-proto/xf86driproto
- >=x11-libs/libdrm-2.4.5 )"
-
-REQUIRED_USE=( "${PYTHON_REQUIRED_USE}" )
-
-BUILD_TARGETS="all"
-BUILD_TARGET_ARCH="${ARCH}"
-MODULE_NAMES="vboxvideo(misc:${WORKDIR}/vboxvideo_drm:${WORKDIR}/vboxvideo_drm)"
-
-S="${WORKDIR}/${MY_P}"
-
-QA_TEXTRELS_x86="usr/lib/VBoxOGL.so"
-
-pkg_setup() {
- linux-mod_pkg_setup
- BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
-
- python-single-r1_pkg_setup
-}
-
-src_prepare() {
- # Prepare the vboxvideo_drm sources and Makefile in ${WORKDIR}
- cp -a "${S}"/src/VBox/Additions/linux/drm "${WORKDIR}/vboxvideo_drm" \
- || die "cannot copy vboxvideo_drm directory"
- cp "${FILESDIR}/${PN}-3-vboxvideo_drm.makefile" \
- "${WORKDIR}/vboxvideo_drm/Makefile" \
- || die "cannot copy vboxvideo_drm Makefile"
-
- # stupid new header references...
- for vboxheader in {product,version}-generated.h ; do
- ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
- "${WORKDIR}/vboxvideo_drm/${vboxheader}"
- done
-
- # Remove shipped binaries (kBuild,yasm), see bug #232775
- rm -rf kBuild/bin tools
-
- # Disable things unused or splitted into separate ebuilds
- cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk
-
- # Ugly hack to build the opengl part of the video driver
- epatch "${FILESDIR}/${PN}-2.2.0-enable-opengl.patch"
-
- # unset useless/problematic checks in configure
- epatch "${FILESDIR}/${PN}-3.2.8-mesa-check.patch" \
- "${FILESDIR}/${PN}-4-makeself-check.patch" \
- "${FILESDIR}/${PN}-4-mkisofs-check.patch"
-
- # Patch to link with lazy on hardened #394757
- if gcc-specs-now ; then
- epatch "${FILESDIR}/${PN}-link-lazy.patch"
- fi
-}
-
-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"
- source ./env.sh
-}
-
-src_compile() {
- for each in /src/VBox/{Runtime,Additions/common/VBoxGuestLib} \
- /src/VBox/{GuestHost/OpenGL,Additions/x11/x11stubs,Additions/common/crOpenGL} \
- /src/VBox/Additions/x11/vboxvideo ; do
- cd "${S}"${each}
- MAKE="kmk" emake TOOL_YASM_AS=yasm \
- KBUILD_PATH="${S}/kBuild" \
- KBUILD_VERBOSE=2
- done
-
- if use dri; then
- # 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
- fi
-}
-
-src_install() {
- if use dri; then
- linux-mod_src_install
- fi
-
- cd "${S}/out/linux.${ARCH}/release/bin/additions"
- insinto /usr/$(get_libdir)/xorg/modules/drivers
-
-# # xorg-server-1.14.x
- if has_version ">=x11-base/xorg-server-1.13.99" ; then
- newins vboxvideo_drv_114.so vboxvideo_drv.so
- # xorg-server-1.13.x
- elif has_version ">=x11-base/xorg-server-1.12.99" ; then
- newins vboxvideo_drv_113.so vboxvideo_drv.so
- # xorg-server-1.12.x
- elif has_version ">=x11-base/xorg-server-1.12" ; then
- newins vboxvideo_drv_112.so vboxvideo_drv.so
- # xorg-server-1.11.x
- elif has_version ">=x11-base/xorg-server-1.11" ; then
- newins vboxvideo_drv_111.so vboxvideo_drv.so
- # xorg-server-1.10.x
- elif has_version ">=x11-base/xorg-server-1.10" ; then
- newins vboxvideo_drv_110.so vboxvideo_drv.so
- # xorg-server-1.9.x
- else
- newins vboxvideo_drv_19.so vboxvideo_drv.so
- fi
-
- # Guest OpenGL driver
- insinto /usr/$(get_libdir)
- doins -r VBoxOGL*
-
- if use dri ; then
- dosym /usr/$(get_libdir)/VBoxOGL.so /usr/$(get_libdir)/dri/vboxvideo_dri.so
- fi
-}
-
-pkg_postinst() {
- elog "You need to edit the file /etc/X11/xorg.conf and set:"
- elog ""
- elog " Driver \"vboxvideo\""
- elog ""
- elog "in the Graphics device section (Section \"Device\")"
- elog ""
- if use dri; then
- elog "To use the kernel drm video driver, please add:"
- elog "\"vboxvideo\" to:"
- if has_version sys-apps/openrc ; then
- elog "/etc/conf.d/modules"
- else
- elog "/etc/modules.autoload.d/kernel-${KV_MAJOR}.${KV_MINOR}"
- fi
- elog ""
- fi
-}
diff --git a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.2.20.ebuild b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.2.20.ebuild
deleted file mode 100644
index 1ae532a44202..000000000000
--- a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.2.20.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.2.20.ebuild,v 1.2 2013/11/30 18:22:20 polynomial-c Exp $
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-inherit eutils linux-mod multilib python-single-r1 versionator toolchain-funcs
-
-MY_PV="${PV/beta/BETA}"
-MY_PV="${PV/rc/RC}"
-MY_P=VirtualBox-${MY_PV}
-DESCRIPTION="VirtualBox video driver"
-HOMEPAGE="http://www.virtualbox.org/"
-SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="dri"
-
-RDEPEND=">=x11-base/xorg-server-1.7:=[-minimal]
- x11-libs/libXcomposite"
-DEPEND="${RDEPEND}
- >=dev-util/kbuild-0.1.9998_pre20120806
- ${PYTHON_DEPS}
- >=dev-lang/yasm-0.6.2
- sys-power/iasl
- x11-proto/fontsproto
- x11-proto/randrproto
- x11-proto/renderproto
- x11-proto/xextproto
- x11-proto/xineramaproto
- x11-proto/xproto
- x11-libs/libXdmcp
- x11-libs/libXau
- x11-libs/libX11
- x11-libs/libXfixes
- x11-libs/libXext
- dri? ( x11-proto/xf86driproto
- >=x11-libs/libdrm-2.4.5 )"
-
-REQUIRED_USE=( "${PYTHON_REQUIRED_USE}" )
-
-BUILD_TARGETS="all"
-BUILD_TARGET_ARCH="${ARCH}"
-MODULE_NAMES="vboxvideo(misc:${WORKDIR}/vboxvideo_drm:${WORKDIR}/vboxvideo_drm)"
-
-S="${WORKDIR}/${MY_P}"
-
-QA_TEXTRELS_x86="usr/lib/VBoxOGL.so"
-
-pkg_setup() {
- linux-mod_pkg_setup
- BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
-
- python-single-r1_pkg_setup
-}
-
-src_prepare() {
- # Prepare the vboxvideo_drm sources and Makefile in ${WORKDIR}
- cp -a "${S}"/src/VBox/Additions/linux/drm "${WORKDIR}/vboxvideo_drm" \
- || die "cannot copy vboxvideo_drm directory"
- cp "${FILESDIR}/${PN}-3-vboxvideo_drm.makefile" \
- "${WORKDIR}/vboxvideo_drm/Makefile" \
- || die "cannot copy vboxvideo_drm Makefile"
-
- # stupid new header references...
- for vboxheader in {product,version}-generated.h ; do
- ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
- "${WORKDIR}/vboxvideo_drm/${vboxheader}"
- done
-
- # Remove shipped binaries (kBuild,yasm), see bug #232775
- rm -rf kBuild/bin tools
-
- # Disable things unused or splitted into separate ebuilds
- cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk
-
- # Ugly hack to build the opengl part of the video driver
- epatch "${FILESDIR}/${PN}-2.2.0-enable-opengl.patch"
-
- # unset useless/problematic checks in configure
- epatch "${FILESDIR}/${PN}-3.2.8-mesa-check.patch" \
- "${FILESDIR}/${PN}-4-makeself-check.patch" \
- "${FILESDIR}/${PN}-4-mkisofs-check.patch"
-
- # Patch to link with lazy on hardened #394757
- if gcc-specs-now ; then
- epatch "${FILESDIR}/${PN}-link-lazy.patch"
- fi
-}
-
-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"
- source ./env.sh
-}
-
-src_compile() {
- for each in /src/VBox/{Runtime,Additions/common/VBoxGuestLib} \
- /src/VBox/{GuestHost/OpenGL,Additions/x11/x11stubs,Additions/common/crOpenGL} \
- /src/VBox/Additions/x11/vboxvideo ; do
- cd "${S}"${each}
- MAKE="kmk" emake TOOL_YASM_AS=yasm \
- VBOX_USE_SYSTEM_XORG_HEADERS=1 \
- KBUILD_PATH="${S}/kBuild" \
- KBUILD_VERBOSE=2
- done
-
- if use dri; then
- # 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
- fi
-}
-
-src_install() {
- if use dri; then
- linux-mod_src_install
- fi
-
- cd "${S}/out/linux.${ARCH}/release/bin/additions"
- insinto /usr/$(get_libdir)/xorg/modules/drivers
- newins vboxvideo_drv_system.so vboxvideo_drv.so
-
- # Guest OpenGL driver
- insinto /usr/$(get_libdir)
- doins -r VBoxOGL*
-
- if use dri ; then
- dosym /usr/$(get_libdir)/VBoxOGL.so /usr/$(get_libdir)/dri/vboxvideo_dri.so
- fi
-}
-
-pkg_postinst() {
- elog "You need to edit the file /etc/X11/xorg.conf and set:"
- elog ""
- elog " Driver \"vboxvideo\""
- elog ""
- elog "in the Graphics device section (Section \"Device\")"
- elog ""
- if use dri; then
- elog "To use the kernel drm video driver, please add:"
- elog "\"vboxvideo\" to:"
- if has_version sys-apps/openrc ; then
- elog "/etc/conf.d/modules"
- else
- elog "/etc/modules.autoload.d/kernel-${KV_MAJOR}.${KV_MINOR}"
- fi
- elog ""
- fi
-}
diff --git a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.4.ebuild b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.4.ebuild
deleted file mode 100644
index 2b4c080a803a..000000000000
--- a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.4.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.4.ebuild,v 1.1 2013/11/30 18:22:20 polynomial-c Exp $
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-inherit eutils linux-mod multilib python-single-r1 versionator toolchain-funcs
-
-MY_PV="${PV/beta/BETA}"
-MY_PV="${MY_PV/rc/RC}"
-MY_P=VirtualBox-${MY_PV}
-DESCRIPTION="VirtualBox video driver"
-HOMEPAGE="http://www.virtualbox.org/"
-SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="dri"
-
-RDEPEND=">=x11-base/xorg-server-1.7:=[-minimal]
- x11-libs/libXcomposite"
-DEPEND="${RDEPEND}
- >=dev-util/kbuild-0.1.9998_pre20131130
- ${PYTHON_DEPS}
- >=dev-lang/yasm-0.6.2
- sys-power/iasl
- x11-proto/fontsproto
- x11-proto/randrproto
- x11-proto/renderproto
- x11-proto/xextproto
- x11-proto/xineramaproto
- x11-proto/xproto
- x11-libs/libXdmcp
- x11-libs/libXau
- x11-libs/libX11
- x11-libs/libXfixes
- x11-libs/libXext
- dri? ( x11-proto/xf86driproto
- >=x11-libs/libdrm-2.4.5 )"
-
-REQUIRED_USE=( "${PYTHON_REQUIRED_USE}" )
-
-BUILD_TARGETS="all"
-BUILD_TARGET_ARCH="${ARCH}"
-MODULE_NAMES="vboxvideo(misc:${WORKDIR}/vboxvideo_drm:${WORKDIR}/vboxvideo_drm)"
-
-S="${WORKDIR}/${MY_P}"
-
-QA_TEXTRELS_x86="usr/lib/VBoxOGL.so"
-
-pkg_setup() {
- linux-mod_pkg_setup
- BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
-
- python-single-r1_pkg_setup
-}
-
-src_prepare() {
- # Prepare the vboxvideo_drm sources and Makefile in ${WORKDIR}
- cp -a "${S}"/src/VBox/Additions/linux/drm "${WORKDIR}/vboxvideo_drm" \
- || die "cannot copy vboxvideo_drm directory"
- cp "${FILESDIR}/${PN}-3-vboxvideo_drm.makefile" \
- "${WORKDIR}/vboxvideo_drm/Makefile" \
- || die "cannot copy vboxvideo_drm Makefile"
-
- # stupid new header references...
- for vboxheader in {product,version}-generated.h ; do
- ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
- "${WORKDIR}/vboxvideo_drm/${vboxheader}"
- done
-
- # Remove shipped binaries (kBuild,yasm), see bug #232775
- rm -rf kBuild/bin tools
-
- # Disable things unused or splitted into separate ebuilds
- cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk
-
- # Ugly hack to build the opengl part of the video driver
- epatch "${FILESDIR}/${PN}-2.2.0-enable-opengl.patch"
-
- # unset useless/problematic checks in configure
- epatch "${FILESDIR}/${PN}-3.2.8-mesa-check.patch" \
- "${FILESDIR}/${PN}-4-makeself-check.patch" \
- "${FILESDIR}/${PN}-4-mkisofs-check.patch"
-
- # Patch to link with lazy on hardened #394757
- if gcc-specs-now ; then
- epatch "${FILESDIR}/${PN}-link-lazy.patch"
- fi
-}
-
-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"
- source ./env.sh
-}
-
-src_compile() {
- for each in /src/VBox/{Runtime,Additions/common/VBoxGuestLib} \
- /src/VBox/{GuestHost/OpenGL,Additions/x11/x11stubs,Additions/common/crOpenGL} \
- /src/VBox/Additions/x11/vboxvideo ; do
- cd "${S}"${each}
- MAKE="kmk" emake TOOL_YASM_AS=yasm \
- VBOX_USE_SYSTEM_XORG_HEADERS=1 \
- KBUILD_PATH="${S}/kBuild" \
- KBUILD_VERBOSE=2
- done
-
- if use dri; then
- # 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
- fi
-}
-
-src_install() {
- if use dri; then
- linux-mod_src_install
- fi
-
- cd "${S}/out/linux.${ARCH}/release/bin/additions"
- insinto /usr/$(get_libdir)/xorg/modules/drivers
- newins vboxvideo_drv_system.so vboxvideo_drv.so
-
- # Guest OpenGL driver
- insinto /usr/$(get_libdir)
- doins -r VBoxOGL*
-
- if use dri ; then
- dosym /usr/$(get_libdir)/VBoxOGL.so /usr/$(get_libdir)/dri/vboxvideo_dri.so
- fi
-}
-
-pkg_postinst() {
- elog "You need to edit the file /etc/X11/xorg.conf and set:"
- elog ""
- elog " Driver \"vboxvideo\""
- elog ""
- elog "in the Graphics device section (Section \"Device\")"
- elog ""
- if use dri; then
- elog "To use the kernel drm video driver, please add:"
- elog "\"vboxvideo\" to:"
- if has_version sys-apps/openrc ; then
- elog "/etc/conf.d/modules"
- else
- elog "/etc/modules.autoload.d/kernel-${KV_MAJOR}.${KV_MINOR}"
- fi
- elog ""
- fi
-}