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