1 |
# $Id: smeserver-openvpn-bridge.spec,v 1.11 2019/12/07 04:04:55 jpp Exp $ |
# $Id: smeserver-openvpn-bridge.spec,v 1.11 2022/07/30 17:48:02 brianr 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 10 |
%define release 18 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
21 |
Patch5: smeserver-openvpn-bridge-2.1-locale-2017-12-02.patch |
Patch5: smeserver-openvpn-bridge-2.1-locale-2017-12-02.patch |
22 |
Patch6: smeserver-openvpn-bridge-2.1-push-routes.patch |
Patch6: smeserver-openvpn-bridge-2.1-push-routes.patch |
23 |
Patch7: smeserver-openvpn-bridge-2.1-locale-2019-12-07.patch |
Patch7: smeserver-openvpn-bridge-2.1-locale-2019-12-07.patch |
24 |
|
Patch8: smeserver-openvpn-bridge-2.1-Add-in-systemd-startup.patch |
25 |
|
Patch9: smeserver-openvpn-bridge-2.1-bz11335.patch |
26 |
|
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 |
|
|
31 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
32 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
33 |
|
|
34 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
35 |
|
|
36 |
|
Provides: perl(esmith::FormMagick::Panel::openvpnbridge) |
37 |
Requires: e-smith-base |
Requires: e-smith-base |
38 |
Requires: openvpn |
Requires: openvpn |
39 |
Requires: smeserver-bridge-interface |
Requires: smeserver-bridge-interface |
46 |
to have a full working openvpn server running in bridge mode. |
to have a full working openvpn server running in bridge mode. |
47 |
|
|
48 |
%changelog |
%changelog |
49 |
|
* Sat Jul 30 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-18.sme |
50 |
|
- add Provides perl(esmith::FormMagick::Panel::openvpnbridge) |
51 |
|
|
52 |
|
* Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 2.1-17.sme |
53 |
|
- Re-build and link to latest devtools [SME: 11997] |
54 |
|
|
55 |
|
* Sat Jul 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-16.sme |
56 |
|
- add to core backup [SME: 12018] |
57 |
|
|
58 |
|
* Wed Sep 08 2021 Terry Fage <terry.fage@gmail.com> 2.1-15.sme |
59 |
|
- apply locale 2021-09-08 patch |
60 |
|
|
61 |
|
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 2.1-14.sme |
62 |
|
- apply locale 2021-08-23 patch |
63 |
|
|
64 |
|
* Wed Mar 31 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-13.sme |
65 |
|
- default AES-128-CBC and SHA256 fix [SME: 11335] |
66 |
|
- better frist screen with information on link and hnac and cipher |
67 |
|
- better client default configuration with embded shared key and CAcert |
68 |
|
- migrate cipher to Cipher like routed and s2s usage |
69 |
|
- HMAC and Cipher are accessible to change using the manager. |
70 |
|
- Re-build and link to latest devtools typos in translations [SME: 6647] |
71 |
|
|
72 |
|
* Tue Mar 23 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-12.sme |
73 |
|
- Re-build and link to latest devtools permisison issue on private keys [SME: 11335] |
74 |
|
- rework unit file |
75 |
|
avoid failure, add ncp cipher, add loging status |
76 |
|
- add default cipher AES-256-CBC - if issue with older clients < 2.4 |
77 |
|
it is advised to set it to 'auto' or BF-CBC |
78 |
|
|
79 |
|
* Thu Feb 04 2021 Brian Read <brianr@bjsystems.co.uk> 2.1-11.sme |
80 |
|
- Initial import to SME10 [SME: 11335] |
81 |
|
- Add-in-systemd-startup |
82 |
|
|
83 |
* Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 2.1-10.sme |
* Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 2.1-10.sme |
84 |
- apply locale 2019-12-07 patch |
- apply locale 2019-12-07 patch |
85 |
|
|
268 |
* 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] |
269 |
- Add validate_common_name routine |
- Add validate_common_name routine |
270 |
|
|
271 |
* 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] |
272 |
- Added option configRequired (accept only certificate listed in the rules section) |
- Added option configRequired (accept only certificate listed in the rules section) |
273 |
- Clean config templates |
- Clean config templates |
274 |
|
|
298 |
- panel enhancement |
- panel enhancement |
299 |
- little correction in the local file |
- little correction in the local file |
300 |
|
|
301 |
* Fri Dec 11 2006 Daniel Berteaud <daniel@firewall-services.com> |
* Mon Dec 11 2006 Daniel Berteaud <daniel@firewall-services.com> |
302 |
- [1.0-3] |
- [1.0-3] |
303 |
- correction of permissions on startup and shutdown scripts |
- correction of permissions on startup and shutdown scripts |
304 |
- little correction in the local file |
- little correction in the local file |
307 |
- [1.0-2] |
- [1.0-2] |
308 |
- Added missing directory keys/bridge |
- Added missing directory keys/bridge |
309 |
|
|
310 |
* Fri Dec 06 2006 Daniel Berteaud <daniel@firewall-services.com> |
* Wed Dec 06 2006 Daniel Berteaud <daniel@firewall-services.com> |
311 |
- [1.0-1] |
- [1.0-1] |
312 |
- Removed useless parameters from the panel (tap, br and localInf) |
- Removed useless parameters from the panel (tap, br and localInf) |
313 |
- Added a stop script (k20openvpn-bridge) |
- Added a stop script (k20openvpn-bridge) |
324 |
%patch5 -p1 |
%patch5 -p1 |
325 |
%patch6 -p1 |
%patch6 -p1 |
326 |
%patch7 -p1 |
%patch7 -p1 |
327 |
|
%patch8 -p1 |
328 |
|
%patch9 -p1 |
329 |
|
%patch10 -p1 |
330 |
|
%patch11 -p1 |
331 |
|
%patch12 -p1 |
332 |
|
%patch13 -p1 |
333 |
|
|
334 |
|
rm -rf root/usr/sbin/systemd/ |
335 |
|
rm -rf root/var/service/ |
336 |
|
|
337 |
%build |
%build |
338 |
perl createlinks |
perl createlinks |
349 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
350 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
351 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
352 |
--file /var/service/openvpn-bridge/run 'attr(0755,root,root)' \ |
--dir /var/log/openvpn-bridge 'attr(0750,root,root)' \ |
|
--file /var/service/openvpn-bridge/log/run 'attr(0755,root,root)' \ |
|
|
--dir /var/log/openvpn-bridge 'attr(0750,smelog,smelog)' \ |
|
353 |
--dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \ |
--dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \ |
354 |
--dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \ |
--dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \ |
355 |
--dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \ |
--dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \ |