1 |
%define name smeserver-openswan |
%define name smeserver-openswan |
2 |
%define version 0.6 |
%define version 0.6 |
3 |
%define release 2 |
%define release 7 |
4 |
Summary: Plugin to enable IPSEC connections |
Summary: Plugin to enable IPSEC connections |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
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 |
|
Patch4: smeserver-openswan-fix-rsa-id.patch |
16 |
|
Patch5: smeserver-openswan-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 |
25 |
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") |
26 |
|
|
27 |
%changelog |
%changelog |
28 |
|
* Sat Apr 23 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.6-7.sme |
29 |
|
- Fix typo in createlinks for sysctl.conf |
30 |
|
|
31 |
|
* Mon Apr 04 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.6-6.sme |
32 |
|
- Fix ID in ipsec.secrets if ID is set |
33 |
|
- Fix xfrm_larval_drop setting in ipsec-update |
34 |
|
|
35 |
|
* Thu Mar 24 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.6-5.sme |
36 |
|
- Add debug db key to /etc/ipsec.conf |
37 |
|
- Remove setting public/private keys as they won't affect unless templates are re-expanded |
38 |
|
- Set xfrm_larval_drop drop correctly |
39 |
|
- minor formatting |
40 |
|
|
41 |
|
* Thu Mar 24 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.6-4.sme |
42 |
|
- split patch file to match libreswan |
43 |
|
|
44 |
|
* Tue Mar 22 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.6-3.sme |
45 |
|
- Fix masq templates for missing db keys on install |
46 |
|
- Move pluto.log to /var/log/pluto |
47 |
|
- regenerate masq template on ipsec-update |
48 |
|
- change wiki location page |
49 |
|
- add sysctl.conf template |
50 |
|
- modify masq templates for ipsec status enabled/disabled |
51 |
|
- only load ipsec.conf rather than *.conf to avoid loading v6neighbor-hole.conf |
52 |
|
|
53 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 0.6-2.sme |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 0.6-2.sme |
54 |
- first import in SME buildsys |
- first import in SME buildsys |
55 |
|
|
128 |
|
|
129 |
%prep |
%prep |
130 |
%setup |
%setup |
131 |
|
%patch1 -p1 |
132 |
|
%patch2 -p1 |
133 |
|
%patch3 -p1 |
134 |
|
%patch4 -p1 |
135 |
|
%patch5 -p1 |
136 |
|
|
137 |
%build |
%build |
138 |
perl createlinks |
perl createlinks |
161 |
/sbin/init q |
/sbin/init q |
162 |
|
|
163 |
|
|
164 |
echo "see http://wiki.contribs.org/IPSEC" |
echo "see http://wiki.contribs.org/VPN" |
165 |
|
|
166 |
%postun |
%postun |
167 |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |