1 |
# $Id: smeserver-openvpn-bridge.spec,v 1.16 2009/03/11 17:25:05 vip-ire Exp $ |
# $Id: smeserver-openvpn-bridge.spec,v 1.34 2010/04/30 07:50:09 vip-ire Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# Name: Daniel Berteaud |
4 |
|
|
6 |
%define name smeserver-openvpn-bridge |
%define name smeserver-openvpn-bridge |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 2.0 |
%define version 2.0 |
9 |
%define release 19 |
%define release 36 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
35 |
Patch19: smeserver-openvpn-bridge-2.0-locale-2009-03-03.patch |
Patch19: smeserver-openvpn-bridge-2.0-locale-2009-03-03.patch |
36 |
Patch20: smeserver-openvpn-bridge-2.0-openvpn_2_1_compat.patch |
Patch20: smeserver-openvpn-bridge-2.0-openvpn_2_1_compat.patch |
37 |
Patch21: smeserver-openvpn-bridge-2.0-cipher_auto.patch |
Patch21: smeserver-openvpn-bridge-2.0-cipher_auto.patch |
38 |
|
Patch22: smeserver-openvpn-bridge-2.0-remove_obsolete_init_scripts.patch |
39 |
|
Patch23: smeserver-openvpn-bridge-2.0-fix_perms_on_pub_dir.patch |
40 |
|
Patch24: smeserver-openvpn-bridge-2.0-locale-2009-04-27.patch |
41 |
|
Patch25: smeserver-openvpn-bridge-2.0-locale-2009-04-30.patch |
42 |
|
Patch26: smeserver-openvpn-bridge-2.0-locale-2009-05-24.patch |
43 |
|
Patch27: smeserver-openvpn-bridge-2.0-locale-2009-05-26.patch |
44 |
|
Patch28: smeserver-openvpn-bridge-2.0-update_networks.patch |
45 |
|
Patch29: smeserver-openvpn-bridge-2.0-locale-2009-07-22.patch |
46 |
|
Patch30: smeserver-openvpn-bridge-2.0-locale-2009-08-24.patch |
47 |
|
Patch31: smeserver-openvpn-bridge-2.0-tls_client.patch |
48 |
|
Patch32: smeserver-openvpn-bridge-2.0-locale-2009-09-28.patch |
49 |
|
Patch33: smeserver-openvpn-bridge-2.0-locale-2009-10-21.patch |
50 |
|
Patch34: smeserver-openvpn-bridge-2.0-locale-2009-10-27.patch |
51 |
|
Patch35: smeserver-openvpn-bridge-2.0-update_crl.patch |
52 |
|
Patch36: smeserver-openvpn-bridge-2.0-locale-2009-11-17.patch |
53 |
|
Patch37: smeserver-openvpn-bridge-2.0-code_cleanup1.patch |
54 |
|
Patch38: smeserver-openvpn-bridge-2.0-code_cleanup2.patch |
55 |
|
Patch39: smeserver-openvpn-bridge-2.0-locale-2010-03-02.patch |
56 |
|
Patch40: smeserver-openvpn-bridge-2.0-set_tos.patch |
57 |
|
Patch41: smeserver-openvpn-bridge-2.0-push_complzo.patch |
58 |
|
Patch42: smeserver-openvpn-bridge-2.0-locale-2010-04-29.patch |
59 |
|
Patch43: smeserver-openvpn-bridge-2.0-comment_passtos.patch |
60 |
|
|
61 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
62 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
75 |
to have a full working openvpn server running in bridge mode. |
to have a full working openvpn server running in bridge mode. |
76 |
|
|
77 |
%changelog |
%changelog |
78 |
|
* Wed May 12 2010 Daniel B. <daniel@firewall-services.com> 2.0-36.sme |
79 |
|
- Comment the passtos option as it's not supported on Windows |
80 |
|
|
81 |
|
* Fri Apr 30 2010 Daniel B. <daniel@firewall-services.com> 2.0-35.sme |
82 |
|
- add the passtos option |
83 |
|
- push the comp-lzo option to the client |
84 |
|
- apply locale 2010-04-29 patch |
85 |
|
|
86 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.0-34.sme |
87 |
|
- apply locale 2010-03-02 patch |
88 |
|
|
89 |
|
* Wed Nov 18 2009 Daniel B. <daniel@firewall-services.com> 2.0-33.sme |
90 |
|
- code cleanup |
91 |
|
|
92 |
|
* Tue Nov 17 2009 Daniel B. <daniel@firewall-services.com> 2.0-32.sme |
93 |
|
- apply locale 2009-11-17 patch |
94 |
|
- Fix CRL update on event (openvpn-bridge-update) |
95 |
|
|
96 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.0-31.sme |
97 |
|
- apply locale 2009-10-27 patch |
98 |
|
|
99 |
|
* Wed Oct 21 2009 Daniel B. <daniel@firewall-services.com> 2.0-30.sme |
100 |
|
- apply locale 2009-10-21 patch |
101 |
|
|
102 |
|
* Tue Sep 29 2009 Daniel B. <daniel@firewall-services.com> 2.0-29.sme |
103 |
|
- Put tls-client directive in client config file even when additional TLS |
104 |
|
auth is disabled (required for the main TLS auth) [SME: 5495] |
105 |
|
- apply locale 2009-09-28 patch |
106 |
|
|
107 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.0-28.sme |
108 |
|
- apply locale 2009-08-24 patch |
109 |
|
|
110 |
|
* Wed Jul 22 2009 Daniel B. <daniel@firewall-services.com> 2.0-27.sme |
111 |
|
- apply locale 2009-07-22 patch |
112 |
|
|
113 |
|
* Thu Jun 25 2009 Daniel B. <daniel@firewall-services.com> 2.0-26.sme |
114 |
|
- expand config and restart the service when local networks are added |
115 |
|
or removed so the new routes are pushed |
116 |
|
|
117 |
|
* Tue May 26 2009 Daniel B. <daniel@firewall-services.com> 2.0-25.sme |
118 |
|
- apply locale 2009-05-26 patch |
119 |
|
|
120 |
|
* Sun May 24 2009 Daniel B. <daniel@firewall-services.com> 2.0-24.sme |
121 |
|
- apply locale 2009-05-24 patch |
122 |
|
|
123 |
|
* Thu Apr 30 2009 Daniel B. <daniel@firewall-services.com> 2.0-23.sme |
124 |
|
- apply local 2009-04-30 patch |
125 |
|
|
126 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.0-22.sme |
127 |
|
- apply locale 2009-04-27 patch |
128 |
|
|
129 |
|
* Tue Apr 14 2009 Daniel B. <daniel@firewall-services.com> [2.0-21] |
130 |
|
- Fixe permissions on public directory (pub and ccd) which must be readable |
131 |
|
by everyone (especially user nobody) |
132 |
|
|
133 |
|
* Sun Apr 12 2009 Daniel B. <daniel@firewall-services.com> [2.0-20] |
134 |
|
- remove obsolete init scripts reset-openvpn and openvpn-bridge |
135 |
|
|
136 |
* Wed Mar 18 2009 Daniel B. <daniel@firewall-services.com> [2.0-19] |
* Wed Mar 18 2009 Daniel B. <daniel@firewall-services.com> [2.0-19] |
137 |
- Do not add cipher directive in client configuration file if set to 'auto' |
- Do not add cipher directive in client configuration file if set to 'auto' |
138 |
|
|
257 |
%patch19 -p1 |
%patch19 -p1 |
258 |
%patch20 -p1 |
%patch20 -p1 |
259 |
%patch21 -p1 |
%patch21 -p1 |
260 |
|
%patch22 -p1 |
261 |
|
%patch23 -p1 |
262 |
|
%patch24 -p1 |
263 |
|
%patch25 -p1 |
264 |
|
%patch26 -p1 |
265 |
|
%patch27 -p1 |
266 |
|
%patch28 -p1 |
267 |
|
%patch29 -p1 |
268 |
|
%patch30 -p1 |
269 |
|
%patch31 -p1 |
270 |
|
%patch32 -p1 |
271 |
|
%patch33 -p1 |
272 |
|
%patch34 -p1 |
273 |
|
%patch35 -p1 |
274 |
|
%patch36 -p1 |
275 |
|
%patch37 -p1 |
276 |
|
%patch38 -p1 |
277 |
|
%patch39 -p1 |
278 |
|
%patch40 -p1 |
279 |
|
%patch41 -p1 |
280 |
|
%patch42 -p1 |
281 |
|
%patch43 -p1 |
282 |
|
|
283 |
%build |
%build |
284 |
perl createlinks |
perl createlinks |
296 |
--file /var/service/openvpn-bridge/run 'attr(0755,root,root)' \ |
--file /var/service/openvpn-bridge/run 'attr(0755,root,root)' \ |
297 |
--file /var/service/openvpn-bridge/log/run 'attr(0755,root,root)' \ |
--file /var/service/openvpn-bridge/log/run 'attr(0755,root,root)' \ |
298 |
--dir /var/log/openvpn-bridge 'attr(0750,smelog,smelog)' \ |
--dir /var/log/openvpn-bridge 'attr(0750,smelog,smelog)' \ |
299 |
|
--dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \ |
300 |
|
--dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \ |
301 |
|
--dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \ |
302 |
--file /usr/bin/ovpn-bridge-update-crl 'attr(0750,root,root)' \ |
--file /usr/bin/ovpn-bridge-update-crl 'attr(0750,root,root)' \ |
303 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
304 |
|
|