1 |
# $Id: smeserver-openvpn-bridge.spec,v 1.13 2022/11/11 16:08:28 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 20 |
%define release 23 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
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 |
Patch14: smeserver-openvpn-bridge-2.1-locale-2022-11-11.patch |
31 |
Patch15: smeserver-openvpn-bridge-2.1-bz1224-bz6155-logging.patch |
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 |
* Wed Nov 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-20.sme |
* 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] |
- log to dedicated file [SME: 12242] |
57 |
- use locale timezone for logging [SME: 6155] |
- use locale timezone for logging [SME: 6155] |
58 |
|
|
345 |
%patch13 -p1 |
%patch13 -p1 |
346 |
%patch14 -p1 |
%patch14 -p1 |
347 |
%patch15 -p1 |
%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 |