1 |
# $Id: smeserver-openvpn-bridge.spec,v 1.8 2022/07/24 02:53:01 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 16 |
%define release 23 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
27 |
Patch11: smeserver-openvpn-bridge-2.1-locale-2021-08-23.patch |
Patch11: smeserver-openvpn-bridge-2.1-locale-2021-08-23.patch |
28 |
Patch12: smeserver-openvpn-bridge-2.1-locale-2021-09-08.patch |
Patch12: smeserver-openvpn-bridge-2.1-locale-2021-09-08.patch |
29 |
Patch13: smeserver-openvpn-bridge-2.1-bz12018-backup.patch |
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 |
* Sat Jul 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-16.sme |
69 |
- add to core backup [SME: 12018] |
- add to core backup [SME: 12018] |
70 |
|
|
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 |
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) |
343 |
%patch11 -p1 |
%patch11 -p1 |
344 |
%patch12 -p1 |
%patch12 -p1 |
345 |
%patch13 -p1 |
%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/ |
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 |