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

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

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

Revision 1.3 by vip-ire, Thu Aug 6 15:42:13 2015 UTC Revision 1.5 by vip-ire, Wed Feb 10 16:39:18 2016 UTC
# Line 1  Line 1 
1  # $Id: smeserver-openvpn-bridge.spec,v 1.2 2015/02/17 12:06:59 vip-ire Exp $  # $Id: smeserver-openvpn-bridge.spec,v 1.4 2016/02/08 09:42:51 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-bridge  %define name smeserver-openvpn-bridge
7  Name: %{name}  Name: %{name}
8  %define version 2.1  %define version 2.1
9  %define release 3  %define release 5
10  Version: %{version}  Version: %{version}
11  Release: %{release}%{?dist}  Release: %{release}%{?dist}
12  License: GPL  License: GPL
# Line 15  Source: %{name}-%{version}.tar.xz Line 15  Source: %{name}-%{version}.tar.xz
15    
16  Patch0: smeserver-openvpn-bridge-2.1-locale-2015-02-17.patch  Patch0: smeserver-openvpn-bridge-2.1-locale-2015-02-17.patch
17  Patch1: smeserver-openvpn-bridge-2.1-add_routes_for_s2s_virtual_ip.patch  Patch1: smeserver-openvpn-bridge-2.1-add_routes_for_s2s_virtual_ip.patch
18    Patch2: smeserver-openvpn-bridge-2.1-remove_obsolete_libpam_symlink.patch
19    
20  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
21  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 33  This package contains all the needed scr Line 34  This package contains all the needed scr
34  to have a full working openvpn server running in bridge mode.  to have a full working openvpn server running in bridge mode.
35    
36  %changelog  %changelog
37    * Wed Feb 10 2016 Daniel Berteaud <daniel@firewall-services.com> 2.1-5.sme
38    - Remove obsolete libpam.so symlink so AutoReqProv do not add a dep on i686
39      pam
40    
41    * Mon Feb 8 2016 Daniel Berteaud <daniel@firewall-services.com> 2.1-4.sme
42    - Create /etc/openvpn/bridge/dev/urandom [SME: 9238]
43    
44  * Thu Aug 6 2015 Daniel Berteaud <daniel@firewall-services.com> 2.1-3.sme  * Thu Aug 6 2015 Daniel Berteaud <daniel@firewall-services.com> 2.1-3.sme
45  - Add routes for s2s virtual IP  - Add routes for s2s virtual IP
46    
# Line 249  to have a full working openvpn server ru Line 257  to have a full working openvpn server ru
257  %setup -q -n %{name}-%{version}  %setup -q -n %{name}-%{version}
258  %patch0 -p1  %patch0 -p1
259  %patch1 -p1  %patch1 -p1
260    %patch2 -p1
261    
262  %build  %build
263  perl createlinks  perl createlinks
# Line 257  perl createlinks Line 266  perl createlinks
266  %{__mkdir_p} root/etc/openvpn/bridge/priv  %{__mkdir_p} root/etc/openvpn/bridge/priv
267  %{__mkdir_p} root/etc/openvpn/bridge/pub  %{__mkdir_p} root/etc/openvpn/bridge/pub
268  %{__mkdir_p} root/etc/openvpn/bridge/tmp  %{__mkdir_p} root/etc/openvpn/bridge/tmp
269    %{__mkdir_p} root/etc/openvpn/bridge/dev
270  %{__mkdir_p} root/var/log/openvpn-bridge  %{__mkdir_p} root/var/log/openvpn-bridge
271    
272  %install  %install
# Line 280  perl createlinks Line 290  perl createlinks
290  %clean  %clean
291  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
292    
   
293  %post  %post
294    if [ \! -c /etc/openvpn/bridge/dev/urandom ]; then
295        mknod -m 0444 /etc/openvpn/bridge/dev/urandom c 1 9
296    fi
297    
298  %preun  %preun


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