summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app-emulation/virtualbox/Manifest2
-rw-r--r--app-emulation/virtualbox/virtualbox-4.0.12.ebuild11
2 files changed, 10 insertions, 3 deletions
diff --git a/app-emulation/virtualbox/Manifest b/app-emulation/virtualbox/Manifest
index 8e4f1c4..d06dc44 100644
--- a/app-emulation/virtualbox/Manifest
+++ b/app-emulation/virtualbox/Manifest
@@ -18,4 +18,4 @@ AUX virtualbox-ose-asneeded.patch 516 RMD160 28adba1239f394e37a3d1955bb07908868e
AUX virtualbox-ose-vnc.patch 2509 RMD160 7c3fa2d923ac9812ede7e3995c5efa729da17772 SHA1 0837f80aefabf3e9c98786e0f6a88d6362d8f0aa SHA256 c1277fd6d0fb0411a1da921f11e40f7c8fa17d8f0b250a03393ad0d8c59225a5
AUX virtualbox-ose.desktop-2 201 RMD160 9cf3ef83d1fda93142d192b0bb4eae9d6dc62118 SHA1 58d6c89123034510476a65a8b4836fac5d0c57aa SHA256 fa7fc3dae940e768560559db944289c578acb691db2dcb51c8c85bfaf3298a25
DIST VirtualBox-4.0.12.tar.bz2 69566771 RMD160 f25d361c19d25a883918b0e8f2ae9bc1c2dd83e8 SHA1 9e49c6a5a7b7b224a970655643cce52aac43eb0c SHA256 0175c4118af1f9633f33a055a0b0cc0b5a2d95a63b44269af2139eb2fd07e5a9
-EBUILD virtualbox-4.0.12.ebuild 11914 RMD160 82092f83b833380dfff8000d6057639c48bf56a8 SHA1 abfe0879ddb5632af83473315644bbdf6cf5dd99 SHA256 38e527ff84adc9c678b3464e07f3df3417ccad3309f42ff2f7f2ff357859c361
+EBUILD virtualbox-4.0.12.ebuild 12220 RMD160 20e2a4c9501412c45157b6b3775c987ccf970335 SHA1 8e2270bbc13ad2eaf18c861623c22879062bd015 SHA256 c3aa62463f48caaaa12f038ceeeb16ec6f95a37f2433bd678adf4c58e66dc477
diff --git a/app-emulation/virtualbox/virtualbox-4.0.12.ebuild b/app-emulation/virtualbox/virtualbox-4.0.12.ebuild
index 9d0ae18..99c4ca2 100644
--- a/app-emulation/virtualbox/virtualbox-4.0.12.ebuild
+++ b/app-emulation/virtualbox/virtualbox-4.0.12.ebuild
@@ -22,7 +22,7 @@ HOMEPAGE="http://www.virtualbox.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE="+additions alsa doc extensions headless java pulseaudio +opengl python +qt4 +sdk vboxwebsrv vnc"
+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}
@@ -56,7 +56,7 @@ DEPEND="${RDEPEND}
sys-devel/dev86
sys-power/iasl
media-libs/libpng
- sys-libs/pam
+ pam? ( sys-libs/pam )
sys-libs/libcap
doc? (
dev-texlive/texlive-basic
@@ -145,6 +145,13 @@ src_prepare() {
sed -e "s/MY_LIBDIR/$(get_libdir)/" \
"${FILESDIR}"/${PN}-4-localconfig > LocalConfig.kmk || die
+ # Use PAM only when wanted
+ 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/^.*VBoxAuth_SOURCES.\(linux\|freebsd\).*//' src/VBox/HostServices/auth/Makefile.kmk || die
+ fi
+
# unset useless/problematic checks in configure
epatch "${FILESDIR}/${PN}-ose-3.2.8-mesa-check.patch" \
"${FILESDIR}/${PN}-4-makeself-check.patch" \