Skip to content

Building and installing for debian ubuntu systems

AnOnion edited this page Dec 10, 2013 · 2 revisions

Building and Installing for DebianUbuntu systems

Official Debian packages for openswan are built by Rene Mayrhofer and Harald Jenny and they are regularly imported into Ubuntu.

To rebuild an openswan Debian package add a file openswan-srv.list containing the line:
deb-src http://ftp.debian.org/debian/ sid main
to your /etc/apt/sources.list.d directory, then call “apt-get update” and finally use “apt-get source openswan” to download the Debian source.

Actual rebuilding of the Debian binary packages may be done by issuing “dpkg-buildpackage -b” as root or installing fakeroot and using the command “dpkg-buildpackage -rfakeroot -b”.

At the time of writing (16.10.2010), Debian Squeeze freeze is in place so the official packages (2.6.28+dfsg) will not be updated to a new version until the release of Squeeze is done (PLEASE NOTE: fixes for grave bugs and security problems are backported from new versions/cherry-picked from git, so if you face any problems with the pakets in testing/Squeeze please file a bug report against the Debian package).