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

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

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


Revision 1.8 - (hide annotations) (download)
Sun Apr 24 10:38:31 2016 UTC (8 years, 7 months ago) by reetspetit
Branch: MAIN
CVS Tags: smeserver-libreswan-0_5-20_el6_sme
Changes since 1.7: +5 -1 lines
* Sat Apr 23 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-20.sme
- Fix typo in createlinks for sysctl.conf

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

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