Package Details: openswan

Git Clone URL: (read-only, click to copy)
Package Base: openswan
Description: Open Source implementation of IPsec for Linux
Upstream URL:
Licenses: GPL, custom
Conflicts: ipsec-tools, strongswan
Submitter: Allan
Maintainer: severach
Last Packager: severach
Votes: 143
Popularity: 0.35
First Submitted: 2009-11-07 14:39
Last Updated: 2020-12-20 00:35

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

kristian commented on 2019-06-21 07:31

I'm having the same issue as Martchus.

  • No custom compilation flags in /etc/makepkg.conf
  • Python 3.7.3

GPereira commented on 2019-06-18 14:21

I can't reproduce your error. Do you have custom compilation flags on /etc/makepkg.conf? If so which ones? what's your default python version?

Martchus commented on 2019-06-18 13:52

It doesn't compile due to some warnings treated as errors:

make[3]: Entering directory '/build/openswan/src/openswan-'
which: no xmlto in (/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
CC tncfg.c
In file included from /usr/include/string.h:494,
                 from /build/openswan/src/openswan-
In function ‘strncpy’,
    inlined from ‘main’ at /build/openswan/src/openswan-
/usr/include/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘main’ at /build/openswan/src/openswan-
/usr/include/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 12 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [/build/openswan/src/openswan- tncfg.o] Error 1

GPereira commented on 2019-06-15 12:02

@lonaowna Done :)

lonaowna commented on 2019-04-08 15:14

Please add conflicts=('strongswan')

lineage commented on 2017-03-03 15:59

I've been having trouble with this version (2.6.49) failing to re-key. Connects ok initially but then the tunnel fails when the keylife expires.
xelerance has released a version. I'm now running that and the tunnel seems stable.
You might want to update the package to the new version.

bidulock commented on 2016-09-09 08:10

Note that the package cannot install to the /run directory. Remove the entire $pkgdir/var directory and add the following two lines to the [Service] section of the openswan.service file:


Also, the usr/share/man/man3 directory is empty, remove it in package()

bidulock commented on 2016-09-09 08:07

Note that the update to 2.6.49 commit is still stuck at 2.6.47.

RubenKelevra commented on 2015-10-26 19:59

options=(!makeflags) should be added to the makefile, since setting -j n is very common.

American_Jesus commented on 2015-10-22 23:06

Please revert

Notice from the website:
"If you have downloaded version 2.6.45 or 2.6.44, please revert to version, as 2.6.44 and 2.6.45 have been found to be unstable in certain environments. We are working on a fix."