/[smecontribs]/rpms/smeserver-openvpn-s2s/contribs7/smeserver-openvpn-s2s.spec
ViewVC logotype

Diff of /rpms/smeserver-openvpn-s2s/contribs7/smeserver-openvpn-s2s.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by slords, Tue Nov 2 16:43:51 2010 UTC Revision 1.7 by vip-ire, Tue Jan 25 16:56:54 2011 UTC
# Line 1  Line 1 
1  # $Id: smeserver-openvpn-s2s.spec,v 1.37 2010/07/19 08:43:15 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    
# Line 6  Summary: OpenVPN, a strong VPN solution Line 6  Summary: OpenVPN, a strong VPN solution
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 11  %define release 16
10  Version: %{version}  Version: %{version}
11  Release: %{release}%{?dist}  Release: %{release}%{?dist}
12  License: GPL  License: GPL
# Line 39  Patch22: smeserver-openvpn-s2s-0.1-fix_c Line 39  Patch22: smeserver-openvpn-s2s-0.1-fix_c
39  Patch23: smeserver-openvpn-s2s-0.1-fix_removable_typo.patch  Patch23: smeserver-openvpn-s2s-0.1-fix_removable_typo.patch
40  Patch24: smeserver-openvpn-s2s-0.1-expand_and_restart_smb.patch  Patch24: smeserver-openvpn-s2s-0.1-expand_and_restart_smb.patch
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
43    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    
47  BuildArchitectures: noarch  BuildArchitectures: noarch
48    
49  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
50    BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
51    
52  Requires: e-smith-base  Requires: e-smith-base
53  Requires: openvpn >= 2.1  Requires: openvpn >= 2.1
# Line 52  This package contains all the needed scr Line 57  This package contains all the needed scr
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
64    - Remove useless smb.conf template
65    
66    * Tue Dec 7 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-14.sme
67    - Fix type variable (thks M. Doerner)
68    
69    * Mon Nov 8 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-13.sme
70    - Apply locale 2010-11-08 patch
71    
72    * Thu Nov 4 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-12.sme
73    - Apply locale 2010-11-04 patch
74    
75  * Tue Nov 02 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-11.sme  * Tue Nov 02 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-11.sme
76  - Remove the nice directive  - Remove the nice directive
77    
# Line 122  to run openvpn in client or server mode Line 142  to run openvpn in client or server mode
142  %patch23 -p1  %patch23 -p1
143  %patch24 -p1  %patch24 -p1
144  %patch25 -p1  %patch25 -p1
145    %patch26 -p1
146    %patch27 -p1
147    %patch28 -p1
148    %patch29 -p1
149    
150  %build  %build
151  perl createlinks  perl createlinks
# Line 152  rm -rf $RPM_BUILD_ROOT Line 176  rm -rf $RPM_BUILD_ROOT
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    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed