/[smecontribs]/rpms/smeserver-openswan/contribs8/smeserver-openswan.spec
ViewVC logotype

Contents of /rpms/smeserver-openswan/contribs8/smeserver-openswan.spec

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


Revision 1.5 - (show annotations) (download)
Mon Apr 4 16:47:11 2016 UTC (8 years, 8 months ago) by reetspetit
Branch: MAIN
CVS Tags: smeserver-openswan-0_6-6_el5_sme
Changes since 1.4: +7 -2 lines
* Mon Apr 04 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.6-6.sme
- Fix ID in ipsec.secrets if ID is set
- Fix xfrm_larval_drop setting in ipsec-update

1 %define name smeserver-openswan
2 %define version 0.6
3 %define release 6
4 Summary: Plugin to enable IPSEC connections
5 Name: %{name}
6 Version: %{version}
7 Release: %{release}%{?dist}
8 License: GNU GPL version 2
9 URL: http://libreswan.org/
10 Group: SMEserver/addon
11 Source: %{name}-%{version}.tar.gz
12 Patch1: smeserver-openswan-fix-masq-templates.patch
13 Patch2: smeserver-openswan-move-logfile.patch
14 Patch3: smeserver-openswan-add-debug-key.patch
15 Patch4: smeserver-openswan-fix-rsa-id.patch
16 BuildRoot: /var/tmp/%{name}-%{version}
17 BuildArchitectures: noarch
18 BuildRequires: e-smith-devtools
19 Requires: e-smith-release >= 8.0
20 Requires: openswan >= 2.6.38
21 AutoReqProv: no
22
23 %description
24 Openswan is a free software implementation of the most widely supported and standarised VPN protocol based on ("IPsec") and the Internet Key Exchange ("IKE")
25
26 %changelog
27 * Mon Apr 04 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.6-6.sme
28 - Fix ID in ipsec.secrets if ID is set
29 - Fix xfrm_larval_drop setting in ipsec-update
30
31 * Thu Mar 24 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.6-5.sme
32 - Add debug db key to /etc/ipsec.conf
33 - Remove setting public/private keys as they won't affect unless templates are re-expanded
34 - Set xfrm_larval_drop drop correctly
35 - minor formatting
36
37 * Thu Mar 24 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.6-4.sme
38 - split patch file to match libreswan
39
40 * Tue Mar 22 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.6-3.sme
41 - Fix masq templates for missing db keys on install
42 - Move pluto.log to /var/log/pluto
43 - regenerate masq template on ipsec-update
44 - change wiki location page
45 - add sysctl.conf template
46 - modify masq templates for ipsec status enabled/disabled
47 - only load ipsec.conf rather than *.conf to avoid loading v6neighbor-hole.conf
48
49 * Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 0.6-2.sme
50 - first import in SME buildsys
51
52 * Sat Dec 05 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.6-1
53 - New Branch for openswan on v8
54
55 * Wed Nov 25 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-9
56 - Copied code to openswan contrib as libreswan contrib is now LibreSwan specific
57
58 * Wed Nov 25 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-8
59 - Revised masq templates - disable on ipsec disable
60 - Template ipsec.secrets so Terry won't break it again
61 - Set requires e-smith >=9 and libreswan >=3.14
62
63 * Wed Nov 18 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-7
64 - add 90adjustESP
65
66 * Tue Nov 17 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-6
67 - more update to masq firewalls - change -p 50 to -p ESP
68
69 * Tue Nov 17 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-5
70 - update masq firewall rules
71 - document clean up
72
73 * Wed May 27 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-4
74 - set dpd actions off if ipsec is 'add'
75 - add salifetime key and rename ikelifetime and keylife
76 - change defaults for salifetime and ikelifetime
77 - add in rsasig support
78
79 * Wed Apr 22 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-3
80 - change default ike from aes-sha to aes-sha1
81
82 * Tue Mar 24 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-2
83 - More minor fixes - should work OK with xl2tpd
84
85 * Thu Mar 19 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-1
86 - Remove templates2expand and added to createlinks
87 - modified ipsec.secret template
88 - various other fixes
89
90 * Fri Mar 13 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.4-5
91 - Big changes again - now have PreviousState to detect changes
92 - Createlinks to S10 to run after expand-templates
93
94 * Thu Mar 5 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.4-4
95 - Changed lots. Removed sysctl.conf template
96 - Changed firewall template
97
98 * Tue Mar 3 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.4-3
99 - Load of code tidying and prep from xl2tpd
100
101 * Fri Feb 27 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.4-2
102 - Update action script and allow for system not in gateway mode
103 - add ike and phase2alg db settings
104
105 * Tue Feb 24 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.4-1
106 - New ipsec-action script
107 - Numerous template changes
108
109 * Fri Jan 16 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.3-1
110 - remove debugging lines
111 - remove expand templates from spec file
112 - add status check for ipsec.conf
113 - add comment to masq template
114 - updated db defaults
115 - ipsec.conf not expanded on install
116 - missed auto=start
117
118 * Fri Jan 16 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-1
119 - remove rc.local modifications
120 - add /etc/sysctl.conf patches
121
122 * Thu Jan 15 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-1
123 - initial release
124
125 %prep
126 %setup
127 %patch1 -p1
128 %patch2 -p1
129 %patch3 -p1
130 %patch4 -p1
131
132 %build
133 perl createlinks
134
135 %install
136 rm -rf $RPM_BUILD_ROOT
137 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
138 rm -f %{name}-%{version}-filelist
139 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
140 echo "%doc COPYING" >> %{name}-%{version}-filelist
141
142
143 %clean
144 cd ..
145 rm -rf %{name}-%{version}
146
147 %files -f %{name}-%{version}-filelist
148 %defattr(-,root,root)
149
150 %pre
151 %preun
152 %post
153
154 /sbin/e-smith/expand-template /etc/rc.d/init.d/masq
155 /sbin/e-smith/expand-template /etc/inittab
156 /sbin/init q
157
158
159 echo "see http://wiki.contribs.org/VPN"
160
161 %postun
162 /sbin/e-smith/expand-template /etc/rc.d/init.d/masq
163 /sbin/e-smith/expand-template /etc/inittab
164 /sbin/init q

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