Patch natt & kernel 2.4

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

 



Hi, on FC3 with kernel 2.6 for to apply nat-t patch I follow this steps..modify:

'/usr/src/redhat/SPEC/kernel-2.6.spec'

for add:

Patch607: openswan-2.4.5.kernel-2.6-natt.patch
..
%patch607 -p1
...
cp -fv %{all_arch_configs}
for configfile in *.config
do
 echo "CONFIG_IPSEC_NAT_TRAVERSAL=y" >> $configfile
done

..after this from '/usr/src/redhat/SPECS' I run:

#rpmbuild -ba --target=i686  kernel-2.6.spec

..now with Fedora Core 1 with kernel 2.4.22-1.2115.nptl with same steps, in particular in kernel-2.4.spec I have insert (my PC is with i686 processor):

cp -fv $RPM_SOURCE_DIR/kernel-%{kversion}-i?86*.config configs
for configfile in *.config
do
 echo "CONFIG_IPSEC_NAT_TRAVERSAL=y">>$configfile
done

..but I have the error message:
The following defaults are missing:
IPSEC NAT-Traversal (CONFIG_IPSEC_NAT_TRAVERSAL) [N/y/?]
make: *** [oldconfig_nonint] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.68477 (%build)

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

.. pheraps I must use another procedure ??
thanks.

------
Salvatore.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux