/[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.4 by vip-ire, Thu Dec 18 08:30:13 2014 UTC Revision 1.8 by vip-ire, Wed Oct 25 13:24:23 2017 UTC
# Line 1  Line 1 
1  # $Id: smeserver-openvpn-s2s.spec,v 1.3 2013/11/14 17:50:53 vip-ire Exp $  # $Id: smeserver-openvpn-s2s.spec,v 1.7 2016/02/08 09:24: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.2  %define version 0.2
9  %define release 3  %define release 7
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  Patch0: smeserver-openvpn-s2s-0.2-use_verify_x509_name.patch
17    Patch1: smeserver-openvpn-s2s-0.2-locale-2015-02-17.patch
18    Patch2: smeserver-openvpn-s2s-0.2-locale-2015-07-01.patch
19    Patch3: smeserver-openvpn-s2s-0.2-fix_daemon_id_validation.patch
20    
21  BuildArchitectures: noarch  BuildArchitectures: noarch
22    
23  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
# Line 26  This package contains all the needed scr Line 31  This package contains all the needed scr
31  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
32    
33  %changelog  %changelog
34    * Wed Oct 25 2017 Daniel Berteaud <daniel@firewall-services.com> 0.2-7.sme
35    - Fix daemon ID validation [SME: 10446]
36    
37    * Mon Feb 8 2016 Daniel Berteaud <daniel@firewall-services.com> 0.2-6.sme
38    - Create /etc/openvpn/s2s/dev/urandom [SME: 9238]
39    
40    * Wed Jul 1 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.2-5.sme
41    - Apply smeserver-openvpn-s2s-0.2-locale-2015-07-01.patch [SME: 8967]
42    
43    * Tue Feb 17 2015 Daniel Berteaud <daniel@firewall-services.com> 0.2-4.sme
44    - Apply locale 2015-02-17 patch
45    
46  * Thu Dec 18 2014 Daniel Berteaud <daniel@firewall-services.com> 0.2-3.sme  * Thu Dec 18 2014 Daniel Berteaud <daniel@firewall-services.com> 0.2-3.sme
47  - Create required (but unused) /etc/openvpn/s2s/tmp dir  - Create required (but unused) /etc/openvpn/s2s/tmp dir
48    
# Line 113  to run openvpn in client or server mode Line 130  to run openvpn in client or server mode
130    
131  %setup -q -n %{name}-%{version}  %setup -q -n %{name}-%{version}
132  %patch0 -p1  %patch0 -p1
133    %patch1 -p1
134    %patch2 -p1
135    %patch3 -p1
136    
137  %build  %build
138  perl createlinks  perl createlinks
# Line 120  perl createlinks Line 140  perl createlinks
140  %{__mkdir_p} root/etc/openvpn/s2s/priv  %{__mkdir_p} root/etc/openvpn/s2s/priv
141  %{__mkdir_p} root/etc/openvpn/s2s/pub  %{__mkdir_p} root/etc/openvpn/s2s/pub
142  %{__mkdir_p} root/etc/openvpn/s2s/tmp  %{__mkdir_p} root/etc/openvpn/s2s/tmp
143    %{__mkdir_p} root/etc/openvpn/s2s/dev
144  %{__mkdir_p} root/var/run/openvpn-s2s  %{__mkdir_p} root/var/run/openvpn-s2s
145  %{__mkdir_p} root/var/log/openvpn-s2s  %{__mkdir_p} root/var/log/openvpn-s2s
146    
# Line 141  perl createlinks Line 162  perl createlinks
162  %clean  %clean
163  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
164    
   
165  %post  %post
166    if [ \! -c /etc/openvpn/s2s/dev/urandom ]; then
167        mknod -m 0444 /etc/openvpn/s2s/dev/urandom c 1 9
168    fi
169    
170  %preun  %preun
171    


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