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

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

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

Revision 1.2 by unnilennium, Sun Jul 14 23:31:33 2013 UTC Revision 1.7 by vip-ire, Mon Feb 8 09:39:39 2016 UTC
# Line 1  Line 1 
1  # $Id: smeserver-openvpn-s2s.spec,v 1.1 2013/03/03 21:10:30 unnilennium Exp $  # $Id: smeserver-openvpn-s2s.spec,v 1.6 2015/02/17 12:14:06 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 22  %define release 27
10  Version: %{version}  Version: %{version}
11  Release: %{release}%{?dist}  Release: %{release}%{?dist}
12  License: GPL  License: GPL
# Line 49  Patch32: smeserver-openvpn-s2s-0.1-snat_ Line 49  Patch32: smeserver-openvpn-s2s-0.1-snat_
49  Patch33: smeserver-openvpn-s2s-0.1-fix_remote_host_desc.patch  Patch33: smeserver-openvpn-s2s-0.1-fix_remote_host_desc.patch
50  Patch34: smeserver-openvpn-s2s-0.1-locale-2011-10-13.patch  Patch34: smeserver-openvpn-s2s-0.1-locale-2011-10-13.patch
51  Patch35: smeserver-openvpn-s2s-0.1-locale-2013-07-14.patch  Patch35: smeserver-openvpn-s2s-0.1-locale-2013-07-14.patch
52    Patch36: smeserver-openvpn-s2s-0.1-use_verify_x509_name.patch
53    Patch37: smeserver-openvpn-s2s-0.1-locale-2014-11-02.patch
54    Patch38: smeserver-openvpn-s2s-0.1-locale-2015-02-17.patch
55    
56  BuildArchitectures: noarch  BuildArchitectures: noarch
57    
# Line 63  This package contains all the needed scr Line 66  This package contains all the needed scr
66  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
67    
68  %changelog  %changelog
69    * Mon Feb 8 2016 Daniel Berteaud <daniel@firewall-services.com> 0.1-27.sme
70    - Create /etc/openvpn/s2s/dev/urandom [SME: 9238]
71    
72    * Tue Feb 17 2015 Daniel Berteaud <daniel@firewall-services.com> 0.1-26.sme
73    - Apply locale 2015-02-17 patch
74    
75    * Thu Dec 18 2014 Daniel Berteaud <daniel@firewall-services.com> 0.1-25.sme
76    - Create required but unused /etc/openvpn/s2s/tmp dir
77    
78    * Sun Nov 2 2014 Daniel Berteaud <daniel@firewall-services.com> 0.1-24.sme
79    - Apply locale 2014-11-02 patch
80    
81    * Thu Nov 14 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1-23.sme
82    - Use verify-x509-name instead of tls-remote
83    
84  * Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 0.1-22.sme  * Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 0.1-22.sme
85  - apply locale 2013-07-14 patch  - apply locale 2013-07-14 patch
86    
# Line 176  to run openvpn in client or server mode Line 194  to run openvpn in client or server mode
194  %patch33 -p1  %patch33 -p1
195  %patch34 -p1  %patch34 -p1
196  %patch35 -p1  %patch35 -p1
197    %patch36 -p1
198    %patch37 -p1
199    %patch38 -p1
200    
201  %build  %build
202  perl createlinks  perl createlinks
203    
204  %{__mkdir_p} root/etc/openvpn/s2s/priv  %{__mkdir_p} root/etc/openvpn/s2s/priv
205  %{__mkdir_p} root/etc/openvpn/s2s/pub  %{__mkdir_p} root/etc/openvpn/s2s/pub
206    %{__mkdir_p} root/etc/openvpn/s2s/tmp
207    %{__mkdir_p} root/etc/openvpn/s2s/dev
208  %{__mkdir_p} root/var/run/openvpn-s2s  %{__mkdir_p} root/var/run/openvpn-s2s
209  %{__mkdir_p} root/var/log/openvpn-s2s  %{__mkdir_p} root/var/log/openvpn-s2s
210    
# Line 192  perl createlinks Line 215  perl createlinks
215  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
216    --dir /etc/openvpn/s2s/pub 'attr(0755,root,root)' \    --dir /etc/openvpn/s2s/pub 'attr(0755,root,root)' \
217    --dir /etc/openvpn/s2s/priv 'attr(0750,root,root)' \    --dir /etc/openvpn/s2s/priv 'attr(0750,root,root)' \
218      --dir /etc/openvpn/s2s/tmp 'attr(0750,root,root)' \
219    --dir /var/log/openvpn-s2s 'attr(0770,root,nobody)' \    --dir /var/log/openvpn-s2s 'attr(0770,root,nobody)' \
220    --file /etc/openvpn/s2s/bin/up 'attr(4750,root,openvpn)' \    --file /etc/openvpn/s2s/bin/up 'attr(4750,root,openvpn)' \
221    > %{name}-%{version}-filelist    > %{name}-%{version}-filelist
# Line 202  perl createlinks Line 226  perl createlinks
226  %clean  %clean
227  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
228    
   
229  %post  %post
230    if [ \! -c /etc/openvpn/s2s/dev/urandom ]; then
231        mknod -m 0444 /etc/openvpn/s2s/dev/urandom c 1 9
232    fi
233    
234  %preun  %preun
235    


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