1 |
%define name smeserver-openswan |
%define name smeserver-openswan |
2 |
%define version 0.6 |
%define version 0.6 |
3 |
%define release 1 |
%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} |
7 |
Release: %{release} |
Release: %{release}%{?dist} |
8 |
License: GNU GPL version 2 |
License: GNU GPL version 2 |
9 |
URL: http://libreswan.org/ |
URL: http://libreswan.org/ |
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 |
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 |
37 |
|
- Fix masq templates for missing db keys on install |
38 |
|
- Move pluto.log to /var/log/pluto |
39 |
|
- regenerate masq template on ipsec-update |
40 |
|
- change wiki location page |
41 |
|
- add sysctl.conf template |
42 |
|
- modify masq templates for ipsec status enabled/disabled |
43 |
|
- only load ipsec.conf rather than *.conf to avoid loading v6neighbor-hole.conf |
44 |
|
|
45 |
|
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 0.6-2.sme |
46 |
|
- first import in SME buildsys |
47 |
|
|
48 |
* Sat Dec 05 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.6-1 |
* Sat Dec 05 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.6-1 |
49 |
- New Branch for openswan on v8 |
- New Branch for openswan on v8 |
50 |
|
|
120 |
|
|
121 |
%prep |
%prep |
122 |
%setup |
%setup |
123 |
|
%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 |