[PC-BSD Commits] r22033 - in pbi/modules/emulators/virtualbox-ose: . scripts

svn at pcbsd.org svn at pcbsd.org
Tue Apr 2 14:33:14 PDT 2013


Author: kris
Date: 2013-04-02 21:33:13 +0000 (Tue, 02 Apr 2013)
New Revision: 22033

Modified:
   pbi/modules/emulators/virtualbox-ose/pbi.conf
   pbi/modules/emulators/virtualbox-ose/scripts/post-install.sh
   pbi/modules/emulators/virtualbox-ose/scripts/post-portmake.sh
Log:

Fix the VirtualBox PBI and rebuild the latest version



Modified: pbi/modules/emulators/virtualbox-ose/pbi.conf
===================================================================
--- pbi/modules/emulators/virtualbox-ose/pbi.conf	2013-04-02 17:19:27 UTC (rev 22032)
+++ pbi/modules/emulators/virtualbox-ose/pbi.conf	2013-04-02 21:33:13 UTC (rev 22033)
@@ -29,7 +29,7 @@
 PBI_MKPORTAFTER="devel/qt4"
 
 # Set the build key
-PBI_BUILDKEY="26"
+PBI_BUILDKEY="27"
 #PBI_PROGREVISION="01"; export PBI_PROGREVISION
 
 # This app needs to install as root

Modified: pbi/modules/emulators/virtualbox-ose/scripts/post-install.sh
===================================================================
--- pbi/modules/emulators/virtualbox-ose/scripts/post-install.sh	2013-04-02 17:19:27 UTC (rev 22032)
+++ pbi/modules/emulators/virtualbox-ose/scripts/post-install.sh	2013-04-02 21:33:13 UTC (rev 22033)
@@ -20,3 +20,6 @@
   echo "vboxnet_enable=\"YES\"" >> /etc/rc.conf
 fi
 /usr/local/etc/rc.d/vboxnet start
+
+# To fix a security issue with VB complaining about invalid root permissions
+chown root:wheel ${PBI_PROGDIRPATH}

Modified: pbi/modules/emulators/virtualbox-ose/scripts/post-portmake.sh
===================================================================
--- pbi/modules/emulators/virtualbox-ose/scripts/post-portmake.sh	2013-04-02 17:19:27 UTC (rev 22032)
+++ pbi/modules/emulators/virtualbox-ose/scripts/post-portmake.sh	2013-04-02 21:33:13 UTC (rev 22033)
@@ -39,7 +39,9 @@
   make
   make install
   if [ $? -ne 0 ] ; then echo "Failed building kmod..." exit 1 ; fi
-  cp -R /boot/modules ${PBI_PROGDIRPATH}/modules${rel}
+  cp -R /boot/kernel/vboxdrv.ko ${PBI_PROGDIRPATH}/modules${rel}
+  cp -R /boot/kernel/vboxnetadp.ko ${PBI_PROGDIRPATH}/modules${rel}
+  cp -R /boot/kernel/vboxnetflt.ko ${PBI_PROGDIRPATH}/modules${rel}
 done
 
 # Remove built-in virtualbox desktop file



More information about the Commits mailing list