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