--- rpms/smeserver-bridge-interface/contribs10/smeserver-bridge-interface.spec 2021/01/20 15:45:26 1.3 +++ rpms/smeserver-bridge-interface/contribs10/smeserver-bridge-interface.spec 2021/01/23 08:57:29 1.5 @@ -1,9 +1,9 @@ -# $Id: smeserver-bridge-interface.spec,v 1.2 2021/01/14 20:20:40 brianr Exp $ +# $Id: smeserver-bridge-interface.spec,v 1.4 2021/01/22 08:50:42 brianr Exp $ # Authority: vip-ire # Name: Daniel Berteaud %define version 0.2 -%define release 2 +%define release 4 %define name smeserver-bridge-interface @@ -28,6 +28,7 @@ Conflicts: smeserver-openvpn-bridge-fws AutoReqProv: no Patch0:smeserver-bridge-interface-0.2-Update-Createlinks-for-systemd.patch +Patch1:smeserver-bridge-interface-0.2-Move-exec-to-sbin-e-smith-and-add-service-file.patch %description This package allows you to replace the internal interface with a bridge @@ -36,6 +37,9 @@ It's usefull for OpenVPN in bridge mode configuration %changelog +* Sat Jan 23 2021 Brian Read 0.2-4.sme +- Move exec to /sbin/e-smith/systemd/bridge-run, add service file [SME: 11324] + * Thu Jan 14 2021 Brian Read 0.2-2.sme - Initial Import to SME10 [SME: 11324] - Update-Createlinks-for-systemd.patch @@ -74,6 +78,7 @@ configuration %setup -q -n %{name}-%{version} %patch0 -p1 +%patch1 -p1 %build # Build symlinks @@ -85,6 +90,9 @@ rm -rf $RPM_BUILD_ROOT /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ > %{name}-%{version}-%{release}-filelist +chmod +x %{buildroot}/sbin/e-smith/systemd/bridge-run + + %clean rm -rf $RPM_BUILD_ROOT