Package Details: openswan

Git Clone URL: (read-only)
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.115126
First Submitted: 2009-11-07 14:39
Last Updated: 2019-08-10 00:57

Latest Comments

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

GPereira commented on 2019-06-28 08:00

This appears to be an issue upstream. I'll check this

gally commented on 2019-06-28 06:27

Same issue here. No custom compilation flags and same python version as previous comments.

skawikk commented on 2019-06-27 12:27


I have the same problem as Martchus;(

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


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()