[Swan] How to build libreswan 3.4 from source?

D. Hugh Redelmeier hugh at mimosa.com
Fri Jun 28 04:52:52 EEST 2013


| From: Greg Scott <GregScott at infrasupport.com>
| 
| In the openswan days, building from source was pretty straightforward:
| 
| tar zxvf openswan-{version}.tar.gz
| cd openswan-{version} 
| make programs install
| 
| But libreswan seems to have a dependency on an nss package.  Which makes 
| sense I guess.  But there are a bunch of Fedora 18 RPMs that start with 
| nss*.  Which one(s) should I go get?  Or is my life simpler just 
| grabbing the latest 3.3 RPM - but what dependencies does the RPM have?

If you are using Fedora, I think that there are usually up to date
RPMs available (I haven't checked).

You want to be using the RPM system because you can get into trouble
mixing RPM with non-RPM.

If you want to make changes, start with a source RPM.  The fedora
build tools should then take care of dependencies (I think).  You
should be able to then slip in modified source and turn the crank
again.

In the old days, before Fedora included openswan, it wasn't as
imporant to use the RPM system.


More information about the Swan mailing list