1 |
%define name smeserver-libreswan |
%define name smeserver-libreswan |
2 |
%define version 0.5 |
%define version 0.5 |
3 |
%define release 17 |
%define release 25 |
4 |
Summary: Plugin to enable IPSEC connections |
Summary: Plugin to enable IPSEC connections |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
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 |
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 |
|
Patch7: smeserver-libreswan-add-certificates.patch |
19 |
|
Patch8: smeserver-libreswan-modify-identifiers.patch |
20 |
|
Patch9: smeserver-libreswan-modify-identifiers1.patch |
21 |
|
|
22 |
|
|
23 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
24 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
25 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
31 |
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") |
32 |
|
|
33 |
%changelog |
%changelog |
34 |
|
* Thu Jan 26 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-25.sme |
35 |
|
- Fix the ipsec.conf as well |
36 |
|
- remove automatic \@ in IDs - Fixes [SME: 9729] |
37 |
|
|
38 |
|
* Thu Jan 26 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-24.sme |
39 |
|
- remove automatic \@ in IDs - Fixes [SME: 9729] |
40 |
|
- fix swapped left/right IDs in password file |
41 |
|
|
42 |
|
* Wed Jan 25 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-23.sme |
43 |
|
- Add the ability to use PEM/PKCS#12 certificates - fixes [SME: 9942] |
44 |
|
- lots of code tidying |
45 |
|
|
46 |
|
* Wed Dec 21 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-22.sme |
47 |
|
- update logrotate completely now I realise it is symlinked |
48 |
|
- remove UPDPort and add UPDPorts due to ipsec v2 |
49 |
|
|
50 |
|
* Wed Dec 21 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-21.sme |
51 |
|
- add more variations for ike v1/2 |
52 |
|
- remove logrotate template |
53 |
|
- add /etc/e-smith/events/logrotate/logfiles2timestamp/var/log/pluto.log |
54 |
|
- Fix some log noise when first installed and still disabled |
55 |
|
|
56 |
|
* Sat Apr 23 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-20.sme |
57 |
|
- Fix typo in createlinks for sysctl.conf |
58 |
|
|
59 |
|
* Mon Apr 04 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-19.sme |
60 |
|
- Fix ID in ipsec.secrets if ID is set |
61 |
|
|
62 |
|
* Thu Mar 24 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-18.sme |
63 |
|
- Add debug db key to /etc/ipsec.conf |
64 |
|
- Remove setting public/private keys as they won't affect unless templates are re-expanded |
65 |
|
- Set xfrm_larval_drop drop correctly |
66 |
|
|
67 |
* Tue Mar 22 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-17.sme |
* Tue Mar 22 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-17.sme |
68 |
- Move pluto.log to /var/log/pluto |
- Move pluto.log to /var/log/pluto |
69 |
- bump libreswan requires version to 3.16 |
- bump libreswan requires version to 3.16 |
171 |
%setup |
%setup |
172 |
%patch1 -p1 |
%patch1 -p1 |
173 |
%patch2 -p1 |
%patch2 -p1 |
174 |
|
%patch3 -p1 |
175 |
|
%patch4 -p1 |
176 |
|
%patch5 -p1 |
177 |
|
%patch6 -p1 |
178 |
|
%patch7 -p1 |
179 |
|
%patch8 -p1 |
180 |
|
%patch9 -p1 |
181 |
|
|
182 |
%build |
%build |
183 |
perl createlinks |
perl createlinks |
200 |
%pre |
%pre |
201 |
%preun |
%preun |
202 |
%post |
%post |
203 |
|
|
204 |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
205 |
/sbin/e-smith/expand-template /etc/inittab |
/sbin/e-smith/expand-template /etc/inittab |
206 |
/sbin/init q |
/sbin/init q |
207 |
|
|
208 |
|
|
209 |
echo "see http://wiki.contribs.org/VPN" |
echo "see https://wiki.contribs.org/Libreswan" |
210 |
|
|
211 |
%postun |
%postun |
212 |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |