4 |
Summary: OpenVPN, a strong VPN solution build over SSL, pre-configured for routed mode |
Summary: OpenVPN, a strong VPN solution build over SSL, pre-configured for routed mode |
5 |
Name: smeserver-openvpn-routed |
Name: smeserver-openvpn-routed |
6 |
%define version 0.1.6 |
%define version 0.1.6 |
7 |
%define release 5 |
%define release 7 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
22 |
Patch0:smeserver-openvpn-routed-0.1.6-Add-in-systemd-startup.patch |
Patch0:smeserver-openvpn-routed-0.1.6-Add-in-systemd-startup.patch |
23 |
Patch1: smeserver-openvpn-routed-0.1.6-bz11336-sme10compatible.patch |
Patch1: smeserver-openvpn-routed-0.1.6-bz11336-sme10compatible.patch |
24 |
Patch2: smeserver-openvpn-routed-0.1.6-bz12020-backup.patch |
Patch2: smeserver-openvpn-routed-0.1.6-bz12020-backup.patch |
25 |
|
Patch3: smeserver-openvpn-routed-0.1.6-bz12243-logging.patch |
26 |
|
|
27 |
%description |
%description |
28 |
This package contains all the needed scripts and templates |
This package contains all the needed scripts and templates |
30 |
|
|
31 |
|
|
32 |
%changelog |
%changelog |
33 |
|
* Wed Nov 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.6-7.sme |
34 |
|
- log to a dedicated file [SME: 12243] |
35 |
|
use locale timestamp |
36 |
|
|
37 |
|
* Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 0.1.6-6.sme |
38 |
|
- Re-build and link to latest devtools [SME: 11997] |
39 |
|
|
40 |
* Sat Jul 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.6-5.sme |
* Sat Jul 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.6-5.sme |
41 |
- add to core backup [SME: 11997] |
- add to core backup [SME: 11997] |
42 |
|
|
79 |
%patch0 -p1 |
%patch0 -p1 |
80 |
%patch1 -p1 |
%patch1 -p1 |
81 |
%patch2 -p1 |
%patch2 -p1 |
82 |
|
%patch3 -p1 |
83 |
|
|
84 |
%build |
%build |
85 |
perl createlinks |
perl createlinks |
87 |
%{__mkdir_p} root/etc/openvpn/routed/ccd |
%{__mkdir_p} root/etc/openvpn/routed/ccd |
88 |
%{__mkdir_p} root/etc/openvpn/routed/priv |
%{__mkdir_p} root/etc/openvpn/routed/priv |
89 |
%{__mkdir_p} root/etc/openvpn/routed/pub |
%{__mkdir_p} root/etc/openvpn/routed/pub |
90 |
|
%{__mkdir_p} root/etc/openvpn/routed/etc |
91 |
%{__mkdir_p} root/etc/openvpn/routed/tmp |
%{__mkdir_p} root/etc/openvpn/routed/tmp |
92 |
%{__mkdir_p} root/etc/openvpn/routed/dev |
%{__mkdir_p} root/etc/openvpn/routed/dev |
93 |
%{__mkdir_p} root/var/log/openvpn-routed |
%{__mkdir_p} root/var/log/openvpn-routed |
104 |
--dir /etc/openvpn/routed/pub 'attr(0755,root,root)' \ |
--dir /etc/openvpn/routed/pub 'attr(0755,root,root)' \ |
105 |
--dir /etc/openvpn/routed/priv 'attr(0750,root,root)' \ |
--dir /etc/openvpn/routed/priv 'attr(0750,root,root)' \ |
106 |
--dir /etc/openvpn/routed/ccd 'attr(0755,root,root)' \ |
--dir /etc/openvpn/routed/ccd 'attr(0755,root,root)' \ |
107 |
|
--dir /etc/openvpn/routed/etc 'attr(0755,root,root)' \ |
108 |
--dir /etc/openvpn/routed/tmp 'attr(0770,root,openvpn)' \ |
--dir /etc/openvpn/routed/tmp 'attr(0770,root,openvpn)' \ |
109 |
--file /usr/bin/ovpn-routed-update-crl 'attr(0750,root,root)' \ |
--file /usr/bin/ovpn-routed-update-crl 'attr(0750,root,root)' \ |
110 |
--file /etc/openvpn/routed/bin/up 'attr(755,root,root)' \ |
--file /etc/openvpn/routed/bin/up 'attr(755,root,root)' \ |