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

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

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


Revision 1.5 - (show annotations) (download)
Tue Feb 2 12:16:04 2021 UTC (3 years, 4 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-arpwatch-0_3-3_el7_sme
Changes since 1.4: +10 -7 lines
* Tue Feb 02 2021 Brian Read <brianr@bjsystems.co.uk> 0.3-3.sme
- Add in Createlink stuff for systemd [SME: 11026]

1 # $Id: smeserver-arpwatch.spec,v 1.4 2020/11/04 11:42:55 brianr Exp $
2 # 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 %define version 0.3
9 %define release 3
10 Version: %{version}
11 Release: %{release}%{?dist}
12 License: GPL
13 Group: Monitoring
14 Source: %{name}-%{version}.tar.gz
15 Patch0: smeserver-arpwatch-0.3-Add-in-systemd-stuff.patch
16
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 * Tue Feb 02 2021 Brian Read <brianr@bjsystems.co.uk> 0.3-3.sme
34 - Add in Createlink stuff for systemd [SME: 11026]
35
36 * Wed Nov 04 2020 Brian Read <brianr@bjsystems.co.uk> 0.3-2.sme
37 - Add in systemd startup for arpwatch to spec file [SME: 11026]
38
39 * Mon Oct 12 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.3-1.sme
40 - based on work by Brian Read [SME: 11026]
41 - Build for Koozali SME v10
42 - remove createlinks safetouch to fix conflict
43 - remove /var/lib/arpwatch lines in genfilelist
44
45 * Mon Sep 07 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.2-3.sme
46 - changed the user pcap to arpwatch [SME: 8429]
47
48 * Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 0.2-1.sme
49 - initial import to SME9 contribs
50
51 * Tue Mar 03 2009 Daniel B. <daniel@firewall-services.com> [0.1-2]
52 - Add e-smith-devtools as a build dependency
53
54 * Tue Jan 27 2009 Daniel B. <daniel@firewall-services.com> [0.1-1]
55 - Service not supervised (as the only option to disable forking is -d
56 which also disable email alerts)
57
58 * Tue Jan 27 2009 Daniel B. <daniel@firewall-services.com> [0.1-0]
59 - Initial release
60
61 %prep
62
63 %setup -q -n %{name}-%{version}
64 %patch0 -p1
65
66 %build
67 perl createlinks
68
69 %install
70 /bin/rm -rf $RPM_BUILD_ROOT
71 (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
72 /bin/rm -f %{name}-%{version}-filelist
73 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
74 > %{name}-%{version}-filelist
75
76 %files -f %{name}-%{version}-filelist
77 %defattr(-,root,root)
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81 %pre
82
83 %post
84 #systemctl enable arpwatch
85 #systemctl start arpwatch
86
87 %preun
88 if [ $1 -eq 0 ] ; then
89 /sbin/e-smith/db configuration setprop arpwatch status disabled
90 #/etc/init.d/arpwatch stop
91 fi
92
93 true
94

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