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 7 |
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 |
|
|
18 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
19 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
20 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
21 |
Requires: e-smith-release >= 9.2 |
Requires: e-smith-release >= 9.2 |
22 |
Requires: libreswan >= 3.16 |
Requires: libreswan >= 3.29 |
23 |
Requires: smeserver-libreswan >= 0.5 |
Requires: smeserver-libreswan >= 0.5 |
24 |
Requires: xl2tpd >= 1.3.8 |
Requires: xl2tpd >= 1.3.8 |
25 |
AutoReqProv: no |
AutoReqProv: no |
28 |
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 |
29 |
|
|
30 |
%changelog |
%changelog |
31 |
* Wed Nov 29 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-2 |
* Thu Jan 30 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-7 |
32 |
|
- Update ip-up.local to add debug and enhance setting |
33 |
|
- update ipsec.conf to for NAT/noNAT |
34 |
|
- add $mtu key -defaults to 1400 |
35 |
|
|
36 |
|
* Tue Sep 03 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-6 |
37 |
|
- Add ipsec connection status key (disabled as default) |
38 |
|
- Update Libreswan depends |
39 |
|
- Add ikev2 permit to allow ike v1 |
40 |
|
|
41 |
|
* Thu Jun 21 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-5 |
42 |
|
- Fix obsolete forecencaps |
43 |
|
- Update required Libreswan version |
44 |
|
|
45 |
|
* Thu Nov 30 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-4 |
46 |
|
- template cleanup pending - not yet committed to CVS but in git |
47 |
|
|
48 |
|
* Wed Nov 29 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-3 |
49 |
- remove unneeded default right subnet setting to clear error |
- remove unneeded default right subnet setting to clear error |
50 |
- added variables for leftsourceip and leftsubnet if required |
- added variables for leftsourceip and leftsubnet if required |
51 |
|
|
118 |
%setup |
%setup |
119 |
%patch1 -p1 |
%patch1 -p1 |
120 |
%patch2 -p1 |
%patch2 -p1 |
121 |
|
%patch3 -p1 |
122 |
|
%patch4 -p1 |
123 |
|
%patch5 -p1 |
124 |
|
|
125 |
%build |
%build |
126 |
perl createlinks |
perl createlinks |