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 2 |
%define release 6 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
20 |
Requires: openvpn |
Requires: openvpn |
21 |
#Requires: perl(Net::OpenVPN::Manage) |
#Requires: perl(Net::OpenVPN::Manage) |
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 |
24 |
|
Patch2: smeserver-openvpn-routed-0.1.6-bz12020-backup.patch |
25 |
|
|
26 |
%description |
%description |
27 |
This package contains all the needed scripts and templates |
This package contains all the needed scripts and templates |
29 |
|
|
30 |
|
|
31 |
%changelog |
%changelog |
32 |
|
* Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 0.1.6-6.sme |
33 |
|
- Re-build and link to latest devtools [SME: 11997] |
34 |
|
|
35 |
|
* Sat Jul 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.6-5.sme |
36 |
|
- add to core backup [SME: 11997] |
37 |
|
|
38 |
|
* Thu Apr 01 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.6-4.sme |
39 |
|
- autoconfiguration if openvpn-bridge is isntalled and configured [SME: 11336] |
40 |
|
- reworked systemd unit and scripts |
41 |
|
- new property HMAC forced to SHA256, instead of insecure default SHA1 [SME: 9925] |
42 |
|
- Cipher now enforced to AES-128-CBC, instead of insecure default Blowfish [SME: 9919] |
43 |
|
- possibility to exclude networks to push [SME: 10548] |
44 |
|
|
45 |
* Thu Feb 04 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.6-2.sme |
* Thu Feb 04 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.6-2.sme |
46 |
- Initial import to SME10 [SME: 11336] |
- Initial import to SME10 [SME: 11336] |
47 |
- Add-in-systemd-startup |
- Add-in-systemd-startup |
48 |
|
|
|
|
|
49 |
* Mon Apr 10 2017 Daniel Berteaud <daniel@firewall-services.com> 0.1.6-1 |
* Mon Apr 10 2017 Daniel Berteaud <daniel@firewall-services.com> 0.1.6-1 |
50 |
- Update pam plugin path [SME: 10220] |
- Update pam plugin path [SME: 10220] |
51 |
|
|
72 |
%prep |
%prep |
73 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
74 |
%patch0 -p1 |
%patch0 -p1 |
75 |
|
%patch1 -p1 |
76 |
|
%patch2 -p1 |
77 |
|
|
78 |
%build |
%build |
79 |
perl createlinks |
perl createlinks |
88 |
%install |
%install |
89 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
90 |
(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 |
|
91 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
92 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
93 |
|
--file /sbin/e-smith/systemd/openvpn-routed 'attr(0755,root,root)' \ |
94 |
--file /var/service/openvpn-routed/run 'attr(0755,root,root)' \ |
--file /var/service/openvpn-routed/run 'attr(0755,root,root)' \ |
95 |
--file /var/service/openvpn-routed/log/run 'attr(0755,root,root)' \ |
--file /var/service/openvpn-routed/log/run 'attr(0755,root,root)' \ |
96 |
--dir /var/log/openvpn-routed 'attr(0750,smelog,smelog)' \ |
--dir /var/log/openvpn-routed 'attr(0750,smelog,smelog)' \ |