Re: Complie a "modified" FreeSwan

"Andreas Steffen" <[email protected]> Thu, 27 Mar 2003 11:36:41 +0100
Newsgroups gmane.network.freeswan.devel
Message-ID <[email protected]>
If you make changes to pluto only then 

 make
 make install 

in the pluto directory plus 

 ipsec setup restart 

is all that is needed to incorporating changes.
If you make changes to other userland programs
like e.g. utils/_confread, utils/auto, etc.
then 

 make programs
 make install 

in the freeswan directory will compile and
install the changes. 

If you make changes in the kernel, then build
KLIPS as a module by typing 

  make module 

in the freeswan directory and copy the
newly generated ipsec.o module into 

 /lib/modules/<kernel version>/kernel/net/ipsec 

Regards 

Andreas 

Calvin writes: 

> Dear all, 
> 
> I am doing a project with FreeSwan currently, which is about adding additional functions to exisitng FreeSwan. 
> 
> Of course I followed the all the official and unofficial documents when installing FreeSwan, but I would like to ask, everytime after I modified the FreeSwan source code, do I need to repeat all the steps again (recomplie kernel)? 
> 
> Is it really necessary to do that as there aleady a FreeSwan exist in my system? Or is there any step it is not necessary to do it to take effect of my change in FreeSwan? If I need to repeat all the steps again and again, it would be really painful. 
> 
> Thanks for any advices. 
> 
> Calvin

=======================================================================
Andreas Steffen                   e-mail: [email protected]
strongSec GmbH                    home:   http://www.strongsec.com
Alter Zürichweg 20                phone:  +41 1 730 80 64
CH-8952 Schlieren (Switzerland)   fax:    +41 1 730 80 65
==========================================[strong internet security]===