1 |
%define name smeserver-libreswan |
%define name smeserver-libreswan |
2 |
%define version 0.5 |
%define version 0.5 |
3 |
%define release 19 |
%define release 28 |
4 |
Summary: Plugin to enable IPSEC connections |
Summary: Plugin to enable IPSEC connections |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
13 |
Patch2: smeserver-libreswan-move-logfile.patch |
Patch2: smeserver-libreswan-move-logfile.patch |
14 |
Patch3: smeserver-libreswan-add-debug-key.patch |
Patch3: smeserver-libreswan-add-debug-key.patch |
15 |
Patch4: smeserver-libreswan-fix-rsa-id.patch |
Patch4: smeserver-libreswan-fix-rsa-id.patch |
16 |
|
Patch5: smeserver-libreswan-fix-createlinks.patch |
17 |
|
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 |
|
|
25 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
26 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
27 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
28 |
Requires: e-smith-release >= 9.0 |
Requires: e-smith-release >= 9.2 |
29 |
Requires: libreswan >= 3.16 |
Requires: libreswan >= 3.23 |
30 |
AutoReqProv: no |
AutoReqProv: no |
31 |
|
|
32 |
%description |
%description |
33 |
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") |
34 |
|
|
35 |
%changelog |
%changelog |
36 |
|
* Thu Jun 21 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-28.sme |
37 |
|
- Bump required Libreswan to 3.23 |
38 |
|
- Chamge forceencaps to encapsulation |
39 |
|
- Remove obsolete nat_traversal |
40 |
|
- Modify ipsec.conf for no rightsubnet in xl2tpd |
41 |
|
|
42 |
|
* Tue Sep 19 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-27.sme |
43 |
|
- Allow variable network interface names - Stefano Zamboni |
44 |
|
|
45 |
|
* Thu Jun 15 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-26.sme |
46 |
|
- add keep-alive option in main ipsec.conf |
47 |
|
- add forceencaps option overall default and per connection |
48 |
|
- small code tidy |
49 |
|
- Add support for L2TPD |
50 |
|
|
51 |
|
* Thu Jan 26 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-25.sme |
52 |
|
- Fix the ipsec.conf as well |
53 |
|
- remove automatic \@ in IDs - Fixes [SME: 9729] |
54 |
|
|
55 |
|
* Thu Jan 26 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-24.sme |
56 |
|
- remove automatic \@ in IDs - Fixes [SME: 9729] |
57 |
|
- fix swapped left/right IDs in password file |
58 |
|
|
59 |
|
* Wed Jan 25 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-23.sme |
60 |
|
- Add the ability to use PEM/PKCS#12 certificates - fixes [SME: 9942] |
61 |
|
- lots of code tidying |
62 |
|
|
63 |
|
* Wed Dec 21 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-22.sme |
64 |
|
- update logrotate completely now I realise it is symlinked |
65 |
|
- remove UPDPort and add UPDPorts due to ipsec v2 |
66 |
|
|
67 |
|
* Wed Dec 21 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-21.sme |
68 |
|
- add more variations for ike v1/2 |
69 |
|
- remove logrotate template |
70 |
|
- add /etc/e-smith/events/logrotate/logfiles2timestamp/var/log/pluto.log |
71 |
|
- Fix some log noise when first installed and still disabled |
72 |
|
|
73 |
|
* Sat Apr 23 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-20.sme |
74 |
|
- Fix typo in createlinks for sysctl.conf |
75 |
|
|
76 |
* Mon Apr 04 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-19.sme |
* Mon Apr 04 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-19.sme |
77 |
- Fix ID in ipsec.secrets if ID is set |
- Fix ID in ipsec.secrets if ID is set |
190 |
%patch2 -p1 |
%patch2 -p1 |
191 |
%patch3 -p1 |
%patch3 -p1 |
192 |
%patch4 -p1 |
%patch4 -p1 |
193 |
|
%patch5 -p1 |
194 |
|
%patch6 -p1 |
195 |
|
%patch7 -p1 |
196 |
|
%patch8 -p1 |
197 |
|
%patch9 -p1 |
198 |
|
%patch10 -p1 |
199 |
|
%patch11 -p1 |
200 |
|
%patch12 -p1 |
201 |
|
|
202 |
%build |
%build |
203 |
perl createlinks |
perl createlinks |
226 |
/sbin/init q |
/sbin/init q |
227 |
|
|
228 |
|
|
229 |
echo "see http://wiki.contribs.org/VPN" |
echo "see https://wiki.contribs.org/Libreswan" |
230 |
|
|
231 |
%postun |
%postun |
232 |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |