/[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.9 - (show annotations) (download)
Tue Feb 18 10:54:27 2020 UTC (4 years, 2 months ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-libreswan-xl2tpd-0_5-9, HEAD
Changes since 1.8: +7 -2 lines
* Tue Feb 18 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-9.sme
- remove crtscts fropm options.xl2tpd for xl2tpd 1.3.15

1 %define name smeserver-libreswan-xl2tpd
2 %define version 0.5
3 %define release 9
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 Patch7: smeserver-libreswan-xl2tpd-remove-crtcts.patch
19
20 BuildRoot: /var/tmp/%{name}-%{version}
21 BuildArchitectures: noarch
22 BuildRequires: e-smith-devtools
23 Requires: e-smith-release >= 9.2
24 Requires: libreswan >= 3.29
25 Requires: smeserver-libreswan >= 0.5
26 Requires: xl2tpd >= 1.3.15
27 AutoReqProv: no
28
29 %description
30 xl2tpd is an implementation of the Layer 2 Tunnelling Protocol (RFC 2661). L2TP allows you to tunnel PPP over UDP
31
32 %changelog
33 * Tue Feb 18 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-9.sme
34 - remove crtscts fropm options.xl2tpd for xl2tpd 1.3.15
35
36 * Fri Feb 14 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-8.sme
37 - Update for xl2tpd 1.3.15
38 - Update createlinks to regenerate masq on connection
39 - Modify Nat/non Nat sections
40 - remove rightsubnet as normal configuration item
41 - set IKE v1 only and other updates to ipsec.conf
42 - update file layouts to match samples
43 - load pppol2tp on startup if xl2tpd is enabled
44 - Bump requires to newer xl2tpd
45
46 * Thu Jan 30 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-7
47 - Update ip-up.local to add debug and enhance setting
48 - update ipsec.conf to for NAT/noNAT
49 - add $mtu key - defaults to 1400
50
51 * Tue Sep 03 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-6
52 - Add ipsec connection status key (disabled as default)
53 - Update Libreswan depends
54 - Add ikev2 permit to allow ike v1
55
56 * Thu Jun 21 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-5
57 - Fix obsolete forecencaps
58 - Update required Libreswan version
59
60 * Thu Nov 30 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-4
61 - template cleanup pending - not yet committed to CVS but in git
62
63 * Wed Nov 29 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-3
64 - remove unneeded default right subnet setting to clear error
65 - added variables for leftsourceip and leftsubnet if required
66
67 * Wed Nov 29 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-2
68 - add xl2tpd access private as default
69
70 * Fri Nov 24 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-1
71 - First import to contribs
72
73 * Wed Sep 20 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-4
74 - Fix typo error in ipsec.secrets
75
76 * Wed Sep 20 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-3
77 - Modified client authent to work with existing VPN Client Access via Server Manager
78
79 * Mon Jul 31 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-2
80 - Modify rightsubnet
81
82 * Wed Jun 14 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-1
83 - New v 0.2 release
84
85 * Wed Jun 14 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-15
86 - template masq fragment
87
88 * Mon Jun 12 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-14
89 - Big reformat of code to disable templates when items are disabled
90 - Remove service link in spec as xl2tpd will need starting via ipsec-update
91
92 * Fri Jun 09 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-13
93 - add options to /etc/ppp/options.xl2tpd
94
95 * Thu Jun 08 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-12
96 - Fix more templates
97
98 +* Wed Jun 07 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-11
99 +- Fix various templates
100
101 * Thu Jun 1 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-10
102 - Update notes
103 - Note SME bugs: 8890,8891,8897
104 - Fix mistakes in createlinks file
105 - Add event link
106
107 * Wed Nov 18 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-9
108 - Add UDP DB variable and modify masq temnplate
109
110 * Mon Jun 29 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-8
111 - Remove Incorrect template file from /etc/ip-up.local
112
113 * Wed Apr 08 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-6
114 - Add ip-up.local template - variosu other mods
115
116 * Tue Mar 24 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-5
117 - Few more mods to syntax - this appears to work
118
119 * Thu Mar 19 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-4
120 - Escape quotes in template
121 - Remove comments from db
122
123 * Thu Mar 5 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-3
124 - Amend firewall fragment
125
126 * Tue Mar 3 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-2
127 - More of code tidying
128
129 * Fri Feb 15 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-1
130 - initial release
131
132 %prep
133 %setup
134 %patch1 -p1
135 %patch2 -p1
136 %patch3 -p1
137 %patch4 -p1
138 %patch5 -p1
139 %patch6 -p1
140 %patch7 -p1
141
142 %build
143 perl createlinks
144
145 %install
146 rm -rf $RPM_BUILD_ROOT
147 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
148 rm -f %{name}-%{version}-filelist
149 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
150 echo "%doc COPYING" >> %{name}-%{version}-filelist
151
152
153 %clean
154 cd ..
155 rm -rf %{name}-%{version}
156
157 %files -f %{name}-%{version}-filelist
158 %defattr(-,root,root)
159
160 %pre
161 %preun
162 %post
163 /sbin/e-smith/expand-template /etc/rc.d/init.d/masq
164 /sbin/e-smith/expand-template /etc/inittab
165 /sbin/init q
166
167 %postun
168 /sbin/e-smith/expand-template /etc/rc.d/init.d/masq
169 /sbin/e-smith/expand-template /etc/inittab
170 /sbin/init q

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