1 |
%define name smeserver-libreswan |
%define name smeserver-libreswan |
2 |
%define version 0.5 |
%define version 0.5 |
3 |
%define release 17 |
%define release 27 |
4 |
Summary: Plugin to enable IPSEC connections |
Summary: Plugin to enable IPSEC connections |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
11 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
12 |
Patch1: smeserver-libreswan-fix-masq-templates.patch |
Patch1: smeserver-libreswan-fix-masq-templates.patch |
13 |
Patch2: smeserver-libreswan-move-logfile.patch |
Patch2: smeserver-libreswan-move-logfile.patch |
14 |
|
Patch3: smeserver-libreswan-add-debug-key.patch |
15 |
|
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 |
|
|
24 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
25 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
26 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
32 |
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") |
33 |
|
|
34 |
%changelog |
%changelog |
35 |
|
* Tue Sep 19 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-27.sme |
36 |
|
- Allow variable network interface names - Stefano Zamboni |
37 |
|
|
38 |
|
* Thu Jun 15 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-26.sme |
39 |
|
- add keep-alive option in main ipsec.conf |
40 |
|
- add forceencaps option overall default and per connection |
41 |
|
- small code tidy |
42 |
|
- Add support for L2TPD |
43 |
|
|
44 |
|
* Thu Jan 26 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-25.sme |
45 |
|
- Fix the ipsec.conf as well |
46 |
|
- remove automatic \@ in IDs - Fixes [SME: 9729] |
47 |
|
|
48 |
|
* Thu Jan 26 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-24.sme |
49 |
|
- remove automatic \@ in IDs - Fixes [SME: 9729] |
50 |
|
- fix swapped left/right IDs in password file |
51 |
|
|
52 |
|
* Wed Jan 25 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-23.sme |
53 |
|
- Add the ability to use PEM/PKCS#12 certificates - fixes [SME: 9942] |
54 |
|
- lots of code tidying |
55 |
|
|
56 |
|
* Wed Dec 21 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-22.sme |
57 |
|
- update logrotate completely now I realise it is symlinked |
58 |
|
- remove UPDPort and add UPDPorts due to ipsec v2 |
59 |
|
|
60 |
|
* Wed Dec 21 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-21.sme |
61 |
|
- add more variations for ike v1/2 |
62 |
|
- remove logrotate template |
63 |
|
- add /etc/e-smith/events/logrotate/logfiles2timestamp/var/log/pluto.log |
64 |
|
- Fix some log noise when first installed and still disabled |
65 |
|
|
66 |
|
* Sat Apr 23 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-20.sme |
67 |
|
- Fix typo in createlinks for sysctl.conf |
68 |
|
|
69 |
|
* Mon Apr 04 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-19.sme |
70 |
|
- Fix ID in ipsec.secrets if ID is set |
71 |
|
|
72 |
|
* Thu Mar 24 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-18.sme |
73 |
|
- Add debug db key to /etc/ipsec.conf |
74 |
|
- Remove setting public/private keys as they won't affect unless templates are re-expanded |
75 |
|
- Set xfrm_larval_drop drop correctly |
76 |
|
|
77 |
* Tue Mar 22 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-17.sme |
* Tue Mar 22 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-17.sme |
78 |
- Move pluto.log to /var/log/pluto |
- Move pluto.log to /var/log/pluto |
79 |
- bump libreswan requires version to 3.16 |
- bump libreswan requires version to 3.16 |
181 |
%setup |
%setup |
182 |
%patch1 -p1 |
%patch1 -p1 |
183 |
%patch2 -p1 |
%patch2 -p1 |
184 |
|
%patch3 -p1 |
185 |
|
%patch4 -p1 |
186 |
|
%patch5 -p1 |
187 |
|
%patch6 -p1 |
188 |
|
%patch7 -p1 |
189 |
|
%patch8 -p1 |
190 |
|
%patch9 -p1 |
191 |
|
%patch10 -p1 |
192 |
|
%patch11 -p1 |
193 |
|
|
194 |
%build |
%build |
195 |
perl createlinks |
perl createlinks |
212 |
%pre |
%pre |
213 |
%preun |
%preun |
214 |
%post |
%post |
215 |
|
|
216 |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
217 |
/sbin/e-smith/expand-template /etc/inittab |
/sbin/e-smith/expand-template /etc/inittab |
218 |
/sbin/init q |
/sbin/init q |
219 |
|
|
220 |
|
|
221 |
echo "see http://wiki.contribs.org/VPN" |
echo "see https://wiki.contribs.org/Libreswan" |
222 |
|
|
223 |
%postun |
%postun |
224 |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |