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

Contents of /rpms/smeserver-libreswan/contribs9/smeserver-libreswan.spec

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


Revision 1.12 - (show annotations) (download)
Thu Jan 26 21:11:52 2017 UTC (7 years, 9 months ago) by reetspetit
Branch: MAIN
CVS Tags: smeserver-libreswan-0_5-25_el6_sme
Changes since 1.11: +7 -1 lines
* Thu Jan 26 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-25.sme
 - Fix the ipsec.conf as well
 - remove automatic \@ in IDs - Fixes [SME: 9729]

* Thu Jan 26 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-24.sme
 - remove automatic \@ in IDs - Fixes [SME: 9729]
 - fix swapped left/right IDs in password file

1 %define name smeserver-libreswan
2 %define version 0.5
3 %define release 25
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-libreswan-fix-masq-templates.patch
13 Patch2: smeserver-libreswan-move-logfile.patch
14 Patch3: smeserver-libreswan-add-debug-key.patch
15 Patch4: smeserver-libreswan-fix-rsa-id.patch
16 Patch5: smeserver-libreswan-fix-createlinks.patch
17 Patch6: smeserver-libreswan-ikev2-logrotate.patch
18 Patch7: smeserver-libreswan-add-certificates.patch
19 Patch8: smeserver-libreswan-modify-identifiers.patch
20 Patch9: smeserver-libreswan-modify-identifiers1.patch
21
22
23 BuildRoot: /var/tmp/%{name}-%{version}
24 BuildArchitectures: noarch
25 BuildRequires: e-smith-devtools
26 Requires: e-smith-release >= 9.0
27 Requires: libreswan >= 3.16
28 AutoReqProv: no
29
30 %description
31 Libreswan is a free software implementation of the most widely supported and standardised VPN protocol based on ("IPsec") and the Internet Key Exchange ("IKE")
32
33 %changelog
34 * Thu Jan 26 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-25.sme
35 - Fix the ipsec.conf as well
36 - remove automatic \@ in IDs - Fixes [SME: 9729]
37
38 * Thu Jan 26 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-24.sme
39 - remove automatic \@ in IDs - Fixes [SME: 9729]
40 - fix swapped left/right IDs in password file
41
42 * Wed Jan 25 2017 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-23.sme
43 - Add the ability to use PEM/PKCS#12 certificates - fixes [SME: 9942]
44 - lots of code tidying
45
46 * Wed Dec 21 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-22.sme
47 - update logrotate completely now I realise it is symlinked
48 - remove UPDPort and add UPDPorts due to ipsec v2
49
50 * Wed Dec 21 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-21.sme
51 - add more variations for ike v1/2
52 - remove logrotate template
53 - add /etc/e-smith/events/logrotate/logfiles2timestamp/var/log/pluto.log
54 - Fix some log noise when first installed and still disabled
55
56 * Sat Apr 23 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-20.sme
57 - Fix typo in createlinks for sysctl.conf
58
59 * Mon Apr 04 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-19.sme
60 - Fix ID in ipsec.secrets if ID is set
61
62 * Thu Mar 24 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-18.sme
63 - Add debug db key to /etc/ipsec.conf
64 - Remove setting public/private keys as they won't affect unless templates are re-expanded
65 - Set xfrm_larval_drop drop correctly
66
67 * Tue Mar 22 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-17.sme
68 - Move pluto.log to /var/log/pluto
69 - bump libreswan requires version to 3.16
70 - regenerate masq template on ipsec-update
71 - change wiki location page
72 - add sysctl.conf template
73 - modify masq templates for ipsec status enabled/disabled
74 - only load ipsec.conf rather than *.conf to avoid loading v6neighbor-hole.conf
75
76 * Thu Mar 10 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-16.sme
77 - Fix masq templates for missing db entries on install
78
79 * Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 0.5-15.sme
80 - first import in SME buildsys
81
82 * Wed Feb 17 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-13
83 - Fix small typo in readme
84
85 * Fri Dec 04 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-12
86 - Add keyingtries
87 - Finally fix add issues using asynchronous
88
89 * Wed Dec 02 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-11
90 - Determine host IPtype - static or dynamic IP
91 - auto --up changed to exec
92 - Add checks for Left/Right ID in secrets file
93
94 * Tue Dec 01 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-10
95 - Allow dynamic addresses
96 - Add iptype
97 - disallow " in PSK passwords
98 - Revised logging messages
99
100 * Mon Nov 30 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-9
101 - Amended templates to allow for rsasig. Early cert settings removed
102
103 * Wed Nov 25 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-8
104 - Revised masq templates - disable on ipsec disable
105 - Template ipsec.secrets so Terry won't break it again
106 - Set requires e-smith >=9 and libreswan >=3.14
107
108 * Wed Nov 18 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-7
109 - add 90adjustESP
110
111 * Tue Nov 17 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-6
112 - more update to masq firewalls - change -p 50 to -p ESP
113
114 * Tue Nov 17 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-5
115 - update masq firewall rules
116 - document clean up
117
118 * Wed May 27 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-4
119 - set dpd actions off if ipsec is 'add'
120 - add salifetime key and rename ikelifetime and keylife
121 - change defaults for salifetime and ikelifetime
122 - add in rsasig support
123
124 * Wed Apr 22 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-3
125 - change default ike from aes-sha to aes-sha1
126
127 * Tue Mar 24 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-2
128 - More minor fixes - should work OK with xl2tpd
129
130 * Thu Mar 19 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-1
131 - Remove templates2expand and added to createlinks
132 - modified ipsec.secret template
133 - various other fixes
134
135 * Fri Mar 13 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.4-5
136 - Big changes again - now have PreviousState to detect changes
137 - Createlinks to S10 to run after expand-templates
138
139 * Thu Mar 5 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.4-4
140 - Changed lots. Removed sysctl.conf template
141 - Changed firewall template
142
143 * Tue Mar 3 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.4-3
144 - Load of code tidying and prep from xl2tpd
145
146 * Fri Feb 27 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.4-2
147 - Update action script and allow for system not in gateway mode
148 - add ike and phase2alg db settings
149
150 * Tue Feb 24 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.4-1
151 - New ipsec-action script
152 - Numerous template changes
153
154 * Fri Jan 16 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.3-1
155 - remove debugging lines
156 - remove expand templates from spec file
157 - add status check for ipsec.conf
158 - add comment to masq template
159 - updated db defaults
160 - ipsec.conf not expanded on install
161 - missed auto=start
162
163 * Fri Jan 16 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-1
164 - remove rc.local modifications
165 - add /etc/sysctl.conf patches
166
167 * Thu Jan 15 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-1
168 - initial release
169
170 %prep
171 %setup
172 %patch1 -p1
173 %patch2 -p1
174 %patch3 -p1
175 %patch4 -p1
176 %patch5 -p1
177 %patch6 -p1
178 %patch7 -p1
179 %patch8 -p1
180 %patch9 -p1
181
182 %build
183 perl createlinks
184
185 %install
186 rm -rf $RPM_BUILD_ROOT
187 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
188 rm -f %{name}-%{version}-filelist
189 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
190 echo "%doc COPYING" >> %{name}-%{version}-filelist
191
192
193 %clean
194 cd ..
195 rm -rf %{name}-%{version}
196
197 %files -f %{name}-%{version}-filelist
198 %defattr(-,root,root)
199
200 %pre
201 %preun
202 %post
203
204 /sbin/e-smith/expand-template /etc/rc.d/init.d/masq
205 /sbin/e-smith/expand-template /etc/inittab
206 /sbin/init q
207
208
209 echo "see https://wiki.contribs.org/Libreswan"
210
211 %postun
212 /sbin/e-smith/expand-template /etc/rc.d/init.d/masq
213 /sbin/e-smith/expand-template /etc/inittab
214 /sbin/init q

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