- Resolves rhbz#1574939 IKEv2 VPN connections fail to use DNS servers provided by the server
This commit is contained in:
13
strongswan-5.6.2-1574939-VPN-DNS.patch
Normal file
13
strongswan-5.6.2-1574939-VPN-DNS.patch
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
diff -Naur strongswan-5.6.2-orig/src/charon-nm/nm/nm_service.c strongswan-5.6.2/src/charon-nm/nm/nm_service.c
|
||||||
|
--- strongswan-5.6.2-orig/src/charon-nm/nm/nm_service.c 2018-02-13 11:28:06.000000000 -0500
|
||||||
|
+++ strongswan-5.6.2/src/charon-nm/nm/nm_service.c 2018-05-23 23:33:14.143959126 -0400
|
||||||
|
@@ -65,8 +65,7 @@
|
||||||
|
enumerator = handler->create_enumerator(handler, type);
|
||||||
|
while (enumerator->enumerate(enumerator, &chunk))
|
||||||
|
{
|
||||||
|
- g_variant_builder_add (&builder, "u",
|
||||||
|
- g_variant_new_uint32 (*(uint32_t*)chunk.ptr));
|
||||||
|
+ g_variant_builder_add (&builder, "u", *(uint32_t*)chunk.ptr);
|
||||||
|
}
|
||||||
|
enumerator->destroy(enumerator);
|
||||||
|
|
||||||
@@ -3,12 +3,13 @@
|
|||||||
|
|
||||||
Name: strongswan
|
Name: strongswan
|
||||||
Version: 5.6.2
|
Version: 5.6.2
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: An OpenSource IPsec-based VPN and TNC solution
|
Summary: An OpenSource IPsec-based VPN and TNC solution
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.strongswan.org/
|
URL: http://www.strongswan.org/
|
||||||
Source0: http://download.strongswan.org/%{name}-%{version}%{?prerelease}.tar.bz2
|
Source0: http://download.strongswan.org/%{name}-%{version}%{?prerelease}.tar.bz2
|
||||||
Patch1: strongswan-5.6.0-uintptr_t.patch
|
Patch1: strongswan-5.6.0-uintptr_t.patch
|
||||||
|
Patch2: strongswan-5.6.2-1574939-VPN-DNS.patch
|
||||||
|
|
||||||
# only needed for pre-release versions
|
# only needed for pre-release versions
|
||||||
#BuildRequires: autoconf automake
|
#BuildRequires: autoconf automake
|
||||||
@@ -76,6 +77,7 @@ PT-TLS to support TNC over TLS.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}%{?prerelease}
|
%setup -q -n %{name}-%{version}%{?prerelease}
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# only for snapshots
|
# only for snapshots
|
||||||
@@ -254,6 +256,9 @@ done
|
|||||||
%{_libexecdir}/strongswan/charon-nm
|
%{_libexecdir}/strongswan/charon-nm
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 24 2018 Paul Wouters <pwouters@redhat.com> - 5.6.2-4
|
||||||
|
- Resolves rhbz#1574939 IKEv2 VPN connections fail to use DNS servers provided by the server
|
||||||
|
|
||||||
* Sun May 20 2018 Mikhail Zabaluev <mikhail.zabaluev@gmail.com> - 5.6.2-3
|
* Sun May 20 2018 Mikhail Zabaluev <mikhail.zabaluev@gmail.com> - 5.6.2-3
|
||||||
- Move eap-radius, sqlite, and pkcs7 plugins out of tnc-imcvs, added package
|
- Move eap-radius, sqlite, and pkcs7 plugins out of tnc-imcvs, added package
|
||||||
sqlite (#1579945)
|
sqlite (#1579945)
|
||||||
|
|||||||
Reference in New Issue
Block a user