1 |
%define name smeserver-libreswan |
%define name smeserver-libreswan |
2 |
%define version 0.5 |
%define version 0.5 |
3 |
%define release 17 |
%define release 18 |
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 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
16 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
17 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
23 |
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") |
24 |
|
|
25 |
%changelog |
%changelog |
26 |
|
* Thu Mar 24 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-18.sme |
27 |
|
- Add debug db key to /etc/ipsec.conf |
28 |
|
- Remove setting public/private keys as they won't affect unless templates are re-expanded |
29 |
|
- Set xfrm_larval_drop correctly |
30 |
|
|
31 |
* 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 |
32 |
- Move pluto.log to /var/log/pluto |
- Move pluto.log to /var/log/pluto |
33 |
- bump libreswan requires version to 3.16 |
- bump libreswan requires version to 3.16 |
135 |
%setup |
%setup |
136 |
%patch1 -p1 |
%patch1 -p1 |
137 |
%patch2 -p1 |
%patch2 -p1 |
138 |
|
%patch3 -p1 |
139 |
|
|
140 |
%build |
%build |
141 |
perl createlinks |
perl createlinks |
158 |
%pre |
%pre |
159 |
%preun |
%preun |
160 |
%post |
%post |
161 |
|
|
162 |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
163 |
/sbin/e-smith/expand-template /etc/inittab |
/sbin/e-smith/expand-template /etc/inittab |
164 |
/sbin/init q |
/sbin/init q |