1 |
# $Id: smeserver-openvpn-bridge.spec,v 1.1 2021/02/04 16:20:59 brianr Exp $ |
# $Id: smeserver-openvpn-bridge.spec,v 1.12 2022/07/30 18:23:57 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 11 |
%define release 19 |
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 |
|
Patch13: smeserver-openvpn-bridge-2.1-bz12018-backup.patch |
30 |
|
Patch14: smeserver-openvpn-bridge-2.1-locale-2022-11-11.patch |
31 |
|
|
32 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
33 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
34 |
|
|
35 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
36 |
|
|
37 |
|
Provides: perl(esmith::FormMagick::Panel::openvpnbridge) |
38 |
Requires: e-smith-base |
Requires: e-smith-base |
39 |
Requires: openvpn |
Requires: openvpn |
40 |
Requires: smeserver-bridge-interface |
Requires: smeserver-bridge-interface |
47 |
to have a full working openvpn server running in bridge mode. |
to have a full working openvpn server running in bridge mode. |
48 |
|
|
49 |
%changelog |
%changelog |
50 |
|
* Fri Nov 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-19.sme |
51 |
|
- apply locale 2022-11-1 patch |
52 |
|
|
53 |
|
* Sat Jul 30 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-18.sme |
54 |
|
- add Provides perl(esmith::FormMagick::Panel::openvpnbridge) |
55 |
|
|
56 |
|
* Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 2.1-17.sme |
57 |
|
- Re-build and link to latest devtools [SME: 11997] |
58 |
|
|
59 |
|
* Sat Jul 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-16.sme |
60 |
|
- add to core backup [SME: 12018] |
61 |
|
|
62 |
|
* Wed Sep 08 2021 Terry Fage <terry.fage@gmail.com> 2.1-15.sme |
63 |
|
- apply locale 2021-09-08 patch |
64 |
|
|
65 |
|
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 2.1-14.sme |
66 |
|
- apply locale 2021-08-23 patch |
67 |
|
|
68 |
|
* Wed Mar 31 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-13.sme |
69 |
|
- default AES-128-CBC and SHA256 fix [SME: 11335] |
70 |
|
- better frist screen with information on link and hnac and cipher |
71 |
|
- better client default configuration with embded shared key and CAcert |
72 |
|
- migrate cipher to Cipher like routed and s2s usage |
73 |
|
- HMAC and Cipher are accessible to change using the manager. |
74 |
|
- Re-build and link to latest devtools typos in translations [SME: 6647] |
75 |
|
|
76 |
|
* Tue Mar 23 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-12.sme |
77 |
|
- Re-build and link to latest devtools permisison issue on private keys [SME: 11335] |
78 |
|
- rework unit file |
79 |
|
avoid failure, add ncp cipher, add loging status |
80 |
|
- add default cipher AES-256-CBC - if issue with older clients < 2.4 |
81 |
|
it is advised to set it to 'auto' or BF-CBC |
82 |
|
|
83 |
* 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 |
84 |
- Initial import to SME10 [SME: 11335] |
- Initial import to SME10 [SME: 11335] |
85 |
- Add-in-systemd-startup |
- Add-in-systemd-startup |
272 |
* Mon Dec 22 2008 Daniel B. <daniel@firewall-services.com> [2.0-4] |
* Mon Dec 22 2008 Daniel B. <daniel@firewall-services.com> [2.0-4] |
273 |
- Add validate_common_name routine |
- Add validate_common_name routine |
274 |
|
|
275 |
* Wed Dec 19 2008 Daniel B. <daniel@firewall-services.com> [2.0-3] |
* Fri Dec 19 2008 Daniel B. <daniel@firewall-services.com> [2.0-3] |
276 |
- Added option configRequired (accept only certificate listed in the rules section) |
- Added option configRequired (accept only certificate listed in the rules section) |
277 |
- Clean config templates |
- Clean config templates |
278 |
|
|
302 |
- panel enhancement |
- panel enhancement |
303 |
- little correction in the local file |
- little correction in the local file |
304 |
|
|
305 |
* Fri Dec 11 2006 Daniel Berteaud <daniel@firewall-services.com> |
* Mon Dec 11 2006 Daniel Berteaud <daniel@firewall-services.com> |
306 |
- [1.0-3] |
- [1.0-3] |
307 |
- correction of permissions on startup and shutdown scripts |
- correction of permissions on startup and shutdown scripts |
308 |
- little correction in the local file |
- little correction in the local file |
311 |
- [1.0-2] |
- [1.0-2] |
312 |
- Added missing directory keys/bridge |
- Added missing directory keys/bridge |
313 |
|
|
314 |
* Fri Dec 06 2006 Daniel Berteaud <daniel@firewall-services.com> |
* Wed Dec 06 2006 Daniel Berteaud <daniel@firewall-services.com> |
315 |
- [1.0-1] |
- [1.0-1] |
316 |
- Removed useless parameters from the panel (tap, br and localInf) |
- Removed useless parameters from the panel (tap, br and localInf) |
317 |
- Added a stop script (k20openvpn-bridge) |
- Added a stop script (k20openvpn-bridge) |
329 |
%patch6 -p1 |
%patch6 -p1 |
330 |
%patch7 -p1 |
%patch7 -p1 |
331 |
%patch8 -p1 |
%patch8 -p1 |
332 |
|
%patch9 -p1 |
333 |
|
%patch10 -p1 |
334 |
|
%patch11 -p1 |
335 |
|
%patch12 -p1 |
336 |
|
%patch13 -p1 |
337 |
|
%patch14 -p1 |
338 |
|
|
339 |
|
rm -rf root/usr/sbin/systemd/ |
340 |
|
rm -rf root/var/service/ |
341 |
|
|
342 |
%build |
%build |
343 |
perl createlinks |
perl createlinks |
352 |
%install |
%install |
353 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
354 |
(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 |
|
355 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
356 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
357 |
--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)' \ |
|
358 |
--dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \ |
--dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \ |
359 |
--dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \ |
--dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \ |
360 |
--dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \ |
--dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \ |