1 |
%define name smeserver-openswan |
%define name smeserver-openswan |
2 |
%define version 0.6 |
%define version 0.6 |
3 |
%define release 3 |
%define release 5 |
4 |
Summary: Plugin to enable IPSEC connections |
Summary: Plugin to enable IPSEC connections |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
10 |
Group: SMEserver/addon |
Group: SMEserver/addon |
11 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
12 |
Patch1: smeserver-openswan-fix-masq-templates.patch |
Patch1: smeserver-openswan-fix-masq-templates.patch |
13 |
|
Patch2: smeserver-openswan-move-logfile.patch |
14 |
|
Patch3: smeserver-openswan-add-debug-key.patch |
15 |
|
|
16 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
17 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
18 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
24 |
Openswan is a free software implementation of the most widely supported and standarised VPN protocol based on ("IPsec") and the Internet Key Exchange ("IKE") |
Openswan is a free software implementation of the most widely supported and standarised VPN protocol based on ("IPsec") and the Internet Key Exchange ("IKE") |
25 |
|
|
26 |
%changelog |
%changelog |
27 |
|
* Thu Mar 24 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.6-5.sme |
28 |
|
- Add debug db key to /etc/ipsec.conf |
29 |
|
- Remove setting public/private keys as they won't affect unless templates are re-expanded |
30 |
|
- Set xfrm_larval_drop drop correctly |
31 |
|
- minor formatting |
32 |
|
|
33 |
|
* Thu Mar 24 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.6-4.sme |
34 |
|
- split patch file to match libreswan |
35 |
|
|
36 |
* Tue Mar 22 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.6-3.sme |
* Tue Mar 22 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.6-3.sme |
37 |
- Fix masq templates for missing db keys on install |
- Fix masq templates for missing db keys on install |
38 |
- Move pluto.log to /var/log/pluto |
- Move pluto.log to /var/log/pluto |
121 |
%prep |
%prep |
122 |
%setup |
%setup |
123 |
%patch1 -p1 |
%patch1 -p1 |
124 |
|
%patch2 -p1 |
125 |
|
%patch3 -p1 |
126 |
|
|
127 |
%build |
%build |
128 |
perl createlinks |
perl createlinks |
151 |
/sbin/init q |
/sbin/init q |
152 |
|
|
153 |
|
|
154 |
echo "see http://wiki.contribs.org/IPSEC" |
echo "see http://wiki.contribs.org/VPN" |
155 |
|
|
156 |
%postun |
%postun |
157 |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |