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 3 |
%define release 4 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
28 |
|
|
29 |
|
|
30 |
%changelog |
%changelog |
31 |
* Thu Apr 01 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.6-3.sme |
* Thu Apr 01 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.6-4.sme |
32 |
- autoconfiguration if openvpn-bridge is isntalled and configured [SME: 11336] |
- autoconfiguration if openvpn-bridge is isntalled and configured [SME: 11336] |
33 |
- reworked systemd unit and scripts |
- reworked systemd unit and scripts |
34 |
- new property HMAC forced to SHA256, instead of insecure default SHA1 [SME: 9925] |
- new property HMAC forced to SHA256, instead of insecure default SHA1 [SME: 9925] |
80 |
%install |
%install |
81 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
82 |
(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-routed |
|
83 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
84 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
85 |
|
--file /sbin/e-smith/systemd/openvpn-routed 'attr(0755,root,root)' \ |
86 |
--file /var/service/openvpn-routed/run 'attr(0755,root,root)' \ |
--file /var/service/openvpn-routed/run 'attr(0755,root,root)' \ |
87 |
--file /var/service/openvpn-routed/log/run 'attr(0755,root,root)' \ |
--file /var/service/openvpn-routed/log/run 'attr(0755,root,root)' \ |
88 |
--dir /var/log/openvpn-routed 'attr(0750,smelog,smelog)' \ |
--dir /var/log/openvpn-routed 'attr(0750,smelog,smelog)' \ |