/[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.2 by vip-ire, Mon Nov 11 17:37:01 2013 UTC Revision 1.5 by vip-ire, Tue Feb 17 12:16:49 2015 UTC
# Line 1  Line 1 
1  # $Id: smeserver-openvpn-s2s.spec,v 1.1 2013/11/11 17:36:16 vip-ire Exp $  # $Id: smeserver-openvpn-s2s.spec,v 1.4 2014/12/18 08:30:13 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.2  %define version 0.2
9  %define release 1  %define release 4
10  Version: %{version}  Version: %{version}
11  Release: %{release}%{?dist}  Release: %{release}%{?dist}
12  License: GPL  License: GPL
13  Group: Networking/Remote access  Group: Networking/Remote access
14  Source: %{name}-%{version}.tar.xz  Source: %{name}-%{version}.tar.xz
15    
16    Patch0: smeserver-openvpn-s2s-0.2-use_verify_x509_name.patch
17    Patch1: smeserver-openvpn-s2s-0.2-locale-2015-02-17.patch
18    
19  BuildArchitectures: noarch  BuildArchitectures: noarch
20    
21  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
# Line 26  This package contains all the needed scr Line 29  This package contains all the needed scr
29  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
30    
31  %changelog  %changelog
32    * Tue Feb 17 2015 Daniel Berteaud <daniel@firewall-services.com> 0.2-4.sme
33    - Apply locale 2015-02-17 patch
34    
35    * Thu Dec 18 2014 Daniel Berteaud <daniel@firewall-services.com> 0.2-3.sme
36    - Create required (but unused) /etc/openvpn/s2s/tmp dir
37    
38    * Thu Nov 14 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2-2.sme
39    - Use verify-x509-name instead of tls-remote
40    
41  * Mon Nov 11 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2-1.sme  * Mon Nov 11 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2-1.sme
42  - Rebuild for SME9  - Rebuild for SME9
43    
# Line 106  to run openvpn in client or server mode Line 118  to run openvpn in client or server mode
118  %prep  %prep
119    
120  %setup -q -n %{name}-%{version}  %setup -q -n %{name}-%{version}
121    %patch0 -p1
122    %patch1 -p1
123    
124  %build  %build
125  perl createlinks  perl createlinks
126    
127  %{__mkdir_p} root/etc/openvpn/s2s/priv  %{__mkdir_p} root/etc/openvpn/s2s/priv
128  %{__mkdir_p} root/etc/openvpn/s2s/pub  %{__mkdir_p} root/etc/openvpn/s2s/pub
129    %{__mkdir_p} root/etc/openvpn/s2s/tmp
130  %{__mkdir_p} root/var/run/openvpn-s2s  %{__mkdir_p} root/var/run/openvpn-s2s
131  %{__mkdir_p} root/var/log/openvpn-s2s  %{__mkdir_p} root/var/log/openvpn-s2s
132    
# Line 122  perl createlinks Line 137  perl createlinks
137  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
138    --dir /etc/openvpn/s2s/pub 'attr(0755,root,root)' \    --dir /etc/openvpn/s2s/pub 'attr(0755,root,root)' \
139    --dir /etc/openvpn/s2s/priv 'attr(0750,root,root)' \    --dir /etc/openvpn/s2s/priv 'attr(0750,root,root)' \
140      --dir /etc/openvpn/s2s/tmp 'attr(0750,root,root)' \
141    --dir /var/log/openvpn-s2s 'attr(0770,root,nobody)' \    --dir /var/log/openvpn-s2s 'attr(0770,root,nobody)' \
142    --file /etc/openvpn/s2s/bin/up 'attr(4750,root,openvpn)' \    --file /etc/openvpn/s2s/bin/up 'attr(4750,root,openvpn)' \
143    > %{name}-%{version}-filelist    > %{name}-%{version}-filelist


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