1 |
# $Id: smeserver-openvpn-bridge.spec,v 1.11 2019/12/07 04:04:55 jpp Exp $ |
# $Id: smeserver-openvpn-bridge.spec,v 1.7 2021/09/08 05:14:42 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 10 |
%define release 16 |
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 |
|
Patch11: smeserver-openvpn-bridge-2.1-locale-2021-08-23.patch |
28 |
|
Patch12: smeserver-openvpn-bridge-2.1-locale-2021-09-08.patch |
29 |
|
Patch13: smeserver-openvpn-bridge-2.1-bz12018-backup.patch |
30 |
|
|
31 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
32 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
45 |
to have a full working openvpn server running in bridge mode. |
to have a full working openvpn server running in bridge mode. |
46 |
|
|
47 |
%changelog |
%changelog |
48 |
|
* Sat Jul 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-16.sme |
49 |
|
- add to core backup [SME: 12018] |
50 |
|
|
51 |
|
* Wed Sep 08 2021 Terry Fage <terry.fage@gmail.com> 2.1-15.sme |
52 |
|
- apply locale 2021-09-08 patch |
53 |
|
|
54 |
|
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 2.1-14.sme |
55 |
|
- apply locale 2021-08-23 patch |
56 |
|
|
57 |
|
* Wed Mar 31 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-13.sme |
58 |
|
- default AES-128-CBC and SHA256 fix [SME: 11335] |
59 |
|
- better frist screen with information on link and hnac and cipher |
60 |
|
- better client default configuration with embded shared key and CAcert |
61 |
|
- migrate cipher to Cipher like routed and s2s usage |
62 |
|
- HMAC and Cipher are accessible to change using the manager. |
63 |
|
- fix typos in translations [SME: 6647] |
64 |
|
|
65 |
|
* Tue Mar 23 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-12.sme |
66 |
|
- fix permisison issue on private keys [SME: 11335] |
67 |
|
- rework unit file |
68 |
|
avoid failure, add ncp cipher, add loging status |
69 |
|
- add default cipher AES-256-CBC - if issue with older clients < 2.4 |
70 |
|
it is advised to set it to 'auto' or BF-CBC |
71 |
|
|
72 |
|
* Thu Feb 04 2021 Brian Read <brianr@bjsystems.co.uk> 2.1-11.sme |
73 |
|
- Initial import to SME10 [SME: 11335] |
74 |
|
- Add-in-systemd-startup |
75 |
|
|
76 |
* 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 |
77 |
- apply locale 2019-12-07 patch |
- apply locale 2019-12-07 patch |
78 |
|
|
317 |
%patch5 -p1 |
%patch5 -p1 |
318 |
%patch6 -p1 |
%patch6 -p1 |
319 |
%patch7 -p1 |
%patch7 -p1 |
320 |
|
%patch8 -p1 |
321 |
|
%patch9 -p1 |
322 |
|
%patch10 -p1 |
323 |
|
%patch11 -p1 |
324 |
|
%patch12 -p1 |
325 |
|
%patch13 -p1 |
326 |
|
|
327 |
|
rm -rf root/usr/sbin/systemd/ |
328 |
|
rm -rf root/var/service/ |
329 |
|
|
330 |
%build |
%build |
331 |
perl createlinks |
perl createlinks |
342 |
(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) |
343 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
344 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
345 |
--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)' \ |
|
346 |
--dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \ |
--dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \ |
347 |
--dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \ |
--dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \ |
348 |
--dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \ |
--dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \ |