1 |
polynomial-c 15/03/04 07:11:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: virtualbox-guest-additions-4.3.24.ebuild |
5 |
Removed: virtualbox-guest-additions-4.2.24.ebuild |
6 |
virtualbox-guest-additions-4.2.26.ebuild |
7 |
Log: |
8 |
Version bump (bug #540128). Removed old |
9 |
|
10 |
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC) |
11 |
|
12 |
Revision Changes Path |
13 |
1.155 app-emulation/virtualbox-guest-additions/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog?rev=1.155&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog?rev=1.155&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog?r1=1.154&r2=1.155 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog,v |
22 |
retrieving revision 1.154 |
23 |
retrieving revision 1.155 |
24 |
diff -u -r1.154 -r1.155 |
25 |
--- ChangeLog 22 Dec 2014 13:13:47 -0000 1.154 |
26 |
+++ ChangeLog 4 Mar 2015 07:11:45 -0000 1.155 |
27 |
@@ -1,6 +1,14 @@ |
28 |
# ChangeLog for app-emulation/virtualbox-guest-additions |
29 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog,v 1.154 2014/12/22 13:13:47 polynomial-c Exp $ |
31 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
32 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog,v 1.155 2015/03/04 07:11:45 polynomial-c Exp $ |
33 |
+ |
34 |
+*virtualbox-guest-additions-4.3.24 (04 Mar 2015) |
35 |
+ |
36 |
+ 04 Mar 2015; Lars Wendler <polynomial-c@g.o> |
37 |
+ -virtualbox-guest-additions-4.2.24.ebuild, |
38 |
+ -virtualbox-guest-additions-4.2.26.ebuild, |
39 |
+ +virtualbox-guest-additions-4.3.24.ebuild: |
40 |
+ Version bump (bug #540128). Removed old. |
41 |
|
42 |
22 Dec 2014; Lars Wendler <polynomial-c@g.o> |
43 |
-virtualbox-guest-additions-4.3.16.ebuild, |
44 |
|
45 |
|
46 |
|
47 |
1.1 app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.3.24.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.3.24.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.3.24.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: virtualbox-guest-additions-4.3.24.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2015 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.3.24.ebuild,v 1.1 2015/03/04 07:11:45 polynomial-c Exp $ |
57 |
|
58 |
EAPI=5 |
59 |
|
60 |
inherit eutils linux-mod systemd user |
61 |
|
62 |
MY_PV="${PV/beta/BETA}" |
63 |
MY_PV="${MY_PV/rc/RC}" |
64 |
MY_P=VirtualBox-${MY_PV} |
65 |
DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests" |
66 |
HOMEPAGE="http://www.virtualbox.org/" |
67 |
SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2" |
68 |
|
69 |
LICENSE="GPL-2" |
70 |
SLOT="0" |
71 |
KEYWORDS="~amd64 ~x86" |
72 |
IUSE="X" |
73 |
|
74 |
RDEPEND="X? ( ~x11-drivers/xf86-video-virtualbox-${PV} |
75 |
x11-apps/xrandr |
76 |
x11-apps/xrefresh |
77 |
x11-libs/libXmu |
78 |
x11-libs/libX11 |
79 |
x11-libs/libXt |
80 |
x11-libs/libXext |
81 |
x11-libs/libXau |
82 |
x11-libs/libXdmcp |
83 |
x11-libs/libSM |
84 |
x11-libs/libICE |
85 |
x11-proto/glproto ) |
86 |
sys-apps/dbus |
87 |
!!x11-drivers/xf86-input-virtualbox" |
88 |
DEPEND="${RDEPEND} |
89 |
>=dev-util/kbuild-0.1.9998_pre20131130 |
90 |
>=dev-lang/yasm-0.6.2 |
91 |
sys-devel/bin86 |
92 |
sys-libs/pam |
93 |
sys-power/iasl |
94 |
X? ( x11-proto/renderproto ) |
95 |
!X? ( x11-proto/xproto )" |
96 |
|
97 |
BUILD_TARGETS="all" |
98 |
BUILD_TARGET_ARCH="${ARCH}" |
99 |
MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest) |
100 |
vboxsf(misc:${WORKDIR}/vboxsf:${WORKDIR}/vboxsf)" |
101 |
|
102 |
S="${WORKDIR}/${MY_P}" |
103 |
|
104 |
pkg_setup() { |
105 |
linux-mod_pkg_setup |
106 |
BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" |
107 |
enewgroup vboxguest |
108 |
enewuser vboxguest -1 /bin/sh /dev/null vboxguest |
109 |
# automount Error: VBoxServiceAutoMountWorker: Group "vboxsf" does not exist |
110 |
enewgroup vboxsf |
111 |
} |
112 |
|
113 |
src_unpack() { |
114 |
unpack ${A} |
115 |
|
116 |
# Create and unpack a tarball with the sources of the Linux guest |
117 |
# kernel modules, to include all the needed files |
118 |
"${S}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz" |
119 |
unpack ./vbox-kmod.tar.gz |
120 |
|
121 |
# Remove shipped binaries (kBuild,yasm), see bug #232775 |
122 |
cd "${S}" |
123 |
rm -rf kBuild/bin tools |
124 |
} |
125 |
|
126 |
src_prepare() { |
127 |
# PaX fixes (see bug #298988) |
128 |
pushd "${WORKDIR}" &>/dev/null || die |
129 |
epatch "${FILESDIR}"/vboxguest-4.1.0-log-use-c99.patch |
130 |
popd &>/dev/null || die |
131 |
|
132 |
# Disable things unused or splitted into separate ebuilds |
133 |
cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk || die |
134 |
|
135 |
# stupid new header references... |
136 |
for vboxheader in {product,revision}-generated.h ; do |
137 |
for mdir in vbox{guest,sf} ; do |
138 |
ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \ |
139 |
"${WORKDIR}/${mdir}/${vboxheader}" |
140 |
done |
141 |
done |
142 |
} |
143 |
|
144 |
src_configure() { |
145 |
# build the user-space tools, warnings are harmless |
146 |
./configure --nofatal \ |
147 |
--disable-xpcom \ |
148 |
--disable-sdl-ttf \ |
149 |
--disable-pulse \ |
150 |
--disable-alsa \ |
151 |
--build-headless || die "configure failed" |
152 |
} |
153 |
|
154 |
src_compile() { |
155 |
source ./env.sh |
156 |
|
157 |
for each in /src/VBox/{Runtime,Additions/common} \ |
158 |
/src/VBox/Additions/linux/sharedfolders ; do |
159 |
cd "${S}"${each} || die |
160 |
MAKE="kmk" \ |
161 |
emake TOOL_YASM_AS=yasm \ |
162 |
KBUILD_VERBOSE=2 |
163 |
done |
164 |
|
165 |
if use X; then |
166 |
cd "${S}"/src/VBox/Additions/x11/VBoxClient || die |
167 |
MAKE="kmk" \ |
168 |
emake TOOL_YASM_AS=yasm \ |
169 |
KBUILD_PATH="${S}/kBuild" |
170 |
fi |
171 |
|
172 |
# Now creating the kernel modules. We must do this _after_ |
173 |
# we compiled the user-space tools as we need two of the |
174 |
# automatically generated header files. (>=3.2.0) |
175 |
linux-mod_src_compile |
176 |
} |
177 |
|
178 |
src_install() { |
179 |
linux-mod_src_install |
180 |
|
181 |
cd "${S}"/out/linux.${ARCH}/release/bin/additions || die |
182 |
|
183 |
insinto /sbin |
184 |
newins mount.vboxsf mount.vboxsf |
185 |
fperms 4755 /sbin/mount.vboxsf |
186 |
|
187 |
newinitd "${FILESDIR}"/${PN}-8.initd ${PN} |
188 |
|
189 |
insinto /usr/sbin/ |
190 |
newins VBoxService vboxguest-service |
191 |
fperms 0755 /usr/sbin/vboxguest-service |
192 |
|
193 |
insinto /usr/bin |
194 |
doins VBoxControl |
195 |
fperms 0755 /usr/bin/VBoxControl |
196 |
|
197 |
# VBoxClient user service and xrandr wrapper |
198 |
if use X ; then |
199 |
doins VBoxClient |
200 |
fperms 0755 /usr/bin/VBoxClient |
201 |
|
202 |
pushd "${S}"/src/VBox/Additions/x11/Installer &>/dev/null \ |
203 |
|| die |
204 |
newins 98vboxadd-xclient VBoxClient-all |
205 |
fperms 0755 /usr/bin/VBoxClient-all |
206 |
popd &>/dev/null || die |
207 |
fi |
208 |
|
209 |
# udev rule for vboxdrv |
210 |
local udev_rules_dir="/lib/udev/rules.d" |
211 |
dodir ${udev_rules_dir} |
212 |
echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \ |
213 |
>> "${D}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \ |
214 |
|| die |
215 |
echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \ |
216 |
>> "${D}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \ |
217 |
|| die |
218 |
|
219 |
# VBoxClient autostart file |
220 |
insinto /etc/xdg/autostart |
221 |
doins "${FILESDIR}"/vboxclient.desktop |
222 |
|
223 |
# sample xorg.conf |
224 |
insinto /usr/share/doc/${PF} |
225 |
doins "${FILESDIR}"/xorg.conf.vbox |
226 |
|
227 |
systemd_dounit "${FILESDIR}/${PN}.service" |
228 |
} |
229 |
|
230 |
pkg_postinst() { |
231 |
linux-mod_pkg_postinst |
232 |
if ! use X ; then |
233 |
elog "use flag X is off, enable it to install the" |
234 |
elog "X Window System video driver." |
235 |
fi |
236 |
elog "" |
237 |
elog "Please add users to the \"vboxguest\" group so they can" |
238 |
elog "benefit from seamless mode, auto-resize and clipboard." |
239 |
elog "" |
240 |
elog "The vboxsf group has been added to make automount services work." |
241 |
elog "These services are part of the shared folders support." |
242 |
elog "" |
243 |
elog "Please add:" |
244 |
elog "/etc/init.d/${PN}" |
245 |
elog "to the default runlevel in order to start" |
246 |
elog "needed services." |
247 |
elog "To use the VirtualBox X driver, use the following" |
248 |
elog "file as your /etc/X11/xorg.conf:" |
249 |
elog " /usr/share/doc/${PF}/xorg.conf.vbox" |
250 |
elog "" |
251 |
elog "Also make sure you use the Mesa library for OpenGL:" |
252 |
elog " eselect opengl set xorg-x11" |
253 |
elog "" |
254 |
elog "An autostart .desktop file has been installed to start" |
255 |
elog "VBoxClient in desktop sessions." |
256 |
elog "" |
257 |
elog "You can mount shared folders with:" |
258 |
elog " mount -t vboxsf <shared_folder_name> <mount_point>" |
259 |
elog "" |
260 |
elog "Warning:" |
261 |
elog "this ebuild is only needed if you are running gentoo" |
262 |
elog "inside a VirtualBox Virtual Machine, you don't need" |
263 |
elog "it to run VirtualBox itself." |
264 |
elog "" |
265 |
} |