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

Annotation 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.7 - (hide annotations) (download)
Thu Jan 30 14:35:46 2020 UTC (4 years, 10 months ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-libreswan-xl2tpd-0_5-7
Changes since 1.6: +9 -3 lines
* Thu Jan 30 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-7
- Update ip-up.local to add debug and enhance setting
- update ipsec.conf to for NAT/noNAT
- add $mtu key -defaults to 1400

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

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