--- rpms/smeserver-openvpn-bridge/contribs10/smeserver-openvpn-bridge.spec 2021/02/13 14:43:54 1.2 +++ rpms/smeserver-openvpn-bridge/contribs10/smeserver-openvpn-bridge.spec 2022/11/24 04:35:40 1.15 @@ -1,4 +1,4 @@ -# $Id: smeserver-openvpn-bridge.spec,v 1.1 2021/02/04 16:20:59 brianr Exp $ +# $Id: smeserver-openvpn-bridge.spec,v 1.14 2022/11/24 04:25:52 jpp Exp $ # Authority: vip-ire # Name: Daniel Berteaud @@ -6,7 +6,7 @@ Summary: OpenVPN, a strong VPN solution %define name smeserver-openvpn-bridge Name: %{name} %define version 2.1 -%define release 11 +%define release 21 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -22,12 +22,20 @@ Patch5: smeserver-openvpn-bridge-2.1-loc Patch6: smeserver-openvpn-bridge-2.1-push-routes.patch Patch7: smeserver-openvpn-bridge-2.1-locale-2019-12-07.patch Patch8: smeserver-openvpn-bridge-2.1-Add-in-systemd-startup.patch +Patch9: smeserver-openvpn-bridge-2.1-bz11335.patch +Patch10: smeserver-openvpn-bridge-2.1-bz11335-sme10bis.patch +Patch11: smeserver-openvpn-bridge-2.1-locale-2021-08-23.patch +Patch12: smeserver-openvpn-bridge-2.1-locale-2021-09-08.patch +Patch13: smeserver-openvpn-bridge-2.1-bz12018-backup.patch +Patch14: smeserver-openvpn-bridge-2.1-locale-2022-11-11.patch +Patch15: smeserver-openvpn-bridge-2.1-bz1224-bz6155-logging.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch BuildRequires: e-smith-devtools +Provides: perl(esmith::FormMagick::Panel::openvpnbridge) Requires: e-smith-base Requires: openvpn Requires: smeserver-bridge-interface @@ -40,6 +48,43 @@ This package contains all the needed scr to have a full working openvpn server running in bridge mode. %changelog +* Wed Nov 23 2022 Jean-Philippe Pialasse 2.1-21.sme +- log to dedicated file [SME: 12242] +- use locale timezone for logging [SME: 6155] + +* Fri Nov 11 2022 Jean-Philippe Pialasse 2.1-19.sme +- apply locale 2022-11-1 patch + +* Sat Jul 30 2022 Jean-Philippe Pialasse 2.1-18.sme +- add Provides perl(esmith::FormMagick::Panel::openvpnbridge) + +* Sat Jul 30 2022 Brian Read 2.1-17.sme +- Re-build and link to latest devtools [SME: 11997] + +* Sat Jul 23 2022 Jean-Philippe Pialasse 2.1-16.sme +- add to core backup [SME: 12018] + +* Wed Sep 08 2021 Terry Fage 2.1-15.sme +- apply locale 2021-09-08 patch + +* Mon Aug 23 2021 Terry Fage 2.1-14.sme +- apply locale 2021-08-23 patch + +* Wed Mar 31 2021 Jean-Philippe Pialasse 2.1-13.sme +- default AES-128-CBC and SHA256 fix [SME: 11335] +- better frist screen with information on link and hnac and cipher +- better client default configuration with embded shared key and CAcert +- migrate cipher to Cipher like routed and s2s usage +- HMAC and Cipher are accessible to change using the manager. +- Re-build and link to latest devtools typos in translations [SME: 6647] + +* Tue Mar 23 2021 Jean-Philippe Pialasse 2.1-12.sme +- Re-build and link to latest devtools permisison issue on private keys [SME: 11335] +- rework unit file + avoid failure, add ncp cipher, add loging status +- add default cipher AES-256-CBC - if issue with older clients < 2.4 + it is advised to set it to 'auto' or BF-CBC + * Thu Feb 04 2021 Brian Read 2.1-11.sme - Initial import to SME10 [SME: 11335] - Add-in-systemd-startup @@ -232,7 +277,7 @@ to have a full working openvpn server ru * Mon Dec 22 2008 Daniel B. [2.0-4] - Add validate_common_name routine -* Wed Dec 19 2008 Daniel B. [2.0-3] +* Fri Dec 19 2008 Daniel B. [2.0-3] - Added option configRequired (accept only certificate listed in the rules section) - Clean config templates @@ -262,7 +307,7 @@ to have a full working openvpn server ru - panel enhancement - little correction in the local file -* Fri Dec 11 2006 Daniel Berteaud +* Mon Dec 11 2006 Daniel Berteaud - [1.0-3] - correction of permissions on startup and shutdown scripts - little correction in the local file @@ -271,7 +316,7 @@ to have a full working openvpn server ru - [1.0-2] - Added missing directory keys/bridge -* Fri Dec 06 2006 Daniel Berteaud +* Wed Dec 06 2006 Daniel Berteaud - [1.0-1] - Removed useless parameters from the panel (tap, br and localInf) - Added a stop script (k20openvpn-bridge) @@ -289,6 +334,16 @@ to have a full working openvpn server ru %patch6 -p1 %patch7 -p1 %patch8 -p1 +%patch9 -p1 +%patch10 -p1 +%patch11 -p1 +%patch12 -p1 +%patch13 -p1 +%patch14 -p1 +%patch15 -p1 + +rm -rf root/usr/sbin/systemd/ +rm -rf root/var/service/ %build perl createlinks @@ -296,6 +351,7 @@ perl createlinks %{__mkdir_p} root/etc/openvpn/bridge/ccd %{__mkdir_p} root/etc/openvpn/bridge/priv %{__mkdir_p} root/etc/openvpn/bridge/pub +%{__mkdir_p} root/etc/openvpn/bridge/etc %{__mkdir_p} root/etc/openvpn/bridge/tmp %{__mkdir_p} root/etc/openvpn/bridge/dev %{__mkdir_p} root/var/log/openvpn-bridge @@ -303,15 +359,13 @@ perl createlinks %install /bin/rm -rf $RPM_BUILD_ROOT (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) -/bin/chmod +x $RPM_BUILD_ROOT/usr/sbin/systemd/openvpn-bridge /bin/rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ - --file /var/service/openvpn-bridge/run 'attr(0755,root,root)' \ - --file /var/service/openvpn-bridge/log/run 'attr(0755,root,root)' \ - --dir /var/log/openvpn-bridge 'attr(0750,smelog,smelog)' \ + --dir /var/log/openvpn-bridge 'attr(0750,root,root)' \ --dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \ --dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \ --dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \ + --dir /etc/openvpn/bridge/etc 'attr(0755,root,root)' \ --dir /etc/openvpn/bridge/tmp 'attr(0770,root,nobody)' \ --file /usr/bin/ovpn-bridge-update-crl 'attr(0750,root,root)' \ > %{name}-%{version}-filelist