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