1 |
%define name smeserver-libreswan |
%define name smeserver-libreswan |
2 |
%define version 0.5 |
%define version 0.5 |
3 |
%define release 14 |
%define release 22 |
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-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 |
|
Patch6: smeserver-libreswan-ikev2-logrotate.patch |
18 |
|
|
19 |
|
|
20 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
21 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
22 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
23 |
Requires: e-smith-release >= 9.0 |
Requires: e-smith-release >= 9.0 |
24 |
Requires: libreswan >= 3.14 |
Requires: libreswan >= 3.16 |
25 |
AutoReqProv: no |
AutoReqProv: no |
26 |
|
|
27 |
%description |
%description |
28 |
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") |
29 |
|
|
30 |
%changelog |
%changelog |
31 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 0.5-14 |
* Wed Dec 21 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-22.sme |
32 |
|
- update logrotate completely now I realise it is symlinked |
33 |
|
- remove UPDPort and add UPDPorts due to ipsec v2 |
34 |
|
|
35 |
|
* Wed Dec 21 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-21.sme |
36 |
|
- add more variations for ike v1/2 |
37 |
|
- remove logrotate template |
38 |
|
- add /etc/e-smith/events/logrotate/logfiles2timestamp/var/log/pluto.log |
39 |
|
- Fix some log noise when first installed and still disabled |
40 |
|
|
41 |
|
* Sat Apr 23 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-20.sme |
42 |
|
- Fix typo in createlinks for sysctl.conf |
43 |
|
|
44 |
|
* Mon Apr 04 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-19.sme |
45 |
|
- Fix ID in ipsec.secrets if ID is set |
46 |
|
|
47 |
|
* Thu Mar 24 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-18.sme |
48 |
|
- Add debug db key to /etc/ipsec.conf |
49 |
|
- Remove setting public/private keys as they won't affect unless templates are re-expanded |
50 |
|
- Set xfrm_larval_drop drop correctly |
51 |
|
|
52 |
|
* Tue Mar 22 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-17.sme |
53 |
|
- Move pluto.log to /var/log/pluto |
54 |
|
- bump libreswan requires version to 3.16 |
55 |
|
- regenerate masq template on ipsec-update |
56 |
|
- change wiki location page |
57 |
|
- add sysctl.conf template |
58 |
|
- modify masq templates for ipsec status enabled/disabled |
59 |
|
- only load ipsec.conf rather than *.conf to avoid loading v6neighbor-hole.conf |
60 |
|
|
61 |
|
* Thu Mar 10 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-16.sme |
62 |
|
- Fix masq templates for missing db entries on install |
63 |
|
|
64 |
|
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 0.5-15.sme |
65 |
- first import in SME buildsys |
- first import in SME buildsys |
66 |
|
|
67 |
* Wed Feb 17 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-13 |
* Wed Feb 17 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-13 |
154 |
|
|
155 |
%prep |
%prep |
156 |
%setup |
%setup |
157 |
|
%patch1 -p1 |
158 |
|
%patch2 -p1 |
159 |
|
%patch3 -p1 |
160 |
|
%patch4 -p1 |
161 |
|
%patch5 -p1 |
162 |
|
%patch6 -p1 |
163 |
|
|
164 |
|
|
165 |
%build |
%build |
166 |
perl createlinks |
perl createlinks |
189 |
/sbin/init q |
/sbin/init q |
190 |
|
|
191 |
|
|
192 |
echo "see http://wiki.contribs.org/IPSEC" |
echo "see http://wiki.contribs.org/VPN" |
193 |
|
|
194 |
%postun |
%postun |
195 |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |