rpms/VirtualBox-OSE/devel VirtualBox-OSE-90-vboxdrv.rules.hardening, NONE, 1.1 VirtualBox-OSE-90-vboxdrv.rules, 1.3, 1.4 VirtualBox-OSE.spec, 1.26, 1.27

Lubomir Rintel lkundrak at rpmfusion.org
Sat Aug 22 00:07:58 CEST 2009


Author: lkundrak

Update of /cvs/free/rpms/VirtualBox-OSE/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv6563

Modified Files:
	VirtualBox-OSE-90-vboxdrv.rules VirtualBox-OSE.spec 
Added Files:
	VirtualBox-OSE-90-vboxdrv.rules.hardening 
Log Message:
* Sat Aug 22 2009 Lubomir Rintel <lkundrak at v3.sk> - 3.0.4-7
- Correct the path in udev rule and adjust for non-hardening



--- NEW FILE VirtualBox-OSE-90-vboxdrv.rules.hardening ---
ACTION=="add", DEVPATH=="/devices/virtual/misc/vboxdrv", OWNER="root", MODE="0666"
ACTION=="add", DEVPATH=="/devices/virtual/misc/vboxnetctl", OWNER="root", MODE="0666"


Index: VirtualBox-OSE-90-vboxdrv.rules
===================================================================
RCS file: /cvs/free/rpms/VirtualBox-OSE/devel/VirtualBox-OSE-90-vboxdrv.rules,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- VirtualBox-OSE-90-vboxdrv.rules	19 Aug 2009 05:30:12 -0000	1.3
+++ VirtualBox-OSE-90-vboxdrv.rules	21 Aug 2009 22:07:57 -0000	1.4
@@ -1 +1,2 @@
-ACTION=="add", DEVPATH=="/class/misc/vboxdrv", OWNER="root", MODE="0666"
+ACTION=="add", DEVPATH=="/devices/virtual/misc/vboxdrv", OWNER="root", MODE="0600"
+ACTION=="add", DEVPATH=="/devices/virtual/misc/vboxnetctl", OWNER="root", MODE="0600"


Index: VirtualBox-OSE.spec
===================================================================
RCS file: /cvs/free/rpms/VirtualBox-OSE/devel/VirtualBox-OSE.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- VirtualBox-OSE.spec	20 Aug 2009 07:22:25 -0000	1.26
+++ VirtualBox-OSE.spec	21 Aug 2009 22:07:57 -0000	1.27
@@ -24,7 +24,7 @@
 
 Name:           VirtualBox-OSE
 Version:        3.0.4
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        A general-purpose full virtualizer for PC hardware
 
 Group:          Development/Tools
@@ -32,7 +32,8 @@
 URL:            http://www.virtualbox.org/wiki/VirtualBox
 Source0:        http://dlc.sun.com/virtualbox/%{version}/VirtualBox-%{version}-OSE.tar.bz2
 Source1:        http://download.virtualbox.org/virtualbox/%{version}/UserManual.pdf
-Source4:        VirtualBox-OSE-90-vboxdrv.rules
+Source3:        VirtualBox-OSE-90-vboxdrv.rules
+Source4:        VirtualBox-OSE-90-vboxdrv.rules.hardening
 Source5:        VirtualBox-OSE-60-vboxadd.rules
 Source6:        VirtualBox-OSE.modules
 Source7:        VirtualBox-OSE-guest.modules
@@ -304,8 +305,8 @@
 echo 'INSTALL_DIR=%{_libdir}/virtualbox' > $RPM_BUILD_ROOT/%{_sysconfdir}/vbox/vbox.cfg
 
 # Install udev rules
-install -p -m 0644 -D %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/90-vboxdrv.rules
-install -p -m 0644 -D %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/60-vboxadd.rules
+%define vboxdrv_udev %{?with_hardening:%{SOURCE4}}%{?!with_hardening:%{SOURCE3}}
+install -p -m 0644 -D %{vboxdrv_udev} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/60-vboxadd.rules
 
 # Install modules load script
 install -p -m 0755 -D %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules/%{name}.modules
@@ -446,6 +447,9 @@
 
 
 %changelog
+* Sat Aug 22 2009 Lubomir Rintel <lkundrak at v3.sk> - 3.0.4-7
+- Correct the path in udev rule and adjust for non-hardening
+
 * Thu Aug 20 2009 Lubomir Rintel <lkundrak at v3.sk> - 3.0.4-6
 - No exceptions in R0 code, should fix unresolved symbol problem
 



More information about the rpmfusion-commits mailing list