1 |
# $Id: smeserver-openvpn-bridge.spec,v 1.3 2021/03/23 20:50:08 jpp Exp $ |
# $Id: smeserver-openvpn-bridge.spec,v 1.14 2022/11/24 04:25:52 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 21 |
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 |
|
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 |
|
Patch15: smeserver-openvpn-bridge-2.1-bz1224-bz6155-logging.patch |
32 |
|
|
33 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
34 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
35 |
|
|
36 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
37 |
|
|
38 |
|
Provides: perl(esmith::FormMagick::Panel::openvpnbridge) |
39 |
Requires: e-smith-base |
Requires: e-smith-base |
40 |
Requires: openvpn |
Requires: openvpn |
41 |
Requires: smeserver-bridge-interface |
Requires: smeserver-bridge-interface |
48 |
to have a full working openvpn server running in bridge mode. |
to have a full working openvpn server running in bridge mode. |
49 |
|
|
50 |
%changelog |
%changelog |
51 |
|
* Wed Nov 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-21.sme |
52 |
|
- log to dedicated file [SME: 12242] |
53 |
|
- use locale timezone for logging [SME: 6155] |
54 |
|
|
55 |
|
* Fri Nov 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-19.sme |
56 |
|
- apply locale 2022-11-1 patch |
57 |
|
|
58 |
|
* Sat Jul 30 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-18.sme |
59 |
|
- add Provides perl(esmith::FormMagick::Panel::openvpnbridge) |
60 |
|
|
61 |
|
* Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 2.1-17.sme |
62 |
|
- Re-build and link to latest devtools [SME: 11997] |
63 |
|
|
64 |
|
* Sat Jul 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-16.sme |
65 |
|
- add to core backup [SME: 12018] |
66 |
|
|
67 |
|
* Wed Sep 08 2021 Terry Fage <terry.fage@gmail.com> 2.1-15.sme |
68 |
|
- apply locale 2021-09-08 patch |
69 |
|
|
70 |
|
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 2.1-14.sme |
71 |
|
- apply locale 2021-08-23 patch |
72 |
|
|
73 |
|
* Wed Mar 31 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-13.sme |
74 |
|
- default AES-128-CBC and SHA256 fix [SME: 11335] |
75 |
|
- better frist screen with information on link and hnac and cipher |
76 |
|
- better client default configuration with embded shared key and CAcert |
77 |
|
- migrate cipher to Cipher like routed and s2s usage |
78 |
|
- HMAC and Cipher are accessible to change using the manager. |
79 |
|
- Re-build and link to latest devtools typos in translations [SME: 6647] |
80 |
|
|
81 |
* 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 |
82 |
- fix permisison issue on private keys [SME: 11335] |
- Re-build and link to latest devtools permisison issue on private keys [SME: 11335] |
83 |
- rework unit file |
- rework unit file |
84 |
avoid failure, add ncp cipher, add loging status |
avoid failure, add ncp cipher, add loging status |
85 |
- add default cipher AES-256-CBC - if issue with older clients < 2.4 |
- add default cipher AES-256-CBC - if issue with older clients < 2.4 |
277 |
* 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] |
278 |
- Add validate_common_name routine |
- Add validate_common_name routine |
279 |
|
|
280 |
* 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] |
281 |
- Added option configRequired (accept only certificate listed in the rules section) |
- Added option configRequired (accept only certificate listed in the rules section) |
282 |
- Clean config templates |
- Clean config templates |
283 |
|
|
307 |
- panel enhancement |
- panel enhancement |
308 |
- little correction in the local file |
- little correction in the local file |
309 |
|
|
310 |
* Fri Dec 11 2006 Daniel Berteaud <daniel@firewall-services.com> |
* Mon Dec 11 2006 Daniel Berteaud <daniel@firewall-services.com> |
311 |
- [1.0-3] |
- [1.0-3] |
312 |
- correction of permissions on startup and shutdown scripts |
- correction of permissions on startup and shutdown scripts |
313 |
- little correction in the local file |
- little correction in the local file |
316 |
- [1.0-2] |
- [1.0-2] |
317 |
- Added missing directory keys/bridge |
- Added missing directory keys/bridge |
318 |
|
|
319 |
* Fri Dec 06 2006 Daniel Berteaud <daniel@firewall-services.com> |
* Wed Dec 06 2006 Daniel Berteaud <daniel@firewall-services.com> |
320 |
- [1.0-1] |
- [1.0-1] |
321 |
- Removed useless parameters from the panel (tap, br and localInf) |
- Removed useless parameters from the panel (tap, br and localInf) |
322 |
- Added a stop script (k20openvpn-bridge) |
- Added a stop script (k20openvpn-bridge) |
335 |
%patch7 -p1 |
%patch7 -p1 |
336 |
%patch8 -p1 |
%patch8 -p1 |
337 |
%patch9 -p1 |
%patch9 -p1 |
338 |
|
%patch10 -p1 |
339 |
|
%patch11 -p1 |
340 |
|
%patch12 -p1 |
341 |
|
%patch13 -p1 |
342 |
|
%patch14 -p1 |
343 |
|
%patch15 -p1 |
344 |
|
|
345 |
rm -rf root/usr/sbin/systemd/ |
rm -rf root/usr/sbin/systemd/ |
346 |
rm -rf root/var/service/ |
rm -rf root/var/service/ |
351 |
%{__mkdir_p} root/etc/openvpn/bridge/ccd |
%{__mkdir_p} root/etc/openvpn/bridge/ccd |
352 |
%{__mkdir_p} root/etc/openvpn/bridge/priv |
%{__mkdir_p} root/etc/openvpn/bridge/priv |
353 |
%{__mkdir_p} root/etc/openvpn/bridge/pub |
%{__mkdir_p} root/etc/openvpn/bridge/pub |
354 |
|
%{__mkdir_p} root/etc/openvpn/bridge/etc |
355 |
%{__mkdir_p} root/etc/openvpn/bridge/tmp |
%{__mkdir_p} root/etc/openvpn/bridge/tmp |
356 |
%{__mkdir_p} root/etc/openvpn/bridge/dev |
%{__mkdir_p} root/etc/openvpn/bridge/dev |
357 |
%{__mkdir_p} root/var/log/openvpn-bridge |
%{__mkdir_p} root/var/log/openvpn-bridge |
365 |
--dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \ |
--dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \ |
366 |
--dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \ |
--dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \ |
367 |
--dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \ |
--dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \ |
368 |
|
--dir /etc/openvpn/bridge/etc 'attr(0755,root,root)' \ |
369 |
--dir /etc/openvpn/bridge/tmp 'attr(0770,root,nobody)' \ |
--dir /etc/openvpn/bridge/tmp 'attr(0770,root,nobody)' \ |
370 |
--file /usr/bin/ovpn-bridge-update-crl 'attr(0750,root,root)' \ |
--file /usr/bin/ovpn-bridge-update-crl 'attr(0750,root,root)' \ |
371 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |