/[smecontribs]/rpms/smeserver-libreswan-xl2tpd/contribs9/smeserver-libreswan-xl2tpd.spec
ViewVC logotype

Contents of /rpms/smeserver-libreswan-xl2tpd/contribs9/smeserver-libreswan-xl2tpd.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.8 - (show annotations) (download)
Fri Feb 14 18:20:56 2020 UTC (4 years, 3 months ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-libreswan-xl2tpd-0_5-8
Changes since 1.7: +15 -3 lines
* Tue Feb 14 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-8.sme
- Update for xl2tpd 1.3.15
- Update createlinks to regenerate masq on connection
- Modify Nat/non Nat sections
- remove rightsubnet as normal configuration item
- set IKE v1 only and other updates to ipsec.conf
- update file layouts to match samples
- load pppol2tp on startup if xl2tpd is enabled
- Bump requires to newer xl2tpd

1 %define name smeserver-libreswan-xl2tpd
2 %define version 0.5
3 %define release 8
4 Summary: Plugin to enable LT2P/IPSEC connections
5 Name: %{name}
6 Version: %{version}
7 Release: %{release}
8 License: GNU GPL version 2
9 URL: https://www.libreswan.org/
10 Group: SMEserver/addon
11 Source: %{name}-%{version}.tar.gz
12 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}
20 BuildArchitectures: noarch
21 BuildRequires: e-smith-devtools
22 Requires: e-smith-release >= 9.2
23 Requires: libreswan >= 3.29
24 Requires: smeserver-libreswan >= 0.5
25 Requires: xl2tpd >= 1.3.15
26 AutoReqProv: no
27
28 %description
29 xl2tpd is an implementation of the Layer 2 Tunnelling Protocol (RFC 2661). L2TP allows you to tunnel PPP over UDP
30
31 %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
64 - add xl2tpd access private as default
65
66 * Fri Nov 24 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-1
67 - First import to contribs
68
69 * Wed Sep 20 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-4
70 - Fix typo error in ipsec.secrets
71
72 * Wed Sep 20 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-3
73 - Modified client authent to work with existing VPN Client Access via Server Manager
74
75 * Mon Jul 31 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-2
76 - Modify rightsubnet
77
78 * Wed Jun 14 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-1
79 - New v 0.2 release
80
81 * Wed Jun 14 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-15
82 - template masq fragment
83
84 * Mon Jun 12 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-14
85 - Big reformat of code to disable templates when items are disabled
86 - Remove service link in spec as xl2tpd will need starting via ipsec-update
87
88 * Fri Jun 09 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-13
89 - add options to /etc/ppp/options.xl2tpd
90
91 * Thu Jun 08 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-12
92 - Fix more templates
93
94 +* Wed Jun 07 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-11
95 +- Fix various templates
96
97 * Thu Jun 1 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-10
98 - Update notes
99 - Note SME bugs: 8890,8891,8897
100 - Fix mistakes in createlinks file
101 - Add event link
102
103 * Wed Nov 18 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-9
104 - Add UDP DB variable and modify masq temnplate
105
106 * Mon Jun 29 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-8
107 - Remove Incorrect template file from /etc/ip-up.local
108
109 * Wed Apr 08 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-6
110 - Add ip-up.local template - variosu other mods
111
112 * Tue Mar 24 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-5
113 - Few more mods to syntax - this appears to work
114
115 * Thu Mar 19 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-4
116 - Escape quotes in template
117 - Remove comments from db
118
119 * Thu Mar 5 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-3
120 - Amend firewall fragment
121
122 * Tue Mar 3 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-2
123 - More of code tidying
124
125 * Fri Feb 15 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-1
126 - initial release
127
128 %prep
129 %setup
130 %patch1 -p1
131 %patch2 -p1
132 %patch3 -p1
133 %patch4 -p1
134 %patch5 -p1
135 %patch6 -p1
136
137 %build
138 perl createlinks
139
140 %install
141 rm -rf $RPM_BUILD_ROOT
142 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
143 rm -f %{name}-%{version}-filelist
144 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
145 echo "%doc COPYING" >> %{name}-%{version}-filelist
146
147
148 %clean
149 cd ..
150 rm -rf %{name}-%{version}
151
152 %files -f %{name}-%{version}-filelist
153 %defattr(-,root,root)
154
155 %pre
156 %preun
157 %post
158 /sbin/e-smith/expand-template /etc/rc.d/init.d/masq
159 /sbin/e-smith/expand-template /etc/inittab
160 /sbin/init q
161
162 %postun
163 /sbin/e-smith/expand-template /etc/rc.d/init.d/masq
164 /sbin/e-smith/expand-template /etc/inittab
165 /sbin/init q

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed