[Openswan Users] patch natt & openswn 2.4.5

sasa sasa at shoponweb.it
Fri Apr 21 17:12:13 CEST 2006


Hi, on Fedora Core 3 with kernel 2.6.9-1.667 when I try to buil rpm for 
kernel with nat-t patch I have:

#rpmbuild -ba --target=i686  kernel-2.6.spec
...
...
+ for configfile in '*.config'
+ echo CONFIG_IPSEC_NAT_TRAVERSAL=y
/var/tmp/rpm-tmp.46656: line 371: $config: ambiguous redirect
error: Bad exit status from /var/tmp/rpm-tmp.46656 (%prep)

..before to build rpm I have followed this steps, I have modified 
'/usr/src/redhat/SPEC/kernel-2.6.spec' for add:

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

..the same procedure on same kernel version but with openswan-2.4.4 work 
fine.
thanks.

------
Salvatore.



More information about the Users mailing list