1 |
jcrisp |
1.1 |
%define name smeserver-libreswan-xl2tpd |
2 |
|
|
%define version 0.5 |
3 |
jcrisp |
1.2 |
%define release 2 |
4 |
jcrisp |
1.1 |
Summary: Plugin to enable LT2P/IPSEC connections |
5 |
|
|
Name: %{name} |
6 |
|
|
Version: %{version} |
7 |
|
|
Release: %{release} |
8 |
|
|
License: GNU GPL version 2 |
9 |
|
|
URL: http://libreswan.org/ |
10 |
|
|
Group: SMEserver/addon |
11 |
|
|
Source: %{name}-%{version}.tar.gz |
12 |
jcrisp |
1.2 |
Patch1: smeserver-libreswan-xl2tpd-private-access.patch |
13 |
jcrisp |
1.3 |
Patch2: smeserver-libreswan-xl2tpd-update-variables.patch |
14 |
jcrisp |
1.2 |
|
15 |
jcrisp |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version} |
16 |
|
|
BuildArchitectures: noarch |
17 |
|
|
BuildRequires: e-smith-devtools |
18 |
|
|
Requires: e-smith-release >= 9.2 |
19 |
|
|
Requires: libreswan >= 3.16 |
20 |
|
|
Requires: smeserver-libreswan >= 0.5 |
21 |
|
|
Requires: xl2tpd >= 1.3.8 |
22 |
|
|
AutoReqProv: no |
23 |
|
|
|
24 |
|
|
%description |
25 |
|
|
xl2tpd is an implementation of the Layer 2 Tunnelling Protocol (RFC 2661). L2TP allows you to tunnel PPP over UDP |
26 |
|
|
|
27 |
|
|
%changelog |
28 |
jcrisp |
1.2 |
* Wed Nov 29 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-2 |
29 |
jcrisp |
1.3 |
- remove unneeded default right subnet setting to clear error |
30 |
|
|
- added variables for leftsourceip and leftsubnet if required |
31 |
|
|
|
32 |
|
|
* Wed Nov 29 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-2 |
33 |
jcrisp |
1.2 |
- add xl2tpd access private as default |
34 |
|
|
|
35 |
jcrisp |
1.1 |
* Fri Nov 24 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-1 |
36 |
|
|
- First import to contribs |
37 |
|
|
|
38 |
|
|
* Wed Sep 20 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-4 |
39 |
|
|
- Fix typo error in ipsec.secrets |
40 |
|
|
|
41 |
|
|
* Wed Sep 20 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-3 |
42 |
|
|
- Modified client authent to work with existing VPN Client Access via Server Manager |
43 |
|
|
|
44 |
|
|
* Mon Jul 31 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-2 |
45 |
|
|
- Modify rightsubnet |
46 |
|
|
|
47 |
|
|
* Wed Jun 14 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-1 |
48 |
|
|
- New v 0.2 release |
49 |
|
|
|
50 |
|
|
* Wed Jun 14 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-15 |
51 |
|
|
- template masq fragment |
52 |
|
|
|
53 |
|
|
* Mon Jun 12 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-14 |
54 |
|
|
- Big reformat of code to disable templates when items are disabled |
55 |
|
|
- Remove service link in spec as xl2tpd will need starting via ipsec-update |
56 |
|
|
|
57 |
|
|
* Fri Jun 09 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-13 |
58 |
|
|
- add options to /etc/ppp/options.xl2tpd |
59 |
|
|
|
60 |
|
|
* Thu Jun 08 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-12 |
61 |
|
|
- Fix more templates |
62 |
|
|
|
63 |
|
|
+* Wed Jun 07 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-11 |
64 |
|
|
+- Fix various templates |
65 |
|
|
|
66 |
|
|
* Thu Jun 1 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-10 |
67 |
|
|
- Update notes |
68 |
|
|
- Note SME bugs: 8890,8891,8897 |
69 |
|
|
- Fix mistakes in createlinks file |
70 |
|
|
- Add event link |
71 |
|
|
|
72 |
|
|
* Wed Nov 18 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-9 |
73 |
|
|
- Add UDP DB variable and modify masq temnplate |
74 |
|
|
|
75 |
|
|
* Mon Jun 29 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-8 |
76 |
|
|
- Remove Incorrect template file from /etc/ip-up.local |
77 |
|
|
|
78 |
|
|
* Wed Apr 08 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-6 |
79 |
|
|
- Add ip-up.local template - variosu other mods |
80 |
|
|
|
81 |
|
|
* Tue Mar 24 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-5 |
82 |
|
|
- Few more mods to syntax - this appears to work |
83 |
|
|
|
84 |
|
|
* Thu Mar 19 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-4 |
85 |
|
|
- Escape quotes in template |
86 |
|
|
- Remove comments from db |
87 |
|
|
|
88 |
|
|
* Thu Mar 5 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-3 |
89 |
|
|
- Amend firewall fragment |
90 |
|
|
|
91 |
|
|
* Tue Mar 3 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-2 |
92 |
|
|
- More of code tidying |
93 |
|
|
|
94 |
|
|
* Fri Feb 15 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-1 |
95 |
|
|
- initial release |
96 |
|
|
|
97 |
|
|
%prep |
98 |
|
|
%setup |
99 |
jcrisp |
1.2 |
%patch1 -p1 |
100 |
jcrisp |
1.3 |
%patch2 -p1 |
101 |
jcrisp |
1.1 |
|
102 |
|
|
%build |
103 |
|
|
perl createlinks |
104 |
|
|
|
105 |
|
|
%install |
106 |
|
|
rm -rf $RPM_BUILD_ROOT |
107 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
108 |
|
|
rm -f %{name}-%{version}-filelist |
109 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
110 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
111 |
|
|
|
112 |
|
|
|
113 |
|
|
%clean |
114 |
|
|
cd .. |
115 |
|
|
rm -rf %{name}-%{version} |
116 |
|
|
|
117 |
|
|
%files -f %{name}-%{version}-filelist |
118 |
|
|
%defattr(-,root,root) |
119 |
|
|
|
120 |
|
|
%pre |
121 |
|
|
%preun |
122 |
|
|
%post |
123 |
|
|
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
124 |
|
|
/sbin/e-smith/expand-template /etc/inittab |
125 |
|
|
/sbin/init q |
126 |
|
|
|
127 |
|
|
%postun |
128 |
|
|
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
129 |
|
|
/sbin/e-smith/expand-template /etc/inittab |
130 |
|
|
/sbin/init q |