rpms/VirtualBox-OSE-kmod/devel VirtualBox-OSE-kmod.spec,1.19,1.20

Lubomir Rintel lkundrak at rpmfusion.org
Sat Aug 15 19:00:57 CEST 2009


Author: lkundrak

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

Modified Files:
	VirtualBox-OSE-kmod.spec 
Log Message:
* Sat Aug 15 2009 Lubomir Rintel <lkundrak at v3.sk> - 3.0.4-2
- Make it possible to disable hardening, do so by default



Index: VirtualBox-OSE-kmod.spec
===================================================================
RCS file: /cvs/free/rpms/VirtualBox-OSE-kmod/devel/VirtualBox-OSE-kmod.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- VirtualBox-OSE-kmod.spec	9 Aug 2009 14:25:29 -0000	1.19
+++ VirtualBox-OSE-kmod.spec	15 Aug 2009 17:00:57 -0000	1.20
@@ -5,9 +5,12 @@
 # a new akmod package will only get build when a new one is actually needed
 #define buildforkernels newest
 
+# Allow only root to access vboxdrv regardless of the file mode
+%bcond_with hardening
+
 Name:           VirtualBox-OSE-kmod
 Version:        3.0.4
-Release:        2%{?dist}
+Release:        3%{?dist}
 
 Summary:        Kernel module for VirtualBox-OSE
 Group:          System Environment/Kernel
@@ -47,6 +50,9 @@
 # print kmodtool output for debugging purposes:
 kmodtool --target %{_target_cpu}  --repo rpmfusion --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} --filterfile %{SOURCE1} 2>/dev/null
 
+# This is hardcoded in Makefiles
+# Kto zisti, preco tu nefunguje %%without hardening ma u mna nanuk
+%{?with_hardening:find %{name}-%{version} -name Makefile |xargs sed 's/-DVBOX_WITH_HARDENING//' -i}
 
 for kernel_version in %{?kernel_versions} ; do
     cp -al %{name}-%{version} _kmod_build_${kernel_version%%___*}
@@ -85,6 +91,9 @@
 
 
 %changelog
+* Sat Aug 15 2009 Lubomir Rintel <lkundrak at v3.sk> - 3.0.4-2
+- Make it possible to disable hardening, do so by default
+
 * Sun Aug 09 2009 Lubomir Rintel <lkundrak at v3.sk> - 3.0.4-1
 - New release
 - Check that we build all modules present



More information about the rpmfusion-commits mailing list