X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=VirtualBox-export_modules.patch;h=3f7122601fa639b597eb2c20a9d0ab87b33addfb;hb=899738373229e456acac97c5cbc7b16546a89054;hp=93653b2ee59d3b385cf7e5e0723d7e3f9f11f659;hpb=3613936b92e19e4af311d22155e53992ba058c73;p=packages%2FVirtualBox.git diff --git a/VirtualBox-export_modules.patch b/VirtualBox-export_modules.patch index 93653b2..3f71226 100644 --- a/VirtualBox-export_modules.patch +++ b/VirtualBox-export_modules.patch @@ -16,26 +16,3 @@ # Only temporary, omit from archive rm $PATH_TMP/version-generated.h ---- VirtualBox-3.1.2_OSE/src/VBox/HostDrivers/linux/export_modules.org 2010-01-12 13:08:56.187604615 +0100 -+++ VirtualBox-3.1.2_OSE/src/VBox/HostDrivers/linux/export_modules 2010-01-12 13:14:32.244857217 +0100 -@@ -90,6 +92,20 @@ - sed -e "s;-DVBOX_WITH_HARDENING;;g" < $PATH_VBOXNET/linux/Makefile > $PATH_TMP/vboxnetflt/Makefile - fi - -+# vboxnetadp (VirtualBox host-only network kernel module) -+mkdir $PATH_TMP/vboxnetadp || exit 1 -+for f in $VBOX_VBOXNETADP_SOURCES; do -+ install -D -m 0644 `echo $f|cut -d'=' -f1` "$PATH_TMP/vboxnetadp/`echo $f|cut -d'>' -f2`" -+done -+sed -e "s;_VERSION_;$VBOX_VERSION_STRING;g" < $PATH_LINUX/build_in_tmp > $PATH_TMP/vboxnetadp/build_in_tmp -+chmod 0755 $PATH_TMP/vboxnetadp/build_in_tmp -+sed -e "s;_VERSION_;$VBOX_VERSION_STRING;g" < $PATH_VBOXADP/linux/dkms.conf > $PATH_TMP/vboxnetadp/dkms.conf -+if [ -n "$VBOX_WITH_HARDENING" ]; then -+ cat $PATH_VBOXADP/linux/Makefile > $PATH_TMP/vboxnetadp/Makefile -+else -+ sed -e "s;-DVBOX_WITH_HARDENING;;g" < $PATH_VBOXADP/linux/Makefile > $PATH_TMP/vboxnetadp/Makefile -+fi -+ - install -D -m 0644 $PATH_LINUX/Makefile $PATH_TMP/Makefile - - # Only temporary, omit from archive