/[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.1 - (show annotations) (download)
Mon Nov 11 17:30:42 2013 UTC (10 years, 6 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-openvpn-bridge-2_1-1_el6_sme
* Mon Nov 11 2013 Daniel B. <daniel@firewall-services.com> 2.1-1.sme
- Rebuild for SME9

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

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