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

Contents of /rpms/smeserver-openvpn-bridge/contribs9/smeserver-openvpn-bridge.spec

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


Revision 1.3 - (show annotations) (download)
Thu Aug 6 15:42:13 2015 UTC (8 years, 9 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-openvpn-bridge-2_1-3_el6_sme
Changes since 1.2: +8 -3 lines
* Thu Aug 6 2015 Daniel Berteaud <daniel@firewall-services.com> 2.1-3.sme
- Add routes for s2s virtual IP

1 # $Id: smeserver-openvpn-bridge.spec,v 1.2 2015/02/17 12:06:59 vip-ire Exp $
2 # Authority: vip-ire
3 # Name: Daniel Berteaud
4
5 Summary: OpenVPN, a strong VPN solution build over SSL, pre-configured for bridge mode
6 %define name smeserver-openvpn-bridge
7 Name: %{name}
8 %define version 2.1
9 %define release 3
10 Version: %{version}
11 Release: %{release}%{?dist}
12 License: GPL
13 Group: Networking/Remote access
14 Source: %{name}-%{version}.tar.xz
15
16 Patch0: smeserver-openvpn-bridge-2.1-locale-2015-02-17.patch
17 Patch1: smeserver-openvpn-bridge-2.1-add_routes_for_s2s_virtual_ip.patch
18
19 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
20 BuildArchitectures: noarch
21
22 BuildRequires: e-smith-devtools
23
24 Requires: e-smith-base
25 Requires: openvpn
26 Requires: smeserver-bridge-interface
27 Requires: perl(Net::OpenVPN::Manage)
28 Obsoletes: smeserver-openvpn-bridge-fws
29 Obsoletes: smeserver-openvpn-bridge.fws
30
31 %description
32 This package contains all the needed scripts and templates
33 to have a full working openvpn server running in bridge mode.
34
35 %changelog
36 * Thu Aug 6 2015 Daniel Berteaud <daniel@firewall-services.com> 2.1-3.sme
37 - Add routes for s2s virtual IP
38
39 * Tue Feb 17 2015 Daniel Berteaud <daniel@firewall-services.com> 2.1-2.sme
40 - Apply locale 2015-02-17 patch
41
42 * Mon Nov 11 2013 Daniel B. <daniel@firewall-services.com> 2.1-1.sme
43 - Rebuild for SME9
44
45 * Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 2.0-50.sme
46 - apply locale 2013-07-14 patch
47
48 * Thu Jun 6 2013 Daniel B. <daniel@firewall-services.com> 2.0-49.sme
49 - Fix plugin directory for x86_64 [SME: 7658]
50
51 * Fri Mar 22 2013 Daniel B. <daniel@firewall-services.com> 2.0-48.sme
52 - Fix spelling in en-us panel [SME: 7507]
53
54 * Mon Oct 08 2012 Daniel B. <daniel@firewall-services.com> 2.0-47.sme
55 - Create a tmp dir (needed for openvpn 2.2.2)
56
57 * Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 2.0-46.el6
58 - apply locale 2012-03-20 patch
59
60 * Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 2.0-45.sme
61 - apply locale 2011-04-27 patch
62
63 * Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 2.0-44.sme
64 - apply locale 2011-03-06 patch
65
66 * Thu Feb 17 2011 Daniel B. <daniel@firewall-services.com> 2.0-43.sme
67 - Fix a typo in the panel [SME: 6509]
68
69 * Tue Jan 25 2011 Daniel B. <daniel@firewall-services.com> 2.0-42.sme
70 - Stop disabling service on rpm removal (spec change only)
71
72 * Tue Jan 25 2011 Daniel B. <daniel@firewall-services.com> 2.0-41.sme
73 - Add comp-lzo option back into client conf file
74
75 * Tue Oct 26 2010 Daniel B. <daniel@firewall-services.com> 2.0-40.sme
76 - Add PassTOS DB key to enable/disable passtos
77 - Enhance routes push (work with s2s contrib)
78
79 * Tue Oct 19 2010 Daniel B. <daniel@firewall-services.com> 2.0-39.sme
80 - templates cleanup
81 - DB prop to disable local networks routes push to client
82
83 * Mon Jul 19 2010 Daniel B. <daniel@firewall-services.com> 2.0-38.sme
84 - apply locale 2010-07-19 patc
85
86 * Wed Jun 02 2010 Daniel B. <daniel@firewall-services.com> 2.0-37.sme
87 - apply locale 2010-06-02 patch
88 - use multilog timestamp
89
90 * Wed May 12 2010 Daniel B. <daniel@firewall-services.com> 2.0-36.sme
91 - Comment the passtos option as it's not supported on Windows
92
93 * Fri Apr 30 2010 Daniel B. <daniel@firewall-services.com> 2.0-35.sme
94 - add the passtos option
95 - push the comp-lzo option to the client
96 - apply locale 2010-04-29 patch
97
98 * Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.0-34.sme
99 - apply locale 2010-03-02 patch
100
101 * Wed Nov 18 2009 Daniel B. <daniel@firewall-services.com> 2.0-33.sme
102 - code cleanup
103
104 * Tue Nov 17 2009 Daniel B. <daniel@firewall-services.com> 2.0-32.sme
105 - apply locale 2009-11-17 patch
106 - Fix CRL update on event (openvpn-bridge-update)
107
108 * Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.0-31.sme
109 - apply locale 2009-10-27 patch
110
111 * Wed Oct 21 2009 Daniel B. <daniel@firewall-services.com> 2.0-30.sme
112 - apply locale 2009-10-21 patch
113
114 * Tue Sep 29 2009 Daniel B. <daniel@firewall-services.com> 2.0-29.sme
115 - Put tls-client directive in client config file even when additional TLS
116 auth is disabled (required for the main TLS auth) [SME: 5495]
117 - apply locale 2009-09-28 patch
118
119 * Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.0-28.sme
120 - apply locale 2009-08-24 patch
121
122 * Wed Jul 22 2009 Daniel B. <daniel@firewall-services.com> 2.0-27.sme
123 - apply locale 2009-07-22 patch
124
125 * Thu Jun 25 2009 Daniel B. <daniel@firewall-services.com> 2.0-26.sme
126 - expand config and restart the service when local networks are added
127 or removed so the new routes are pushed
128
129 * Tue May 26 2009 Daniel B. <daniel@firewall-services.com> 2.0-25.sme
130 - apply locale 2009-05-26 patch
131
132 * Sun May 24 2009 Daniel B. <daniel@firewall-services.com> 2.0-24.sme
133 - apply locale 2009-05-24 patch
134
135 * Thu Apr 30 2009 Daniel B. <daniel@firewall-services.com> 2.0-23.sme
136 - apply local 2009-04-30 patch
137
138 * Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.0-22.sme
139 - apply locale 2009-04-27 patch
140
141 * Tue Apr 14 2009 Daniel B. <daniel@firewall-services.com> [2.0-21]
142 - Fixe permissions on public directory (pub and ccd) which must be readable
143 by everyone (especially user nobody)
144
145 * Sun Apr 12 2009 Daniel B. <daniel@firewall-services.com> [2.0-20]
146 - remove obsolete init scripts reset-openvpn and openvpn-bridge
147
148 * Wed Mar 18 2009 Daniel B. <daniel@firewall-services.com> [2.0-19]
149 - Do not add cipher directive in client configuration file if set to 'auto'
150
151 * Wed Mar 11 2009 Daniel B. <daniel@firewall-services.com> [2.0-18]
152 - Compatibility with openvpn 2.1 (detect plugin dir location) [SME: 5060]
153
154 * Mon Mar 09 2009 Daniel B. <daniel@firewall-services.com> [2.0-17]
155 - Add smeserver-bridge-interface as dependency
156 - Update spec description
157
158 * Tue Mar 03 2009 SME Translation Server [2.0-16]
159 - apply locale 2009-03-03 patch
160
161 * Tue Mar 03 2009 Jonathan Martens <smeserver-contribs@snetram.nl> [2.0-15]
162 - Fix some more errors in the en-us locale
163 - Remove tabs from SPEC file as some editors act weird with them, e.g. nano
164
165 * Tue Mar 03 2009 Jonathan Martens <smeserver-contribs@snetram.nl> [2.0-14]
166 - Fix some grammar errors in the en-us locale
167
168 * Tue Mar 03 2009 Jonathan Martens <smeserver-contribs@snetram.nl> [2.0-13]
169 - Fix a typo in the en-us locale
170
171 * Tue Mar 03 2009 Shad L. Lords <slords@mail.com> [2.0-12]
172 - Fix xml language tag to be correct
173
174 * Tue Mar 03 2009 Shad L. Lords <slords@mail.com> [2.0-11]
175 - Remove duplicate translations that break pootle
176
177 * Tue Mar 03 2009 Shad L. Lords <slords@mail.com> [2.0-10]
178 - Rename locale/en to locale/en-us to pootle works
179
180 * Tue Mar 03 2009 Daniel B. <daniel@firewall-services.com> [2.0-9]
181 - Apply locale patch fr 1
182 - Add e-smith-devtools as a build dependency
183
184 * Thu Jan 29 2009 Daniel B. <daniel@firewall-services.com> [2.0-8]
185 - Fix an error with the creation of the db
186
187 * Wed Jan 28 2009 Daniel B. <daniel@firewall-services.com> [2.0-7]
188 - Cleanly create openvpn-bridge db
189
190 * Fri Jan 16 2009 Daniel B. <daniel@firewall-services.com> [2.0-6]
191 - Just warn if openvpn db is missing
192 - Fix certificates check
193 - Warn if bridge service isn't enabled
194 - Configure the CRL update URL
195
196 * Mon Jan 12 2009 Daniel B. <daniel@firewall-services.com> [2.0-5]
197 - localization patch
198
199 * Mon Dec 22 2008 Daniel B. <daniel@firewall-services.com> [2.0-4]
200 - Add validate_common_name routine
201
202 * Wed Dec 19 2008 Daniel B. <daniel@firewall-services.com> [2.0-3]
203 - Added option configRequired (accept only certificate listed in the rules section)
204 - Clean config templates
205
206 * Tue Dec 16 2008 Daniel B. <daniel@firewall-services.com> [2.0-2]
207 - Add missing pull directive in client config
208
209 * Fri Dec 12 2008 Daniel B. <daniel@firewall-services.com> [2.0-1]
210 - Remove useless migrate fragment (now handled by the bridge package)
211
212 * Thu Dec 04 2008 Daniel B. <daniel@firewall-services.com> [2.0-0]
213 - The bridge stuff is now in a separated rpm
214 - Restarting the service doesn't cut the InternalInterface
215 as the bridge isn't restarted
216 - Correct (truely this time) the bug with dhcpd looping
217 - Panel re-writen in FormMagick (much more simple now)
218 - Removed the certificate manager, now handled by phpki
219 - Real-time clients info using Net::OpenVPN::Manage
220 - Routes to local networks are pushed to clients
221
222 * Tue Feb 06 2007 Daniel Berteaud <daniel@firewall-services.com>
223 - [1.1-1]
224 - Bugs fixes (repported by Stephan Braunstein)
225 - corrections in the en language
226
227 * Tue Feb 06 2007 Daniel Berteaud <daniel@firewall-services.com>
228 - [1.1-0]
229 - panel enhancement
230 - little correction in the local file
231
232 * Fri Dec 11 2006 Daniel Berteaud <daniel@firewall-services.com>
233 - [1.0-3]
234 - correction of permissions on startup and shutdown scripts
235 - little correction in the local file
236
237 * Fri Dec 08 2006 Daniel Berteaud <daniel@firewall-services.com>
238 - [1.0-2]
239 - Added missing directory keys/bridge
240
241 * Fri Dec 06 2006 Daniel Berteaud <daniel@firewall-services.com>
242 - [1.0-1]
243 - Removed useless parameters from the panel (tap, br and localInf)
244 - Added a stop script (k20openvpn-bridge)
245 - panel renamed to openvpn-bridge for futur compatibility
246
247 %prep
248
249 %setup -q -n %{name}-%{version}
250 %patch0 -p1
251 %patch1 -p1
252
253 %build
254 perl createlinks
255
256 %{__mkdir_p} root/etc/openvpn/bridge/ccd
257 %{__mkdir_p} root/etc/openvpn/bridge/priv
258 %{__mkdir_p} root/etc/openvpn/bridge/pub
259 %{__mkdir_p} root/etc/openvpn/bridge/tmp
260 %{__mkdir_p} root/var/log/openvpn-bridge
261
262 %install
263 /bin/rm -rf $RPM_BUILD_ROOT
264 (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
265 /bin/rm -f %{name}-%{version}-filelist
266 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
267 --file /var/service/openvpn-bridge/run 'attr(0755,root,root)' \
268 --file /var/service/openvpn-bridge/log/run 'attr(0755,root,root)' \
269 --dir /var/log/openvpn-bridge 'attr(0750,smelog,smelog)' \
270 --dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \
271 --dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \
272 --dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \
273 --dir /etc/openvpn/bridge/tmp 'attr(0770,root,nobody)' \
274 --file /usr/bin/ovpn-bridge-update-crl 'attr(0750,root,root)' \
275 > %{name}-%{version}-filelist
276
277 %files -f %{name}-%{version}-filelist
278 %defattr(-,root,root)
279
280 %clean
281 rm -rf $RPM_BUILD_ROOT
282
283
284 %post
285
286 %preun

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