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

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

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


Revision 1.6 - (hide annotations) (download)
Fri Feb 26 09:02:09 2021 UTC (3 years, 3 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-arpwatch-0_3-4_el7_sme
Changes since 1.5: +7 -2 lines
* Fri Feb 26 2021 Brian Read <brianr@bjsystems.co.uk> 0.3-4.sme
- Add-After-in-service-file-to-delay-startup [SME: 11026]

1 brianr 1.6 # $Id: smeserver-arpwatch.spec,v 1.5 2021/02/02 12:16:04 brianr Exp $
2 brianr 1.1 # Authority: vip-ire
3     # Name: Daniel Berteaud
4    
5     Summary: Arpwatch is a tool that monitors ethernet activity
6     %define name smeserver-arpwatch
7     Name: %{name}
8 jcrisp 1.2 %define version 0.3
9 brianr 1.6 %define release 4
10 brianr 1.1 Version: %{version}
11     Release: %{release}%{?dist}
12     License: GPL
13     Group: Monitoring
14     Source: %{name}-%{version}.tar.gz
15 brianr 1.5 Patch0: smeserver-arpwatch-0.3-Add-in-systemd-stuff.patch
16 brianr 1.6 Patch1: smeserver-arpwatch-0.3-Add-After-in-service-file-to-delay-startup.patch
17 brianr 1.1
18     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
19     BuildArchitectures: noarch
20    
21     BuildRequires: e-smith-devtools
22    
23     Requires: e-smith-base
24     Requires: arpwatch
25    
26     %description
27     Arpwatch is a tool that monitors ethernet activity and keeps
28     a database of ethernet/ip address pairings.
29     It also reports certain changes via email.
30     Arpwatch uses libpcap, a system-independent interface for
31     user-level packet capture.
32    
33     %changelog
34 brianr 1.6 * Fri Feb 26 2021 Brian Read <brianr@bjsystems.co.uk> 0.3-4.sme
35     - Add-After-in-service-file-to-delay-startup [SME: 11026]
36    
37 brianr 1.5 * Tue Feb 02 2021 Brian Read <brianr@bjsystems.co.uk> 0.3-3.sme
38     - Add in Createlink stuff for systemd [SME: 11026]
39    
40 brianr 1.4 * Wed Nov 04 2020 Brian Read <brianr@bjsystems.co.uk> 0.3-2.sme
41     - Add in systemd startup for arpwatch to spec file [SME: 11026]
42    
43 jcrisp 1.2 * Mon Oct 12 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.3-1.sme
44 jcrisp 1.3 - based on work by Brian Read [SME: 11026]
45 jcrisp 1.2 - Build for Koozali SME v10
46     - remove createlinks safetouch to fix conflict
47     - remove /var/lib/arpwatch lines in genfilelist
48    
49 brianr 1.1 * Mon Sep 07 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.2-3.sme
50     - changed the user pcap to arpwatch [SME: 8429]
51    
52     * Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 0.2-1.sme
53     - initial import to SME9 contribs
54    
55     * Tue Mar 03 2009 Daniel B. <daniel@firewall-services.com> [0.1-2]
56     - Add e-smith-devtools as a build dependency
57    
58     * Tue Jan 27 2009 Daniel B. <daniel@firewall-services.com> [0.1-1]
59     - Service not supervised (as the only option to disable forking is -d
60     which also disable email alerts)
61    
62     * Tue Jan 27 2009 Daniel B. <daniel@firewall-services.com> [0.1-0]
63     - Initial release
64    
65     %prep
66    
67     %setup -q -n %{name}-%{version}
68 brianr 1.5 %patch0 -p1
69 brianr 1.6 %patch1 -p1
70 brianr 1.1
71     %build
72     perl createlinks
73    
74     %install
75     /bin/rm -rf $RPM_BUILD_ROOT
76     (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
77     /bin/rm -f %{name}-%{version}-filelist
78     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
79     > %{name}-%{version}-filelist
80    
81     %files -f %{name}-%{version}-filelist
82     %defattr(-,root,root)
83    
84     %clean
85     rm -rf $RPM_BUILD_ROOT
86     %pre
87    
88     %post
89 brianr 1.5 #systemctl enable arpwatch
90     #systemctl start arpwatch
91 brianr 1.1
92     %preun
93     if [ $1 -eq 0 ] ; then
94     /sbin/e-smith/db configuration setprop arpwatch status disabled
95 brianr 1.5 #/etc/init.d/arpwatch stop
96 brianr 1.1 fi
97    
98     true
99    

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