File openswan_99_kmp.dif of Package openswan

diff -Nur openswan-2.6.37-orig//Makefile openswan-2.6.37/Makefile
--- openswan-2.6.37-orig//Makefile	2011-10-28 23:11:53.000000000 +0200
+++ openswan-2.6.37/Makefile	2011-12-09 10:38:52.000000000 +0100
@@ -478,14 +478,14 @@
 		exit 93 ; \
 	fi ; \
 	set -x ; \
-	mkdir -p $$OSMODLIB/kernel/$(OSMOD_DESTDIR) ; \
-	cp $(MOD26BUILDDIR)/ipsec.ko $$OSMODLIB/kernel/$(OSMOD_DESTDIR) ; \
+	mkdir -p $$OSMODLIB/updates/$(OSMOD_DESTDIR) ; \
+	cp $(MOD26BUILDDIR)/ipsec.ko $$OSMODLIB/updates/$(OSMOD_DESTDIR) ; \
 	if [ -f /sbin/depmod ] ; then /sbin/depmod -a ; fi; \
 	if [ -n "$(OSMOD_DESTDIR)" ] ; then \
-	mkdir -p $$OSMODLIB/kernel/$(OSMOD_DESTDIR) ; \
-		if [ -f $$OSMODLIB/kernel/ipsec.ko -a -f $$OSMODLIB/kernel/$(OSMOD_DESTDIR)/ipsec.ko ] ; then \
-			echo "WARNING: two ipsec.ko modules found in $$OSMODLIB/kernel:" ; \
-			ls -l $$OSMODLIB/kernel/ipsec.ko $$OSMODLIB/kernel/$(OSMOD_DESTDIR)/ipsec.ko ; \
+	mkdir -p $$OSMODLIB/updates/$(OSMOD_DESTDIR) ; \
+		if [ -f $$OSMODLIB/updates/ipsec.ko -a -f $$OSMODLIB/updates/$(OSMOD_DESTDIR)/ipsec.ko ] ; then \
+			echo "WARNING: two ipsec.ko modules found in $$OSMODLIB/updates:" ; \
+			ls -l $$OSMODLIB/updates/ipsec.ko $$OSMODLIB/updates/$(OSMOD_DESTDIR)/ipsec.ko ; \
 			exit 1; \
 		fi ; \
 	fi ; \
openSUSE Build Service is sponsored by