Package: kernel-patch-openswan
Version: 1:2.4.4-3.1
Severity: grave
Tags: patch
Justification: renders package unusable
Trying to use make-kpkg to build a kernel package from
linux-source-2.6.15 version 2.6.15-8 and kernel-patch-openswan
1:2.4.4-3.1.
(I'm leaving out those files that were patched without problems.)
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
Applying NAT Traversal patch to networking subsystem.
awk: fatal: cannot open file `/usr/src/linux/Makefile' for reading (No such
file or directory)
make[1]: *** [nattpatch] Error 1
patch: **** Only garbage was found in the patch input.
The patch does not apply cleanly, skipping it. Please check manually
if your kernel already supports NAT Traversal (Debian kernel sources
might already be patched to do so).
Inserting KLIPS into kernel.
make[1]: Entering directory `/usr/src/kernel-patches/all/openswan'
Now performing forward patches
make kernelpatch2.6 | tee
/sw/WORK/Debian/Kernel/linux-source-2.6.15/openswan.patch | (cd
/sw/WORK/Debian/Kernel/linux-source-2.6.15 && patch -p1 -b -z .preipsec
--forward --ignore-whitespace )
...
patching file net/Kconfig
Hunk #1 FAILED at 105.
1 out of 1 hunk FAILED -- saving rejects to file net/Kconfig.rej
patching file net/Makefile
Hunk #1 succeeded at 49 (offset 7 lines).
...
patching file net/ipv4/af_inet.c
Hunk #1 succeeded at 1218 (offset 49 lines).
patching file net/ipsec/Makefile.ver
make[1]: *** [applypatch] Error 1
make[1]: Leaving directory `/usr/src/kernel-patches/all/openswan'
Patch /usr/src/kernel-patches/all/apply/openswan failed.
Replacing all/openswan/linux/net/Kconfig.fs2_6.patch with the following
makes the patch succeed:
------------------------------------------------------------------------
--- swan26/net/Kconfig.orig 2006-04-10 12:39:51.000000000 +0200
+++ swan26/net/Kconfig 2006-04-10 13:22:40.000000000 +0200
@@ -56,6 +56,7 @@
if INET
source "net/ipv4/Kconfig"
source "net/ipv6/Kconfig"
+source "net/ipsec/Kconfig"
endif # if INET
------------------------------------------------------------------------
I wonder what the awk error is about... I have my unpacked kernel source
in a different location.
Lupe Christoph
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (100, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-lpc.2.k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages kernel-patch-openswan depends on:
ii coreutils [fileutils] 5.94-1 The GNU core utilities
ii fileutils 5.94-1 The GNU file management utilities
Versions of packages kernel-patch-openswan recommends:
ii kernel-package 10.040 A utility for building Linux kerne
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]