Re: [Ipsec-tools-devel] Install ipsec-tool from source
Brought to you by:
mit_warlord,
netbsd
From: Toure M. <mam...@vi...> - 2010-07-23 22:24:03
|
Hi, all I've get the source from By : cvs -da...@an...:/cvsroot co ipsec-tools And patch by : patch -Np1 -i ../2179-001.bin The ouput is : +++++++++++++++++++++++++++++++++ patching file src/racoon/privsep.c patching file src/racoon/grabmyaddr.c +++++++++++++++++++++++++++++++++ Fine. But there is no confugure script in the ipsec-tool folder here is the ouput of ls command : ++++++++++++++++++++++++++++++++++++++++++++ acracoon.m4 autom4te.cache bootstrap ChangeLog.old configure.ac CVS Makefile.am misc netbsd-import.sh NEWS package_version.h.in README rpm src ++++++++++++++++++++++++++++++++++++++++++++ So I couldn't make and install. How to solve that. regards -----Message d'origine----- De : Arnaud Ebalard [mailto:ar...@na...] Envoyé : jeudi 22 juillet 2010 20:23 À : Toure Mamadou Cc : ips...@li... Objet : Re: [Ipsec-tools-devel] Install ipsec-tool from source "Toure Mamadou" <mam...@vi...> writes: > Hi, > I've tried to patch my ipsec-tool-0.7.3 > As: > patch -Np1 -i ../2179-001.bin > +++++++++++++++++++++++++++++++++++++ > But I got error when patching, the output is : > > patching file src/racoon/privsep.c > Hunk #1 FAILED at 1545. > Hunk #2 FAILED at 1570. > Hunk #3 FAILED at 1584. > Hunk #4 FAILED at 1607. > 4 out of 4 hunks FAILED -- saving rejects to file src/racoon/privsep.c.rej > patching file src/racoon/grabmyaddr.c > Hunk #1 FAILED at 360. > Hunk #2 FAILED at 391. > Hunk #3 FAILED at 413. > 3 out of 3 hunks FAILED -- saving rejects to file > src/racoon/grabmyaddr.c.rej > +++++++++++++++++++++++++++++++++++++++++++++ > > Can you help me solve that problem plz. The patch is against current CVS tip and applies fine on it with previous command: $ cd /tmp/ /tmp$ wget -q http://cache.gmane.org//gmane/network/ipsec/tools/devel/2179-001.bin /tmp$ md5sum 2179-001.bin 23b0283b831d848e24479523b0b5566c 2179-001.bin /tmp$ cvs -da...@an...:/cvsroot co ipsec-tools /tmp$ cd ipsec-tools /tmp/ipsec-tools$ patch -Np1 -i ../2179-001.bin patching file src/racoon/privsep.c patching file src/racoon/grabmyaddr.c If you really need to apply it on another specific version, then you have to backport the changes. Otherwise, modify gcc flags as suggested before to workaround the problem. a+ |