1 |
# $Id: smeserver-openvpn-bridge.spec,v 1.11 2019/12/07 04:04:55 jpp Exp $ |
# $Id: smeserver-openvpn-bridge.spec,v 1.3 2021/03/23 20:50:08 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 12 |
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 |
|
|
27 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
28 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
41 |
to have a full working openvpn server running in bridge mode. |
to have a full working openvpn server running in bridge mode. |
42 |
|
|
43 |
%changelog |
%changelog |
44 |
|
* Tue Mar 23 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-12.sme |
45 |
|
- fix permisison issue on private keys [SME: 11335] |
46 |
|
- rework unit file |
47 |
|
avoid failure, add ncp cipher, add loging status |
48 |
|
- add default cipher AES-256-CBC - if issue with older clients < 2.4 |
49 |
|
it is advised to set it to 'auto' or BF-CBC |
50 |
|
|
51 |
|
* Thu Feb 04 2021 Brian Read <brianr@bjsystems.co.uk> 2.1-11.sme |
52 |
|
- Initial import to SME10 [SME: 11335] |
53 |
|
- Add-in-systemd-startup |
54 |
|
|
55 |
* 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 |
56 |
- apply locale 2019-12-07 patch |
- apply locale 2019-12-07 patch |
57 |
|
|
296 |
%patch5 -p1 |
%patch5 -p1 |
297 |
%patch6 -p1 |
%patch6 -p1 |
298 |
%patch7 -p1 |
%patch7 -p1 |
299 |
|
%patch8 -p1 |
300 |
|
%patch9 -p1 |
301 |
|
|
302 |
|
rm -rf root/usr/sbin/systemd/ |
303 |
|
rm -rf root/var/service/ |
304 |
|
|
305 |
%build |
%build |
306 |
perl createlinks |
perl createlinks |
317 |
(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) |
318 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
319 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
320 |
--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)' \ |
|
321 |
--dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \ |
--dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \ |
322 |
--dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \ |
--dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \ |
323 |
--dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \ |
--dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \ |