[Openswan Users] rpm for fc3 & nat-t

sasa sasa at shoponweb.it
Wed Oct 5 15:01:01 CEST 2005


"Paul Wouters" wrote:

> the easiest way to create these is to 'rpmbuild -bp' the kernel, patch it
> with the nat-t patch, diff that to the original rpmbuild -bp tree, and
> include that diff as a patch in the kernel spec file and rebuild.

..I have put the file 'openswan-2.4.0.kernel-2.6-natt.patch' in:

/usr/src/redhat/SOURCES

..where are already other file .patch.
Then I have modified the '/usr/src/redhat/SPECS/kernel-2.6.spec' and I have inserted:

Patch2020: openswan-2.4.0.kernel-2.6-natt.patch
..
..
%patch2020 -p1

..then I execute:

#rpmbuild -bp --target=i686 kernel.spec

..but I have the following error:

CONFIG_IPSEC_NAT_TRAVERSAL
make[1]: *** [nonint_oldconfig] Error 1
make: *** [nonint_oldconfig] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.56626 (%prep)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.56626 (%prep)

why ?? where is the my mistake ??
still thanks.

        Salvatore.





More information about the Users mailing list