Created
November 5, 2014 00:44
-
-
Save jice/67e1c3e8bea4955dac1c to your computer and use it in GitHub Desktop.
Build latest Strongswan (with libipsec, DNSSEC support, ...) on Ubuntu 14.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0. After a fresh install | |
# aptitude update && aptitude full-upgrade && reboot | |
1. Install necessary packages for building Strongswan (may vary depending on your configure options, configure script will tell you) | |
# aptitude install build-essential libgmp-dev libunbound-dev libldns-dev | |
2. Get, check, and unpack the sources | |
$ wget https://download.strongswan.org/strongswan-5.2.1.tar.gz | |
$ wget https://download.strongswan.org/strongswan-5.2.1.tar.gz.md5 | |
$ md5sum -c strongswan-5.2.1.tar.gz.md5 | |
$ tar xvzf strongswan-5.2.1.tar.gz | |
3. Configure the build (list of build options available here <https://wiki.strongswan.org/projects/strongswan/wiki/Autoconf>) | |
$ cd strongswan-5.2.1 | |
$ ./configure --prefix=/usr --sysconfdir=/etc --enable-eap-mschapv2 --enable-kernel-libipsec --enable-swanctl --enable-unity --enable-unbound --enable-vici --enable-xauth-eap --enable-xauth-noauth --enable-eap-identity --enable-md4 --enable-pem --enable-openssl --enable-pubkey --enable-farp | |
$ make | |
$ sudo make install | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment