/[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.1 by vip-ire, Mon Nov 11 17:30:42 2013 UTC Revision 1.8 by unnilennium, Thu Feb 2 03:46:59 2017 UTC
# Line 1  Line 1 
1  # $Id: smeserver-openvpn-bridge.spec,v 1.4 2013/07/14 23:22:25 unnilennium Exp $  # $Id: smeserver-openvpn-bridge.spec,v 1.7 2016/05/07 07:07:01 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 1  %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-bridge-2.1-locale-2015-02-17.patch
17    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    Patch3: smeserver-openvpn-bridge-2.1-typo_in_en_locale.patch
20    Patch4: smeserver-openvpn-bridge-2.1-locale-2017-02-02.patch
21    
22  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
23  BuildArchitectures: noarch  BuildArchitectures: noarch
24    
# Line 30  This package contains all the needed scr Line 36  This package contains all the needed scr
36  to have a full working openvpn server running in bridge mode.  to have a full working openvpn server running in bridge mode.
37    
38  %changelog  %changelog
39    * Wed Feb 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.1-7.sme
40    - apply locale 2017-02-02.patch
41    
42    * Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.1-6.sme
43    - Typo in en-us locale for the panel [SME: 9301]
44    
45    * Wed Feb 10 2016 Daniel Berteaud <daniel@firewall-services.com> 2.1-5.sme
46    - Remove obsolete libpam.so symlink so AutoReqProv do not add a dep on i686
47      pam
48    
49    * Mon Feb 8 2016 Daniel Berteaud <daniel@firewall-services.com> 2.1-4.sme
50    - Create /etc/openvpn/bridge/dev/urandom [SME: 9238]
51    
52    * Thu Aug 6 2015 Daniel Berteaud <daniel@firewall-services.com> 2.1-3.sme
53    - Add routes for s2s virtual IP
54    
55    * Tue Feb 17 2015 Daniel Berteaud <daniel@firewall-services.com> 2.1-2.sme
56    - Apply locale 2015-02-17 patch
57    
58  * Mon Nov 11 2013 Daniel B. <daniel@firewall-services.com> 2.1-1.sme  * Mon Nov 11 2013 Daniel B. <daniel@firewall-services.com> 2.1-1.sme
59  - Rebuild for SME9  - Rebuild for SME9
60    
# Line 238  to have a full working openvpn server ru Line 263  to have a full working openvpn server ru
263  %prep  %prep
264    
265  %setup -q -n %{name}-%{version}  %setup -q -n %{name}-%{version}
266    %patch0 -p1
267    %patch1 -p1
268    %patch2 -p1
269    %patch3 -p1
270    %patch4 -p1
271    
272  %build  %build
273  perl createlinks  perl createlinks
# Line 247  perl createlinks Line 276  perl createlinks
276  %{__mkdir_p} root/etc/openvpn/bridge/priv  %{__mkdir_p} root/etc/openvpn/bridge/priv
277  %{__mkdir_p} root/etc/openvpn/bridge/pub  %{__mkdir_p} root/etc/openvpn/bridge/pub
278  %{__mkdir_p} root/etc/openvpn/bridge/tmp  %{__mkdir_p} root/etc/openvpn/bridge/tmp
279    %{__mkdir_p} root/etc/openvpn/bridge/dev
280  %{__mkdir_p} root/var/log/openvpn-bridge  %{__mkdir_p} root/var/log/openvpn-bridge
281    
282  %install  %install
# Line 270  perl createlinks Line 300  perl createlinks
300  %clean  %clean
301  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
302    
   
303  %post  %post
304    if [ \! -c /etc/openvpn/bridge/dev/urandom ]; then
305        mknod -m 0444 /etc/openvpn/bridge/dev/urandom c 1 9
306    fi
307    
308  %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