[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: freeswan from backports.org



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Antony Gelberg wrote:
| Anyone using the freeswan 2.01 from backports.org?  I have:
|   deb http://www.backports.org/debian stable freeswan
|   deb-src http://www.backports.org/debian stable freeswan
| at the top of my sources.list.
|
| However, upon make-kpkg...
<snip>
| * applying linux/net/Makefile.fs2_4.ipsec_alg.patch to
| * /usr/src/linux/net/Makefile...
| patching file Makefile
| Hunk #1 FAILED at 8.
This is a known problem of 2.01 when trying to apply it on Debian kernel
sources - it will only work on vanilla kernels. Updating to 2.04-3 (from
unstable) should solve the problem. Backporting it should be relatively
easy since I always try to compile in on woody too (I need it myself on
woody). You will only need current debhelper and debconf stuff.

| Alternatively, if someone can guide me to a guide on interpreting patch
| files, I can have a go at patching the patch.  In fact, here it is -
| it's very short:
Yes, it is, and for some cases not even complete :)
The quickest way to solve this is to
rm
/usr/src/kernel-patches/all/freeswan/linux/net/Makefile.fs2_4.ipsec_alg.patch
touch
/usr/src/kernel-patches/all/freeswan/linux/net/Makefile.fs2_4.ipsec_alg.patch

Then the make-kpkg debian will apply the freeswan patch correctly. After
that, manually edit net/Makefile and add the line
mod-subdirs +=  ipsec
after
mod-subdirs := ..... <whatever> ....

The reason why the patch doesn't apply cleanly on Debian kernel is
because of this line, which is different from the vanilla kernels.

| PS Rene, sorry for cluttering up your mailbox, but I need to resolve
| this quickly, and you could well have some insight.
It's holidays, so it's ok :)

Hope this helps,
Rene
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iEYEARECAAYFAj/wCu8ACgkQq7SPDcPCS94r2gCfXMe/7VGMndIr2HZdyPvXzG+p
pnsAoJlzYXzuP2Rr30fQQyhBhY7xQaUg
=uHwZ
-----END PGP SIGNATURE-----



Reply to: