1 |
# $Id: smeserver-openvpn-s2s.spec,v 1.3 2010/11/04 12:53:12 vip-ire Exp $ |
# $Id: smeserver-openvpn-s2s.spec,v 1.7 2011/01/25 16:56:54 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 13 |
%define release 17 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
41 |
Patch25: smeserver-openvpn-s2s-0.1-remove_nice.patch |
Patch25: smeserver-openvpn-s2s-0.1-remove_nice.patch |
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 |
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 |
|
|
48 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
49 |
|
|
58 |
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 |
59 |
|
|
60 |
%changelog |
%changelog |
61 |
|
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 0.1-17.sme |
62 |
|
- apply locale 2011-03-06 patch |
63 |
|
|
64 |
|
* Tue Jan 25 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-16.sme |
65 |
|
- Stop disabling service on rpm removal (spec change only) |
66 |
|
|
67 |
|
* Tue Dec 7 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-15.sme |
68 |
|
- Remove useless smb.conf template |
69 |
|
|
70 |
|
* Tue Dec 7 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-14.sme |
71 |
|
- Fix type variable (thks M. Doerner) |
72 |
|
|
73 |
* Mon Nov 8 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-13.sme |
* Mon Nov 8 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-13.sme |
74 |
- Apply locale 2010-11-08 patch |
- Apply locale 2010-11-08 patch |
75 |
|
|
148 |
%patch25 -p1 |
%patch25 -p1 |
149 |
%patch26 -p1 |
%patch26 -p1 |
150 |
%patch27 -p1 |
%patch27 -p1 |
151 |
|
%patch28 -p1 |
152 |
|
%patch29 -p1 |
153 |
|
%patch30 -p1 |
154 |
|
|
155 |
%build |
%build |
156 |
perl createlinks |
perl createlinks |
181 |
%post |
%post |
182 |
|
|
183 |
%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 |
|
184 |
|
|