1 |
commit: eb65a88ce82e8df1a6fb7eacddbb477be1e3a0bf |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 13 10:09:22 2016 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 13 10:16:34 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb65a88c |
7 |
|
8 |
app-emulation/virtualbox-bin: Bump to versions 5.0.24 and 5.1.0 |
9 |
|
10 |
bug #586630 |
11 |
|
12 |
Package-Manager: portage-2.3.0 |
13 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
14 |
|
15 |
app-emulation/virtualbox-bin/Manifest | 8 + |
16 |
.../virtualbox-bin-5.0.24.108355.ebuild | 279 +++++++++++++++++++++ |
17 |
.../virtualbox-bin-5.1.0.108711.ebuild | 279 +++++++++++++++++++++ |
18 |
3 files changed, 566 insertions(+) |
19 |
|
20 |
diff --git a/app-emulation/virtualbox-bin/Manifest b/app-emulation/virtualbox-bin/Manifest |
21 |
index f3df48d..efa60cf 100644 |
22 |
--- a/app-emulation/virtualbox-bin/Manifest |
23 |
+++ b/app-emulation/virtualbox-bin/Manifest |
24 |
@@ -2,6 +2,8 @@ DIST Oracle_VM_VirtualBox_Extension_Pack-4.3.32-103443.tar.gz 15994576 SHA256 3f |
25 |
DIST Oracle_VM_VirtualBox_Extension_Pack-4.3.36-105129.tar.gz 16003080 SHA256 b067d1497499ed5d0218c8e500e0a5c1bc2c1bb3d74e5addd6d77cd801133ecb SHA512 e885e21f3b4fa634630eeb8308bbe5e79c8837f701fad668701a42d4444c1724e59d104e3e1f20000ed3a330cc64cd40f4a675f7bb8bc34c246c5e870d68f36d WHIRLPOOL f2f431ff0a493eb4455b1288ebd1e0ee38767128bd6e4d7ca6b8fc0bf5663e4dd82ced1f93d304701b9b9e3ca38d37b7ae8a5c070eab47f37681796f9059af30 |
26 |
DIST Oracle_VM_VirtualBox_Extension_Pack-5.0.16-105871.tar.gz 16896587 SHA256 c234e158c49f4f92c38e41918c117d756a81236ff1030a896e44faf88284ecc7 SHA512 39a7c6726e57c89a970e771f80369617c95e154498174deed025ca953e85197981215dd1250317285213a8e9bf6b7140e06311bd6df464613bfe90a37ef1c3c8 WHIRLPOOL 8bdf4a499e8d2d463249fb98ea35ee3a91d81004418e171396c0a26d91f3de9eda6fe632a1d85df58e1de1c32c5c939a365277ad836c685f83600277bd7282bf |
27 |
DIST Oracle_VM_VirtualBox_Extension_Pack-5.0.20-106931.tar.gz 16421439 SHA256 11f40842a56ebb17da1bbc82a21543e66108a5330ebd54ded68038a990aa071b SHA512 47a7551537fea6ad673d7804ff6ff1d9570e6432166b7b63bbeb12f187dace14c6921ec877ceaddba31774a20fce972e0f77865be8a5d22b8475c755326ceebf WHIRLPOOL e924cc1f50ad1eae26f698dd31472754cd45877fc7e46a4681707dc7a4ce058fc6f6614e4fbfd18a8777550a99d62ce8d90a77f0ad7e5d70e0061281eadaf3af |
28 |
+DIST Oracle_VM_VirtualBox_Extension_Pack-5.0.24-108355.tar.gz 16423699 SHA256 aeee163c3d1bea8d3de9647d2ce6771fbf0e873bd20de6b39f84ef9d2de4b0c9 SHA512 899db07af925e5b386f8319e30133eac9fb7945097a224570d8cfd885612aae67b63c8c9b856d340cec4b61158fd2e32b3e0d6ca716c428763187a6006513d2c WHIRLPOOL 3fec3ef3cf605eb6817739b34b2f71d3e69a5665b2cc8b17b912342e3c96f1dc8440737c62ace14d39855c369f516fbd7ca1ea63c8a950f7c7cccb0cc6a91eb0 |
29 |
+DIST Oracle_VM_VirtualBox_Extension_Pack-5.1.0-108711.tar.gz 16903489 SHA256 7e9802dbbdf56dcd963f8ef368fe1f9ff9accbd74d9fb297b44af3d4af757ec7 SHA512 df5969e2b2cbc54298eb5dc6f0c36e7569da8a92713d77a1679a232bfc37053223a116966c0ab39df6d99ccacf8228296659b10da54ee06c542e47e510da42c3 WHIRLPOOL 0d93004956aebc245f8f30eb9641f66496f3d930053764fc274db7233d9db93123a58872c5fecc5bb52f6735a658dc12f407b8010fe468fd9b787f94fc6df5ea |
30 |
DIST VirtualBox-4.3.32-103443-Linux_amd64.run 81100243 SHA256 e99dbf0e382081fa78cbc5803b473e2fe4bc945eb50cf0b5717853f4cdb34da3 SHA512 c68cf69de524ec0229d07943087bc433b0902710f48ddd67106f0f10500d38d38a0e3ff97e40bc81495f12f2bcd68ee0f3d19fda46c999960fd1b3f64bf220f3 WHIRLPOOL 15aa5ce0b49ac7c75fc6191e4a0283a721db247a667f63b94f04dbf1f00122958c8945181f4ec5791b1a6ba6425f98a3bf92f80eebf29b831260cc8274cf1cd7 |
31 |
DIST VirtualBox-4.3.32-103443-Linux_x86.run 80496078 SHA256 89e3493052b43574454c1f6bed2a1ddf3504dbcf5096cb2f541b242dd6636cfc SHA512 66455075385879364afe7c77051d7b7873dff543647bbbdcdb9e0e63ef9fa2c49a11a45ac3c2cb96cbb59fe75e5e502c3d4cd99ac1ba8c580e65ae3e3da5c427 WHIRLPOOL bdbd2b62fc8bf83604ffa217f5e592ff48058a6f6c10e0fb07e214847d6cc915f858fef03b6c196625339f3d31f2ce6c4614b9ae206eacfb35957253893bea06 |
32 |
DIST VirtualBox-4.3.36-105129-Linux_amd64.run 81284561 SHA256 6ed1f7e968c13e6cbbcab60bcd340a4bbfd860095ed4c139a0e860f0475666d1 SHA512 62613b0b2a4d18103ae32f38659efd418e106866a8efa3ed4c4a85ed583886435317203e24ea1be9a00634789a656a54a6ca1c884cf5f595a6757475438d925b WHIRLPOOL 1f3186a92194879b8aed246ff3fc930161c2fc5c3ef24cfdd3b76e7f4a227c67603acf0559d6c48b5dc269e3818726235fb704a9dcc306ca9ac6de42de1df54a |
33 |
@@ -10,7 +12,13 @@ DIST VirtualBox-5.0.16-105871-Linux_amd64.run 85913042 SHA256 2fc30af485c67162a8 |
34 |
DIST VirtualBox-5.0.16-105871-Linux_x86.run 84909518 SHA256 46421f6ebed4de2466d32193597fbcfe71c2a89c5fd5ac1493856b509d6259e1 SHA512 a16e5a9ee4c643985d48c6ac8e7224074dd2a775bf05b9ef712fff898962493a2126bb1ced20b5ec525ddd86d0ce6c42c06e286f03758aad5d39d58b87db51a8 WHIRLPOOL dbc4af908d3e2879388426defd733539f3bbff10a4f957858f42ae7c328a5cbd0480667b50777a69e860be475d8c66a392badb79503d9f22c267688edc6a1e4e |
35 |
DIST VirtualBox-5.0.20-106931-Linux_amd64.run 84049363 SHA256 72545fddad13b4bfe7b55173cc3aaa8f0fe2a63cc29d3d750e4a5a121fc1d177 SHA512 b61c43ab1b57d7c5f78c0fecbeea99c84ad9f93c2163004e4ff4883990c99ea6a4e479752981f0c6db7c53dc8808359f9230d058b3dba98ddbd76cf17d81e649 WHIRLPOOL f572181f48492a8a8e525473d44a9cae19d093c369310188fd6a4bf19f9278555f272a008409b912d0476283592f1b17ebad938dc6ba301c6748863af1ed5d27 |
36 |
DIST VirtualBox-5.0.20-106931-Linux_x86.run 83127758 SHA256 9d70911cf601774b1bfcdaaa930796248396e5a20ee3b5eed2722c1ba38f68d6 SHA512 b3383309e90fbb28723f0310867966789c5558b7fca81dd745fa096186159613051205ce72eb01a678fe29da08f5f7ea79403797bdca7c3d5728890d0814a29e WHIRLPOOL 670faa73366232ec8f4f8e09b1bc7dc91722684027186b6811c12524761aebd71da2f14894994dd15281b18dded4f349dd322bcd5203e356b729138a47e5bc98 |
37 |
+DIST VirtualBox-5.0.24-108355-Linux_amd64.run 84162002 SHA256 66a71f1cf6417c2f152be79c8f0efccbbaf1e7237e65c04950804e12286cb9aa SHA512 6aa8e377838a95c09b8cf5d07ab62fdd70f42f37ca712d778b7fc6bafe6d020ee220f4ce34b73c97c140b7b63bcc50031cfcfe7be28a7498c68b5c4bb4ba8fb6 WHIRLPOOL 98ef9c0d9625e2f9998b1fe8fcab42839ee408b2c4a94f1a3687d56d067d1dcf935cf1c129077fb8854724001d5b036fdeb3c511aefd8e0b662491025d0ae391 |
38 |
+DIST VirtualBox-5.0.24-108355-Linux_x86.run 83219918 SHA256 f649c257e738761e8d3e6dcf2dc5665fdee18f1867d6d05ee57f6f29da496e7d SHA512 fb20080a4bb5d1e5efd4237d485d7def8a292e1c11faeb059ca76622a1a4d2447db0972c0c6ec366b70242929c60c74cd5c10546fb3c59a7a4c62c57f8e4b12a WHIRLPOOL ad5cd6b99e808c6b0acfcaa0bc457a921a9e8da4b7fb9f59e910b0ffe5f10f40b587d53af54403ad39d219cb670e1139d59aa2fb9e384230e2a280f7c6123d94 |
39 |
+DIST VirtualBox-5.1.0-108711-Linux_amd64.run 85523910 SHA256 ddbf2d666cf9b44c294d4ecfa16dae6d27ee06537d35bdd5f28b96873b8c3255 SHA512 a6874a58c35c1f3834cdea9fbbf0a88f39fc26e4338c5eafc55699e1c6cbe4a2cdcb0058b350e8080eb5c5b2aa47aa0604d2727f12ddbd6c5f5c969a85d7b075 WHIRLPOOL 71c851adfc4e6fd9d88e8b0b1530c3a71c8308e072a16a1d92a5e487d9192bb9b6315701881341fdddb783fa0c33dae8ec3aaf7380396723bc0fd860cad4a486 |
40 |
+DIST VirtualBox-5.1.0-108711-Linux_x86.run 84848066 SHA256 7b63381d93546601f651f96f17154cb62a286df598039b1e04e2cbc64e6493b0 SHA512 140dd4e91fa6bc3ec0b6a06521ec593e5c8a190be2eb24425d63cedba8eb0058c14a2fdcc1749237656a5b4729d1da98c470e8167604149ef7fbccf2268757c4 WHIRLPOOL e22d27915a1e3f4429decb556b2ef779495ad3f0835b264d22b10b3a4d8e4e927d51364eb3421de4809677cd5cd31d1197dcdac876f714e22a02ca82d3638f4f |
41 |
DIST VirtualBoxSDK-4.3.32-103443.zip 11435565 SHA256 84ff42f0e9d8f8945387247e7f57123d37cc2c53035ab1eca5414ca82102613a SHA512 914951d91adfa0d77e29863c7108d2e116a01562d0e0454b1203ae7d6e7e0a224f65a51cbf1e83b8067cb40da65708d2022ab5be35f2905a28f032653c827869 WHIRLPOOL 2e53a6f2d6e6e4f328139b03de8bf09b1a72ca3981addef7a2d02d8dbc02e8ea6c319b16facdcdb1be5d941d7d24b64598990112d3d52ca5e5c9b0a2c4d8e89e |
42 |
DIST VirtualBoxSDK-4.3.36-105129.zip 11435309 SHA256 e8391909f609d8d6be17aadd25111d87b90489b2088efbcb03541ff7697d342c SHA512 7a1df66cb332f31f9cf0761334abaede3eabf7d29ffe8461fa39dc9b5b67394b3f2182090bd9a36c99a040a9e3cc9f7eef240144ab235d32bcba7d1c44285ecc WHIRLPOOL 4ec8ff0118f5a3df9540260f2794195462b94e624e4a92c81e2c66d4bd0944320671705ca385f44941065393f05671be53fc0a359d028e6c9885b69e0fb5ab2f |
43 |
DIST VirtualBoxSDK-5.0.16-105871.zip 9639569 SHA256 df1bd5ed7f7fe9c401555498a1abed6f1f98e001c0069f16d401ccf3afe3061b SHA512 f4e1af1d97a26818722124fbbaffa6d61369b1a5f3b350b749284afdde038802f4a0e93e9bbb4c9ab0f49aad1f4fa19bbc4b0bdb04aa172a433a77a538816e25 WHIRLPOOL 0598061b47e5d0ef775665300ab61ad7b94638d32fb358a9c189536b00b2456ce4c90dfbcc00bac86da736289253e84a3b586b8b7d1da4087db76e8845a8ca33 |
44 |
DIST VirtualBoxSDK-5.0.20-106931.zip 9637936 SHA256 10193f33718aa9bfeda36ee3fc99e326d1e12c9195558194b215f59dbe53ea1a SHA512 12f7eed075dbeb9f1e680bd4e92a130b9731ba67ad1fcee08c5b2068c14aac226761f80e6020dab8b9259b863dc853fa4783852ac5ffea6580c962e49fbcee4f WHIRLPOOL d3bb32203306f6601dd872c9805f1e201d58727343b5a045826098707603cd7cd35eab299e019fd80601929a4f9456906b3e9458ca06a822daed58df267f7ac8 |
45 |
+DIST VirtualBoxSDK-5.0.24-108355.zip 9675233 SHA256 56b890c10b9d890f56150fafb1a07cb8ec04648d3a53f242ac434e6fd83dd45e SHA512 3f572e920ee1b6a0e58c302ae7d5fcc08a58350faa615128d4aacd3dc77bf16d68a31e879cc2873a1eca174f86dca3b477ca7d60e5dad77862c0726f43eaed03 WHIRLPOOL cfc9bbd586cf8315677c32ba0f27399414e55c10bcc1cf4042c7e9e71dd892ec55e8156418075afbf8e3feead68ddfcf754494b55fb33691ca229f5d9169e68b |
46 |
+DIST VirtualBoxSDK-5.1.0-108711.zip 9854087 SHA256 3d8867c724dbd835ed79fff567885a26994a19e43ceba2fadf0b8b13bde9d9b4 SHA512 8920d6f9a253aeef3e9336787ad7ef1fef577abda1834bbb5e043a7257f10bbddc62a103ac573144466dc82a65a68e0896dcc6faa92af6af6ae6c38fe8e8057d WHIRLPOOL f9a325d0692f1dca8c180ff7de5f97c2dea9b37238f490e96f63ef162f60f72ad73456a73cf3b4e0e39369ad65e35aaad9015fa2578071d4a2c56b157f54b5cc |
47 |
|
48 |
diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-5.0.24.108355.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-5.0.24.108355.ebuild |
49 |
new file mode 100644 |
50 |
index 0000000..a205c79 |
51 |
--- /dev/null |
52 |
+++ b/app-emulation/virtualbox-bin/virtualbox-bin-5.0.24.108355.ebuild |
53 |
@@ -0,0 +1,279 @@ |
54 |
+# Copyright 1999-2016 Gentoo Foundation |
55 |
+# Distributed under the terms of the GNU General Public License v2 |
56 |
+# $Id$ |
57 |
+ |
58 |
+EAPI=5 |
59 |
+ |
60 |
+PYTHON_COMPAT=( python2_7 ) |
61 |
+ |
62 |
+inherit eutils fdo-mime gnome2 pax-utils python-r1 udev unpacker versionator |
63 |
+ |
64 |
+MAIN_PV="$(get_version_component_range 1-3)" |
65 |
+if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then |
66 |
+ MY_PV="${MAIN_PV}_$(get_version_component_range 5)" |
67 |
+ MY_PV="${MY_PV/beta/BETA}" |
68 |
+ MY_PV="${MY_PV/rc/RC}" |
69 |
+else |
70 |
+ MY_PV="${MAIN_PV}" |
71 |
+fi |
72 |
+VBOX_BUILD_ID="$(get_version_component_range 4)" |
73 |
+VBOX_PV="${MY_PV}-${VBOX_BUILD_ID}" |
74 |
+MY_P="VirtualBox-${VBOX_PV}-Linux" |
75 |
+# needed as sometimes the extpack gets another build ID |
76 |
+EXTP_PV="${VBOX_PV}" |
77 |
+EXTP_PN="Oracle_VM_VirtualBox_Extension_Pack" |
78 |
+EXTP_P="${EXTP_PN}-${EXTP_PV}" |
79 |
+# needed as sometimes the SDK gets another build ID |
80 |
+SDK_PV="${VBOX_PV}" |
81 |
+SDK_P="VirtualBoxSDK-${SDK_PV}" |
82 |
+ |
83 |
+DESCRIPTION="Family of powerful x86 virtualization products for enterprise as well as home use" |
84 |
+HOMEPAGE="http://www.virtualbox.org/" |
85 |
+SRC_URI="amd64? ( http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_amd64.run ) |
86 |
+ x86? ( http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_x86.run ) |
87 |
+ http://download.virtualbox.org/virtualbox/${MY_PV}/${EXTP_P}.vbox-extpack -> ${EXTP_P}.tar.gz" |
88 |
+ |
89 |
+LICENSE="GPL-2 PUEL" |
90 |
+SLOT="0" |
91 |
+KEYWORDS="~amd64 ~x86" |
92 |
+IUSE="+additions +chm headless python vboxwebsrv rdesktop-vrdp" |
93 |
+RESTRICT="mirror" |
94 |
+ |
95 |
+if [[ "${PV}" != *beta* ]] ; then |
96 |
+ SRC_URI+=" |
97 |
+ sdk? ( http://download.virtualbox.org/virtualbox/${MY_PV}/${SDK_P}.zip )" |
98 |
+ IUSE+=" sdk" |
99 |
+fi |
100 |
+ |
101 |
+DEPEND="app-arch/unzip |
102 |
+ ${PYTHON_DEPS}" |
103 |
+ |
104 |
+RDEPEND="!!app-emulation/virtualbox |
105 |
+ !app-emulation/virtualbox-additions |
106 |
+ ~app-emulation/virtualbox-modules-${MAIN_PV} |
107 |
+ !headless? ( |
108 |
+ x11-libs/libXcursor |
109 |
+ media-libs/libsdl[X] |
110 |
+ x11-libs/libXrender |
111 |
+ x11-libs/libXfixes |
112 |
+ media-libs/libpng |
113 |
+ x11-libs/libXi |
114 |
+ x11-libs/libXrandr |
115 |
+ x11-libs/libXinerama |
116 |
+ x11-libs/libXft |
117 |
+ media-libs/freetype |
118 |
+ media-libs/fontconfig |
119 |
+ x11-libs/libXext |
120 |
+ dev-libs/glib |
121 |
+ chm? ( dev-libs/expat ) |
122 |
+ ) |
123 |
+ dev-libs/libxml2 |
124 |
+ sys-fs/lvm2 |
125 |
+ x11-libs/libXau |
126 |
+ x11-libs/libX11 |
127 |
+ x11-libs/libXt |
128 |
+ x11-libs/libXmu |
129 |
+ x11-libs/libSM |
130 |
+ x11-libs/libICE |
131 |
+ x11-libs/libXdmcp |
132 |
+ ${PYTHON_DEPS}" |
133 |
+ |
134 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
135 |
+S=${WORKDIR} |
136 |
+ |
137 |
+QA_PREBUILT="opt/VirtualBox/*" |
138 |
+ |
139 |
+PYTHON_UPDATER_IGNORE="1" |
140 |
+ |
141 |
+src_unpack() { |
142 |
+ unpack_makeself ${MY_P}_${ARCH}.run |
143 |
+ unpack ./VirtualBox.tar.bz2 |
144 |
+ |
145 |
+ mkdir "${S}"/${EXTP_PN} || die |
146 |
+ pushd "${S}"/${EXTP_PN} &>/dev/null || die |
147 |
+ unpack ${EXTP_P}.tar.gz |
148 |
+ popd &>/dev/null || die |
149 |
+ |
150 |
+ if [[ "${PV}" != *beta* ]] && use sdk ; then |
151 |
+ unpack VirtualBoxSDK-${SDK_PV}.zip |
152 |
+ fi |
153 |
+} |
154 |
+ |
155 |
+src_configure() { |
156 |
+ :; |
157 |
+} |
158 |
+ |
159 |
+src_compile() { |
160 |
+ :; |
161 |
+} |
162 |
+ |
163 |
+src_install() { |
164 |
+ # create virtualbox configurations files |
165 |
+ insinto /etc/vbox |
166 |
+ newins "${FILESDIR}/${PN}-config" vbox.cfg |
167 |
+ |
168 |
+ if ! use headless ; then |
169 |
+ pushd "${S}"/icons &>/dev/null || die |
170 |
+ for size in * ; do |
171 |
+ if [ -f "${size}/virtualbox.png" ] ; then |
172 |
+ insinto "/usr/share/icons/hicolor/${size}/apps" |
173 |
+ newins "${size}/virtualbox.png" ${PN}.png |
174 |
+ fi |
175 |
+ done |
176 |
+ dodir /usr/share/pixmaps |
177 |
+ cp "48x48/virtualbox.png" "${D}/usr/share/pixmaps/${PN}.png" \ |
178 |
+ || die |
179 |
+ popd &>/dev/null || die |
180 |
+ |
181 |
+ newmenu "${FILESDIR}"/${PN}.desktop-2 ${PN}.desktop |
182 |
+ fi |
183 |
+ |
184 |
+ pushd "${S}"/${EXTP_PN} &>/dev/null || die |
185 |
+ insinto /opt/VirtualBox/ExtensionPacks/${EXTP_PN} |
186 |
+ doins -r linux.${ARCH} |
187 |
+ doins ExtPack* PXE-Intel.rom |
188 |
+ popd &>/dev/null || die |
189 |
+ rm -rf "${S}"/${EXTP_PN} |
190 |
+ |
191 |
+ insinto /opt/VirtualBox |
192 |
+ dodir /opt/bin |
193 |
+ |
194 |
+ doins UserManual.pdf |
195 |
+ |
196 |
+ if [[ "${PV}" != *beta* ]] && use sdk ; then |
197 |
+ doins -r sdk |
198 |
+ fi |
199 |
+ |
200 |
+ if use additions; then |
201 |
+ doins -r additions |
202 |
+ fi |
203 |
+ |
204 |
+ if use vboxwebsrv; then |
205 |
+ doins vboxwebsrv |
206 |
+ fowners root:vboxusers /opt/VirtualBox/vboxwebsrv |
207 |
+ fperms 0750 /opt/VirtualBox/vboxwebsrv |
208 |
+ dosym /opt/VirtualBox/VBox.sh /opt/bin/vboxwebsrv |
209 |
+ newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv |
210 |
+ newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv |
211 |
+ fi |
212 |
+ |
213 |
+ if use rdesktop-vrdp; then |
214 |
+ doins rdesktop-vrdp |
215 |
+ doins -r rdesktop-vrdp-keymaps |
216 |
+ fperms 0750 /opt/VirtualBox/rdesktop-vrdp |
217 |
+ dosym /opt/VirtualBox/rdesktop-vrdp /opt/bin/rdesktop-vrdp |
218 |
+ fi |
219 |
+ |
220 |
+ if ! use headless && use chm; then |
221 |
+ doins kchmviewer VirtualBox.chm |
222 |
+ fowners root:vboxusers /opt/VirtualBox/kchmviewer |
223 |
+ fperms 0750 /opt/VirtualBox/kchmviewer |
224 |
+ fi |
225 |
+ |
226 |
+ # This ebuild / package supports only py2.7. When py3 comes is unknown. |
227 |
+ # The compile phase makes VBoxPython2_7.so. |
228 |
+ # py3 support would presumably require a binary pre-compiled by py3. |
229 |
+ use python && doins VBoxPython.so VBoxPython2_7.so |
230 |
+ |
231 |
+ rm -rf src rdesktop* deffiles install* routines.sh runlevel.sh \ |
232 |
+ vboxdrv.sh VBox.sh VBox.png vboxnet.sh additions VirtualBox.desktop \ |
233 |
+ VirtualBox.tar.bz2 LICENSE VBoxSysInfo.sh rdesktop* vboxwebsrv \ |
234 |
+ webtest kchmviewer VirtualBox.chm vbox-create-usb-node.sh \ |
235 |
+ 90-vbox-usb.fdi uninstall.sh vboxshell.py vboxdrv-pardus.py \ |
236 |
+ VBoxPython?_*.so |
237 |
+ |
238 |
+ if use headless ; then |
239 |
+ rm -rf VBoxSDL VirtualBox VBoxKeyboard.so |
240 |
+ fi |
241 |
+ |
242 |
+ doins -r * || die |
243 |
+ |
244 |
+ # create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid) |
245 |
+ dosym /opt/VirtualBox/VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so |
246 |
+ dosym /opt/VirtualBox/VBoxREM.so /opt/VirtualBox/components/VBoxREM.so |
247 |
+ dosym /opt/VirtualBox/VBoxRT.so /opt/VirtualBox/components/VBoxRT.so |
248 |
+ dosym /opt/VirtualBox/VBoxDDU.so /opt/VirtualBox/components/VBoxDDU.so |
249 |
+ dosym /opt/VirtualBox/VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so |
250 |
+ |
251 |
+ local each |
252 |
+ for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,NetNAT,TestOGL,ExtPackHelperApp}; do |
253 |
+ fowners root:vboxusers /opt/VirtualBox/${each} |
254 |
+ fperms 0750 /opt/VirtualBox/${each} |
255 |
+ pax-mark -m "${D}"/opt/VirtualBox/${each} |
256 |
+ done |
257 |
+ # VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case.. |
258 |
+ fperms 4750 /opt/VirtualBox/VBoxNetAdpCtl |
259 |
+ fperms 4750 /opt/VirtualBox/VBoxNetDHCP |
260 |
+ fperms 4750 /opt/VirtualBox/VBoxNetNAT |
261 |
+ |
262 |
+ if ! use headless ; then |
263 |
+ # Hardened build: Mark selected binaries set-user-ID-on-execution |
264 |
+ for each in VBox{SDL,Headless} VirtualBox; do |
265 |
+ fowners root:vboxusers /opt/VirtualBox/${each} |
266 |
+ fperms 4510 /opt/VirtualBox/${each} |
267 |
+ pax-mark -m "${D}"/opt/VirtualBox/${each} |
268 |
+ done |
269 |
+ |
270 |
+ dosym /opt/VirtualBox/VBox.sh /opt/bin/VirtualBox |
271 |
+ dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxSDL |
272 |
+ else |
273 |
+ # Hardened build: Mark selected binaries set-user-ID-on-execution |
274 |
+ fowners root:vboxusers /opt/VirtualBox/VBoxHeadless |
275 |
+ fperms 4510 /opt/VirtualBox/VBoxHeadless |
276 |
+ pax-mark -m "${D}"/opt/VirtualBox/VBoxHeadless |
277 |
+ fi |
278 |
+ |
279 |
+ exeinto /opt/VirtualBox |
280 |
+ newexe "${FILESDIR}/${PN}-3-wrapper" "VBox.sh" |
281 |
+ fowners root:vboxusers /opt/VirtualBox/VBox.sh |
282 |
+ fperms 0750 /opt/VirtualBox/VBox.sh |
283 |
+ |
284 |
+ dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxManage |
285 |
+ dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxVRDP |
286 |
+ dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxHeadless |
287 |
+ dosym /opt/VirtualBox/VBoxTunctl /opt/bin/VBoxTunctl |
288 |
+ |
289 |
+ # set an env-variable for 3rd party tools |
290 |
+ echo -n "VBOX_APP_HOME=/opt/VirtualBox" > "${T}/90virtualbox" |
291 |
+ doenvd "${T}/90virtualbox" |
292 |
+ |
293 |
+ local udevdir="$(get_udevdir)" |
294 |
+ insinto ${udevdir}/rules.d |
295 |
+ doins "${FILESDIR}"/10-virtualbox.rules |
296 |
+ sed "s@%UDEVDIR%@${udevdir}@" \ |
297 |
+ -i "${D}"${udevdir}/rules.d/10-virtualbox.rules || die |
298 |
+ # move udev scripts into ${udevdir} (bug #372491) |
299 |
+ mv "${D}"/opt/VirtualBox/VBoxCreateUSBNode.sh "${D}"${udevdir} || die |
300 |
+ fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh |
301 |
+} |
302 |
+ |
303 |
+pkg_postinst() { |
304 |
+ fdo-mime_desktop_database_update |
305 |
+ |
306 |
+ gnome2_icon_cache_update |
307 |
+ |
308 |
+ udevadm control --reload-rules && udevadm trigger --subsystem-match=usb |
309 |
+ |
310 |
+ elog "" |
311 |
+ if ! use headless ; then |
312 |
+ elog "To launch VirtualBox just type: \"VirtualBox\"" |
313 |
+ elog "" |
314 |
+ fi |
315 |
+ elog "You must be in the vboxusers group to use VirtualBox." |
316 |
+ elog "" |
317 |
+ elog "For advanced networking setups you should emerge:" |
318 |
+ elog "net-misc/bridge-utils and sys-apps/usermode-utilities" |
319 |
+ elog "" |
320 |
+ elog "Please visit http://www.virtualbox.org/wiki/Editions for" |
321 |
+ elog "an overview about the different features of ${PN}" |
322 |
+ elog "and virtualbox-ose" |
323 |
+ if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then |
324 |
+ elog "" |
325 |
+ elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\"" |
326 |
+ elog "or else USB in ${PN} won't work." |
327 |
+ fi |
328 |
+} |
329 |
+ |
330 |
+pkg_postrm() { |
331 |
+ fdo-mime_desktop_database_update |
332 |
+} |
333 |
|
334 |
diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-5.1.0.108711.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-5.1.0.108711.ebuild |
335 |
new file mode 100644 |
336 |
index 0000000..750f3ac |
337 |
--- /dev/null |
338 |
+++ b/app-emulation/virtualbox-bin/virtualbox-bin-5.1.0.108711.ebuild |
339 |
@@ -0,0 +1,279 @@ |
340 |
+# Copyright 1999-2016 Gentoo Foundation |
341 |
+# Distributed under the terms of the GNU General Public License v2 |
342 |
+# $Id$ |
343 |
+ |
344 |
+EAPI=5 |
345 |
+ |
346 |
+PYTHON_COMPAT=( python2_7 ) |
347 |
+ |
348 |
+inherit eutils fdo-mime gnome2 pax-utils python-r1 udev unpacker versionator |
349 |
+ |
350 |
+MAIN_PV="$(get_version_component_range 1-3)" |
351 |
+if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then |
352 |
+ MY_PV="${MAIN_PV}_$(get_version_component_range 5)" |
353 |
+ MY_PV="${MY_PV/beta/BETA}" |
354 |
+ MY_PV="${MY_PV/rc/RC}" |
355 |
+else |
356 |
+ MY_PV="${MAIN_PV}" |
357 |
+fi |
358 |
+VBOX_BUILD_ID="$(get_version_component_range 4)" |
359 |
+VBOX_PV="${MY_PV}-${VBOX_BUILD_ID}" |
360 |
+MY_P="VirtualBox-${VBOX_PV}-Linux" |
361 |
+# needed as sometimes the extpack gets another build ID |
362 |
+EXTP_PV="${VBOX_PV}" |
363 |
+EXTP_PN="Oracle_VM_VirtualBox_Extension_Pack" |
364 |
+EXTP_P="${EXTP_PN}-${EXTP_PV}" |
365 |
+# needed as sometimes the SDK gets another build ID |
366 |
+SDK_PV="${VBOX_PV}" |
367 |
+SDK_P="VirtualBoxSDK-${SDK_PV}" |
368 |
+ |
369 |
+DESCRIPTION="Family of powerful x86 virtualization products for enterprise as well as home use" |
370 |
+HOMEPAGE="http://www.virtualbox.org/" |
371 |
+SRC_URI="amd64? ( http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_amd64.run ) |
372 |
+ x86? ( http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_x86.run ) |
373 |
+ http://download.virtualbox.org/virtualbox/${MY_PV}/${EXTP_P}.vbox-extpack -> ${EXTP_P}.tar.gz" |
374 |
+ |
375 |
+LICENSE="GPL-2 PUEL" |
376 |
+SLOT="0" |
377 |
+KEYWORDS="~amd64 ~x86" |
378 |
+IUSE="+additions +chm headless python vboxwebsrv rdesktop-vrdp" |
379 |
+RESTRICT="mirror" |
380 |
+ |
381 |
+if [[ "${PV}" != *beta* ]] ; then |
382 |
+ SRC_URI+=" |
383 |
+ sdk? ( http://download.virtualbox.org/virtualbox/${MY_PV}/${SDK_P}.zip )" |
384 |
+ IUSE+=" sdk" |
385 |
+fi |
386 |
+ |
387 |
+DEPEND="app-arch/unzip |
388 |
+ ${PYTHON_DEPS}" |
389 |
+ |
390 |
+RDEPEND="!!app-emulation/virtualbox |
391 |
+ !app-emulation/virtualbox-additions |
392 |
+ ~app-emulation/virtualbox-modules-${MAIN_PV} |
393 |
+ !headless? ( |
394 |
+ dev-libs/glib |
395 |
+ media-libs/fontconfig |
396 |
+ media-libs/freetype |
397 |
+ media-libs/libpng |
398 |
+ media-libs/libsdl[X] |
399 |
+ x11-libs/libXcursor |
400 |
+ x11-libs/libXext |
401 |
+ x11-libs/libXfixes |
402 |
+ x11-libs/libXft |
403 |
+ x11-libs/libXi |
404 |
+ x11-libs/libXinerama |
405 |
+ x11-libs/libXrandr |
406 |
+ x11-libs/libXrender |
407 |
+ chm? ( dev-libs/expat ) |
408 |
+ ) |
409 |
+ dev-libs/libxml2 |
410 |
+ sys-fs/lvm2 |
411 |
+ x11-libs/libXau |
412 |
+ x11-libs/libX11 |
413 |
+ x11-libs/libXt |
414 |
+ x11-libs/libXmu |
415 |
+ x11-libs/libSM |
416 |
+ x11-libs/libICE |
417 |
+ x11-libs/libXdmcp |
418 |
+ ${PYTHON_DEPS}" |
419 |
+ |
420 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
421 |
+S=${WORKDIR} |
422 |
+ |
423 |
+QA_PREBUILT="opt/VirtualBox/*" |
424 |
+ |
425 |
+PYTHON_UPDATER_IGNORE="1" |
426 |
+ |
427 |
+src_unpack() { |
428 |
+ unpack_makeself ${MY_P}_${ARCH}.run |
429 |
+ unpack ./VirtualBox.tar.bz2 |
430 |
+ |
431 |
+ mkdir "${S}"/${EXTP_PN} || die |
432 |
+ pushd "${S}"/${EXTP_PN} &>/dev/null || die |
433 |
+ unpack ${EXTP_P}.tar.gz |
434 |
+ popd &>/dev/null || die |
435 |
+ |
436 |
+ if [[ "${PV}" != *beta* ]] && use sdk ; then |
437 |
+ unpack VirtualBoxSDK-${SDK_PV}.zip |
438 |
+ fi |
439 |
+} |
440 |
+ |
441 |
+src_configure() { |
442 |
+ :; |
443 |
+} |
444 |
+ |
445 |
+src_compile() { |
446 |
+ :; |
447 |
+} |
448 |
+ |
449 |
+src_install() { |
450 |
+ # create virtualbox configurations files |
451 |
+ insinto /etc/vbox |
452 |
+ newins "${FILESDIR}/${PN}-config" vbox.cfg |
453 |
+ |
454 |
+ if ! use headless ; then |
455 |
+ pushd "${S}"/icons &>/dev/null || die |
456 |
+ for size in * ; do |
457 |
+ if [ -f "${size}/virtualbox.png" ] ; then |
458 |
+ insinto "/usr/share/icons/hicolor/${size}/apps" |
459 |
+ newins "${size}/virtualbox.png" ${PN}.png |
460 |
+ fi |
461 |
+ done |
462 |
+ dodir /usr/share/pixmaps |
463 |
+ cp "48x48/virtualbox.png" "${D}/usr/share/pixmaps/${PN}.png" \ |
464 |
+ || die |
465 |
+ popd &>/dev/null || die |
466 |
+ |
467 |
+ newmenu "${FILESDIR}"/${PN}.desktop-2 ${PN}.desktop |
468 |
+ fi |
469 |
+ |
470 |
+ pushd "${S}"/${EXTP_PN} &>/dev/null || die |
471 |
+ insinto /opt/VirtualBox/ExtensionPacks/${EXTP_PN} |
472 |
+ doins -r linux.${ARCH} |
473 |
+ doins ExtPack* PXE-Intel.rom |
474 |
+ popd &>/dev/null || die |
475 |
+ rm -rf "${S}"/${EXTP_PN} |
476 |
+ |
477 |
+ insinto /opt/VirtualBox |
478 |
+ dodir /opt/bin |
479 |
+ |
480 |
+ doins UserManual.pdf |
481 |
+ |
482 |
+ if [[ "${PV}" != *beta* ]] && use sdk ; then |
483 |
+ doins -r sdk |
484 |
+ fi |
485 |
+ |
486 |
+ if use additions; then |
487 |
+ doins -r additions |
488 |
+ fi |
489 |
+ |
490 |
+ if use vboxwebsrv; then |
491 |
+ doins vboxwebsrv |
492 |
+ fowners root:vboxusers /opt/VirtualBox/vboxwebsrv |
493 |
+ fperms 0750 /opt/VirtualBox/vboxwebsrv |
494 |
+ dosym /opt/VirtualBox/VBox.sh /opt/bin/vboxwebsrv |
495 |
+ newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv |
496 |
+ newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv |
497 |
+ fi |
498 |
+ |
499 |
+ if use rdesktop-vrdp; then |
500 |
+ doins rdesktop-vrdp |
501 |
+ doins -r rdesktop-vrdp-keymaps |
502 |
+ fperms 0750 /opt/VirtualBox/rdesktop-vrdp |
503 |
+ dosym /opt/VirtualBox/rdesktop-vrdp /opt/bin/rdesktop-vrdp |
504 |
+ fi |
505 |
+ |
506 |
+ if ! use headless && use chm; then |
507 |
+ doins kchmviewer VirtualBox.chm |
508 |
+ fowners root:vboxusers /opt/VirtualBox/kchmviewer |
509 |
+ fperms 0750 /opt/VirtualBox/kchmviewer |
510 |
+ fi |
511 |
+ |
512 |
+ # This ebuild / package supports only py2.7. When py3 comes is unknown. |
513 |
+ # The compile phase makes VBoxPython2_7.so. |
514 |
+ # py3 support would presumably require a binary pre-compiled by py3. |
515 |
+ use python && doins VBoxPython.so VBoxPython2_7.so |
516 |
+ |
517 |
+ rm -rf src rdesktop* deffiles install* routines.sh runlevel.sh \ |
518 |
+ vboxdrv.sh VBox.sh VBox.png vboxnet.sh additions VirtualBox.desktop \ |
519 |
+ VirtualBox.tar.bz2 LICENSE VBoxSysInfo.sh rdesktop* vboxwebsrv \ |
520 |
+ webtest kchmviewer VirtualBox.chm vbox-create-usb-node.sh \ |
521 |
+ 90-vbox-usb.fdi uninstall.sh vboxshell.py vboxdrv-pardus.py \ |
522 |
+ VBoxPython?_*.so |
523 |
+ |
524 |
+ if use headless ; then |
525 |
+ rm -rf VBoxSDL VirtualBox VBoxKeyboard.so |
526 |
+ fi |
527 |
+ |
528 |
+ doins -r * || die |
529 |
+ |
530 |
+ # create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid) |
531 |
+ dosym /opt/VirtualBox/VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so |
532 |
+ dosym /opt/VirtualBox/VBoxREM.so /opt/VirtualBox/components/VBoxREM.so |
533 |
+ dosym /opt/VirtualBox/VBoxRT.so /opt/VirtualBox/components/VBoxRT.so |
534 |
+ dosym /opt/VirtualBox/VBoxDDU.so /opt/VirtualBox/components/VBoxDDU.so |
535 |
+ dosym /opt/VirtualBox/VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so |
536 |
+ |
537 |
+ local each |
538 |
+ for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,NetNAT,TestOGL,ExtPackHelperApp}; do |
539 |
+ fowners root:vboxusers /opt/VirtualBox/${each} |
540 |
+ fperms 0750 /opt/VirtualBox/${each} |
541 |
+ pax-mark -m "${D}"/opt/VirtualBox/${each} |
542 |
+ done |
543 |
+ # VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case.. |
544 |
+ fperms 4750 /opt/VirtualBox/VBoxNetAdpCtl |
545 |
+ fperms 4750 /opt/VirtualBox/VBoxNetDHCP |
546 |
+ fperms 4750 /opt/VirtualBox/VBoxNetNAT |
547 |
+ |
548 |
+ if ! use headless ; then |
549 |
+ # Hardened build: Mark selected binaries set-user-ID-on-execution |
550 |
+ for each in VBox{SDL,Headless} VirtualBox; do |
551 |
+ fowners root:vboxusers /opt/VirtualBox/${each} |
552 |
+ fperms 4510 /opt/VirtualBox/${each} |
553 |
+ pax-mark -m "${D}"/opt/VirtualBox/${each} |
554 |
+ done |
555 |
+ |
556 |
+ dosym /opt/VirtualBox/VBox.sh /opt/bin/VirtualBox |
557 |
+ dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxSDL |
558 |
+ else |
559 |
+ # Hardened build: Mark selected binaries set-user-ID-on-execution |
560 |
+ fowners root:vboxusers /opt/VirtualBox/VBoxHeadless |
561 |
+ fperms 4510 /opt/VirtualBox/VBoxHeadless |
562 |
+ pax-mark -m "${D}"/opt/VirtualBox/VBoxHeadless |
563 |
+ fi |
564 |
+ |
565 |
+ exeinto /opt/VirtualBox |
566 |
+ newexe "${FILESDIR}/${PN}-3-wrapper" "VBox.sh" |
567 |
+ fowners root:vboxusers /opt/VirtualBox/VBox.sh |
568 |
+ fperms 0750 /opt/VirtualBox/VBox.sh |
569 |
+ |
570 |
+ dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxManage |
571 |
+ dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxVRDP |
572 |
+ dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxHeadless |
573 |
+ dosym /opt/VirtualBox/VBoxTunctl /opt/bin/VBoxTunctl |
574 |
+ |
575 |
+ # set an env-variable for 3rd party tools |
576 |
+ echo -n "VBOX_APP_HOME=/opt/VirtualBox" > "${T}/90virtualbox" |
577 |
+ doenvd "${T}/90virtualbox" |
578 |
+ |
579 |
+ local udevdir="$(get_udevdir)" |
580 |
+ insinto ${udevdir}/rules.d |
581 |
+ doins "${FILESDIR}"/10-virtualbox.rules |
582 |
+ sed "s@%UDEVDIR%@${udevdir}@" \ |
583 |
+ -i "${D}"${udevdir}/rules.d/10-virtualbox.rules || die |
584 |
+ # move udev scripts into ${udevdir} (bug #372491) |
585 |
+ mv "${D}"/opt/VirtualBox/VBoxCreateUSBNode.sh "${D}"${udevdir} || die |
586 |
+ fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh |
587 |
+} |
588 |
+ |
589 |
+pkg_postinst() { |
590 |
+ fdo-mime_desktop_database_update |
591 |
+ |
592 |
+ gnome2_icon_cache_update |
593 |
+ |
594 |
+ udevadm control --reload-rules && udevadm trigger --subsystem-match=usb |
595 |
+ |
596 |
+ elog "" |
597 |
+ if ! use headless ; then |
598 |
+ elog "To launch VirtualBox just type: \"VirtualBox\"" |
599 |
+ elog "" |
600 |
+ fi |
601 |
+ elog "You must be in the vboxusers group to use VirtualBox." |
602 |
+ elog "" |
603 |
+ elog "For advanced networking setups you should emerge:" |
604 |
+ elog "net-misc/bridge-utils and sys-apps/usermode-utilities" |
605 |
+ elog "" |
606 |
+ elog "Please visit http://www.virtualbox.org/wiki/Editions for" |
607 |
+ elog "an overview about the different features of ${PN}" |
608 |
+ elog "and virtualbox-ose" |
609 |
+ if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then |
610 |
+ elog "" |
611 |
+ elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\"" |
612 |
+ elog "or else USB in ${PN} won't work." |
613 |
+ fi |
614 |
+} |
615 |
+ |
616 |
+pkg_postrm() { |
617 |
+ fdo-mime_desktop_database_update |
618 |
+} |