1 |
# $Id: smeserver-openvpn-bridge.spec,v 1.17 2009/03/18 15:58:53 vip-ire Exp $ |
# $Id: smeserver-openvpn-bridge.spec,v 1.18 2009/04/12 16:11:15 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 20 |
%define release 21 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
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 |
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 |
|
|
41 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
42 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
55 |
to have a full working openvpn server running in bridge mode. |
to have a full working openvpn server running in bridge mode. |
56 |
|
|
57 |
%changelog |
%changelog |
58 |
|
* Tue Apr 14 2009 Daniel B. <daniel@firewall-services.com> [2.0-21] |
59 |
|
- Fixe permissions on public directory (pub and ccd) which must be readable |
60 |
|
by everyone (especially user nobody) |
61 |
|
|
62 |
* Sun Apr 12 2009 Daniel B. <daniel@firewall-services.com> [2.0-20] |
* Sun Apr 12 2009 Daniel B. <daniel@firewall-services.com> [2.0-20] |
63 |
- remove obsolete init scripts reset-openvpn and openvpn-bridge |
- remove obsolete init scripts reset-openvpn and openvpn-bridge |
64 |
|
|
187 |
%patch20 -p1 |
%patch20 -p1 |
188 |
%patch21 -p1 |
%patch21 -p1 |
189 |
%patch22 -p1 |
%patch22 -p1 |
190 |
|
%patch23 -p1 |
191 |
|
|
192 |
%build |
%build |
193 |
perl createlinks |
perl createlinks |
205 |
--file /var/service/openvpn-bridge/run 'attr(0755,root,root)' \ |
--file /var/service/openvpn-bridge/run 'attr(0755,root,root)' \ |
206 |
--file /var/service/openvpn-bridge/log/run 'attr(0755,root,root)' \ |
--file /var/service/openvpn-bridge/log/run 'attr(0755,root,root)' \ |
207 |
--dir /var/log/openvpn-bridge 'attr(0750,smelog,smelog)' \ |
--dir /var/log/openvpn-bridge 'attr(0750,smelog,smelog)' \ |
208 |
|
--dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \ |
209 |
|
--dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \ |
210 |
|
--dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \ |
211 |
--file /usr/bin/ovpn-bridge-update-crl 'attr(0750,root,root)' \ |
--file /usr/bin/ovpn-bridge-update-crl 'attr(0750,root,root)' \ |
212 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
213 |
|
|