/[smecontribs]/rpms/smeserver-arpwatch/contribs10/smeserver-arpwatch.spec
ViewVC logotype

Diff of /rpms/smeserver-arpwatch/contribs10/smeserver-arpwatch.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by jcrisp, Mon Oct 12 10:02:16 2020 UTC Revision 1.7 by brianr, Sat Feb 27 07:19:39 2021 UTC
# Line 1  Line 1 
1  # $Id: smeserver-arpwatch.spec,v 1.1 2020/10/10 10:04:35 brianr Exp $  # $Id: smeserver-arpwatch.spec,v 1.6 2021/02/26 09:02:09 brianr Exp $
2  # Authority: vip-ire  # Authority: vip-ire
3  # Name: Daniel Berteaud  # Name: Daniel Berteaud
4    
# Line 6  Summary: Arpwatch is a tool that monitor Line 6  Summary: Arpwatch is a tool that monitor
6  %define name smeserver-arpwatch  %define name smeserver-arpwatch
7  Name: %{name}  Name: %{name}
8  %define version 0.3  %define version 0.3
9  %define release 1  %define release 5
10  Version: %{version}  Version: %{version}
11  Release: %{release}%{?dist}  Release: %{release}%{?dist}
12  License: GPL  License: GPL
13  Group: Monitoring  Group: Monitoring
14  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
15  #Patch0: smeserver-arpwatch-somepatch.patch  Patch0: smeserver-arpwatch-0.3-Add-in-systemd-stuff.patch
16    Patch1: smeserver-arpwatch-0.3-Add-After-in-service-file-to-delay-startup.patch
17    
18  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
19  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 30  Arpwatch uses libpcap, a system-independ Line 31  Arpwatch uses libpcap, a system-independ
31  user-level packet capture.  user-level packet capture.
32    
33  %changelog  %changelog
34    * Sat Feb 27 2021 Brian Read <brianr@bjsystems.co.uk> 0.3-5.sme
35    - Fix service dropin file with proper extension [SME: 11026]
36    
37    * Fri Feb 26 2021 Brian Read <brianr@bjsystems.co.uk> 0.3-4.sme
38    - Add-After-in-service-file-to-delay-startup [SME: 11026]
39    
40    * Tue Feb 02 2021 Brian Read <brianr@bjsystems.co.uk> 0.3-3.sme
41    - Add in Createlink stuff for systemd [SME: 11026]
42    
43    * Wed Nov 04 2020 Brian Read <brianr@bjsystems.co.uk> 0.3-2.sme
44    - Add in systemd startup for arpwatch to spec file [SME: 11026]
45    
46  * Mon Oct 12 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.3-1.sme  * Mon Oct 12 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.3-1.sme
47  - based on work by Brain Read [SME: 11026]  - based on work by Brian Read [SME: 11026]
48  - Build for Koozali SME v10  - Build for Koozali SME v10
49  - remove createlinks safetouch to fix conflict  - remove createlinks safetouch to fix conflict
50  - remove /var/lib/arpwatch lines in genfilelist  - remove /var/lib/arpwatch lines in genfilelist
# Line 55  user-level packet capture. Line 68  user-level packet capture.
68  %prep  %prep
69    
70  %setup -q -n %{name}-%{version}  %setup -q -n %{name}-%{version}
71  #%patch0 -p1  %patch0 -p1
72    %patch1 -p1
73    
74  %build  %build
75  perl createlinks  perl createlinks
# Line 75  rm -rf $RPM_BUILD_ROOT Line 89  rm -rf $RPM_BUILD_ROOT
89  %pre  %pre
90    
91  %post  %post
92    #systemctl enable arpwatch
93    #systemctl start arpwatch
94    
95  %preun  %preun
96  if [ $1 -eq 0 ] ; then  if [ $1 -eq 0 ] ; then
97          /sbin/e-smith/db configuration setprop arpwatch status disabled          /sbin/e-smith/db configuration setprop arpwatch status disabled
98          /etc/init.d/arpwatch stop          #/etc/init.d/arpwatch stop
99  fi  fi
100    
101  true  true


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed