1 |
%define name smeserver-libreswan |
%define name smeserver-libreswan |
2 |
%define version 0.5 |
%define version 0.5 |
3 |
%define release 17 |
%define release 23 |
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 |
|
|
20 |
|
|
21 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
22 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
23 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
29 |
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") |
30 |
|
|
31 |
%changelog |
%changelog |
32 |
|
* Wed Jan 25 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-23.sme |
33 |
|
- Add the ability to use PEM/PKCS#12 certificates - fixes [SME: 9942] |
34 |
|
- lots of code tidying |
35 |
|
|
36 |
|
* Wed Dec 21 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-22.sme |
37 |
|
- update logrotate completely now I realise it is symlinked |
38 |
|
- remove UPDPort and add UPDPorts due to ipsec v2 |
39 |
|
|
40 |
|
* Wed Dec 21 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-21.sme |
41 |
|
- add more variations for ike v1/2 |
42 |
|
- remove logrotate template |
43 |
|
- add /etc/e-smith/events/logrotate/logfiles2timestamp/var/log/pluto.log |
44 |
|
- Fix some log noise when first installed and still disabled |
45 |
|
|
46 |
|
* Sat Apr 23 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-20.sme |
47 |
|
- Fix typo in createlinks for sysctl.conf |
48 |
|
|
49 |
|
* Mon Apr 04 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-19.sme |
50 |
|
- Fix ID in ipsec.secrets if ID is set |
51 |
|
|
52 |
|
* Thu Mar 24 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-18.sme |
53 |
|
- Add debug db key to /etc/ipsec.conf |
54 |
|
- Remove setting public/private keys as they won't affect unless templates are re-expanded |
55 |
|
- Set xfrm_larval_drop drop correctly |
56 |
|
|
57 |
* 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 |
58 |
- Move pluto.log to /var/log/pluto |
- Move pluto.log to /var/log/pluto |
59 |
- bump libreswan requires version to 3.16 |
- bump libreswan requires version to 3.16 |
161 |
%setup |
%setup |
162 |
%patch1 -p1 |
%patch1 -p1 |
163 |
%patch2 -p1 |
%patch2 -p1 |
164 |
|
%patch3 -p1 |
165 |
|
%patch4 -p1 |
166 |
|
%patch5 -p1 |
167 |
|
%patch6 -p1 |
168 |
|
%patch7 -p1 |
169 |
|
|
170 |
%build |
%build |
171 |
perl createlinks |
perl createlinks |
188 |
%pre |
%pre |
189 |
%preun |
%preun |
190 |
%post |
%post |
191 |
|
|
192 |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
193 |
/sbin/e-smith/expand-template /etc/inittab |
/sbin/e-smith/expand-template /etc/inittab |
194 |
/sbin/init q |
/sbin/init q |