1 |
# $Id: smeserver-openvpn-bridge.spec,v 1.10 2022/07/24 02:59:29 jpp Exp $ |
# $Id: smeserver-openvpn-bridge.spec,v 1.13 2022/11/11 16:08:28 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 17 |
%define release 20 |
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 |
|
|
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-20.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 |
* Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 2.1-17.sme |
62 |
- Re-build and link to latest devtools [SME: 11997] |
- Re-build and link to latest devtools [SME: 11997] |
63 |
|
|
339 |
%patch11 -p1 |
%patch11 -p1 |
340 |
%patch12 -p1 |
%patch12 -p1 |
341 |
%patch13 -p1 |
%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/ |
364 |
--dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \ |
--dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \ |
365 |
--dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \ |
--dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \ |
366 |
--dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \ |
--dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \ |
367 |
|
--dir /etc/openvpn/bridge/etc 'attr(0755,root,root)' \ |
368 |
--dir /etc/openvpn/bridge/tmp 'attr(0770,root,nobody)' \ |
--dir /etc/openvpn/bridge/tmp 'attr(0770,root,nobody)' \ |
369 |
--file /usr/bin/ovpn-bridge-update-crl 'attr(0750,root,root)' \ |
--file /usr/bin/ovpn-bridge-update-crl 'attr(0750,root,root)' \ |
370 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |