1 |
%define name smeserver-libreswan |
%define name smeserver-libreswan |
2 |
%define version 0.5 |
%define version 0.5 |
3 |
%define release 22 |
%define release 29 |
4 |
Summary: Plugin to enable IPSEC connections |
Summary: Plugin to enable IPSEC connections |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
15 |
Patch4: smeserver-libreswan-fix-rsa-id.patch |
Patch4: smeserver-libreswan-fix-rsa-id.patch |
16 |
Patch5: smeserver-libreswan-fix-createlinks.patch |
Patch5: smeserver-libreswan-fix-createlinks.patch |
17 |
Patch6: smeserver-libreswan-ikev2-logrotate.patch |
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 |
|
Patch10: smeserver-libreswan-forceencaps-l2tpd.patch |
22 |
|
Patch11: smeserver-libreswan-variable-network-interfaces.patch |
23 |
|
Patch12: smeserver-libreswan-remove-obsoletes.patch |
24 |
|
Patch13: smeserver-libreswan-add-reauth.patch |
25 |
|
|
26 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
27 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
28 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
29 |
Requires: e-smith-release >= 9.0 |
Requires: e-smith-release >= 9.2 |
30 |
Requires: libreswan >= 3.16 |
Requires: libreswan >= 3.29 |
31 |
AutoReqProv: no |
AutoReqProv: no |
32 |
|
|
33 |
%description |
%description |
34 |
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") |
35 |
|
|
36 |
%changelog |
%changelog |
37 |
|
* Sat Aug 31 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-29.sme |
38 |
|
- Bump required Libreswan to 3.29 |
39 |
|
- add reauth option |
40 |
|
|
41 |
|
* Thu Jun 21 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-28.sme |
42 |
|
- Bump required Libreswan to 3.23 |
43 |
|
- Change forceencaps to encapsulation |
44 |
|
- Remove obsolete nat_traversal |
45 |
|
- Modify ipsec.conf for no rightsubnet in xl2tpd |
46 |
|
|
47 |
|
* Tue Sep 19 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-27.sme |
48 |
|
- Allow variable network interface names - Stefano Zamboni |
49 |
|
|
50 |
|
* Thu Jun 15 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-26.sme |
51 |
|
- add keep-alive option in main ipsec.conf |
52 |
|
- add forceencaps option overall default and per connection |
53 |
|
- small code tidy |
54 |
|
- Add support for L2TPD |
55 |
|
|
56 |
|
* Thu Jan 26 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-25.sme |
57 |
|
- Fix the ipsec.conf as well |
58 |
|
- remove automatic \@ in IDs - Fixes [SME: 9729] |
59 |
|
|
60 |
|
* Thu Jan 26 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-24.sme |
61 |
|
- remove automatic \@ in IDs - Fixes [SME: 9729] |
62 |
|
- fix swapped left/right IDs in password file |
63 |
|
|
64 |
|
* Wed Jan 25 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-23.sme |
65 |
|
- Add the ability to use PEM/PKCS#12 certificates - fixes [SME: 9942] |
66 |
|
- lots of code tidying |
67 |
|
|
68 |
* Wed Dec 21 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-22.sme |
* Wed Dec 21 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-22.sme |
69 |
- update logrotate completely now I realise it is symlinked |
- update logrotate completely now I realise it is symlinked |
70 |
- remove UPDPort and add UPDPorts due to ipsec v2 |
- remove UPDPort and add UPDPorts due to ipsec v2 |
197 |
%patch4 -p1 |
%patch4 -p1 |
198 |
%patch5 -p1 |
%patch5 -p1 |
199 |
%patch6 -p1 |
%patch6 -p1 |
200 |
|
%patch7 -p1 |
201 |
|
%patch8 -p1 |
202 |
|
%patch9 -p1 |
203 |
|
%patch10 -p1 |
204 |
|
%patch11 -p1 |
205 |
|
%patch12 -p1 |
206 |
|
%patch13 -p1 |
207 |
|
|
208 |
%build |
%build |
209 |
perl createlinks |
perl createlinks |
232 |
/sbin/init q |
/sbin/init q |
233 |
|
|
234 |
|
|
235 |
echo "see http://wiki.contribs.org/VPN" |
echo "see https://wiki.contribs.org/Libreswan" |
236 |
|
|
237 |
%postun |
%postun |
238 |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |