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