/[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.2 - (show annotations) (download)
Tue Feb 17 12:06:59 2015 UTC (9 years, 3 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-openvpn-bridge-2_1-2_el6_sme
Changes since 1.1: +8 -3 lines
* Tue Feb 17 2015 Daniel Berteaud <daniel@firewall-services.com> 2.1-1.sme
- Apply locale 2015-02-17 patch

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

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