1 |
# $Id: smeserver-openvpn-bridge.spec,v 1.11 2019/12/07 04:04:55 jpp Exp $ |
# $Id: smeserver-openvpn-bridge.spec,v 1.10 2022/07/24 02:59:29 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 10 |
%define release 17 |
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 |
45 |
to have a full working openvpn server running in bridge mode. |
to have a full working openvpn server running in bridge mode. |
46 |
|
|
47 |
%changelog |
%changelog |
48 |
|
* Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 2.1-17.sme |
49 |
|
- Re-build and link to latest devtools [SME: 11997] |
50 |
|
|
51 |
|
* Sat Jul 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-16.sme |
52 |
|
- add to core backup [SME: 12018] |
53 |
|
|
54 |
|
* Wed Sep 08 2021 Terry Fage <terry.fage@gmail.com> 2.1-15.sme |
55 |
|
- apply locale 2021-09-08 patch |
56 |
|
|
57 |
|
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 2.1-14.sme |
58 |
|
- apply locale 2021-08-23 patch |
59 |
|
|
60 |
|
* Wed Mar 31 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-13.sme |
61 |
|
- default AES-128-CBC and SHA256 fix [SME: 11335] |
62 |
|
- better frist screen with information on link and hnac and cipher |
63 |
|
- better client default configuration with embded shared key and CAcert |
64 |
|
- migrate cipher to Cipher like routed and s2s usage |
65 |
|
- HMAC and Cipher are accessible to change using the manager. |
66 |
|
- Re-build and link to latest devtools typos in translations [SME: 6647] |
67 |
|
|
68 |
|
* Tue Mar 23 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.1-12.sme |
69 |
|
- Re-build and link to latest devtools permisison issue on private keys [SME: 11335] |
70 |
|
- rework unit file |
71 |
|
avoid failure, add ncp cipher, add loging status |
72 |
|
- add default cipher AES-256-CBC - if issue with older clients < 2.4 |
73 |
|
it is advised to set it to 'auto' or BF-CBC |
74 |
|
|
75 |
|
* Thu Feb 04 2021 Brian Read <brianr@bjsystems.co.uk> 2.1-11.sme |
76 |
|
- Initial import to SME10 [SME: 11335] |
77 |
|
- Add-in-systemd-startup |
78 |
|
|
79 |
* 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 |
80 |
- apply locale 2019-12-07 patch |
- apply locale 2019-12-07 patch |
81 |
|
|
264 |
* 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] |
265 |
- Add validate_common_name routine |
- Add validate_common_name routine |
266 |
|
|
267 |
* 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] |
268 |
- Added option configRequired (accept only certificate listed in the rules section) |
- Added option configRequired (accept only certificate listed in the rules section) |
269 |
- Clean config templates |
- Clean config templates |
270 |
|
|
294 |
- panel enhancement |
- panel enhancement |
295 |
- little correction in the local file |
- little correction in the local file |
296 |
|
|
297 |
* Fri Dec 11 2006 Daniel Berteaud <daniel@firewall-services.com> |
* Mon Dec 11 2006 Daniel Berteaud <daniel@firewall-services.com> |
298 |
- [1.0-3] |
- [1.0-3] |
299 |
- correction of permissions on startup and shutdown scripts |
- correction of permissions on startup and shutdown scripts |
300 |
- little correction in the local file |
- little correction in the local file |
303 |
- [1.0-2] |
- [1.0-2] |
304 |
- Added missing directory keys/bridge |
- Added missing directory keys/bridge |
305 |
|
|
306 |
* Fri Dec 06 2006 Daniel Berteaud <daniel@firewall-services.com> |
* Wed Dec 06 2006 Daniel Berteaud <daniel@firewall-services.com> |
307 |
- [1.0-1] |
- [1.0-1] |
308 |
- Removed useless parameters from the panel (tap, br and localInf) |
- Removed useless parameters from the panel (tap, br and localInf) |
309 |
- Added a stop script (k20openvpn-bridge) |
- Added a stop script (k20openvpn-bridge) |
320 |
%patch5 -p1 |
%patch5 -p1 |
321 |
%patch6 -p1 |
%patch6 -p1 |
322 |
%patch7 -p1 |
%patch7 -p1 |
323 |
|
%patch8 -p1 |
324 |
|
%patch9 -p1 |
325 |
|
%patch10 -p1 |
326 |
|
%patch11 -p1 |
327 |
|
%patch12 -p1 |
328 |
|
%patch13 -p1 |
329 |
|
|
330 |
|
rm -rf root/usr/sbin/systemd/ |
331 |
|
rm -rf root/var/service/ |
332 |
|
|
333 |
%build |
%build |
334 |
perl createlinks |
perl createlinks |
345 |
(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) |
346 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
347 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
348 |
--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)' \ |
|
349 |
--dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \ |
--dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \ |
350 |
--dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \ |
--dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \ |
351 |
--dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \ |
--dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \ |