1 |
%define name smeserver-libreswan |
%define name smeserver-libreswan |
2 |
%define version 0.5 |
%define version 0.5 |
3 |
%define release 23 |
%define release 31 |
4 |
Summary: Plugin to enable IPSEC connections |
Summary: Plugin to enable IPSEC connections |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
16 |
Patch5: smeserver-libreswan-fix-createlinks.patch |
Patch5: smeserver-libreswan-fix-createlinks.patch |
17 |
Patch6: smeserver-libreswan-ikev2-logrotate.patch |
Patch6: smeserver-libreswan-ikev2-logrotate.patch |
18 |
Patch7: smeserver-libreswan-add-certificates.patch |
Patch7: smeserver-libreswan-add-certificates.patch |
19 |
|
Patch8: smeserver-libreswan-modify-identifiers.patch |
20 |
|
Patch9: smeserver-libreswan-modify-identifiers1.patch |
21 |
|
Patch10: smeserver-libreswan-forceencaps-l2tpd.patch |
22 |
|
Patch11: smeserver-libreswan-variable-network-interfaces.patch |
23 |
|
Patch12: smeserver-libreswan-remove-obsoletes.patch |
24 |
|
Patch13: smeserver-libreswan-add-reauth.patch |
25 |
|
Patch14: smeserver-libreswan-check-l2tpd-status.patch |
26 |
|
Patch15: smeserver-libreswan-include-l2tpd-rightsubnet.patch |
27 |
|
|
28 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
29 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
30 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
31 |
Requires: e-smith-release >= 9.0 |
Requires: e-smith-release >= 9.2 |
32 |
Requires: libreswan >= 3.16 |
Requires: libreswan >= 3.29 |
33 |
AutoReqProv: no |
AutoReqProv: no |
34 |
|
|
35 |
%description |
%description |
36 |
Libreswan is a free software implementation of the most widely supported and standardised VPN protocol based on ("IPsec") and the Internet Key Exchange ("IKE") |
Libreswan is a free software implementation of the most widely supported and standardised VPN protocol based on ("IPsec") and the Internet Key Exchange ("IKE") |
37 |
|
|
38 |
%changelog |
%changelog |
39 |
|
* Thu Oct 17 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-31.sme |
40 |
|
- Allow rightsubnet for xl2tpd in virtual_private |
41 |
|
- Add check for empty virtual_private hosts |
42 |
|
|
43 |
|
* Sun Oct 13 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-30.sme |
44 |
|
- Fix issue when there is no xl2tpd key |
45 |
|
|
46 |
|
* Sat Aug 31 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-29.sme |
47 |
|
- Bump required Libreswan to 3.29 |
48 |
|
- add reauth option |
49 |
|
|
50 |
|
* Thu Jun 21 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-28.sme |
51 |
|
- Bump required Libreswan to 3.23 |
52 |
|
- Change forceencaps to encapsulation |
53 |
|
- Remove obsolete nat_traversal |
54 |
|
- Modify ipsec.conf for no rightsubnet in xl2tpd |
55 |
|
|
56 |
|
* Tue Sep 19 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-27.sme |
57 |
|
- Allow variable network interface names - Stefano Zamboni |
58 |
|
|
59 |
|
* Thu Jun 15 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-26.sme |
60 |
|
- add keep-alive option in main ipsec.conf |
61 |
|
- add forceencaps option overall default and per connection |
62 |
|
- small code tidy |
63 |
|
- Add support for L2TPD |
64 |
|
|
65 |
|
* Thu Jan 26 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-25.sme |
66 |
|
- Fix the ipsec.conf as well |
67 |
|
- remove automatic \@ in IDs - Fixes [SME: 9729] |
68 |
|
|
69 |
|
* Thu Jan 26 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-24.sme |
70 |
|
- remove automatic \@ in IDs - Fixes [SME: 9729] |
71 |
|
- fix swapped left/right IDs in password file |
72 |
|
|
73 |
* Wed Jan 25 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-23.sme |
* Wed Jan 25 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-23.sme |
74 |
- Add the ability to use PEM/PKCS#12 certificates - fixes [SME: 9942] |
- Add the ability to use PEM/PKCS#12 certificates - fixes [SME: 9942] |
75 |
- lots of code tidying |
- lots of code tidying |
207 |
%patch5 -p1 |
%patch5 -p1 |
208 |
%patch6 -p1 |
%patch6 -p1 |
209 |
%patch7 -p1 |
%patch7 -p1 |
210 |
|
%patch8 -p1 |
211 |
|
%patch9 -p1 |
212 |
|
%patch10 -p1 |
213 |
|
%patch11 -p1 |
214 |
|
%patch12 -p1 |
215 |
|
%patch13 -p1 |
216 |
|
%patch14 -p1 |
217 |
|
%patch15 -p1 |
218 |
|
|
219 |
%build |
%build |
220 |
perl createlinks |
perl createlinks |
243 |
/sbin/init q |
/sbin/init q |
244 |
|
|
245 |
|
|
246 |
echo "see http://wiki.contribs.org/VPN" |
echo "see https://wiki.contribs.org/Libreswan" |
247 |
|
|
248 |
%postun |
%postun |
249 |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |