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.22 2009/05/24 21:03:27 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 25 |
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 |
|
|
45 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
46 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
59 |
to have a full working openvpn server running in bridge mode. |
to have a full working openvpn server running in bridge mode. |
60 |
|
|
61 |
%changelog |
%changelog |
62 |
|
* Tue May 26 2009 Daniel B. <daniel@firewall-services.com> 2.0-26.sme |
63 |
|
- apply loca 2009-05-26 patch |
64 |
|
|
65 |
|
* Sun May 24 2009 Daniel B. <daniel@firewall-services.com> 2.0-24.sme |
66 |
|
- apply locale 2009-05-24 patch |
67 |
|
|
68 |
|
* Thu Apr 30 2009 Daniel B. <daniel@firewall-services.com> 2.0-23.sme |
69 |
|
- apply local 2009-04-30 patch |
70 |
|
|
71 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.0-22.sme |
72 |
|
- apply locale 2009-04-27 patch |
73 |
|
|
74 |
|
* Tue Apr 14 2009 Daniel B. <daniel@firewall-services.com> [2.0-21] |
75 |
|
- Fixe permissions on public directory (pub and ccd) which must be readable |
76 |
|
by everyone (especially user nobody) |
77 |
|
|
78 |
|
* Sun Apr 12 2009 Daniel B. <daniel@firewall-services.com> [2.0-20] |
79 |
|
- remove obsolete init scripts reset-openvpn and openvpn-bridge |
80 |
|
|
81 |
* 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] |
82 |
- 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' |
83 |
|
|
202 |
%patch19 -p1 |
%patch19 -p1 |
203 |
%patch20 -p1 |
%patch20 -p1 |
204 |
%patch21 -p1 |
%patch21 -p1 |
205 |
|
%patch22 -p1 |
206 |
|
%patch23 -p1 |
207 |
|
%patch24 -p1 |
208 |
|
%patch25 -p1 |
209 |
|
%patch26 -p1 |
210 |
|
%patch27 -p1 |
211 |
|
|
212 |
%build |
%build |
213 |
perl createlinks |
perl createlinks |
225 |
--file /var/service/openvpn-bridge/run 'attr(0755,root,root)' \ |
--file /var/service/openvpn-bridge/run 'attr(0755,root,root)' \ |
226 |
--file /var/service/openvpn-bridge/log/run 'attr(0755,root,root)' \ |
--file /var/service/openvpn-bridge/log/run 'attr(0755,root,root)' \ |
227 |
--dir /var/log/openvpn-bridge 'attr(0750,smelog,smelog)' \ |
--dir /var/log/openvpn-bridge 'attr(0750,smelog,smelog)' \ |
228 |
|
--dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \ |
229 |
|
--dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \ |
230 |
|
--dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \ |
231 |
--file /usr/bin/ovpn-bridge-update-crl 'attr(0750,root,root)' \ |
--file /usr/bin/ovpn-bridge-update-crl 'attr(0750,root,root)' \ |
232 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
233 |
|
|