1 |
# $Id: smeserver-openvpn-bridge.spec,v 1.2 2021/02/13 14:43:54 brianr 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 12 |
%define release 13 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
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 |
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 |
* Tue Mar 23 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-12.sme |
54 |
- fix permisison issue on private keys [SME: 11335] |
- fix permisison issue on private keys [SME: 11335] |
55 |
- rework unit file |
- rework unit file |
307 |
%patch7 -p1 |
%patch7 -p1 |
308 |
%patch8 -p1 |
%patch8 -p1 |
309 |
%patch9 -p1 |
%patch9 -p1 |
|
|
|
310 |
rm -rf root/usr/sbin/systemd/ |
rm -rf root/usr/sbin/systemd/ |
311 |
rm -rf root/var/service/ |
rm -rf root/var/service/ |
312 |
|
%patch10 -p1 |
313 |
|
|
314 |
%build |
%build |
315 |
perl createlinks |
perl createlinks |
324 |
%install |
%install |
325 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
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) |
|
/bin/chmod +x $RPM_BUILD_ROOT/usr/sbin/systemd/openvpn-bridge |
|
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 |
--dir /var/log/openvpn-bridge 'attr(0750,root,root)' \ |
--dir /var/log/openvpn-bridge 'attr(0750,root,root)' \ |