/[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.4 - (show annotations) (download)
Mon Feb 8 09:42:51 2016 UTC (8 years, 3 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-openvpn-bridge-2_1-4_el6_sme
Changes since 1.3: +9 -3 lines
* Mon Feb 8 2016 Daniel Berteaud <daniel@firewall-services.com> 2.1-4.sme
- Create /etc/openvpn/bridge/dev/urandom [SME: 9238]

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

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