1 |
# $Id: smeserver-openvpn-bridge.spec,v 1.11 2019/12/07 04:04:55 jpp Exp $ |
# $Id: smeserver-openvpn-bridge.spec,v 1.4 2021/03/23 20:51:59 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 10 |
%define release 13 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
21 |
Patch5: smeserver-openvpn-bridge-2.1-locale-2017-12-02.patch |
Patch5: smeserver-openvpn-bridge-2.1-locale-2017-12-02.patch |
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 |
25 |
|
Patch9: smeserver-openvpn-bridge-2.1-bz11335.patch |
26 |
|
Patch10: smeserver-openvpn-bridge-2.1-bz11335-sme10bis.patch |
27 |
|
|
28 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
29 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
42 |
to have a full working openvpn server running in bridge mode. |
to have a full working openvpn server running in bridge mode. |
43 |
|
|
44 |
%changelog |
%changelog |
45 |
|
* Wed Mar 31 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-13.sme |
46 |
|
- default AES-128-CBC and SHA256 fix [SME: 11335] |
47 |
|
- better frist screen with information on link and hnac and cipher |
48 |
|
- better client default configuration with embded shared key and CAcert |
49 |
|
- migrate cipher to Cipher like routed and s2s usage |
50 |
|
- HMAC and Cipher are accessible to change using the manager. |
51 |
|
- fix typos in translations [SME: 6647] |
52 |
|
|
53 |
|
* Tue Mar 23 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-12.sme |
54 |
|
- fix permisison issue on private keys [SME: 11335] |
55 |
|
- rework unit file |
56 |
|
avoid failure, add ncp cipher, add loging status |
57 |
|
- add default cipher AES-256-CBC - if issue with older clients < 2.4 |
58 |
|
it is advised to set it to 'auto' or BF-CBC |
59 |
|
|
60 |
|
* Thu Feb 04 2021 Brian Read <brianr@bjsystems.co.uk> 2.1-11.sme |
61 |
|
- Initial import to SME10 [SME: 11335] |
62 |
|
- Add-in-systemd-startup |
63 |
|
|
64 |
* Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 2.1-10.sme |
* Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 2.1-10.sme |
65 |
- apply locale 2019-12-07 patch |
- apply locale 2019-12-07 patch |
66 |
|
|
305 |
%patch5 -p1 |
%patch5 -p1 |
306 |
%patch6 -p1 |
%patch6 -p1 |
307 |
%patch7 -p1 |
%patch7 -p1 |
308 |
|
%patch8 -p1 |
309 |
|
%patch9 -p1 |
310 |
|
rm -rf root/usr/sbin/systemd/ |
311 |
|
rm -rf root/var/service/ |
312 |
|
%patch10 -p1 |
313 |
|
|
314 |
%build |
%build |
315 |
perl createlinks |
perl createlinks |
326 |
(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) |
327 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
328 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
329 |
--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)' \ |
|
330 |
--dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \ |
--dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \ |
331 |
--dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \ |
--dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \ |
332 |
--dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \ |
--dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \ |