1 |
# $Id: smeserver-openvpn-bridge.spec,v 1.10 2009/03/03 18:34:43 snetram Exp $ |
# $Id: smeserver-openvpn-bridge.spec,v 1.20 2009/04/27 16:11:21 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 15 |
%define release 23 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
31 |
Patch15: smeserver-openvpn-bridge-2.0-fixlangtag.patch |
Patch15: smeserver-openvpn-bridge-2.0-fixlangtag.patch |
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-locale2.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 |
|
Patch25: smeserver-openvpn-bridge-2.0-locale-2009-04-30.patch |
42 |
|
|
43 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
44 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
47 |
|
|
48 |
Requires: e-smith-base |
Requires: e-smith-base |
49 |
Requires: openvpn |
Requires: openvpn |
50 |
|
Requires: smeserver-bridge-interface |
51 |
Requires: perl(Net::OpenVPN::Manage) |
Requires: perl(Net::OpenVPN::Manage) |
52 |
Obsoletes: smeserver-openvpn-bridge-fws |
Obsoletes: smeserver-openvpn-bridge-fws |
53 |
Obsoletes: smeserver-openvpn-bridge.fws |
Obsoletes: smeserver-openvpn-bridge.fws |
55 |
%description |
%description |
56 |
This package contains all the needed scripts and templates |
This package contains all the needed scripts and templates |
57 |
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 |
|
58 |
|
|
59 |
%changelog |
%changelog |
60 |
|
* Thu Apr 30 2009 Daniel B. <daniel@firewall-services.com> 2.0-23.sme |
61 |
|
- apply local 2009-04-30 patch |
62 |
|
|
63 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.0-22.sme |
64 |
|
- apply locale 2009-04-27 patch |
65 |
|
|
66 |
|
* Tue Apr 14 2009 Daniel B. <daniel@firewall-services.com> [2.0-21] |
67 |
|
- Fixe permissions on public directory (pub and ccd) which must be readable |
68 |
|
by everyone (especially user nobody) |
69 |
|
|
70 |
|
* Sun Apr 12 2009 Daniel B. <daniel@firewall-services.com> [2.0-20] |
71 |
|
- remove obsolete init scripts reset-openvpn and openvpn-bridge |
72 |
|
|
73 |
|
* Wed Mar 18 2009 Daniel B. <daniel@firewall-services.com> [2.0-19] |
74 |
|
- Do not add cipher directive in client configuration file if set to 'auto' |
75 |
|
|
76 |
|
* Wed Mar 11 2009 Daniel B. <daniel@firewall-services.com> [2.0-18] |
77 |
|
- Compatibility with openvpn 2.1 (detect plugin dir location) [SME: 5060] |
78 |
|
|
79 |
|
* Mon Mar 09 2009 Daniel B. <daniel@firewall-services.com> [2.0-17] |
80 |
|
- Add smeserver-bridge-interface as dependency |
81 |
|
- Update spec description |
82 |
|
|
83 |
|
* Tue Mar 03 2009 SME Translation Server [2.0-16] |
84 |
|
- apply locale 2009-03-03 patch |
85 |
|
|
86 |
* 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] |
87 |
- Fix some more errors in the en-us locale |
- Fix some more errors in the en-us locale |
88 |
- 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 |
104 |
|
|
105 |
* 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] |
106 |
- Apply locale patch fr 1 |
- Apply locale patch fr 1 |
107 |
- Add e-smith-devtools as a dependencie |
- Add e-smith-devtools as a build dependency |
108 |
|
|
109 |
* 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] |
110 |
- Fix an error with the creation of the db |
- Fix an error with the creation of the db |
190 |
%patch15 -p1 |
%patch15 -p1 |
191 |
%patch16 -p1 |
%patch16 -p1 |
192 |
%patch17 -p1 |
%patch17 -p1 |
193 |
%patch17 -p1 |
%patch18 -p1 |
194 |
|
%patch19 -p1 |
195 |
|
%patch20 -p1 |
196 |
|
%patch21 -p1 |
197 |
|
%patch22 -p1 |
198 |
|
%patch23 -p1 |
199 |
|
%patch24 -p1 |
200 |
|
%patch25 -p1 |
201 |
|
|
202 |
%build |
%build |
203 |
perl createlinks |
perl createlinks |
215 |
--file /var/service/openvpn-bridge/run 'attr(0755,root,root)' \ |
--file /var/service/openvpn-bridge/run 'attr(0755,root,root)' \ |
216 |
--file /var/service/openvpn-bridge/log/run 'attr(0755,root,root)' \ |
--file /var/service/openvpn-bridge/log/run 'attr(0755,root,root)' \ |
217 |
--dir /var/log/openvpn-bridge 'attr(0750,smelog,smelog)' \ |
--dir /var/log/openvpn-bridge 'attr(0750,smelog,smelog)' \ |
218 |
|
--dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \ |
219 |
|
--dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \ |
220 |
|
--dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \ |
221 |
--file /usr/bin/ovpn-bridge-update-crl 'attr(0750,root,root)' \ |
--file /usr/bin/ovpn-bridge-update-crl 'attr(0750,root,root)' \ |
222 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
223 |
|
|