Project

General

Profile

strongSwan Installation Documentation » History » Version 35

Andreas Steffen, 01.09.2010 23:54
Added Autoconf options for 4.5 releases

1 25 Tobias Brunner
h1. strongSwan Installation Documentation
2 1 Martin Willi
3 1 Martin Willi
4 25 Tobias Brunner
5 1 Martin Willi
h2. Live testing system
6 25 Tobias Brunner
7 26 Tobias Brunner
We have built a [[OpenWRTDemo|small test system]] to run strongSwan without installation or configuration. It is based on a UML kernel, two small "OpenWRT":http://openwrt.org/ images and should run on any x86 Linux system out of the box.
8 25 Tobias Brunner
9 25 Tobias Brunner
10 25 Tobias Brunner
h2. Distribution packages
11 25 Tobias Brunner
12 25 Tobias Brunner
13 1 Martin Willi
There are currently packages for:
14 27 Tobias Brunner
* "Debian":http://packages.debian.org/search?keywords=strongswan&searchon=names&suite=all&section=all
15 31 Andreas Steffen
* "Ubuntu":http://packages.ubuntu.com/search?keywords=strongswan&searchon=names&suite=all&section=all
16 27 Tobias Brunner
* "openSUSE":http://software.opensuse.org/search?p=1&q=strongswan
17 27 Tobias Brunner
* "Gentoo":http://packages.gentoo.org/package/net-misc/strongswan
18 1 Martin Willi
19 1 Martin Willi
20 25 Tobias Brunner
h2. Compile yourself
21 16 Martin Willi
22 16 Martin Willi
23 1 Martin Willi
24 30 Andreas Steffen
h3. Linux Kernel requirements
25 25 Tobias Brunner
26 25 Tobias Brunner
strongSwan should run on most distros' kernels. If you build your own kernel, include [[KernelModules|the required modules]].
27 25 Tobias Brunner
28 25 Tobias Brunner
29 25 Tobias Brunner
h3. Building strongSwan
30 25 Tobias Brunner
31 25 Tobias Brunner
We have changed the buid system to autotools for the 4.x releases. There is a growing list of [[Autoconf|autoconf options]] available:
32 25 Tobias Brunner
33 35 Andreas Steffen
* [[Autoconf44|Autoconf options for 4.5 releases]]
34 34 Andreas Steffen
* [[Autoconf44|Autoconf options for 4.4 releases]] (current)
35 34 Andreas Steffen
* [[Autoconf|  Autoconf options for 4.3 releases]]
36 28 Andreas Steffen
* [[Autoconf42|Autoconf options for 4.2 releases]]
37 27 Tobias Brunner
* [[Autoconf41|Autoconf options for 4.1 releases]]
38 25 Tobias Brunner
39 16 Martin Willi
The build procedure is as with any autotools project:
40 25 Tobias Brunner
<pre>
41 29 Andreas Steffen
 wget http://download.strongswan.org/strongswan-4.x.x.tar.bz2
42 29 Andreas Steffen
 tar jxvf strongswan-4.x.x.tar.bz2; cd strongswan-4.x.x
43 29 Andreas Steffen
 ./configure --prefix=/usr --sysconfdir=/etc --<your-options>
44 1 Martin Willi
 make
45 1 Martin Willi
 sudo make install
46 1 Martin Willi
</pre>
47 30 Andreas Steffen
48 33 Tobias Brunner
h3. Building strongSwan on other platforms
49 30 Andreas Steffen
50 30 Andreas Steffen
* [[FreeBSD|strongSwan on FreeBSD]] (IKEv2 only)
51 1 Martin Willi
* [[MacOSX|strongSwan on Mac OS X]] (IKEv2 only)
52 33 Tobias Brunner
* [[Android|strongSwan on Android]] (IKEv2 only)