/[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.6 - (show annotations) (download)
Sun Oct 13 14:08:12 2019 UTC (5 years, 1 month ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-libreswan-xl2tpd-0_5-6
Changes since 1.5: +9 -2 lines
* Tue Sep 03 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-6
- Add ipsec connection status key (disabled as default)
- Update Libreswan depends
- Add ikev2 permit to allow ike v1

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

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