Package: kernel-patch-openswan Version: 1:2.2.0-8 Severity: normal
I'm trying to apply the openswan kernel patch to the 2.6.8 kernel to get KLIPS to work. From the message below, it looks like the patch is not applied, although I was able to get a finished *.deb file. Here is the command I use: fakeroot make-kpkg --append-to-version -2-686-openswan --added-patches openswan --initrd kernel_image And the output: # work around idiocy in recent kernel versions test ! -e scripts/package/builddeb || \ mv -f scripts/package/builddeb scripts/package/builddeb.dist test ! -e scripts/package/Makefile || \ (mv -f scripts/package/Makefile scripts/package/Makefile.dist && \ (echo "# Dummy file "; echo "help:") > scripts/package/Makefile)test ! -f stamp-debian && test ! -f debian/official && \ rm -rf ./debian && mkdir ./debian test -f applied_patches && rm -f applied_patches make: [stamp-debian] Error 1 (ignored) for patch in /usr/src/kernel-patches/all/apply/openswan ; do \ if test -x $patch; then \ if $patch; then \ echo "Patch $patch processed fine"; \ echo "$patch" >> applied_patches; \ else \ echo "Patch $patch failed."; \ echo "Hit return to Continue"; \ read ans; \ fi; \ fi; \ done make[1]: Entering directory `/usr/src/kernel-patches/all/openswan' if [ -f /home/rasmussenj/src/openswan/kernel-source-2.6.8/openswan.patch ]; then \ echo Undoing previous patches; \ cat /home/rasmussenj/src/openswan/kernel-source-2.6.8/openswan.patch | (cd /home/rasmussenj/src/openswan/kernel-source-2.6.8 && patch -p1 -R --force -E -z .preipsec --reverse --ignore-whitespace ); \ fi Undoing previous patches patch: **** Only garbage was found in the patch input. make[1]: [unapplypatch] Error 2 (ignored) echo Now performing forward patches; Now performing forward patches make kernelpatch2.6 | tee /home/rasmussenj/src/openswan/kernel-source-2.6.8/openswan.patch | (cd /home/rasmussenj/src/openswan/kernel-source-2.6.8 && patch -p1 -b -z .preipsec --forward --ignore-whitespace ) make[2]: *** No rule to make target `kernelpatch2.6'. Stop. patch: **** Only garbage was found in the patch input. make[1]: *** [applypatch] Error 2 make[1]: Leaving directory `/usr/src/kernel-patches/all/openswan' Patch /usr/src/kernel-patches/all/apply/openswan failed. -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.6.8-2-686 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages kernel-patch-openswan depends on: ii coreutils [fileutils] 5.2.1-2 The GNU core utilities ii fileutils 5.2.1-2 The GNU file management utilities -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]