1 |
# $Id: smeserver-openvpn-bridge.spec,v 1.11 2009/03/03 18:52:41 snetram Exp $ |
# $Id: smeserver-openvpn-bridge.spec,v 1.19 2009/04/14 09:02:42 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 15 |
%define release 22 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
32 |
Patch16: smeserver-openvpn-bridge-2.0-fix-en-us-locale.patch |
Patch16: smeserver-openvpn-bridge-2.0-fix-en-us-locale.patch |
33 |
Patch17: smeserver-openvpn-bridge-2.0-fix-en-us-locale2.patch |
Patch17: smeserver-openvpn-bridge-2.0-fix-en-us-locale2.patch |
34 |
Patch18: smeserver-openvpn-bridge-2.0-fix-en-us-locale3.patch |
Patch18: smeserver-openvpn-bridge-2.0-fix-en-us-locale3.patch |
35 |
|
Patch19: smeserver-openvpn-bridge-2.0-locale-2009-03-03.patch |
36 |
|
Patch20: smeserver-openvpn-bridge-2.0-openvpn_2_1_compat.patch |
37 |
|
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 |
|
|
42 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
43 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
46 |
|
|
47 |
Requires: e-smith-base |
Requires: e-smith-base |
48 |
Requires: openvpn |
Requires: openvpn |
49 |
|
Requires: smeserver-bridge-interface |
50 |
Requires: perl(Net::OpenVPN::Manage) |
Requires: perl(Net::OpenVPN::Manage) |
51 |
Obsoletes: smeserver-openvpn-bridge-fws |
Obsoletes: smeserver-openvpn-bridge-fws |
52 |
Obsoletes: smeserver-openvpn-bridge.fws |
Obsoletes: smeserver-openvpn-bridge.fws |
54 |
%description |
%description |
55 |
This package contains all the needed scripts and templates |
This package contains all the needed scripts and templates |
56 |
to have a full working openvpn server running in bridge mode. |
to have a full working openvpn server running in bridge mode. |
|
The panel of the server manager has a certificate manager so you |
|
|
won't have to generate them manually |
|
57 |
|
|
58 |
%changelog |
%changelog |
59 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.0-22.sme |
60 |
|
- apply locale 2009-04-27 patch |
61 |
|
|
62 |
|
* Tue Apr 14 2009 Daniel B. <daniel@firewall-services.com> [2.0-21] |
63 |
|
- Fixe permissions on public directory (pub and ccd) which must be readable |
64 |
|
by everyone (especially user nobody) |
65 |
|
|
66 |
|
* Sun Apr 12 2009 Daniel B. <daniel@firewall-services.com> [2.0-20] |
67 |
|
- remove obsolete init scripts reset-openvpn and openvpn-bridge |
68 |
|
|
69 |
|
* Wed Mar 18 2009 Daniel B. <daniel@firewall-services.com> [2.0-19] |
70 |
|
- Do not add cipher directive in client configuration file if set to 'auto' |
71 |
|
|
72 |
|
* Wed Mar 11 2009 Daniel B. <daniel@firewall-services.com> [2.0-18] |
73 |
|
- Compatibility with openvpn 2.1 (detect plugin dir location) [SME: 5060] |
74 |
|
|
75 |
|
* Mon Mar 09 2009 Daniel B. <daniel@firewall-services.com> [2.0-17] |
76 |
|
- Add smeserver-bridge-interface as dependency |
77 |
|
- Update spec description |
78 |
|
|
79 |
|
* Tue Mar 03 2009 SME Translation Server [2.0-16] |
80 |
|
- apply locale 2009-03-03 patch |
81 |
|
|
82 |
* Tue Mar 03 2009 Jonathan Martens <smeserver-contribs@snetram.nl> [2.0-15] |
* Tue Mar 03 2009 Jonathan Martens <smeserver-contribs@snetram.nl> [2.0-15] |
83 |
- Fix some more errors in the en-us locale |
- Fix some more errors in the en-us locale |
84 |
- Remove tabs from SPEC file as some editors act weird with them, e.g. nano |
- Remove tabs from SPEC file as some editors act weird with them, e.g. nano |
100 |
|
|
101 |
* Tue Mar 03 2009 Daniel B. <daniel@firewall-services.com> [2.0-9] |
* Tue Mar 03 2009 Daniel B. <daniel@firewall-services.com> [2.0-9] |
102 |
- Apply locale patch fr 1 |
- Apply locale patch fr 1 |
103 |
- Add e-smith-devtools as a dependencie |
- Add e-smith-devtools as a build dependency |
104 |
|
|
105 |
* Thu Jan 29 2009 Daniel B. <daniel@firewall-services.com> [2.0-8] |
* Thu Jan 29 2009 Daniel B. <daniel@firewall-services.com> [2.0-8] |
106 |
- Fix an error with the creation of the db |
- Fix an error with the creation of the db |
186 |
%patch15 -p1 |
%patch15 -p1 |
187 |
%patch16 -p1 |
%patch16 -p1 |
188 |
%patch17 -p1 |
%patch17 -p1 |
189 |
%patch17 -p1 |
%patch18 -p1 |
190 |
|
%patch19 -p1 |
191 |
|
%patch20 -p1 |
192 |
|
%patch21 -p1 |
193 |
|
%patch22 -p1 |
194 |
|
%patch23 -p1 |
195 |
|
%patch24 -p1 |
196 |
|
|
197 |
%build |
%build |
198 |
perl createlinks |
perl createlinks |
210 |
--file /var/service/openvpn-bridge/run 'attr(0755,root,root)' \ |
--file /var/service/openvpn-bridge/run 'attr(0755,root,root)' \ |
211 |
--file /var/service/openvpn-bridge/log/run 'attr(0755,root,root)' \ |
--file /var/service/openvpn-bridge/log/run 'attr(0755,root,root)' \ |
212 |
--dir /var/log/openvpn-bridge 'attr(0750,smelog,smelog)' \ |
--dir /var/log/openvpn-bridge 'attr(0750,smelog,smelog)' \ |
213 |
|
--dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \ |
214 |
|
--dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \ |
215 |
|
--dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \ |
216 |
--file /usr/bin/ovpn-bridge-update-crl 'attr(0750,root,root)' \ |
--file /usr/bin/ovpn-bridge-update-crl 'attr(0750,root,root)' \ |
217 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
218 |
|
|