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.6 2010/12/07 19:35:25 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 16 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
57 |
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 |
58 |
|
|
59 |
%changelog |
%changelog |
60 |
|
* Tue Jan 25 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-16.sme |
61 |
|
- Stop disabling service on rpm removal (spec change only) |
62 |
|
|
63 |
* 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 |
64 |
- Remove useless smb.conf template |
- Remove useless smb.conf template |
65 |
|
|
176 |
%post |
%post |
177 |
|
|
178 |
%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 |
|
179 |
|
|