1 |
%define name smeserver-libreswan-xl2tpd |
%define name smeserver-libreswan-xl2tpd |
2 |
%define version 0.5 |
%define version 0.5 |
3 |
%define release 2 |
%define release 9 |
4 |
Summary: Plugin to enable LT2P/IPSEC connections |
Summary: Plugin to enable LT2P/IPSEC connections |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release} |
Release: %{release} |
8 |
License: GNU GPL version 2 |
License: GNU GPL version 2 |
9 |
URL: http://libreswan.org/ |
URL: https://www.libreswan.org/ |
10 |
Group: SMEserver/addon |
Group: SMEserver/addon |
11 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
12 |
Patch1: smeserver-libreswan-xl2tpd-private-access.patch |
Patch1: smeserver-libreswan-xl2tpd-private-access.patch |
13 |
Patch2: smeserver-libreswan-xl2tpd-update-variables.patch |
Patch2: smeserver-libreswan-xl2tpd-update-variables.patch |
14 |
|
Patch3: smeserver-libreswan-xl2tpd-cleanup-obsoletes.patch |
15 |
|
Patch4: smeserver-libreswan-xl2tpd-update-status-default |
16 |
|
Patch5: smeserver-libreswan-xl2tpd-update-ip-up-local.patch |
17 |
|
Patch6: smeserver-libreswan-xl2tpd-update-createlinks.patch |
18 |
|
Patch7: smeserver-libreswan-xl2tpd-remove-crtcts.patch |
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.2 |
Requires: e-smith-release >= 9.2 |
24 |
Requires: libreswan >= 3.16 |
Requires: libreswan >= 3.29 |
25 |
Requires: smeserver-libreswan >= 0.5 |
Requires: smeserver-libreswan >= 0.5 |
26 |
Requires: xl2tpd >= 1.3.8 |
Requires: xl2tpd >= 1.3.15 |
27 |
AutoReqProv: no |
AutoReqProv: no |
28 |
|
|
29 |
%description |
%description |
30 |
xl2tpd is an implementation of the Layer 2 Tunnelling Protocol (RFC 2661). L2TP allows you to tunnel PPP over UDP |
xl2tpd is an implementation of the Layer 2 Tunnelling Protocol (RFC 2661). L2TP allows you to tunnel PPP over UDP |
31 |
|
|
32 |
%changelog |
%changelog |
33 |
* Wed Nov 29 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-2 |
* Tue Feb 18 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-9.sme |
34 |
|
- remove crtscts fropm options.xl2tpd for xl2tpd 1.3.15 |
35 |
|
|
36 |
|
* Fri Feb 14 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-8.sme |
37 |
|
- Update for xl2tpd 1.3.15 |
38 |
|
- Update createlinks to regenerate masq on connection |
39 |
|
- Modify Nat/non Nat sections |
40 |
|
- remove rightsubnet as normal configuration item |
41 |
|
- set IKE v1 only and other updates to ipsec.conf |
42 |
|
- update file layouts to match samples |
43 |
|
- load pppol2tp on startup if xl2tpd is enabled |
44 |
|
- Bump requires to newer xl2tpd |
45 |
|
|
46 |
|
* Thu Jan 30 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-7 |
47 |
|
- Update ip-up.local to add debug and enhance setting |
48 |
|
- update ipsec.conf to for NAT/noNAT |
49 |
|
- add $mtu key - defaults to 1400 |
50 |
|
|
51 |
|
* Tue Sep 03 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-6 |
52 |
|
- Add ipsec connection status key (disabled as default) |
53 |
|
- Update Libreswan depends |
54 |
|
- Add ikev2 permit to allow ike v1 |
55 |
|
|
56 |
|
* Thu Jun 21 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-5 |
57 |
|
- Fix obsolete forecencaps |
58 |
|
- Update required Libreswan version |
59 |
|
|
60 |
|
* Thu Nov 30 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-4 |
61 |
|
- template cleanup pending - not yet committed to CVS but in git |
62 |
|
|
63 |
|
* Wed Nov 29 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-3 |
64 |
- remove unneeded default right subnet setting to clear error |
- remove unneeded default right subnet setting to clear error |
65 |
- added variables for leftsourceip and leftsubnet if required |
- added variables for leftsourceip and leftsubnet if required |
66 |
|
|
133 |
%setup |
%setup |
134 |
%patch1 -p1 |
%patch1 -p1 |
135 |
%patch2 -p1 |
%patch2 -p1 |
136 |
|
%patch3 -p1 |
137 |
|
%patch4 -p1 |
138 |
|
%patch5 -p1 |
139 |
|
%patch6 -p1 |
140 |
|
%patch7 -p1 |
141 |
|
|
142 |
%build |
%build |
143 |
perl createlinks |
perl createlinks |