[PC-BSD Commits] r17401 - in pbi/modules/emulators/virtualbox-ose: . scripts
svn at pcbsd.org
svn at pcbsd.org
Mon Jun 25 07:21:58 PDT 2012
Author: kenmoore
Date: 2012-06-25 14:21:58 +0000 (Mon, 25 Jun 2012)
New Revision: 17401
Modified:
pbi/modules/emulators/virtualbox-ose/pbi.conf
pbi/modules/emulators/virtualbox-ose/scripts/post-install.sh
Log:
Remove the group/gid stuff from the emulators/virtualbox-ose scripts and rebuild
Modified: pbi/modules/emulators/virtualbox-ose/pbi.conf
===================================================================
--- pbi/modules/emulators/virtualbox-ose/pbi.conf 2012-06-25 14:19:58 UTC (rev 17400)
+++ pbi/modules/emulators/virtualbox-ose/pbi.conf 2012-06-25 14:21:58 UTC (rev 17401)
@@ -31,7 +31,7 @@
PBI_MKPORTAFTER="devel/qt4"
# Set the build key
-PBI_BUILDKEY="18"
+PBI_BUILDKEY="19"
# This app needs to install as root
PBI_REQUIRESROOT="YES"
Modified: pbi/modules/emulators/virtualbox-ose/scripts/post-install.sh
===================================================================
--- pbi/modules/emulators/virtualbox-ose/scripts/post-install.sh 2012-06-25 14:19:58 UTC (rev 17400)
+++ pbi/modules/emulators/virtualbox-ose/scripts/post-install.sh 2012-06-25 14:21:58 UTC (rev 17401)
@@ -11,25 +11,6 @@
chmod 755 ${PBI_PROGDIRPATH}/bin/VirtualBox-wrapper
rm ${PBI_PROGDIRPATH}/bin/VirtualBox-wrapper.bak
-GROUP=vboxusers
-GID=920
-PW=/usr/sbin/pw
-
-# Remove old legacy vboxusers group
-if ${PW} group show "${GROUP}" | grep ':919:' 2>/dev/null; then
- ${PW} groupdel ${GROUP}
-fi
-
-if ${PW} group show "${GROUP}" 2>/dev/null; then
- echo "You already have a group \"${GROUP}\", so I will use it."
-else
- if ${PW} groupadd ${GROUP} -g ${GID}; then
- echo "Added group \"${GROUP}\"."
- else
- echo "Adding group \"${GROUP}\" failed..."
- fi
-fi
-
ln -fs ${PBI_PROGDIRPATH}/etc/rc.d/vboxnet /usr/local/etc/rc.d/vboxnet
grep '^vboxnet_enable="YES"' /etc/rc.conf >/dev/null 2>/dev/null
More information about the Commits
mailing list