1 |
# $Id: smeserver-openvpn-bridge.spec,v 1.34 2010/04/30 07:50:09 vip-ire Exp $ |
# $Id: smeserver-openvpn-bridge.spec,v 1.43 2011/03/06 15:28:11 slords 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 36 |
%define release 45 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
57 |
Patch41: smeserver-openvpn-bridge-2.0-push_complzo.patch |
Patch41: smeserver-openvpn-bridge-2.0-push_complzo.patch |
58 |
Patch42: smeserver-openvpn-bridge-2.0-locale-2010-04-29.patch |
Patch42: smeserver-openvpn-bridge-2.0-locale-2010-04-29.patch |
59 |
Patch43: smeserver-openvpn-bridge-2.0-comment_passtos.patch |
Patch43: smeserver-openvpn-bridge-2.0-comment_passtos.patch |
60 |
|
Patch44: smeserver-openvpn-bridge-2.0-log_timestamp.patch |
61 |
|
Patch45: smeserver-openvpn-bridge-2.0-return_pass_tos_comment.patch |
62 |
|
Patch46: smeserver-openvpn-bridge-2.0-locale-2010-06-02.patch |
63 |
|
Patch47: smeserver-openvpn-bridge-2.0-locale-2010-07-19.patch |
64 |
|
Patch48: smeserver-openvpn-bridge-2.0-templates_cleanup.patch |
65 |
|
Patch49: smeserver-openvpn-bridge-2.0-option_to_disable_route_push.patch |
66 |
|
Patch50: smeserver-openvpn-bridge-2.0-toggle_passtos.patch |
67 |
|
Patch51: smeserver-openvpn-bridge-2.0-enhance_routes_push.patch |
68 |
|
Patch52: smeserver-openvpn-bridge-2.0-add_complzo_back.patch |
69 |
|
Patch53: smeserver-openvpn-bridge-2.0-locale-2011-03-06.patch |
70 |
|
Patch54: smeserver-openvpn-bridge-2.0-locale-2011-04-27.patch |
71 |
|
|
72 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
73 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
86 |
to have a full working openvpn server running in bridge mode. |
to have a full working openvpn server running in bridge mode. |
87 |
|
|
88 |
%changelog |
%changelog |
89 |
|
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 2.0-45.sme |
90 |
|
- apply locale 2011-04-27 patch |
91 |
|
|
92 |
|
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 2.0-44.sme |
93 |
|
- apply locale 2011-03-06 patch |
94 |
|
|
95 |
|
* Thu Feb 17 2011 Daniel B. <daniel@firewall-services.com> 2.0-43.sme |
96 |
|
- Fix a typo in the panel [SME: 6509] |
97 |
|
|
98 |
|
* Tue Jan 25 2011 Daniel B. <daniel@firewall-services.com> 2.0-42.sme |
99 |
|
- Stop disabling service on rpm removal (spec change only) |
100 |
|
|
101 |
|
* Tue Jan 25 2011 Daniel B. <daniel@firewall-services.com> 2.0-41.sme |
102 |
|
- Add comp-lzo option back into client conf file |
103 |
|
|
104 |
|
* Tue Oct 26 2010 Daniel B. <daniel@firewall-services.com> 2.0-40.sme |
105 |
|
- Add PassTOS DB key to enable/disable passtos |
106 |
|
- Enhance routes push (work with s2s contrib) |
107 |
|
|
108 |
|
* Tue Oct 19 2010 Daniel B. <daniel@firewall-services.com> 2.0-39.sme |
109 |
|
- templates cleanup |
110 |
|
- DB prop to disable local networks routes push to client |
111 |
|
|
112 |
|
* Mon Jul 19 2010 Daniel B. <daniel@firewall-services.com> 2.0-38.sme |
113 |
|
- apply locale 2010-07-19 patc |
114 |
|
|
115 |
|
* Wed Jun 02 2010 Daniel B. <daniel@firewall-services.com> 2.0-37.sme |
116 |
|
- apply locale 2010-06-02 patch |
117 |
|
- use multilog timestamp |
118 |
|
|
119 |
* Wed May 12 2010 Daniel B. <daniel@firewall-services.com> 2.0-36.sme |
* Wed May 12 2010 Daniel B. <daniel@firewall-services.com> 2.0-36.sme |
120 |
- Comment the passtos option as it's not supported on Windows |
- Comment the passtos option as it's not supported on Windows |
121 |
|
|
320 |
%patch41 -p1 |
%patch41 -p1 |
321 |
%patch42 -p1 |
%patch42 -p1 |
322 |
%patch43 -p1 |
%patch43 -p1 |
323 |
|
%patch44 -p1 |
324 |
|
%patch45 -p1 |
325 |
|
%patch46 -p1 |
326 |
|
%patch47 -p1 |
327 |
|
%patch48 -p1 |
328 |
|
%patch49 -p1 |
329 |
|
%patch50 -p1 |
330 |
|
%patch51 -p1 |
331 |
|
%patch52 -p1 |
332 |
|
%patch53 -p1 |
333 |
|
%patch54 -p1 |
334 |
|
|
335 |
%build |
%build |
336 |
perl createlinks |
perl createlinks |
364 |
%post |
%post |
365 |
|
|
366 |
%preun |
%preun |
|
if [ $1 -eq 0 ] ; then |
|
|
/sbin/e-smith/db configuration setprop openvpn-bridge status disabled |
|
|
sv d /service/openvpn-bridge |
|
|
fi |
|
|
|
|
|
true |
|