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

Annotation of /rpms/smeserver-libreswan-xl2tpd/contribs10/smeserver-libreswan-xl2tpd.spec

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


Revision 1.2 - (hide annotations) (download)
Tue Mar 2 11:55:20 2021 UTC (3 years, 8 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-libreswan-xl2tpd-0_5-10, HEAD
Changes since 1.1: +7 -1 lines
* Tue Mar 02 2021 Brian Read <brianr@bjsystems.co.uk> 0.5-10.sme
- Initial import to SME10 tree [SME: 11409]
- Add-event-for-systemd-in-createlinks

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

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