/[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.2 - (hide annotations) (download)
Mon Oct 12 10:02:16 2020 UTC (4 years, 1 month ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-arpwatch-0_3-1_el7_sme
Changes since 1.1: +11 -9 lines
Update to 0.3-1

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

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