1 |
# $Id: smeserver-openvpn-s2s.spec,v 1.5 2010/12/07 19:22:50 vip-ire Exp $ |
# $Id: smeserver-openvpn-s2s.spec,v 1.9 2011/04/19 11:57:41 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 15 |
%define release 19 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
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 |
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 |
|
|
50 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
51 |
|
|
60 |
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 |
61 |
|
|
62 |
%changelog |
%changelog |
63 |
|
* Wed Jun 1 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-19.sme |
64 |
|
- SNAT outbound connexions to use the local IP as source |
65 |
|
|
66 |
|
* Tue Apr 19 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-18.sme |
67 |
|
- Reduce inactivity timeout |
68 |
|
|
69 |
|
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 0.1-17.sme |
70 |
|
- apply locale 2011-03-06 patch |
71 |
|
|
72 |
|
* Tue Jan 25 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-16.sme |
73 |
|
- Stop disabling service on rpm removal (spec change only) |
74 |
|
|
75 |
* Tue Dec 7 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-15.sme |
* Tue Dec 7 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-15.sme |
76 |
- Remove useless smb.conf template |
- Remove useless smb.conf template |
77 |
|
|
158 |
%patch27 -p1 |
%patch27 -p1 |
159 |
%patch28 -p1 |
%patch28 -p1 |
160 |
%patch29 -p1 |
%patch29 -p1 |
161 |
|
%patch30 -p1 |
162 |
|
%patch31 -p1 |
163 |
|
%patch32 -p1 |
164 |
|
|
165 |
%build |
%build |
166 |
perl createlinks |
perl createlinks |
191 |
%post |
%post |
192 |
|
|
193 |
%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 |
|
194 |
|
|