1 |
%define name smeserver-libreswan |
%define name smeserver-libreswan |
2 |
%define version 0.5 |
%define version 0.5 |
3 |
%define release 16 |
%define release 20 |
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-libreswan-fix-masq-templates.patch |
Patch1: smeserver-libreswan-fix-masq-templates.patch |
13 |
|
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 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
18 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
19 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
20 |
Requires: e-smith-release >= 9.0 |
Requires: e-smith-release >= 9.0 |
21 |
Requires: libreswan >= 3.14 |
Requires: libreswan >= 3.16 |
22 |
AutoReqProv: no |
AutoReqProv: no |
23 |
|
|
24 |
%description |
%description |
25 |
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") |
26 |
|
|
27 |
%changelog |
%changelog |
28 |
|
* Sat Apr 23 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-20.sme |
29 |
|
- Fix typo in createlinks for sysctl.conf |
30 |
|
|
31 |
|
* Mon Apr 04 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-19.sme |
32 |
|
- Fix ID in ipsec.secrets if ID is set |
33 |
|
|
34 |
|
* Thu Mar 24 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-18.sme |
35 |
|
- Add debug db key to /etc/ipsec.conf |
36 |
|
- Remove setting public/private keys as they won't affect unless templates are re-expanded |
37 |
|
- Set xfrm_larval_drop drop correctly |
38 |
|
|
39 |
|
* Tue Mar 22 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-17.sme |
40 |
|
- Move pluto.log to /var/log/pluto |
41 |
|
- bump libreswan requires version to 3.16 |
42 |
|
- regenerate masq template on ipsec-update |
43 |
|
- change wiki location page |
44 |
|
- add sysctl.conf template |
45 |
|
- modify masq templates for ipsec status enabled/disabled |
46 |
|
- only load ipsec.conf rather than *.conf to avoid loading v6neighbor-hole.conf |
47 |
|
|
48 |
* Thu Mar 10 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-16.sme |
* Thu Mar 10 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-16.sme |
49 |
- Fix masq templates for missing db entries on install |
- Fix masq templates for missing db entries on install |
50 |
|
|
142 |
%prep |
%prep |
143 |
%setup |
%setup |
144 |
%patch1 -p1 |
%patch1 -p1 |
145 |
|
%patch2 -p1 |
146 |
|
%patch3 -p1 |
147 |
|
%patch4 -p1 |
148 |
|
%patch5 -p1 |
149 |
|
|
150 |
%build |
%build |
151 |
perl createlinks |
perl createlinks |
174 |
/sbin/init q |
/sbin/init q |
175 |
|
|
176 |
|
|
177 |
echo "see http://wiki.contribs.org/IPSEC" |
echo "see http://wiki.contribs.org/VPN" |
178 |
|
|
179 |
%postun |
%postun |
180 |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |