"Alexander Dalloz" wrote: >Ok, please do the following: undo the manual change to the .config file >in the SOURCES dir and add following to the kernel-2.6.spec: >for configfile in *.config >do > echo "CONFIG_IPSEC_NAT_TRAVERSAL=y" >> $configfile >done ..ok, I have removed in the: /usr/src/redhat/SOURCES/kernel-2.6.12-i686.config the line: CONFIG_IPSEC_NAT_TRAVERSAL=y ..after this I have modified the file "/usr/src/redhat/SPECS/kernel-2.6.spec" in order to add: for configfile in *.config do echo "CONFIG_IPSEC_NAT_TRAVERSAL=y" >> $configfile done ..then I execute: #rpmbuild -bp --target=i686 kernel-2.6.spec ..and the result is: Building target platforms: i686 Building for target i686 [cut] + echo 'Patch #1961 (openswan-2.4.0.kernel-2.6-natt.patch):' Patch #1961 (openswan-2.4.0.kernel-2.6-natt.patch): + patch -p1 -s [cut] + for configfile in '*.config' + echo CONFIG_IPSEC_NAT_TRAVERSAL=y + for configfile in '*.config' + echo CONFIG_IPSEC_NAT_TRAVERSAL=y + for configfile in '*.config' + echo CONFIG_IPSEC_NAT_TRAVERSAL=y + for configfile in '*.config' + echo CONFIG_IPSEC_NAT_TRAVERSAL=y [cut] + find . -name '*~' -exec rm -fv '{}' ';' + exit 0 ..now it's all ok ??!!...sorry but as I can make in order to visualize the patch installed ? now I do not have to make nobody other operation in order to apply the patch ? still thanks. Salvatore.