diff --git a/strongswan-multiple-definition.patch b/strongswan-multiple-definition.patch new file mode 100644 index 0000000000000000000000000000000000000000..1a11719daba96ccbdae7b45d083eabe47a8c7b67 --- /dev/null +++ b/strongswan-multiple-definition.patch @@ -0,0 +1,11 @@ +--- ./src/swanctl/swanctl.h.xiugai 2021-08-03 19:08:13.634660548 +0800 ++++ ./src/swanctl/swanctl.h 2021-08-03 19:08:30.770825041 +0800 +@@ -30,7 +30,7 @@ + /** + * Base directory for credentials and config + */ +-char *swanctl_dir; ++extern char *swanctl_dir; + + /** + * Configuration file for connections, etc. diff --git a/strongswan.spec b/strongswan.spec index 581740169e7b0ea1955ed13f4486519ddfcfacb6..902e71116e6a5b52e650e6aba1af0d6c0c12dbf2 100644 --- a/strongswan.spec +++ b/strongswan.spec @@ -1,10 +1,13 @@ Name: strongswan Version: 5.7.2 -Release: 6 +Release: 7 Summary: An OpenSource IPsec-based VPN and TNC solution License: GPLv2+ URL: http://www.strongswan.org/ Source0: http://download.strongswan.org/strongswan-%{version}.tar.bz2 + +Patch0: strongswan-multiple-definition.patch + BuildRequires: gcc systemd-devel gmp-devel libcurl-devel NetworkManager-libnm-devel openldap-devel BuildRequires: openssl-devel sqlite-devel gettext-devel trousers-devel libxml2-devel pam-devel BuildRequires: json-c-devel libgcrypt-devel systemd-devel iptables-devel @@ -170,6 +173,9 @@ install -d -m 700 %{buildroot}%{_sysconfdir}/strongswan/ipsec.d/{aacerts acerts %{_libexecdir}/strongswan/charon-nm %changelog +* Mon Aug 4 2021 shdluan - 5.7.2-7 +- fix multiple defination of variable + * Sat Jul 18 2020 yaokai13 - 5.7.2-6 - Unpack the merged package to fix the issue #l1N2UN