/[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.5 - (show annotations) (download)
Thu Jun 21 13:03:30 2018 UTC (6 years, 4 months ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-libreswan-xl2tpd-0_5-5
Changes since 1.4: +12 -2 lines
* Thu Jun 21 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-5
- Fix obsolete forecencaps
- Update required Libreswan version

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

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