1 |
# $Id: smeserver-openvpn-bridge.spec,v 1.11 2022/07/30 17:48:02 brianr 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 18 |
%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 |
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 |
* Sat Jul 30 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-18.sme |
63 |
- add Provides perl(esmith::FormMagick::Panel::openvpnbridge) |
- add Provides perl(esmith::FormMagick::Panel::openvpnbridge) |
64 |
|
|
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 |