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

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

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

Revision 1.6 by stephdl, Wed Jul 1 21:55:55 2015 UTC Revision 1.7 by vip-ire, Mon Feb 8 09:24:25 2016 UTC
# Line 1  Line 1 
1  # $Id: smeserver-openvpn-s2s.spec,v 1.5 2015/02/17 12:16:49 vip-ire Exp $  # $Id: smeserver-openvpn-s2s.spec,v 1.6 2015/07/01 21:55:55 stephdl 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.2  %define version 0.2
9  %define release 5  %define release 6
10  Version: %{version}  Version: %{version}
11  Release: %{release}%{?dist}  Release: %{release}%{?dist}
12  License: GPL  License: GPL
# Line 30  This package contains all the needed scr Line 30  This package contains all the needed scr
30  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
31    
32  %changelog  %changelog
33    * Mon Feb 8 2016 Daniel Berteaud <daniel@firewall-services.com> 0.2-6.sme
34    - Create /etc/openvpn/s2s/dev/urandom [SME: 9238]
35    
36  * Wed Jul 1 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.2-5.sme  * Wed Jul 1 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.2-5.sme
37  - Apply smeserver-openvpn-s2s-0.2-locale-2015-07-01.patch [SME: 8967]  - Apply smeserver-openvpn-s2s-0.2-locale-2015-07-01.patch [SME: 8967]
38    
# Line 132  perl createlinks Line 135  perl createlinks
135  %{__mkdir_p} root/etc/openvpn/s2s/priv  %{__mkdir_p} root/etc/openvpn/s2s/priv
136  %{__mkdir_p} root/etc/openvpn/s2s/pub  %{__mkdir_p} root/etc/openvpn/s2s/pub
137  %{__mkdir_p} root/etc/openvpn/s2s/tmp  %{__mkdir_p} root/etc/openvpn/s2s/tmp
138    %{__mkdir_p} root/etc/openvpn/s2s/dev
139  %{__mkdir_p} root/var/run/openvpn-s2s  %{__mkdir_p} root/var/run/openvpn-s2s
140  %{__mkdir_p} root/var/log/openvpn-s2s  %{__mkdir_p} root/var/log/openvpn-s2s
141    
# Line 153  perl createlinks Line 157  perl createlinks
157  %clean  %clean
158  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
159    
   
160  %post  %post
161    if [ \! -c /etc/openvpn/s2s/dev/urandom ]; then
162        mknod -m 0444 /etc/openvpn/s2s/dev/urandom c 1 9
163    fi
164    
165  %preun  %preun
166    


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