--- rpms/smeserver-arpwatch/contribs10/smeserver-arpwatch.spec 2020/10/12 10:02:16 1.2 +++ rpms/smeserver-arpwatch/contribs10/smeserver-arpwatch.spec 2021/02/26 09:02:09 1.6 @@ -1,4 +1,4 @@ -# $Id: smeserver-arpwatch.spec,v 1.1 2020/10/10 10:04:35 brianr Exp $ +# $Id: smeserver-arpwatch.spec,v 1.5 2021/02/02 12:16:04 brianr Exp $ # Authority: vip-ire # Name: Daniel Berteaud @@ -6,13 +6,14 @@ Summary: Arpwatch is a tool that monitor %define name smeserver-arpwatch Name: %{name} %define version 0.3 -%define release 1 +%define release 4 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Monitoring Source: %{name}-%{version}.tar.gz -#Patch0: smeserver-arpwatch-somepatch.patch +Patch0: smeserver-arpwatch-0.3-Add-in-systemd-stuff.patch +Patch1: smeserver-arpwatch-0.3-Add-After-in-service-file-to-delay-startup.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch @@ -30,8 +31,17 @@ Arpwatch uses libpcap, a system-independ user-level packet capture. %changelog +* Fri Feb 26 2021 Brian Read 0.3-4.sme +- Add-After-in-service-file-to-delay-startup [SME: 11026] + +* Tue Feb 02 2021 Brian Read 0.3-3.sme +- Add in Createlink stuff for systemd [SME: 11026] + +* Wed Nov 04 2020 Brian Read 0.3-2.sme +- Add in systemd startup for arpwatch to spec file [SME: 11026] + * Mon Oct 12 2020 John Crisp 0.3-1.sme -- based on work by Brain Read [SME: 11026] +- based on work by Brian Read [SME: 11026] - Build for Koozali SME v10 - remove createlinks safetouch to fix conflict - remove /var/lib/arpwatch lines in genfilelist @@ -55,7 +65,8 @@ user-level packet capture. %prep %setup -q -n %{name}-%{version} -#%patch0 -p1 +%patch0 -p1 +%patch1 -p1 %build perl createlinks @@ -75,11 +86,13 @@ rm -rf $RPM_BUILD_ROOT %pre %post +#systemctl enable arpwatch +#systemctl start arpwatch %preun if [ $1 -eq 0 ] ; then /sbin/e-smith/db configuration setprop arpwatch status disabled - /etc/init.d/arpwatch stop + #/etc/init.d/arpwatch stop fi true