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

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

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

Revision 1.2 by brianr, Sat Feb 13 14:43:54 2021 UTC Revision 1.4 by jpp, Tue Mar 23 20:51:59 2021 UTC
# Line 1  Line 1 
1  # $Id: smeserver-openvpn-bridge.spec,v 1.1 2021/02/04 16:20:59 brianr Exp $  # $Id: smeserver-openvpn-bridge.spec,v 1.3 2021/03/23 20:50:08 jpp 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 11  %define release 12
10  Version: %{version}  Version: %{version}
11  Release: %{release}%{?dist}  Release: %{release}%{?dist}
12  License: GPL  License: GPL
# Line 22  Patch5: smeserver-openvpn-bridge-2.1-loc Line 22  Patch5: smeserver-openvpn-bridge-2.1-loc
22  Patch6: smeserver-openvpn-bridge-2.1-push-routes.patch  Patch6: smeserver-openvpn-bridge-2.1-push-routes.patch
23  Patch7: smeserver-openvpn-bridge-2.1-locale-2019-12-07.patch  Patch7: smeserver-openvpn-bridge-2.1-locale-2019-12-07.patch
24  Patch8: smeserver-openvpn-bridge-2.1-Add-in-systemd-startup.patch  Patch8: smeserver-openvpn-bridge-2.1-Add-in-systemd-startup.patch
25    Patch9: smeserver-openvpn-bridge-2.1-bz11335.patch
26    
27  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
28  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 40  This package contains all the needed scr Line 41  This package contains all the needed scr
41  to have a full working openvpn server running in bridge mode.  to have a full working openvpn server running in bridge mode.
42    
43  %changelog  %changelog
44    * Tue Mar 23 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-12.sme
45    - fix permisison issue on private keys [SME: 11335]
46    - rework unit file
47      avoid failure, add ncp cipher, add loging status
48    - add default cipher  AES-256-CBC - if issue with older clients < 2.4
49      it is advised to set it to 'auto' or BF-CBC
50    
51  * Thu Feb 04 2021 Brian Read <brianr@bjsystems.co.uk> 2.1-11.sme  * Thu Feb 04 2021 Brian Read <brianr@bjsystems.co.uk> 2.1-11.sme
52  - Initial import to SME10 [SME: 11335]  - Initial import to SME10 [SME: 11335]
53  - Add-in-systemd-startup  - Add-in-systemd-startup
# Line 289  to have a full working openvpn server ru Line 297  to have a full working openvpn server ru
297  %patch6 -p1  %patch6 -p1
298  %patch7 -p1  %patch7 -p1
299  %patch8 -p1  %patch8 -p1
300    %patch9 -p1
301    
302    rm -rf root/usr/sbin/systemd/
303    rm -rf root/var/service/
304    
305  %build  %build
306  perl createlinks  perl createlinks
# Line 303  perl createlinks Line 315  perl createlinks
315  %install  %install
316  /bin/rm -rf $RPM_BUILD_ROOT  /bin/rm -rf $RPM_BUILD_ROOT
317  (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)  (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
 /bin/chmod +x $RPM_BUILD_ROOT/usr/sbin/systemd/openvpn-bridge  
318  /bin/rm -f %{name}-%{version}-filelist  /bin/rm -f %{name}-%{version}-filelist
319  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
320    --file /var/service/openvpn-bridge/run 'attr(0755,root,root)' \    --dir /var/log/openvpn-bridge 'attr(0750,root,root)' \
   --file /var/service/openvpn-bridge/log/run 'attr(0755,root,root)' \  
   --dir /var/log/openvpn-bridge 'attr(0750,smelog,smelog)' \  
321    --dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \    --dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \
322    --dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \    --dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \
323    --dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \    --dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \


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