<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Still haven't managed to do this. I tried to build from source using a method described at [1] and on your link (and many other thinks) but am not successful.<div class=""><br class=""></div><div class="">Literally scoured Google trying to find a working example and all fail in some way.<br class=""><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class=""># apt-get build-dep strongswan</b></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Reading package lists... Done</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Reading package lists... Done</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Building dependency tree </span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Reading state information... Done</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0 to upgrade, 0 to newly install, 0 to remove and 3 not to upgrade.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class=""># apt-get source strongswan</b></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Reading package lists... Done</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">NOTICE: 'strongswan' packaging is maintained in the 'Git' version control system at:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><a href="git://anonscm.debian.org/pkg-swan/strongswan.git" class="">git://anonscm.debian.org/pkg-swan/strongswan.git</a></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Please use:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">git clone <a href="git://anonscm.debian.org/pkg-swan/strongswan.git" class="">git://anonscm.debian.org/pkg-swan/strongswan.git</a></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">to retrieve the latest (possibly unreleased) updates to the package.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Need to get 4,561 kB of source archives.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Get:1 <a href="http://gb.archive.ubuntu.com/ubuntu" class="">http://gb.archive.ubuntu.com/ubuntu</a> xenial-updates/main strongswan 5.3.5-1ubuntu3.5 (dsc) [8,881 B]</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Get:2 <a href="http://gb.archive.ubuntu.com/ubuntu" class="">http://gb.archive.ubuntu.com/ubuntu</a> xenial-updates/main strongswan 5.3.5-1ubuntu3.5 (tar) [4,415 kB]</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Get:3 <a href="http://gb.archive.ubuntu.com/ubuntu" class="">http://gb.archive.ubuntu.com/ubuntu</a> xenial-updates/main strongswan 5.3.5-1ubuntu3.5 (diff) [137 kB]</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Fetched 4,561 kB in 0s (4,571 kB/s)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">gpgv: Signature made Mon 18 Dec 2017 10:40:37 GMT using RSA key ID 8280B242</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">gpgv: Can't check signature: public key not found</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">dpkg-source: warning: failed to verify signature on ./strongswan_5.3.5-1ubuntu3.5.dsc</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">dpkg-source: info: extracting strongswan in strongswan-5.3.5</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">dpkg-source: info: unpacking strongswan_5.3.5.orig.tar.bz2</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">dpkg-source: info: unpacking strongswan_5.3.5-1ubuntu3.5.debian.tar.xz</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">dpkg-source: info: applying 01_fix-manpages.patch</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">dpkg-source: info: applying 03_systemd-service.patch</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">dpkg-source: info: applying 04_disable-libtls-tests.patch</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">dpkg-source: info: applying dont-load-kernel-libipsec-plugin-by-default.patch</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">dpkg-source: info: applying increase-bliss-test-timeout.patch</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">dpkg-source: info: applying ikev2-Only-add-NAT-D-notifies-to-DPDs-as-initiator.patch</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">dpkg-source: info: applying CVE-2017-9022.patch</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">dpkg-source: info: applying CVE-2017-9023.patch</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">dpkg-source: info: applying CVE-2017-11185.patch</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">dpkg-source: info: applying ikev1-First-do-PSK-lookups-lp1734207.patch</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">W: Can't drop privileges for downloading as file 'strongswan_5.3.5-1ubuntu3.5.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class=""># git clone <a href="git://anonscm.debian.org/pkg-swan/strongswan.git" class="">git://anonscm.debian.org/pkg-swan/strongswan.git</a></b></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Cloning into 'strongswan'...</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">fatal: unable to connect to <a href="http://anonscm.debian.org" class="">anonscm.debian.org</a>:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><a href="http://anonscm.debian.org" class="">anonscm.debian.org</a>[0: 194.177.211.202]: errno=Connection refused</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><a href="http://anonscm.debian.org" class="">anonscm.debian.org</a>[1: 2001:648:2ffc:deb::211:202]: errno=Network is unreachable</span></div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">[1] <a href="https://stackoverflow.com/questions/130894/how-to-build-a-debian-ubuntu-package-from-source" class="">https://stackoverflow.com/questions/130894/how-to-build-a-debian-ubuntu-package-from-source</a></div><div class=""><br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">Kind regards,<br class=""><br class=""><b style="color: rgb(0, 0, 0);" class="">Christian Salway</b><br class="">IT Consultant - <b class=""><font color="#f05a28" class="">Naimuri</font></b><br class=""><br class=""><font color="#919191" class="">T: +44 7463 331432<br class="">E: <a href="mailto:christian.salway@naimuri.com" class="">christian.salway@naimuri.com</a><br class="">A: Naimuri Ltd, Chandlers Point, Manchester M50 2UW</font></div></div></div></div></div></div></div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On 2 Aug 2018, at 16:39, Noel Kuntze <<a href="mailto:noel.kuntze+strongswan-users-ml@thermi.consulting" class="">noel.kuntze+strongswan-users-ml@thermi.consulting</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">If you get the source with the "debian" directory that way, yes.<br class="">I am telling you to get that, then change the lines that need to be changed in that directory to build the latest version.<br class="">Look here: <a href="https://wiki.debian.org/BuildingTutorial#The_packaging_workflow" class="">https://wiki.debian.org/BuildingTutorial#The_packaging_workflow</a><br class=""><br class="">On 02.08.2018 17:17, Christian Salway wrote:<br class=""><blockquote type="cite" class="">I was assuming you meant apt-get source <package> <br class=""><br class="">Where do you get the source for the latest version?<br class=""><br class=""><br class=""><blockquote type="cite" class="">On 2 Aug 2018, at 16:13, Noel Kuntze <<a href="mailto:noel.kuntze+strongswan-users-ml@thermi.consulting" class="">noel.kuntze+strongswan-users-ml@thermi.consulting</a> <<a href="mailto:noel.kuntze+strongswan-users-ml@thermi.consulting" class="">mailto:noel.kuntze+strongswan-users-ml@thermi.consulting</a>>> wrote:<br class=""><br class="">That's why I wrote that you should get the source, change the required lines and build it. I did *not* tell you to install from the repositories.<br class=""><br class=""><br class="">On 02.08.2018 17:11, Christian Salway wrote:<br class=""><blockquote type="cite" class="">Hi Noel,<br class=""><br class="">It is an old version in the repository.<br class=""><br class=""># apt-cache policy strongswan<br class="">strongswan:<br class=""> Installed: (none)<br class=""> Candidate: 5.3.5-1ubuntu3.5<br class=""> Version table:<br class=""> 5.3.5-1ubuntu3.5 500<br class=""> 500 <a href="http://eu-west-2.ec2.archive.ubuntu.com/ubuntu" class="">http://eu-west-2.ec2.archive.ubuntu.com/ubuntu</a> xenial-updates/main amd64 Packages<br class=""> 5.3.5-1ubuntu3.4 500<br class=""> 500 <a href="http://security.ubuntu.com/ubuntu" class="">http://security.ubuntu.com/ubuntu</a> xenial-security/main amd64 Packages<br class=""> 5.3.5-1ubuntu3 500<br class=""> 500 <a href="http://eu-west-2.ec2.archive.ubuntu.com/ubuntu" class="">http://eu-west-2.ec2.archive.ubuntu.com/ubuntu</a> xenial/main amd64 Packages<br class=""><br class=""><br class="">Kind regards,<br class=""><br class="">*Christian Salway*<br class="">IT Consultant - *Naimuri*<br class=""><br class="">T: +44 7463 331432<br class="">E: <a href="mailto:christian.salway@naimuri.com" class="">christian.salway@naimuri.com</a> <<a href="mailto:christian.salway@naimuri.com" class="">mailto:christian.salway@naimuri.com</a>> <<a href="mailto:christian.salway@naimuri.com" class="">mailto:christian.salway@naimuri.com</a>><br class="">A: Naimuri Ltd, Chandlers Point, Manchester M50 2UW<br class=""><br class=""><blockquote type="cite" class="">On 1 Aug 2018, at 20:53, Noel Kuntze <<a href="mailto:noel.kuntze+strongswan-users-ml@thermi.consulting" class="">noel.kuntze+strongswan-users-ml@thermi.consulting</a> <<a href="mailto:noel.kuntze+strongswan-users-ml@thermi.consulting" class="">mailto:noel.kuntze+strongswan-users-ml@thermi.consulting</a>> <<a href="mailto:noel.kuntze+strongswan-users-ml@thermi.consulting" class="">mailto:noel.kuntze+strongswan-users-ml@thermi.consulting</a>>> wrote:<br class=""><br class="">Get the package sources for the Ubuntu package for strongSwan, change the required lines, build it, done.<br class=""><br class="">On 01.08.2018 21:05, Christian Salway wrote:<br class=""><blockquote type="cite" class="">I was wondering if you could help me to package strongSwan so it doesnt have to build each time. I've asked around and apparently you are the best to ask.<br class=""><br class="">I'm trying to package the following for Ubuntu 16.04 so it doesnt have to build it each time - takes a looong time.<br class=""><br class="">wget -nv <a href="https://download.strongswan.org/strongswan-5.6.3.tar.bz2" class="">https://download.strongswan.org/strongswan-5.6.3.tar.bz2</a><br class="">tar xjf strongswan-5.6.3.tar.bz2<br class="">cd strongswan*<br class="">./configure --prefix=/usr --sysconfdir=/etc \<br class=""> --enable-systemd --enable-swanctl \<br class=""> --disable-charon --disable-stroke --disable-scepclient \<br class=""> --enable-eap-identity --enable-eap-radius --enable-openssl<br class="">make<br class="">make install<br class=""><br class=""><br class=""><br class="">Kind regards,<br class=""><br class="">*Christian Salway*<br class="">IT Consultant - *Naimuri*<br class=""><br class="">T: +44 7463 331432<br class="">E: <a href="mailto:christian.salway@naimuri.com" class="">christian.salway@naimuri.com</a> <<a href="mailto:christian.salway@naimuri.com" class="">mailto:christian.salway@naimuri.com</a>> <<a href="mailto:christian.salway@naimuri.com" class="">mailto:christian.salway@naimuri.com</a>> <<a href="mailto:christian.salway@naimuri.com" class="">mailto:christian.salway@naimuri.com</a>><br class="">A: Naimuri Ltd, Chandlers Point, Manchester M50 2UW<br class=""></blockquote></blockquote><br class=""></blockquote><br class=""></blockquote><br class=""></blockquote><br class=""></div></div></blockquote></div><br class=""></div></div></body></html>