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 8 |
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 |
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 |
|
|
19 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
20 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
21 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
22 |
Requires: e-smith-release >= 9.2 |
Requires: e-smith-release >= 9.2 |
23 |
Requires: libreswan >= 3.16 |
Requires: libreswan >= 3.29 |
24 |
Requires: smeserver-libreswan >= 0.5 |
Requires: smeserver-libreswan >= 0.5 |
25 |
Requires: xl2tpd >= 1.3.8 |
Requires: xl2tpd >= 1.3.15 |
26 |
AutoReqProv: no |
AutoReqProv: no |
27 |
|
|
28 |
%description |
%description |
29 |
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 |
30 |
|
|
31 |
%changelog |
%changelog |
32 |
|
* Tue Feb 14 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-8.sme |
33 |
|
- Update for xl2tpd 1.3.15 |
34 |
|
- Update createlinks to regenerate masq on connection |
35 |
|
- Modify Nat/non Nat sections |
36 |
|
- remove rightsubnet as normal configuration item |
37 |
|
- set IKE v1 only and other updates to ipsec.conf |
38 |
|
- update file layouts to match samples |
39 |
|
- load pppol2tp on startup if xl2tpd is enabled |
40 |
|
- Bump requires to newer xl2tpd |
41 |
|
|
42 |
|
* Thu Jan 30 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-7 |
43 |
|
- Update ip-up.local to add debug and enhance setting |
44 |
|
- update ipsec.conf to for NAT/noNAT |
45 |
|
- add $mtu key - defaults to 1400 |
46 |
|
|
47 |
|
* Tue Sep 03 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-6 |
48 |
|
- Add ipsec connection status key (disabled as default) |
49 |
|
- Update Libreswan depends |
50 |
|
- Add ikev2 permit to allow ike v1 |
51 |
|
|
52 |
|
* Thu Jun 21 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-5 |
53 |
|
- Fix obsolete forecencaps |
54 |
|
- Update required Libreswan version |
55 |
|
|
56 |
|
* Thu Nov 30 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-4 |
57 |
|
- template cleanup pending - not yet committed to CVS but in git |
58 |
|
|
59 |
|
* Wed Nov 29 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-3 |
60 |
|
- remove unneeded default right subnet setting to clear error |
61 |
|
- added variables for leftsourceip and leftsubnet if required |
62 |
|
|
63 |
* Wed Nov 29 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-2 |
* Wed Nov 29 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-2 |
64 |
- add xl2tpd access private as default |
- add xl2tpd access private as default |
65 |
|
|
128 |
%prep |
%prep |
129 |
%setup |
%setup |
130 |
%patch1 -p1 |
%patch1 -p1 |
131 |
|
%patch2 -p1 |
132 |
|
%patch3 -p1 |
133 |
|
%patch4 -p1 |
134 |
|
%patch5 -p1 |
135 |
|
%patch6 -p1 |
136 |
|
|
137 |
%build |
%build |
138 |
perl createlinks |
perl createlinks |