1 |
# $Id: smeserver-openvpn-s2s.spec,v 1.4 2010/11/08 08:36:01 vip-ire Exp $ |
# $Id: smeserver-openvpn-s2s.spec,v 1.11 2011/06/02 15:25:42 vip-ire Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# Name: Daniel Berteaud |
4 |
|
|
6 |
%define name smeserver-openvpn-s2s |
%define name smeserver-openvpn-s2s |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 0.1 |
%define version 0.1 |
9 |
%define release 14 |
%define release 21 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
42 |
Patch26: smeserver-openvpn-s2s-0.1-locale-2010-11-04.patch |
Patch26: smeserver-openvpn-s2s-0.1-locale-2010-11-04.patch |
43 |
Patch27: smeserver-openvpn-s2s-0.1-locale-2010-11-08.patch |
Patch27: smeserver-openvpn-s2s-0.1-locale-2010-11-08.patch |
44 |
Patch28: smeserver-openvpn-s2s-0.1-fix_type_variable.patch |
Patch28: smeserver-openvpn-s2s-0.1-fix_type_variable.patch |
45 |
|
Patch29: smeserver-openvpn-s2s-0.1-remove_useless_samba_template.patch |
46 |
|
Patch30: smeserver-openvpn-s2s-0.1-locale-2011-03-06.patch |
47 |
|
Patch31: smeserver-openvpn-s2s-0.1-reduce_ping_restart.patch |
48 |
|
Patch32: smeserver-openvpn-s2s-0.1-snat_outbound.patch |
49 |
|
Patch33: smeserver-openvpn-s2s-0.1-fix_remote_host_desc.patch |
50 |
|
Patch34: smeserver-openvpn-s2s-0.1-locale-2011-10-13.patch |
51 |
|
|
52 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
53 |
|
|
62 |
to run openvpn in client or server mode for site to site tunnels |
to run openvpn in client or server mode for site to site tunnels |
63 |
|
|
64 |
%changelog |
%changelog |
65 |
|
* Thu Oct 13 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-21.sme |
66 |
|
- Apply locale 2011-10-13 patch |
67 |
|
|
68 |
|
* Thu Jun 2 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-20.sme |
69 |
|
- Fix remote host description |
70 |
|
|
71 |
|
* Wed Jun 1 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-19.sme |
72 |
|
- SNAT outbound connexions to use the local IP as source |
73 |
|
|
74 |
|
* Tue Apr 19 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-18.sme |
75 |
|
- Reduce inactivity timeout |
76 |
|
|
77 |
|
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 0.1-17.sme |
78 |
|
- apply locale 2011-03-06 patch |
79 |
|
|
80 |
|
* Tue Jan 25 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-16.sme |
81 |
|
- Stop disabling service on rpm removal (spec change only) |
82 |
|
|
83 |
|
* Tue Dec 7 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-15.sme |
84 |
|
- Remove useless smb.conf template |
85 |
|
|
86 |
* Tue Dec 7 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-14.sme |
* Tue Dec 7 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-14.sme |
87 |
- Fix type variable (thks M. Doerner) |
- Fix type variable (thks M. Doerner) |
88 |
|
|
165 |
%patch26 -p1 |
%patch26 -p1 |
166 |
%patch27 -p1 |
%patch27 -p1 |
167 |
%patch28 -p1 |
%patch28 -p1 |
168 |
|
%patch29 -p1 |
169 |
|
%patch30 -p1 |
170 |
|
%patch31 -p1 |
171 |
|
%patch32 -p1 |
172 |
|
%patch33 -p1 |
173 |
|
%patch34 -p1 |
174 |
|
|
175 |
%build |
%build |
176 |
perl createlinks |
perl createlinks |
201 |
%post |
%post |
202 |
|
|
203 |
%preun |
%preun |
|
if [ $1 -eq 0 ] ; then |
|
|
/sbin/e-smith/db configuration setprop openvpn-s2s status disabled |
|
|
/etc/rc.d/init.d/openvpn-s2s stop |
|
|
fi |
|
|
|
|
|
true |
|
204 |
|
|