1 |
# $Id: smeserver-openvpn-bridge.spec,v 1.1 2021/02/04 16:20:59 brianr Exp $ |
# $Id: smeserver-openvpn-bridge.spec,v 1.5 2021/04/01 01:43:12 jpp Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# Name: Daniel Berteaud |
4 |
|
|
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 14 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
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 |
|
Patch10: smeserver-openvpn-bridge-2.1-bz11335-sme10bis.patch |
27 |
|
Patch11: smeserver-openvpn-bridge-2.1-locale-2021-08-23.patch |
28 |
|
|
29 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
30 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
43 |
to have a full working openvpn server running in bridge mode. |
to have a full working openvpn server running in bridge mode. |
44 |
|
|
45 |
%changelog |
%changelog |
46 |
|
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 2.1-14.sme |
47 |
|
- apply locale 2021-08-23 patch |
48 |
|
|
49 |
|
* Wed Mar 31 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-13.sme |
50 |
|
- default AES-128-CBC and SHA256 fix [SME: 11335] |
51 |
|
- better frist screen with information on link and hnac and cipher |
52 |
|
- better client default configuration with embded shared key and CAcert |
53 |
|
- migrate cipher to Cipher like routed and s2s usage |
54 |
|
- HMAC and Cipher are accessible to change using the manager. |
55 |
|
- fix typos in translations [SME: 6647] |
56 |
|
|
57 |
|
* Tue Mar 23 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-12.sme |
58 |
|
- fix permisison issue on private keys [SME: 11335] |
59 |
|
- rework unit file |
60 |
|
avoid failure, add ncp cipher, add loging status |
61 |
|
- add default cipher AES-256-CBC - if issue with older clients < 2.4 |
62 |
|
it is advised to set it to 'auto' or BF-CBC |
63 |
|
|
64 |
* 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 |
65 |
- Initial import to SME10 [SME: 11335] |
- Initial import to SME10 [SME: 11335] |
66 |
- Add-in-systemd-startup |
- Add-in-systemd-startup |
310 |
%patch6 -p1 |
%patch6 -p1 |
311 |
%patch7 -p1 |
%patch7 -p1 |
312 |
%patch8 -p1 |
%patch8 -p1 |
313 |
|
%patch9 -p1 |
314 |
|
%patch10 -p1 |
315 |
|
%patch11 -p1 |
316 |
|
|
317 |
|
rm -rf root/usr/sbin/systemd/ |
318 |
|
rm -rf root/var/service/ |
319 |
|
|
320 |
%build |
%build |
321 |
perl createlinks |
perl createlinks |
330 |
%install |
%install |
331 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
332 |
(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 |
|
333 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
334 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
335 |
--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)' \ |
|
336 |
--dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \ |
--dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \ |
337 |
--dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \ |
--dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \ |
338 |
--dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \ |
--dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \ |