1 |
%define name smeserver-libreswan |
%define name smeserver-libreswan |
2 |
%define version 0.5 |
%define version 0.5 |
3 |
%define release 22 |
%define release 30 |
4 |
Summary: Plugin to enable IPSEC connections |
Summary: Plugin to enable IPSEC connections |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
15 |
Patch4: smeserver-libreswan-fix-rsa-id.patch |
Patch4: smeserver-libreswan-fix-rsa-id.patch |
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 |
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 |
|
|
27 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
28 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
29 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
30 |
Requires: e-smith-release >= 9.0 |
Requires: e-smith-release >= 9.2 |
31 |
Requires: libreswan >= 3.16 |
Requires: libreswan >= 3.29 |
32 |
AutoReqProv: no |
AutoReqProv: no |
33 |
|
|
34 |
%description |
%description |
35 |
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") |
36 |
|
|
37 |
%changelog |
%changelog |
38 |
|
* Sun Oct 13 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-30.sme |
39 |
|
- Fix issue when there is no xl2tpd key |
40 |
|
|
41 |
|
* Sat Aug 31 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-29.sme |
42 |
|
- Bump required Libreswan to 3.29 |
43 |
|
- add reauth option |
44 |
|
|
45 |
|
* Thu Jun 21 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-28.sme |
46 |
|
- Bump required Libreswan to 3.23 |
47 |
|
- Change forceencaps to encapsulation |
48 |
|
- Remove obsolete nat_traversal |
49 |
|
- Modify ipsec.conf for no rightsubnet in xl2tpd |
50 |
|
|
51 |
|
* Tue Sep 19 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-27.sme |
52 |
|
- Allow variable network interface names - Stefano Zamboni |
53 |
|
|
54 |
|
* Thu Jun 15 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-26.sme |
55 |
|
- add keep-alive option in main ipsec.conf |
56 |
|
- add forceencaps option overall default and per connection |
57 |
|
- small code tidy |
58 |
|
- Add support for L2TPD |
59 |
|
|
60 |
|
* Thu Jan 26 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-25.sme |
61 |
|
- Fix the ipsec.conf as well |
62 |
|
- remove automatic \@ in IDs - Fixes [SME: 9729] |
63 |
|
|
64 |
|
* Thu Jan 26 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-24.sme |
65 |
|
- remove automatic \@ in IDs - Fixes [SME: 9729] |
66 |
|
- fix swapped left/right IDs in password file |
67 |
|
|
68 |
|
* Wed Jan 25 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-23.sme |
69 |
|
- Add the ability to use PEM/PKCS#12 certificates - fixes [SME: 9942] |
70 |
|
- lots of code tidying |
71 |
|
|
72 |
* Wed Dec 21 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-22.sme |
* Wed Dec 21 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-22.sme |
73 |
- update logrotate completely now I realise it is symlinked |
- update logrotate completely now I realise it is symlinked |
74 |
- remove UPDPort and add UPDPorts due to ipsec v2 |
- remove UPDPort and add UPDPorts due to ipsec v2 |
201 |
%patch4 -p1 |
%patch4 -p1 |
202 |
%patch5 -p1 |
%patch5 -p1 |
203 |
%patch6 -p1 |
%patch6 -p1 |
204 |
|
%patch7 -p1 |
205 |
|
%patch8 -p1 |
206 |
|
%patch9 -p1 |
207 |
|
%patch10 -p1 |
208 |
|
%patch11 -p1 |
209 |
|
%patch12 -p1 |
210 |
|
%patch13 -p1 |
211 |
|
%patch14 -p1 |
212 |
|
|
213 |
%build |
%build |
214 |
perl createlinks |
perl createlinks |
237 |
/sbin/init q |
/sbin/init q |
238 |
|
|
239 |
|
|
240 |
echo "see http://wiki.contribs.org/VPN" |
echo "see https://wiki.contribs.org/Libreswan" |
241 |
|
|
242 |
%postun |
%postun |
243 |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |