app-emulation/virtualbox: Only place VRDPAuth.so with USE="pam".
authorLars Wendler <polynomial-c@gentoo.org>
Tue, 2 Jan 2018 16:20:01 +0000 (17:20 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Tue, 2 Jan 2018 16:33:42 +0000 (17:33 +0100)
Closes: https://bugs.gentoo.org/643120
Package-Manager: Portage-2.3.19, Repoman-2.3.6

app-emulation/virtualbox/virtualbox-5.1.30.ebuild
app-emulation/virtualbox/virtualbox-5.2.2.ebuild
app-emulation/virtualbox/virtualbox-5.2.4.ebuild

index 9a20365745ccd21675dbd34dd03e9d9809f2441f..31a7801b26bc5741e857f01dae962397dafd9223 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -316,8 +316,10 @@ src_install() {
        done
        dosym ${vbox_inst_path}/VBoxTunctl /usr/bin/VBoxTunctl
 
-       # VRDPAuth only works with this (bug #351949)
-       dosym VBoxAuth.so ${vbox_inst_path}/VRDPAuth.so
+       if use pam ; then
+               # VRDPAuth only works with this (bug #351949)
+               dosym VBoxAuth.so ${vbox_inst_path}/VRDPAuth.so
+       fi
 
        # set an env-variable for 3rd party tools
        echo -n "VBOX_APP_HOME=${vbox_inst_path}" > "${T}/90virtualbox"
index f6ef3647989fc7b216f128c76d28cd08145b9b3c..292349146a955f748fff3eaebdcae1aad0920247 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -316,8 +316,10 @@ src_install() {
        done
        dosym ${vbox_inst_path}/VBoxTunctl /usr/bin/VBoxTunctl
 
-       # VRDPAuth only works with this (bug #351949)
-       dosym VBoxAuth.so ${vbox_inst_path}/VRDPAuth.so
+       if use pam ; then
+               # VRDPAuth only works with this (bug #351949)
+               dosym VBoxAuth.so ${vbox_inst_path}/VRDPAuth.so
+       fi
 
        # set an env-variable for 3rd party tools
        echo -n "VBOX_APP_HOME=${vbox_inst_path}" > "${T}/90virtualbox"
index f6ef3647989fc7b216f128c76d28cd08145b9b3c..292349146a955f748fff3eaebdcae1aad0920247 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -316,8 +316,10 @@ src_install() {
        done
        dosym ${vbox_inst_path}/VBoxTunctl /usr/bin/VBoxTunctl
 
-       # VRDPAuth only works with this (bug #351949)
-       dosym VBoxAuth.so ${vbox_inst_path}/VRDPAuth.so
+       if use pam ; then
+               # VRDPAuth only works with this (bug #351949)
+               dosym VBoxAuth.so ${vbox_inst_path}/VRDPAuth.so
+       fi
 
        # set an env-variable for 3rd party tools
        echo -n "VBOX_APP_HOME=${vbox_inst_path}" > "${T}/90virtualbox"